/* ===== CSS Reset & Base ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #6366f1;
    --primary-dark: #4f46e5;
    --primary-light: #818cf8;
    --secondary: #10b981;
    --dark: #0f172a;
    --dark-light: #1e293b;
    --gray: #64748b;
    --gray-light: #cbd5e1;
    --white: #ffffff;
    --gradient: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: var(--dark);
    line-height: 1.6;
    background: var(--white);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 80px 0;
}

/* ===== Typography ===== */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
}

.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 1rem;
    color: var(--dark);
}

.section-subtitle {
    text-align: center;
    color: var(--gray);
    font-size: 1.125rem;
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.gradient-text {
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ===== Navigation ===== */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow);
    z-index: 1000;
    padding: 1rem 0;
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 900;
}

.logo-text {
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.logo-sub {
    color: var(--dark);
    font-weight: 400;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: var(--dark);
    font-weight: 500;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--primary);
}

.btn-contact {
    padding: 0.5rem 1.5rem;
    background: var(--gradient);
    color: var(--white) !important;
    border-radius: 8px;
    transition: transform 0.3s;
}

.btn-contact:hover {
    transform: translateY(-2px);
}

/* ===== Buttons ===== */
.btn {
    display: inline-block;
    padding: 0.875rem 2rem;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s;
    cursor: pointer;
    border: 2px solid transparent;
}

.btn-primary {
    background: var(--gradient);
    color: var(--white);
    box-shadow: var(--shadow);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background: transparent;
    color: var(--primary);
    border-color: var(--primary);
}

.btn-secondary:hover {
    background: var(--primary);
    color: var(--white);
}

.btn-large {
    padding: 1.125rem 2.5rem;
    font-size: 1.125rem;
}

/* ===== Hero Section ===== */
.hero {
    padding: 140px 0 80px;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
}

.hero-content {
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.hero-title {
    font-size: 4rem;
    font-weight: 900;
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--gray);
    margin-bottom: 2.5rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 4rem;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    padding: 2rem;
    background: white;
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
    max-width: 900px;
    margin: 0 auto;
}

.stat {
    text-align: center;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 900;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    color: var(--gray);
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* ===== Vision Section ===== */
.vision-section {
    background: white;
}

.vision-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.vision-card {
    padding: 2rem;
    background: #f8fafc;
    border-radius: 12px;
    transition: all 0.3s;
}

.vision-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.vision-card.highlight {
    background: var(--gradient);
    color: white;
}

.vision-card.highlight p {
    color: rgba(255, 255, 255, 0.9);
}

.vision-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.vision-card h3 {
    margin-bottom: 1rem;
}

.comparison {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 2rem;
    align-items: center;
    margin-top: 4rem;
}

.comparison-side {
    padding: 2rem;
    background: #f8fafc;
    border-radius: 12px;
}

.comparison-side.highlight {
    background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
    border: 2px solid var(--secondary);
}

.comparison-side h4 {
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.comparison-side ul {
    list-style: none;
}

.comparison-side li {
    padding: 0.5rem 0;
    font-size: 0.95rem;
}

.comparison-arrow {
    font-size: 2rem;
    color: var(--primary);
    font-weight: bold;
}

/* ===== How It Works Section ===== */
.how-section {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
}

.how-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.how-card {
    padding: 2.5rem;
    background: white;
    border-radius: 12px;
    box-shadow: var(--shadow);
    position: relative;
    padding-top: 4rem;
}

.how-number {
    position: absolute;
    top: -20px;
    left: 2rem;
    width: 60px;
    height: 60px;
    background: var(--gradient);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 900;
    box-shadow: var(--shadow-lg);
}

.how-card h3 {
    margin-bottom: 1rem;
    color: var(--dark);
}

.how-card p {
    color: var(--gray);
    margin-bottom: 1rem;
}

.tech-detail {
    font-size: 0.875rem;
    padding: 0.75rem;
    background: #f8fafc;
    border-radius: 6px;
    border-left: 3px solid var(--primary);
    color: var(--dark);
    font-family: 'Monaco', 'Courier New', monospace;
}

.process-flow {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
    padding: 2rem;
    background: white;
    border-radius: 12px;
    box-shadow: var(--shadow);
}

.process-step {
    text-align: center;
    padding: 1.5rem;
    background: #f8fafc;
    border-radius: 12px;
    min-width: 150px;
}

.process-icon {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.process-label {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--dark);
}

.process-arrow {
    font-size: 1.5rem;
    color: var(--primary);
    font-weight: bold;
}

/* ===== Products Section ===== */
.products-section {
    background: white;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.product-card {
    padding: 2.5rem;
    background: #f8fafc;
    border-radius: 16px;
    border: 2px solid transparent;
    transition: all 0.3s;
    position: relative;
    display: flex;
    flex-direction: column;
}

.product-card.featured {
    background: white;
    border-color: var(--primary-light);
    box-shadow: var(--shadow-lg);
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.product-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    padding: 0.375rem 0.875rem;
    background: var(--gradient);
    color: white;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.product-icon {
    font-size: 3.5rem;
    margin-bottom: 1rem;
}

.product-card h3 {
    font-size: 1.75rem;
    margin-bottom: 0.5rem;
}

.product-tagline {
    color: var(--gray);
    font-size: 0.95rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.product-description {
    color: var(--gray);
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.product-features {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.feature-tag {
    padding: 0.375rem 0.75rem;
    background: var(--primary-light);
    color: white;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 600;
}

.product-links {
    display: flex;
    gap: 0.75rem;
    flex-direction: column;
    margin-bottom: 1rem;
}

.product-status {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: var(--gray);
    font-weight: 600;
}

.status-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.status-dot.active {
    background: var(--secondary);
    animation: pulse 2s infinite;
}

.status-dot.beta {
    background: var(--primary);
}

.status-dot.dev {
    background: #f59e0b;
}

.status-dot.research {
    background: var(--gray);
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

/* ===== Format List Styles ===== */
.format-category-title {
    font-size: 1.75rem;
    margin-top: 4rem;
    margin-bottom: 2rem;
    text-align: center;
    color: var(--dark);
}

.format-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.format-item {
    display: flex;
    gap: 1.5rem;
    padding: 1.5rem;
    background: #f8fafc;
    border-radius: 12px;
    border-left: 4px solid var(--primary-light);
    transition: all 0.3s;
}

.format-item:hover {
    transform: translateX(5px);
    box-shadow: var(--shadow);
    border-left-color: var(--primary);
}

.format-icon {
    font-size: 2.5rem;
    flex-shrink: 0;
    width: 60px;
    text-align: center;
}

.format-content {
    flex: 1;
}

.format-content h4 {
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.125rem;
    color: var(--dark);
}

.format-content p {
    color: var(--gray);
    font-size: 0.95rem;
    line-height: 1.6;
}

.format-badge {
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.format-badge.dev {
    background: #fef3c7;
    color: #92400e;
}

.format-badge.research {
    background: #e0e7ff;
    color: #3730a3;
}

.format-cta {
    text-align: center;
    padding: 3rem 2rem;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border-radius: 16px;
    margin-top: 3rem;
}

.format-cta-text {
    font-size: 1.125rem;
    color: var(--gray);
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* ===== Use Cases Section ===== */
.use-cases-section {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
}

.use-cases-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.use-case-card {
    padding: 2rem;
    background: white;
    border-radius: 12px;
    box-shadow: var(--shadow);
    transition: all 0.3s;
}

.use-case-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.use-case-card h4 {
    margin-bottom: 1rem;
    font-size: 1.125rem;
}

.use-case-card p {
    color: var(--gray);
}

/* ===== Technology Section ===== */
.technology-section {
    background: var(--dark);
    color: white;
}

.technology-section .section-title {
    color: white;
}

.tech-subtitle {
    text-align: center;
    color: var(--gray-light);
    font-size: 1rem;
    margin-bottom: 3rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0.9;
}

.tech-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.tech-item {
    padding: 2rem;
    background: var(--dark-light);
    border-radius: 12px;
    border-left: 4px solid var(--primary);
}

.tech-item h4 {
    margin-bottom: 0.75rem;
    color: var(--primary-light);
}

.tech-item p {
    color: var(--gray-light);
}

/* ===== CTA Section ===== */
.cta-section {
    background: var(--gradient);
    color: white;
}

.cta-content {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.cta-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cta-content p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-section .btn {
    background: white;
    color: var(--primary);
}

.cta-section .btn-secondary {
    background: transparent;
    color: white;
    border-color: white;
}

.cta-section .btn-secondary:hover {
    background: white;
    color: var(--primary);
}

/* ===== Contact Section ===== */
.contact-section {
    background: white;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.contact-card {
    padding: 2.5rem;
    background: #f8fafc;
    border-radius: 12px;
    text-align: center;
    transition: all 0.3s;
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.contact-card h4 {
    margin-bottom: 0.5rem;
}

.contact-card p {
    color: var(--gray);
    margin-bottom: 1rem;
}

.contact-link {
    display: inline-block;
    color: var(--primary);
    font-weight: 600;
    text-decoration: none;
    transition: color 0.3s;
}

.contact-link:hover {
    color: var(--primary-dark);
}

/* ===== Footer ===== */
.footer {
    background: var(--dark);
    color: var(--gray-light);
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h4 {
    color: white;
    margin-bottom: 1rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: var(--gray-light);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-section a:hover {
    color: white;
}

.footer-bottom {
    border-top: 1px solid var(--dark-light);
    padding-top: 2rem;
    text-align: center;
    font-size: 0.875rem;
}

/* ===== Responsive Design ===== */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .nav-links {
        display: none;
    }

    .hero-buttons,
    .cta-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .hero-stats {
        gap: 1.5rem;
        flex-wrap: wrap;
        padding: 1.5rem;
    }

    .stat {
        flex: 1 1 40%;
        min-width: 120px;
    }

    .stat-number {
        font-size: 2rem;
    }

    .comparison {
        grid-template-columns: 1fr;
    }

    .comparison-arrow {
        transform: rotate(90deg);
    }

    .process-flow {
        flex-direction: column;
    }

    .process-arrow {
        transform: rotate(90deg);
    }

    .product-links {
        flex-direction: column;
    }
}

/* ===== Smooth Scrolling ===== */
html {
    scroll-behavior: smooth;
}

/* ===== Selection ===== */
::selection {
    background: var(--primary);
    color: white;
}
