/* Reset & Base Styles */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #0F172A;
    --primary-light: #1E293B;
    --accent: #3B82F6;
    --accent-light: #60A5FA;
    --accent-dark: #2563EB;
    --gold: #F59E0B;
    --dark: #0F172A;
    --gray-900: #111827;
    --gray-800: #1F2937;
    --gray-700: #374151;
    --gray-600: #4B5563;
    --gray-500: #6B7280;
    --gray-400: #9CA3AF;
    --gray-300: #D1D5DB;
    --gray-200: #E5E7EB;
    --gray-100: #F3F4F6;
    --gray-50: #F9FAFB;
    --white: #FFFFFF;
    --gradient-primary: linear-gradient(135deg, #0F172A 0%, #1E293B 100%);
    --gradient-accent: linear-gradient(135deg, #3B82F6 0%, #2563EB 100%);
    --gradient-hero: linear-gradient(135deg, #0F172A 0%, #1E293B 50%, #334155 100%);
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --radius-sm: 0.375rem;
    --radius: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    --radius-2xl: 1.5rem;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--gray-700);
    background: var(--white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
    color: var(--gray-900);
    font-weight: 700;
    line-height: 1.2;
}

h1 { font-size: 3.5rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 1.25rem; }

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: var(--radius-lg);
    transition: all 0.2s ease;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: var(--gradient-accent);
    color: var(--white) !important;
    box-shadow: var(--shadow-md), 0 4px 14px rgba(59, 130, 246, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg), 0 6px 20px rgba(59, 130, 246, 0.5);
}

.btn-secondary {
    background: var(--white);
    color: var(--gray-700);
    border: 2px solid var(--gray-200);
}

.btn-secondary:hover {
    border-color: var(--accent);
    color: var(--accent);
}

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
}

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1.125rem;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 1rem 0;
    background: rgba(255, 255, 255, 0.95);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--gray-100);
    transition: all 0.3s ease;
}

.navbar.scrolled {
    padding: 0.75rem 0;
    box-shadow: var(--shadow-md);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
}

.logo-text {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--gray-900);
}

.logo-highlight {
    color: var(--accent);
}

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

.nav-links a {
    color: var(--gray-600);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
}

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

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.mobile-menu-btn span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--gray-700);
    transition: all 0.3s ease;
}

/* Hero Section */
.hero {
    position: relative;
    padding: 12rem 0 10rem;
    background: var(--gradient-hero);
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.hero-container {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.hero-content {
    color: var(--white);
}

.hero-tag {
    display: inline-block;
    background: rgba(59, 130, 246, 0.2);
    color: var(--accent-light);
    padding: 0.5rem 1.25rem;
    border-radius: 999px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(59, 130, 246, 0.3);
}

.hero-content h1 {
    color: var(--white);
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.hero-content .highlight {
    color: var(--accent-light);
}

.hero-subtitle {
    font-size: 1.25rem;
    opacity: 0.9;
    margin-bottom: 2.5rem;
    line-height: 1.7;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

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

.hero-wave {
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
    line-height: 0;
}

.hero-wave svg {
    width: 100%;
    height: auto;
}

/* Section Styles */
.section-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 4rem;
}

.section-header.light h2,
.section-header.light p {
    color: var(--white);
}

.section-header.light .section-tag {
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.2);
}

.section-tag {
    display: inline-block;
    background: rgba(59, 130, 246, 0.1);
    color: var(--accent);
    padding: 0.375rem 1rem;
    border-radius: 999px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1rem;
    border: 1px solid rgba(59, 130, 246, 0.2);
}

.section-header h2 {
    margin-bottom: 1rem;
}

.section-header p {
    color: var(--gray-600);
    font-size: 1.125rem;
}

/* Mission Section */
.mission-section {
    padding: 6rem 0 4rem;
    background: var(--white);
}

.mission-section .section-header {
    max-width: 800px;
}

.mission-section .section-header h2 {
    font-size: 1.75rem;
    font-weight: 600;
    color: var(--gray-700);
    line-height: 1.5;
}

/* Problem Section */
.problem-section {
    padding: 4rem 0 6rem;
    background: var(--white);
}

.problem-content {
    max-width: 700px;
    margin: 0 auto;
}

.problem-text {
    text-align: center;
}

.problem-text h2 {
    margin-bottom: 1.5rem;
}

.problem-text .section-tag {
    margin-bottom: 1rem;
}

.problem-lead {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--gray-800);
    margin-bottom: 1rem;
}

.problem-text p {
    color: var(--gray-600);
    font-size: 1.125rem;
    line-height: 1.7;
    margin-bottom: 1rem;
}

.problem-text p:last-child {
    margin-bottom: 0;
    font-weight: 500;
    color: var(--gray-700);
}

/* Approach Section */
.approach-section {
    padding: 6rem 0;
    background: var(--gray-50);
}

.philosophy-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1.5rem;
}

.philosophy-card {
    padding: 2rem 1.5rem;
    background: var(--white);
    border-radius: var(--radius-xl);
    border: 1px solid var(--gray-200);
    text-align: center;
    transition: all 0.3s ease;
}

.philosophy-card:hover {
    border-color: var(--accent);
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}

.philosophy-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1) 0%, rgba(37, 99, 235, 0.1) 100%);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    color: var(--accent);
}

.philosophy-card h3 {
    margin-bottom: 0.5rem;
    font-size: 1.125rem;
}

.philosophy-card p {
    color: var(--gray-600);
    font-size: 0.875rem;
    line-height: 1.6;
}

/* Vision Section */
.vision-section {
    padding: 6rem 0;
    background: var(--gradient-hero);
}

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

.vision-lead {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 1.5rem;
}

.vision-content > p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.125rem;
    margin-bottom: 1.5rem;
}

.vision-list {
    list-style: none;
    text-align: left;
    display: inline-block;
}

.vision-list li {
    color: rgba(255, 255, 255, 0.85);
    font-size: 1.125rem;
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
}

.vision-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 8px;
    height: 8px;
    background: var(--accent-light);
    border-radius: 50%;
}

/* Serve Section */
.serve-section {
    padding: 6rem 0;
    background: var(--white);
}

.serve-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.serve-card {
    padding: 2rem;
    background: var(--gray-50);
    border-radius: var(--radius-xl);
    border: 1px solid var(--gray-200);
    text-align: center;
    transition: all 0.3s ease;
}

.serve-card:hover {
    border-color: var(--accent);
    box-shadow: var(--shadow-md);
}

.serve-card h3 {
    margin-bottom: 0.75rem;
    font-size: 1.125rem;
    color: var(--gray-900);
}

.serve-card p {
    color: var(--gray-600);
    font-size: 0.9375rem;
    line-height: 1.6;
}

/* About Section */
.about-section {
    padding: 6rem 0;
    background: var(--gray-50);
}

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

.about-content p {
    color: var(--gray-600);
    font-size: 1.125rem;
    line-height: 1.7;
    margin-bottom: 1rem;
}

.about-content p:last-child {
    margin-bottom: 0;
}

/* Platform Section */
.platform {
    padding: 6rem 0;
    background: var(--white);
}

.platform-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.platform-card {
    padding: 1.5rem;
    background: var(--white);
    border-radius: var(--radius-xl);
    border: 1px solid var(--gray-200);
    transition: all 0.3s ease;
}

.platform-card:hover {
    border-color: var(--accent);
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}

.platform-card.featured {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.05) 0%, rgba(37, 99, 235, 0.1) 100%);
    border-color: var(--accent);
}

.platform-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1) 0%, rgba(37, 99, 235, 0.1) 100%);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    color: var(--accent);
}

.platform-card h3 {
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

.platform-card p {
    color: var(--gray-600);
    font-size: 0.875rem;
    line-height: 1.6;
}

/* Ecosystem Section */
.ecosystem {
    padding: 6rem 0;
    background: var(--gray-50);
}

.ecosystem-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.ecosystem-text .section-tag {
    margin-bottom: 1rem;
}

.ecosystem-text h2 {
    margin-bottom: 1rem;
}

.ecosystem-subtitle {
    color: var(--gray-600);
    font-size: 1.125rem;
    margin-bottom: 2rem;
}

.ecosystem-groups {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
}

.group-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    background: var(--white);
    border-radius: var(--radius);
    font-weight: 500;
    color: var(--gray-700);
    border: 1px solid var(--gray-200);
}

.group-icon {
    color: var(--accent);
    font-size: 0.5rem;
}

/* Ecosystem Visual */
.ecosystem-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.ecosystem-circle {
    position: relative;
    width: 350px;
    height: 350px;
}

.center-hub {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120px;
    height: 120px;
    background: var(--gradient-accent);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-weight: 700;
    font-size: 0.875rem;
    text-align: center;
    box-shadow: 0 10px 40px rgba(59, 130, 246, 0.4);
}

.orbit-item {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 70px;
    height: 70px;
    margin: -35px;
    background: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--gray-700);
    box-shadow: var(--shadow-md);
    border: 2px solid var(--gray-100);
    transform: rotate(calc(var(--i) * 60deg)) translateX(140px) rotate(calc(var(--i) * -60deg));
}

/* AI Section */
.ai-section {
    padding: 6rem 0;
    background: var(--gradient-hero);
}

.ai-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1.5rem;
}

.ai-card {
    padding: 2rem 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-xl);
    border: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    transition: all 0.3s ease;
}

.ai-card:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-4px);
}

.ai-icon {
    width: 64px;
    height: 64px;
    background: rgba(59, 130, 246, 0.2);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.25rem;
    color: var(--accent-light);
}

.ai-card h3 {
    color: var(--white);
    margin-bottom: 0.75rem;
    font-size: 1rem;
}

.ai-card p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.875rem;
    line-height: 1.6;
}

/* Products Section */
.products {
    padding: 6rem 0;
    background: var(--white);
}

.product-showcase {
    max-width: 600px;
    margin: 0 auto;
}

.product-main {
    text-align: center;
    padding: 3rem;
    background: linear-gradient(135deg, var(--gray-50) 0%, var(--white) 100%);
    border-radius: var(--radius-2xl);
    border: 1px solid var(--gray-200);
}

.product-logo {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
}

.product-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

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

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

.product-description {
    color: var(--gray-600);
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

/* Contact Section */
.contact {
    padding: 6rem 0;
    background: var(--gradient-accent);
}

.contact-content {
    text-align: center;
    color: var(--white);
}

.contact-content h2 {
    color: var(--white);
    margin-bottom: 1rem;
}

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

.contact-btn {
    background: var(--white);
    color: var(--accent) !important;
    font-weight: 600;
}

.contact-btn:hover {
    background: var(--gray-100);
    transform: translateY(-2px);
}

/* Footer */
.footer {
    padding: 4rem 0 2rem;
    background: var(--gray-900);
    color: var(--gray-400);
}

.footer-content {
    display: grid;
    grid-template-columns: 1.5fr 2fr;
    gap: 4rem;
    margin-bottom: 3rem;
}

.footer-brand .logo {
    margin-bottom: 1rem;
}

.footer-brand .logo-text {
    color: var(--white);
}

.footer-brand p {
    max-width: 300px;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.footer-column h4 {
    color: var(--white);
    font-size: 1rem;
    margin-bottom: 1.25rem;
}

.footer-column ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-column a {
    color: var(--gray-400);
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-column a:hover {
    color: var(--white);
}

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

/* Responsive Design */
@media (max-width: 1024px) {
    h1 { font-size: 2.75rem; }
    h2 { font-size: 2rem; }

    .hero-content h1 {
        font-size: 2.75rem;
    }

    .platform-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .ai-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .philosophy-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .serve-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .ecosystem-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .ecosystem-groups {
        max-width: 400px;
        margin: 0 auto;
    }

    .ecosystem-visual {
        order: -1;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
}

@media (max-width: 768px) {
    h1 { font-size: 2.25rem; }
    h2 { font-size: 1.75rem; }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        padding: 1.5rem;
        gap: 1rem;
        box-shadow: var(--shadow-lg);
    }

    .nav-links.active {
        display: flex;
    }

    .mobile-menu-btn {
        display: flex;
    }

    .hero {
        padding: 10rem 0 8rem;
    }

    .hero-content h1 {
        font-size: 2.25rem;
    }

    .hero-cta {
        flex-direction: column;
    }

    .platform-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .ai-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .philosophy-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .serve-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .mission-section .section-header h2 {
        font-size: 1.5rem;
    }

    .ecosystem-circle {
        width: 280px;
        height: 280px;
    }

    .orbit-item {
        width: 60px;
        height: 60px;
        margin: -30px;
        font-size: 0.65rem;
        transform: rotate(calc(var(--i) * 60deg)) translateX(110px) rotate(calc(var(--i) * -60deg));
    }

    .center-hub {
        width: 90px;
        height: 90px;
        font-size: 0.75rem;
    }

    .footer-links {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }

    .platform-grid,
    .ai-grid {
        grid-template-columns: 1fr;
    }

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

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

    .ecosystem-groups {
        grid-template-columns: 1fr;
    }

    .footer-links {
        grid-template-columns: 1fr;
    }

    .vision-list li {
        font-size: 1rem;
    }
}
