/* ============================================
   Inkai Tech — Global Styles
   ============================================ */

/* --- CSS Variables --- */
:root {
    /* Dark theme */
    --bg-dark: #05050a;
    --bg-card: #0f111a;
    --bg-card-hover: #161926;

    /* Accent colors */
    --primary-accent: #6366f1;
    --primary-glow: rgba(99, 102, 241, 0.4);
    --success-accent: #10b981;
    --warning-accent: #f59e0b;
    --danger-accent: #ef4444;

    /* Text colors */
    --text-main: #f3f4f6;
    --text-muted: #9ca3af;

    /* Border */
    --border-color: rgba(255, 255, 255, 0.08);

    /* Typography */
    --font-heading: "Plus Jakarta Sans", sans-serif;
    --font-body: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;

    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 6rem;

    /* Radius */
    --radius-sm: 0.5rem;
    --radius-md: 1rem;
    --radius-lg: 1.5rem;
    --radius-xl: 2rem;
    --radius-pill: 100px;

    /* Effects */
    --blur-glass: blur(12px);
}


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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background: var(--bg-dark);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
    font-family: var(--font-heading);
    color: white;
    line-height: 1.2;
}


/* --- Animations --- */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.5;
        transform: scale(1.2);
    }
}


/* --- Layout --- */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
    position: relative;
    z-index: 2;
}

section {
    padding: var(--spacing-xl) 0;
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: var(--spacing-lg);
}

.section-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(99, 102, 241, 0.1);
    color: var(--primary-accent);
    border: 1px solid rgba(99, 102, 241, 0.2);
    padding: 0.5rem 1rem;
    border-radius: var(--radius-pill);
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: var(--spacing-sm);
    text-transform: uppercase;
}

.section-header h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    margin-bottom: var(--spacing-sm);
    letter-spacing: -0.02em;
}

.section-header p {
    max-width: 700px;
    margin: 0 auto;
    color: var(--text-muted);
    font-size: 1.1rem;
}


/* --- Glow Blob Background --- */
.glow-blob {
    position: absolute;
    width: 800px;
    height: 800px;
    background: radial-gradient(
        circle,
        rgba(99, 102, 241, 0.15) 0%,
        rgba(0, 0, 0, 0) 70%
    );
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 0;
    pointer-events: none;
}


/* ============================================
   Navigation
   ============================================ */
nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(5, 5, 10, 0.8);
    backdrop-filter: var(--blur-glass);
    -webkit-backdrop-filter: var(--blur-glass);
    z-index: 1000;
    border-bottom: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

nav.scrolled {
    background: rgba(5, 5, 10, 0.95);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 15px var(--spacing-md);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    font-family: var(--font-heading);
    color: white;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo i {
    color: var(--primary-accent);
    font-size: 1.6rem;
}

.logo-img {
    height: 60px;
    width: auto;
    object-fit: contain;
    mix-blend-mode: screen;
}

.logo-text {
    font-size: 1.4rem;
    font-weight: 800;
    font-family: var(--font-heading);
    background: linear-gradient(135deg, #94b7d7 0%, #30abc1 50%, #217281 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 0.02em;
}

@media (max-width: 768px) {
    .logo-img {
        height: 48px;
    }
    .logo-text {
        font-size: 1.2rem;
    }
}

.nav-links {
    display: flex;
    gap: var(--spacing-md);
    list-style: none;
    align-items: center;
}

.nav-links a {
    color: #d8dbdf;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

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

/* Language Switcher */
.lang-switcher {
    display: flex;
    gap: 2px;
    background: rgba(255, 255, 255, 0.05);
    padding: 4px;
    border-radius: var(--radius-pill);
}

.lang-btn {
    background: transparent;
    border: none;
    color: var(--text-muted);
    padding: 6px 12px;
    border-radius: var(--radius-pill);
    font-weight: 600;
    font-size: 0.8rem;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: var(--font-body);
}

.lang-btn.active {
    background: var(--bg-card-hover);
    color: white;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.lang-btn:hover:not(.active) {
    color: var(--text-main);
}

/* Nav CTA */
.cta-nav {
    background: linear-gradient(135deg, var(--primary-accent), #4f46e5);
    color: #fff;
    padding: 10px 24px;
    border-radius: var(--radius-pill);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(99, 102, 241, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.15);
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
    letter-spacing: 0.02em;
}

.cta-nav:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(99, 102, 241, 0.6);
    color: #fff;
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: var(--text-main);
    font-size: 1.5rem;
    cursor: pointer;
}


/* ============================================
   Buttons
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    border-radius: var(--radius-pill);
    font-weight: 600;
    font-family: var(--font-heading);
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    gap: 8px;
    font-size: 1rem;
    border: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-accent), #4f46e5);
    color: white;
    box-shadow: 0 4px 20px rgba(99, 102, 241, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(99, 102, 241, 0.5);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    color: white;
    border: 1px solid var(--border-color);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
}

.btn-whatsapp {
    background: #25d366;
    color: white;
    border: none;
}

.btn-whatsapp:hover {
    background: #20ba5a;
    transform: translateY(-2px);
}


/* ============================================
   Hero Section
   ============================================ */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 100px;
    position: relative;
    overflow: hidden;
}

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

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    padding: 0.6rem 1.2rem;
    border-radius: var(--radius-pill);
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: var(--spacing-md);
    backdrop-filter: var(--blur-glass);
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: var(--primary-accent);
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}

.hero h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: var(--spacing-sm);
    letter-spacing: -0.02em;
}

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

.hero p {
    font-size: clamp(1.1rem, 2vw, 1.25rem);
    color: var(--text-muted);
    margin-bottom: var(--spacing-md);
    line-height: 1.7;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Hero Stats */
.hero-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
    margin-bottom: var(--spacing-lg);
}

.stat-pill {
    border: 1px solid var(--border-color);
    padding: 12px 24px;
    border-radius: var(--radius-pill);
    display: flex;
    align-items: center;
    gap: 10px;
    backdrop-filter: var(--blur-glass);
    transition: all 0.3s ease;
}

.stat-pill i {
    font-size: 1.3rem;
}

.stat-number {
    font-size: 1.5rem;
    font-weight: 800;
    color: white;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* Hero CTA */
.hero-cta {
    display: flex;
    gap: var(--spacing-sm);
    flex-wrap: wrap;
    justify-content: center;
}


/* ============================================
   Features Section
   ============================================ */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: var(--spacing-md);
    border-radius: var(--radius-lg);
    transition: all 0.4s ease;
    display: flex;
    flex-direction: column;
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 255, 255, 0.2);
    background: var(--bg-card-hover);
}

.feature-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(
        135deg,
        rgba(99, 102, 241, 0.2),
        rgba(99, 102, 241, 0.05)
    );
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--spacing-sm);
    border: 1px solid rgba(99, 102, 241, 0.1);
}

.feature-icon svg {
    width: 28px;
    height: 28px;
    stroke: var(--primary-accent);
    stroke-width: 2;
    fill: none;
}

.feature-card h3 {
    font-size: 1.3rem;
    margin-bottom: var(--spacing-xs);
    font-weight: 700;
}

.feature-card p {
    color: var(--text-muted);
    line-height: 1.7;
    font-size: 0.95rem;
}


/* ============================================
   Benefits Section
   ============================================ */
.benefits-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-md);
    align-items: stretch;
}

.benefits-list {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
}

.benefit-item {
    display: flex;
    gap: var(--spacing-sm);
    padding: var(--spacing-md);
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    transition: all 0.4s ease;
}

.benefit-item:hover {
    transform: translateX(8px);
    border-color: rgba(99, 102, 241, 0.3);
    background: var(--bg-card-hover);
}

.benefit-icon {
    width: 52px;
    height: 52px;
    background: linear-gradient(
        135deg,
        rgba(16, 185, 129, 0.2),
        rgba(16, 185, 129, 0.05)
    );
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border: 1px solid rgba(16, 185, 129, 0.1);
}

.benefit-icon svg {
    width: 24px;
    height: 24px;
    stroke: var(--success-accent);
    stroke-width: 2;
    fill: none;
}

.benefit-content h3 {
    font-size: 1.15rem;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.benefit-content p {
    color: var(--text-muted);
    line-height: 1.6;
    font-size: 0.9rem;
}

.benefit-metric {
    display: inline-block;
    background: rgba(245, 158, 11, 0.1);
    color: var(--warning-accent);
    padding: 0.3rem 0.8rem;
    border-radius: var(--radius-pill);
    font-size: 0.8rem;
    font-weight: 700;
    margin-top: 0.5rem;
}


/* ============================================
   Comparison Table
   ============================================ */
.comparison-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: var(--spacing-md);
    height: fit-content;
}

.comparison-card h3 {
    font-size: 1.4rem;
    margin-bottom: var(--spacing-md);
    font-weight: 700;
}

.comparison-table {
    width: 100%;
}

.comparison-row {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 8px;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    align-items: center;
}

.comparison-row:first-child {
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 15px;
    margin-bottom: 5px;
}

.comparison-row:last-child {
    border-bottom: none;
}

.comp-header {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-muted);
    font-weight: 600;
}

.comp-header:not(:first-child) {
    text-align: center;
}

.comp-header.highlight {
    color: var(--primary-accent);
}

.comp-metric {
    font-weight: 500;
    color: var(--text-main);
    font-size: 0.95rem;
}

.comp-manual {
    color: var(--danger-accent);
    text-align: center;
    font-size: 0.9rem;
}

.comp-auto {
    font-weight: 700;
    color: var(--success-accent);
    font-size: 1rem;
    text-align: center;
}


/* ============================================
   Integrations Section
   ============================================ */
.integrations-content {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: var(--spacing-md);
    align-items: start;
}

.integration-group h3 {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-muted);
    margin-bottom: var(--spacing-md);
    text-align: center;
}

.integration-group > p {
    color: var(--text-muted);
    margin-bottom: var(--spacing-md);
    font-size: 0.9rem;
    text-align: center;
}

.integration-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 50px;
}

.integration-arrow svg {
    width: 48px;
    height: 48px;
    stroke: var(--primary-accent);
    stroke-width: 2;
    fill: none;
}

.tools-cloud {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
}

.tool-chip {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 10px 18px;
    border-radius: var(--radius-pill);
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    color: white;
    transition: all 0.3s ease;
}

.tool-chip:hover {
    background: var(--bg-card-hover);
    border-color: rgba(99, 102, 241, 0.3);
    transform: scale(1.05);
}

.tool-chip svg {
    width: 18px;
    height: 18px;
    stroke: var(--primary-accent);
    stroke-width: 2;
    fill: none;
}


/* ============================================
   Contact Section
   ============================================ */
.contact {
    text-align: center;
    position: relative;
    overflow: hidden;
    padding: var(--spacing-xl) 0;
}

.contact .glow-blob {
    width: 600px;
    height: 600px;
    top: 50%;
}

.contact-content {
    position: relative;
    z-index: 1;
    max-width: 700px;
    margin: 0 auto;
}

.contact-content h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: var(--spacing-sm);
    font-weight: 800;
}

.contact-content > p {
    font-size: 1.15rem;
    color: var(--text-muted);
    margin-bottom: var(--spacing-lg);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.contact-methods {
    display: flex;
    gap: var(--spacing-sm);
    justify-content: center;
    flex-wrap: wrap;
}


/* ============================================
   Footer
   ============================================ */
footer {
    padding: var(--spacing-md) 0;
    text-align: center;
    border-top: 1px solid var(--border-color);
}

footer p {
    color: var(--text-muted);
    font-size: 0.85rem;
}

.footer-legal {
    margin-top: 0.5rem;
}

.footer-legal a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.8rem;
    transition: color 0.2s;
}

.footer-legal a:hover {
    color: var(--primary-accent);
}


/* ============================================
   Responsive Design
   ============================================ */
@media (max-width: 1024px) {
    .benefits-grid {
        grid-template-columns: 1fr;
    }

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

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

    .integration-arrow {
        padding: 0;
    }

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

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

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

    .nav-links.active {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--bg-dark);
        padding: var(--spacing-md);
        border-bottom: 1px solid var(--border-color);
        gap: var(--spacing-sm);
    }

    .hero-stats {
        flex-direction: column;
        align-items: center;
    }

    .stat-pill {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }

    .hero-cta {
        flex-direction: column;
        width: 100%;
    }

    .btn {
        width: 100%;
        justify-content: center;
    }

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

    .comparison-row {
        grid-template-columns: 1.2fr 1fr 1fr;
        gap: 4px;
        padding: 10px 0;
    }

    .comp-header {
        font-size: 0.65rem;
        letter-spacing: 0.5px;
    }

    .comp-metric {
        font-size: 0.85rem;
    }

    .comp-manual {
        font-size: 0.8rem;
    }

    .comp-auto {
        font-size: 0.9rem;
    }

    :root {
        --spacing-lg: 3rem;
        --spacing-xl: 4rem;
    }
}
