/* ============================================
   AI Group LTD - Complete Website Stylesheet
   Version: 1.0
   ============================================ */

/* CSS Variables */
:root {
    --primary: #6366f1;
    --primary-dark: #4f46e5;
    --primary-light: #818cf8;
    --secondary: #06b6d4;
    --accent: #f59e0b;
    --dark: #0a0a0f;
    --dark-light: #13131f;
    --dark-lighter: #1e1e2e;
    --gray: #64748b;
    --gray-light: #94a3b8;
    --light: #f8fafc;
    --success: #10b981;
    --danger: #ef4444;
    --warning: #f59e0b;
    
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
    
    --shadow-sm: 0 1px 2px rgba(0,0,0,0.3);
    --shadow-md: 0 4px 6px rgba(0,0,0,0.4);
    --shadow-lg: 0 10px 40px rgba(0,0,0,0.5);
    --shadow-glow: 0 0 40px rgba(99, 102, 241, 0.3);
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: var(--dark);
    color: var(--light);
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
}

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

/* ============================================
   AI MESH BACKGROUND ANIMATION
   ============================================ */

.ai-mesh-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
    background: var(--dark);
}

.ai-mesh-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(ellipse at 20% 20%, rgba(99, 102, 241, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 80%, rgba(6, 182, 212, 0.12) 0%, transparent 50%),
        radial-gradient(ellipse at 50% 50%, rgba(245, 158, 11, 0.05) 0%, transparent 70%);
    animation: meshPulse 8s ease-in-out infinite;
}

@keyframes meshPulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.8; transform: scale(1.05); }
}

/* Grid Lines */
.grid-lines {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        linear-gradient(rgba(99, 102, 241, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(99, 102, 241, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    animation: gridMove 20s linear infinite;
}

@keyframes gridMove {
    0% { transform: translate(0, 0); }
    100% { transform: translate(60px, 60px); }
}

/* Floating Particles */
.particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--primary);
    border-radius: 50%;
    opacity: 0.3;
    animation: float 15s infinite;
}

.particle:nth-child(1) { left: 10%; animation-delay: 0s; }
.particle:nth-child(2) { left: 20%; animation-delay: 2s; }
.particle:nth-child(3) { left: 30%; animation-delay: 4s; }
.particle:nth-child(4) { left: 40%; animation-delay: 1s; }
.particle:nth-child(5) { left: 50%; animation-delay: 3s; }
.particle:nth-child(6) { left: 60%; animation-delay: 5s; }
.particle:nth-child(7) { left: 70%; animation-delay: 2.5s; }
.particle:nth-child(8) { left: 80%; animation-delay: 4.5s; }
.particle:nth-child(9) { left: 90%; animation-delay: 1.5s; }
.particle:nth-child(10) { left: 15%; animation-delay: 6s; }

@keyframes float {
    0% {
        transform: translateY(100vh) scale(0);
        opacity: 0;
    }
    10% {
        opacity: 0.3;
    }
    90% {
        opacity: 0.3;
    }
    100% {
        transform: translateY(-100vh) scale(1);
        opacity: 0;
    }
}

/* Connection Lines SVG */
.mesh-svg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.2;
}

/* ============================================
   NAVIGATION
   ============================================ */

.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 16px 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    background: rgba(10, 10, 15, 0.8);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255,255,255,0.05);
    transition: all var(--transition-normal);
}

.navbar.scrolled {
    padding: 12px 5%;
    background: rgba(10, 10, 15, 0.95);
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    transition: transform var(--transition-normal);
}

.logo:hover {
    transform: scale(1.02);
}

.logo img, .logo svg {
    height: 44px;
    width: auto;
    display: block;
}

.logo-icon-img {
    height: 42px;
    width: 42px;
    border-radius: 12px;
    animation: logoGlow 3s ease-in-out infinite;
}

@keyframes logoGlow {
    0%, 100% { filter: drop-shadow(0 0 8px rgba(99, 102, 241, 0.5)); }
    50% { filter: drop-shadow(0 0 15px rgba(99, 102, 241, 0.8)); }
}

.logo-text {
    font-size: 1.4rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-links {
    display: flex;
    gap: 40px;
    list-style: none;
}

.nav-links a {
    color: var(--gray);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: all var(--transition-fast);
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    transition: width var(--transition-normal);
}

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

.nav-links a:hover::after {
    width: 100%;
}

.nav-cta {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    padding: 12px 28px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all var(--transition-normal);
    border: none;
    cursor: pointer;
}

.nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
}

/* Mobile Menu Toggle */
.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 5px;
}

.mobile-toggle span {
    width: 25px;
    height: 2px;
    background: var(--light);
    transition: all var(--transition-normal);
}

/* ============================================
   HERO SECTION
   ============================================ */

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 140px 5% 100px;
    position: relative;
}

.hero-content {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    width: 100%;
}

/* Status Badge */
.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(99, 102, 241, 0.1);
    border: 1px solid rgba(99, 102, 241, 0.3);
    padding: 10px 24px;
    border-radius: 50px;
    font-size: 0.9rem;
    color: var(--primary-light);
    margin-bottom: 30px;
    animation: badgePulse 2s ease-in-out infinite;
}

@keyframes badgePulse {
    0%, 100% { border-color: rgba(99, 102, 241, 0.3); }
    50% { border-color: rgba(99, 102, 241, 0.6); }
}

.status-dot {
    width: 8px;
    height: 8px;
    background: var(--success);
    border-radius: 50%;
    animation: dotPulse 1.5s ease-in-out infinite;
}

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

/* Hero Text */
.hero h1 {
    font-size: 4rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 24px;
}

.hero h1 .gradient-text {
    background: linear-gradient(135deg, var(--primary), var(--secondary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    background-size: 200% 200%;
    animation: gradientShift 5s ease infinite;
}

@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.hero-description {
    font-size: 1.25rem;
    color: var(--gray);
    margin-bottom: 40px;
    max-width: 540px;
}

/* Buttons */
.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 60px;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 36px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all var(--transition-normal);
    border: none;
    cursor: pointer;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
}

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

.btn-secondary {
    background: transparent;
    color: var(--light);
    border: 2px solid rgba(255,255,255,0.1);
}

.btn-secondary:hover {
    border-color: var(--primary);
    background: rgba(99, 102, 241, 0.1);
}

/* Hero Stats */
.hero-stats {
    display: flex;
    gap: 50px;
    padding-top: 40px;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.stat {
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards;
}

.stat:nth-child(1) { animation-delay: 0.2s; }
.stat:nth-child(2) { animation-delay: 0.4s; }
.stat:nth-child(3) { animation-delay: 0.6s; }

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.stat-value {
    font-size: 2.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    color: var(--gray);
    font-size: 0.95rem;
}

/* ============================================
   TERMINAL ANIMATION
   ============================================ */

.terminal {
    background: var(--dark-lighter);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    animation: terminalFloat 6s ease-in-out infinite;
}

@keyframes terminalFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.terminal-header {
    background: var(--dark);
    padding: 12px 16px;
    display: flex;
    align-items: center;
    gap: 10px;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.terminal-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.terminal-dot.red { background: #ff5f56; }
.terminal-dot.yellow { background: #ffbd2e; }
.terminal-dot.green { background: #27c93f; }

.terminal-title {
    margin-left: 10px;
    font-size: 0.85rem;
    color: var(--gray);
}

.terminal-body {
    padding: 24px;
    font-family: 'JetBrains Mono', 'Fira Code', monospace;
    font-size: 0.9rem;
    line-height: 1.8;
}

.terminal-line {
    margin-bottom: 8px;
    opacity: 0;
    animation: typeLine 0.5s ease forwards;
}

.terminal-line:nth-child(1) { animation-delay: 0.5s; }
.terminal-line:nth-child(2) { animation-delay: 1s; }
.terminal-line:nth-child(3) { animation-delay: 1.5s; }
.terminal-line:nth-child(4) { animation-delay: 2s; }
.terminal-line:nth-child(5) { animation-delay: 2.5s; }
.terminal-line:nth-child(6) { animation-delay: 3s; }

@keyframes typeLine {
    to { opacity: 1; }
}

.terminal-prompt {
    color: var(--success);
}

.terminal-command {
    color: var(--light);
}

.terminal-output {
    color: var(--gray);
}

.terminal-success {
    color: var(--success);
}

.cursor {
    display: inline-block;
    width: 8px;
    height: 18px;
    background: var(--primary);
    animation: blink 1s infinite;
    vertical-align: middle;
}

@keyframes blink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0; }
}

/* Code Preview */
.code-preview {
    margin-top: 20px;
    padding: 20px;
    background: rgba(0,0,0,0.3);
    border-radius: 12px;
    border-left: 3px solid var(--primary);
}

.code-line {
    display: flex;
    gap: 12px;
    margin-bottom: 8px;
    font-size: 0.85rem;
}

.line-number {
    color: var(--gray);
    min-width: 24px;
    text-align: right;
}

.code-content {
    color: var(--gray-light);
}

.code-keyword { color: #c678dd; }
.code-function { color: #61afef; }
.code-string { color: #98c379; }
.code-comment { color: #5c6370; font-style: italic; }

/* ============================================
   SECTIONS COMMON
   ============================================ */

section {
    padding: 120px 5%;
    position: relative;
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 80px;
}

.section-header h2 {
    font-size: 2.8rem;
    font-weight: 800;
    margin-bottom: 20px;
}

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

.section-badge {
    display: inline-block;
    background: rgba(99, 102, 241, 0.1);
    border: 1px solid rgba(99, 102, 241, 0.3);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.85rem;
    color: var(--primary-light);
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ============================================
   SERVICES SECTION
   ============================================ */

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 24px;
    max-width: 1400px;
    margin: 0 auto;
}

.service-card {
    background: var(--dark-light);
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 20px;
    padding: 40px;
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    transform: scaleX(0);
    transition: transform var(--transition-normal);
}

.service-card:hover {
    transform: translateY(-8px);
    border-color: rgba(99, 102, 241, 0.3);
    box-shadow: var(--shadow-lg);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-icon {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin-bottom: 24px;
    transition: transform var(--transition-normal);
}

.service-card:hover .service-icon {
    transform: scale(1.1) rotate(5deg);
}

.service-card h3 {
    font-size: 1.4rem;
    margin-bottom: 12px;
}

.service-card > p {
    color: var(--gray);
    margin-bottom: 24px;
    line-height: 1.7;
}

.service-features {
    list-style: none;
}

.service-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--gray-light);
    font-size: 0.95rem;
    margin-bottom: 12px;
}

.service-features li::before {
    content: '→';
    color: var(--primary);
    font-weight: 700;
}

/* ============================================
   PRICING SECTION
   ============================================ */

.pricing {
    background: var(--dark-light);
}

.pricing-tabs {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-bottom: 60px;
}

.pricing-tab {
    padding: 14px 32px;
    background: transparent;
    border: 2px solid rgba(255,255,255,0.1);
    border-radius: 50px;
    color: var(--gray);
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-normal);
}

.pricing-tab.active,
.pricing-tab:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: white;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.pricing-card {
    background: var(--dark);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 24px;
    padding: 40px;
    position: relative;
    transition: all var(--transition-normal);
}

.pricing-card:hover {
    transform: translateY(-5px);
    border-color: rgba(99, 102, 241, 0.2);
}

.pricing-card.popular {
    border-color: var(--primary);
    box-shadow: 0 0 60px rgba(99, 102, 241, 0.15);
}

.popular-badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    padding: 8px 24px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.pricing-header {
    margin-bottom: 30px;
}

.pricing-header h3 {
    font-size: 1.4rem;
    margin-bottom: 8px;
}

.pricing-header p {
    color: var(--gray);
    font-size: 0.95rem;
}

.price {
    display: flex;
    align-items: baseline;
    gap: 4px;
    margin-bottom: 30px;
}

.price-currency {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--gray);
}

.price-amount {
    font-size: 3.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--light), var(--gray-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.popular .price-amount {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.price-period {
    color: var(--gray);
    font-size: 1rem;
}

.pricing-features {
    list-style: none;
    margin-bottom: 30px;
}

.pricing-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    color: var(--gray-light);
    font-size: 0.95rem;
}

.pricing-features li:last-child {
    border-bottom: none;
}

.pricing-features li.included::before {
    content: '✓';
    color: var(--success);
    font-weight: 700;
    width: 20px;
}

.pricing-features li.not-included {
    color: var(--gray);
    opacity: 0.5;
}

.pricing-features li.not-included::before {
    content: '×';
    color: var(--gray);
    width: 20px;
}

.pricing-cta {
    width: 100%;
    text-align: center;
    display: block;
}

.pricing-note {
    text-align: center;
    margin-top: 40px;
    color: var(--gray);
    font-size: 0.9rem;
}

/* ============================================
   WHY US SECTION
   ============================================ */

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1400px;
    margin: 0 auto;
}

.feature-box {
    background: var(--dark-light);
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 20px;
    padding: 40px;
    text-align: center;
    transition: all var(--transition-normal);
}

.feature-box:hover {
    transform: translateY(-5px);
    border-color: rgba(99, 102, 241, 0.2);
    box-shadow: var(--shadow-lg);
}

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 24px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    transition: transform var(--transition-normal);
}

.feature-box:hover .feature-icon {
    transform: rotate(10deg) scale(1.1);
}

.feature-box h4 {
    font-size: 1.3rem;
    margin-bottom: 12px;
}

.feature-box p {
    color: var(--gray);
    line-height: 1.7;
}

/* ============================================
   PROCESS SECTION
   ============================================ */

.process {
    background: var(--dark-light);
}

.process-steps {
    display: flex;
    justify-content: space-between;
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
}

.process-steps::before {
    content: '';
    position: absolute;
    top: 40px;
    left: 10%;
    right: 10%;
    height: 2px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    opacity: 0.3;
}

.process-step {
    text-align: center;
    position: relative;
    z-index: 1;
    flex: 1;
}

.step-number {
    width: 80px;
    height: 80px;
    margin: 0 auto 24px;
    background: var(--dark);
    border: 3px solid var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--primary);
    transition: all var(--transition-normal);
}

.process-step:hover .step-number {
    background: var(--primary);
    color: white;
    transform: scale(1.1);
}

.process-step h4 {
    font-size: 1.2rem;
    margin-bottom: 8px;
}

.process-step p {
    color: var(--gray);
    font-size: 0.9rem;
}

/* ============================================
   CONTACT SECTION
   ============================================ */

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    max-width: 1200px;
    margin: 0 auto;
}

.contact-info h3 {
    font-size: 2rem;
    margin-bottom: 20px;
}

.contact-info > p {
    color: var(--gray);
    margin-bottom: 40px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 30px;
}

.contact-icon {
    width: 56px;
    height: 56px;
    background: rgba(99, 102, 241, 0.1);
    border: 1px solid rgba(99, 102, 241, 0.3);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.contact-details h4 {
    font-size: 1.1rem;
    margin-bottom: 6px;
}

.contact-details p,
.contact-details a {
    color: var(--gray);
    text-decoration: none;
    transition: color var(--transition-fast);
}

.contact-details a:hover {
    color: var(--primary-light);
}

/* Contact Form */
.contact-form {
    background: var(--dark-light);
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 24px;
    padding: 40px;
}

.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    font-size: 0.95rem;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 16px 20px;
    background: var(--dark);
    border: 2px solid rgba(255,255,255,0.08);
    border-radius: 12px;
    color: var(--light);
    font-size: 1rem;
    font-family: inherit;
    transition: all var(--transition-fast);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.form-group textarea {
    min-height: 140px;
    resize: vertical;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

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

.form-success {
    display: none;
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid var(--success);
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    color: var(--success);
}

.form-success.show {
    display: block;
}

/* ============================================
   CTA SECTION
   ============================================ */

.cta-section {
    padding: 0 5% 120px;
}

.cta-box {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 32px;
    padding: 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-box::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 1px, transparent 1px);
    background-size: 30px 30px;
    animation: ctaGrid 20s linear infinite;
}

@keyframes ctaGrid {
    0% { transform: translate(0, 0); }
    100% { transform: translate(30px, 30px); }
}

.cta-content {
    position: relative;
    z-index: 1;
}

.cta-box h2 {
    font-size: 2.8rem;
    margin-bottom: 20px;
}

.cta-box p {
    font-size: 1.2rem;
    opacity: 0.9;
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-box .btn {
    background: white;
    color: var(--primary);
    font-size: 1.1rem;
    padding: 18px 40px;
}

.cta-box .btn:hover {
    box-shadow: 0 10px 40px rgba(0,0,0,0.3);
}

/* ============================================
   FOOTER
   ============================================ */

.footer {
    background: var(--dark-light);
    border-top: 1px solid rgba(255,255,255,0.05);
    padding: 80px 5% 40px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 60px;
    max-width: 1400px;
    margin: 0 auto 60px;
}

.footer-brand .logo {
    margin-bottom: 20px;
}

.footer-brand p {
    color: var(--gray);
    margin-bottom: 20px;
    line-height: 1.7;
}

.footer-brand .company-info {
    font-size: 0.9rem;
    color: var(--gray);
}

.footer-brand .company-info strong {
    color: var(--gray-light);
}

.footer-links h4 {
    font-size: 1rem;
    margin-bottom: 24px;
    color: var(--light);
}

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

.footer-links li {
    margin-bottom: 14px;
}

.footer-links a {
    color: var(--gray);
    text-decoration: none;
    transition: all var(--transition-fast);
    display: inline-block;
}

.footer-links a:hover {
    color: var(--primary-light);
    transform: translateX(4px);
}

.footer-bottom {
    max-width: 1400px;
    margin: 0 auto;
    padding-top: 40px;
    border-top: 1px solid rgba(255,255,255,0.05);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-bottom p {
    color: var(--gray);
    font-size: 0.9rem;
}

.social-links {
    display: flex;
    gap: 16px;
}

.social-links a {
    width: 44px;
    height: 44px;
    background: rgba(255,255,255,0.05);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 1.2rem;
    transition: all var(--transition-normal);
}

.social-links a:hover {
    background: var(--primary);
    transform: translateY(-3px);
}

/* ============================================
   ANIMATIONS
   ============================================ */

.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

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

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero h1 {
        font-size: 3rem;
    }
    
    .hero-description {
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .hero-stats {
        justify-content: center;
    }
    
    .terminal {
        max-width: 500px;
        margin: 0 auto;
    }
    
    .nav-links {
        display: none;
    }
    
    .mobile-toggle {
        display: flex;
    }
    
    .contact-wrapper {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr 1fr;
    }
    
    .process-steps {
        flex-direction: column;
        gap: 40px;
    }
    
    .process-steps::before {
        display: none;
    }
    
    .cta-box {
        padding: 60px 40px;
    }
    
    .cta-box h2 {
        font-size: 2rem;
    }
}

@media (max-width: 640px) {
    .hero h1 {
        font-size: 2.2rem;
    }
    
    .section-header h2 {
        font-size: 1.8rem;
    }
    
    .services-grid,
    .pricing-grid {
        grid-template-columns: 1fr;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    
    .pricing-tabs {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 30px;
    }
}

/* Mobile Menu */
.mobile-menu {
    display: none;
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    background: var(--dark);
    border-bottom: 1px solid rgba(255,255,255,0.1);
    padding: 20px;
    z-index: 999;
}

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

.mobile-menu ul {
    list-style: none;
}

.mobile-menu li {
    margin-bottom: 16px;
}

.mobile-menu a {
    color: var(--light);
    text-decoration: none;
    font-size: 1.1rem;
    display: block;
    padding: 10px 0;
}
