/* =========================================
   1. BASE & VARIABLES
   ========================================= */
:root {
    --primary: #111111;
    --background: #FFFFFF;
    --accent: #6C63FF;
    --text-main: #333333;
    --text-muted: #666666;
    --border: #EAEAEA;
    --card-bg: #F9FAFB;
    
    --gradient-modern: linear-gradient(135deg, #6C63FF 0%, #3B82F6 50%, #06B6D4 100%);
    --gradient-glow: radial-gradient(circle at center, rgba(108, 99, 255, 0.15) 0%, rgba(255, 255, 255, 0) 70%);
    
    --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
    --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-floating: 0 20px 25px -5px rgba(0,0,0,0.1), 0 10px 10px -5px rgba(0,0,0,0.04);
    
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    background-color: var(--background);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

h1, h2, h3, h4 {
    color: var(--primary);
    line-height: 1.2;
    letter-spacing: -0.02em;
}

a {
    text-decoration: none;
    color: inherit;
}

.mt-2 { margin-top: 1rem; }
.mt-4 { margin-top: 2rem; }
.text-center { text-align: center; }
.bg-light { background-color: var(--card-bg); }

/* =========================================
   2. BUTTONS (GENERAL)
   ========================================= */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    border-radius: 100px;
    cursor: pointer;
    transition: var(--transition);
    border: none;
}

.btn-primary {
    background: var(--primary);
    color: white;
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    background: #000000;
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background: white;
    color: var(--primary);
    border: 1px solid var(--border);
}

.btn-secondary:hover {
    border-color: var(--primary);
    background: var(--card-bg);
}

.btn-small { padding: 10px 20px; font-size: 0.9rem; }
.btn-large { padding: 16px 32px; font-size: 1.1rem; }
.btn-block { width: 100%; }

/* =========================================
   3. NAVIGATION
   ========================================= */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 80px;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(0,0,0,0.05);
    z-index: 100;
    display: flex;
    align-items: center;
}

.nav-container {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.05em;
    color: var(--primary);
}
.logo span {
    background: var(--gradient-modern);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nav-links a {
    margin: 0 16px;
    font-weight: 500;
    color: var(--text-muted);
    transition: var(--transition);
}

.nav-links a:hover { color: var(--primary); }

@media (max-width: 768px) {
    .nav-links { display: none; }
}

/* =========================================
   4. HERO SECTION
   ========================================= */
.hero {
    padding: 160px 0 100px;
    position: relative;
    overflow: hidden;
}

.hero-bg-glow {
    position: absolute;
    top: -20%;
    left: 50%;
    transform: translateX(-50%);
    width: 800px;
    height: 800px;
    background: var(--gradient-glow);
    z-index: -1;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.badge {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(108, 99, 255, 0.1);
    color: var(--accent);
    border-radius: 100px;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 24px;
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 24px;
}

.hero-content p {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 40px;
    max-width: 480px;
}

.hero-cta { display: flex; gap: 16px; }

/* Browser Mockup Animation */
.hero-visual { position: relative; }

.browser-mockup {
    background: white;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-floating);
    overflow: hidden;
}

.browser-header {
    background: var(--card-bg);
    padding: 12px 16px;
    display: flex;
    gap: 8px;
    border-bottom: 1px solid var(--border);
}

.dot { width: 12px; height: 12px; border-radius: 50%; }
.dot.red { background: #FF5F56; }
.dot.yellow { background: #FFBD2E; }
.dot.green { background: #27C93F; }

.browser-body { padding: 24px; }
.skeleton-nav { width: 100%; height: 24px; background: var(--border); border-radius: 4px; margin-bottom: 24px; }
.skeleton-hero { width: 100%; height: 150px; background: var(--card-bg); border-radius: 8px; margin-bottom: 24px; }
.skeleton-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.skeleton-cards div { height: 100px; background: var(--card-bg); border-radius: 8px; }

.floating-card {
    position: absolute;
    background: white;
    padding: 12px 20px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    z-index: 10;
    border: 1px solid rgba(0,0,0,0.05);
}
.floating-card i { color: var(--accent); font-size: 1.2rem; }
.card-1 { top: -20px; right: -20px; animation: float 6s ease-in-out infinite; }
.card-2 { bottom: -20px; left: -20px; animation: float 6s ease-in-out infinite reverse; }

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
    100% { transform: translateY(0px); }
}

@media (max-width: 992px) {
    .hero-container { grid-template-columns: 1fr; text-align: center; }
    .hero-content h1 { font-size: 2.5rem; }
    .hero-content p { margin: 0 auto 32px; }
    .hero-cta { justify-content: center; flex-direction: column; }
    .hero-bg-glow { display: none; }
}

/* =========================================
   5. GENERAL SECTIONS (STATS, WHY, FEATURES)
   ========================================= */
section { padding: 100px 0; }
.section-header { text-align: center; max-width: 600px; margin: 0 auto 64px; }
.section-header h2 { font-size: 2.5rem; margin-bottom: 16px; }
.section-header p { font-size: 1.1rem; color: var(--text-muted); }

/* Stats */
.stats { padding: 60px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; text-align: center; }
.stats-grid h3 { font-size: 2.5rem; font-weight: 800; background: var(--gradient-modern); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
@media (max-width: 768px) { .stats-grid { grid-template-columns: repeat(2, 1fr); } }

/* Before vs After */
.comparison-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.comparison-card {
    padding: 40px;
    border-radius: var(--radius-xl);
    background: white;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-md);
}
.badge-tag { display: inline-block; padding: 6px 16px; border-radius: 100px; font-weight: 600; margin-bottom: 24px; font-size: 0.9rem; }
.tag-red { background: #FEE2E2; color: #DC2626; }
.tag-green { background: #DCFCE7; color: #16A34A; }
.comparison-card ul { list-style: none; }
.comparison-card li { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; font-weight: 500; font-size: 1.1rem; }
.text-red { color: #DC2626; } .text-green { color: #16A34A; }
@media (max-width: 768px) { .comparison-grid { grid-template-columns: 1fr; } }

/* Features Grid */
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.feature-card {
    padding: 32px;
    border-radius: var(--radius-lg);
    background: white;
    border: 1px solid var(--border);
    transition: var(--transition);
}
.feature-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: var(--accent); }
.feature-card i { font-size: 2.5rem; color: var(--accent); margin-bottom: 24px; display: block; }
.feature-card h3 { margin-bottom: 12px; font-size: 1.25rem; }
.feature-card p { color: var(--text-muted); font-size: 0.95rem; }
@media (max-width: 992px) { .features-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 576px) { .features-grid { grid-template-columns: 1fr; } }

/* How It Works Timeline */
.timeline { display: flex; justify-content: space-between; position: relative; max-width: 900px; margin: 0 auto; gap: 24px; }
.timeline::before {
    content: '';
    position: absolute;
    top: 24px; left: 0; right: 0;
    height: 2px;
    background: var(--border);
    z-index: 0;
}
.step { flex: 1; text-align: center; position: relative; z-index: 1; }
.step-number {
    width: 50px; height: 50px;
    background: var(--primary); color: white;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.25rem; font-weight: 700;
    margin: 0 auto 24px;
    box-shadow: 0 0 0 8px var(--card-bg);
}
.step h3 { margin-bottom: 12px; }
.step p { color: var(--text-muted); font-size: 0.95rem; }
@media (max-width: 768px) {
    .timeline { flex-direction: column; gap: 48px; }
    .timeline::before { top: 0; bottom: 0; left: 24px; width: 2px; height: auto; }
    .step { text-align: left; display: flex; flex-direction: column; align-items: flex-start; padding-left: 80px; }
    .step-number { position: absolute; left: 0; top: 0; margin: 0; box-shadow: 0 0 0 8px var(--card-bg); }
}

/* =========================================
   6. PRICING SECTION - OVERHAUL (MOBILE-FIRST)
   ========================================= */
.pricing-section {
    background-color: #FAFAFA;
    padding: 100px 0;
    position: relative;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-bottom: 48px;
    align-items: stretch;
}

.pricing-card {
    background: #FFFFFF;
    border: 1px solid #E5E7EB;
    border-radius: 24px; /* Sudut lebih membulat ala iOS */
    padding: 32px 24px;
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
    z-index: 1;
}

.pricing-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    border-color: #D1D5DB;
}

.pricing-icon {
    width: 52px;
    height: 52px;
    background: #F3F4F6;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    color: var(--primary);
    margin-bottom: 24px;
}

.pricing-header h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #111827;
    margin-bottom: 8px;
}

.price {
    font-size: 2.2rem;
    font-weight: 800;
    color: #111827;
    letter-spacing: -1px;
    margin-bottom: 12px;
    line-height: 1.1;
}

.price-sm {
    font-size: 1rem;
    color: #6B7280;
    font-weight: 500;
    display: flex;
    flex-direction: column;
    margin-bottom: 12px;
}

.price-sm span {
    font-size: 2.2rem;
    font-weight: 800;
    color: #111827;
    letter-spacing: -1px;
}

.pricing-desc {
    font-size: 0.9rem;
    color: #6B7280;
    line-height: 1.5;
    min-height: 45px;
}

.divider {
    height: 1px;
    background: #E5E7EB;
    margin: 24px 0;
    width: 100%;
}

/* List Fitur Pricing */
.pricing-features {
    list-style: none;
    margin-bottom: 32px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.pricing-features li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 0.95rem;
    color: #374151;
    font-weight: 500;
}

.pricing-features i {
    font-size: 1.25rem;
    margin-top: 1px;
}

.text-accent { color: var(--accent); }
.custom-list li { color: #6B7280; font-weight: 400; padding-left: 4px; }

/* Tombol Pricing (Super Premium) */
.btn-pricing {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    padding: 16px 24px;
    border-radius: 16px; 
    font-weight: 700;
    font-size: 1rem;
    text-align: center;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-subtle {
    background: #F3F4F6;
    color: #111827;
    box-shadow: inset 0 0 0 1px #E5E7EB;
}

.btn-subtle:hover {
    background: #E5E7EB;
    transform: scale(1.02);
}

.btn-dark {
    background: #111827;
    color: #FFFFFF;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}
.btn-dark:hover { background: #000000; transform: scale(1.02); box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.2); }

/* Popular Card (Business) - Glowing Effect */
.pricing-card.popular {
    background: linear-gradient(135deg, #6C63FF 0%, #3B82F6 100%);
    border: none;
    box-shadow: 0 20px 40px -10px rgba(108, 99, 255, 0.4);
    transform: scale(1.02);
    z-index: 2;
}

.pricing-card.popular:hover {
    transform: scale(1.03) translateY(-5px);
    box-shadow: 0 30px 50px -15px rgba(108, 99, 255, 0.6);
}

.popular-badge {
    position: absolute;
    top: -16px;
    left: 50%;
    transform: translateX(-50%);
    background: #111827;
    color: #FFFFFF;
    padding: 8px 20px;
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 6px -1px rgba(0,0,0,0.2);
    white-space: nowrap;
}

.popular-icon { background: rgba(255, 255, 255, 0.15); color: #FFFFFF; border: 1px solid rgba(255,255,255,0.2); }
.pricing-card.popular h3, 
.pricing-card.popular .price { color: #FFFFFF; }
.pricing-card.popular .pricing-desc { color: rgba(255, 255, 255, 0.9); }
.popular-divider { background: rgba(255, 255, 255, 0.2); }
.popular-features li { color: #FFFFFF; }
.text-cyan { color: #22D3EE; text-shadow: 0 0 10px rgba(34, 211, 238, 0.4); }

.btn-prominent {
    background: #FFFFFF;
    color: #3B82F6;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.2);
    font-size: 1.1rem;
}
.btn-prominent:hover {
    transform: scale(1.03);
    box-shadow: 0 15px 35px -5px rgba(0, 0, 0, 0.3);
    color: #6C63FF;
}

/* Add-Ons (Chip Style) */
.addons-wrapper { text-align: center; margin-top: 32px; }
.addons-wrapper h4 { font-size: 1.1rem; color: #6B7280; margin-bottom: 24px; }
.addons-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
}
.addon-chip {
    background: #FFFFFF;
    border: 1px solid #E5E7EB;
    padding: 10px 16px;
    border-radius: 100px;
    font-size: 0.9rem;
    font-weight: 600;
    color: #374151;
    display: flex;
    gap: 8px;
    align-items: center;
    box-shadow: 0 1px 2px 0 rgba(0,0,0,0.05);
}
.addon-chip span { color: var(--accent); background: rgba(108, 99, 255, 0.1); padding: 2px 8px; border-radius: 100px; font-size: 0.8rem; }

/* Trust Note */
.pricing-trust-note {
    margin-top: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    background: #FFFFFF;
    padding: 20px 24px;
    border-radius: 16px;
    border: 1px solid #E5E7EB;
    box-shadow: 0 4px 6px -1px rgba(0,0,0,0.05);
}
.pricing-trust-note i { font-size: 1.8rem; color: #10B981; }
.pricing-trust-note p { font-size: 0.95rem; color: #374151; margin: 0; }

@media (max-width: 1100px) {
    .pricing-grid { grid-template-columns: repeat(2, 1fr); gap: 32px; }
}

@media (max-width: 768px) {
    .pricing-grid { grid-template-columns: 1fr; gap: 32px; margin-top: 32px; }
    .pricing-card { padding: 32px 24px; transform: none !important; }
    .pricing-card.popular { transform: none !important; }
    .btn-pricing { padding: 18px 24px; font-size: 1.1rem; }
    .pricing-trust-note { flex-direction: column; text-align: center; }
}

/* =========================================
   7. FORM SECTION & AI LOADING EXPERIENCE
   ========================================= */
.form-section { background: var(--primary); color: white; padding: 100px 0; }
.form-wrapper {
    background: #1A1A1A;
    border-radius: var(--radius-xl);
    padding: 64px;
    max-width: 800px;
    width: 100%; /* Memastikan wrapper tidak melebihi layar */
    margin: 0 auto;
    border: 1px solid #333;
    position: relative;
    overflow: hidden;
}
.form-header { text-align: center; margin-bottom: 40px; }
.form-header h2 { color: white; font-size: 2rem; margin-bottom: 12px; }
.form-header p { color: #A1A1AA; }

.form-grid { 
    display: grid; 
    grid-template-columns: 1fr 1fr; 
    gap: 24px; 
    width: 100%; /* Memastikan grid tidak melebar */
}

.input-group { 
    display: flex; 
    flex-direction: column; 
    gap: 8px; 
    width: 100%; /* Memastikan grup input tetap di dalam grid */
}

.input-group.full-width { grid-column: span 2; }
.input-group label { font-size: 0.95rem; font-weight: 500; color: #E4E4E7; }

.input-group input, 
.input-group select {
    width: 100%; /* KUNCI PERBAIKAN: Input tidak akan terpotong lagi */
    max-width: 100%;
    padding: 16px;
    border-radius: var(--radius-md);
    background: #27272A;
    border: 1px solid #3F3F46;
    color: white;
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
    appearance: none; /* Menghilangkan style default bawaan HP agar seragam */
    -webkit-appearance: none;
}

/* Custom icon panah dropdown untuk Select agar terlihat premium */
.input-group select {
    background-image: url("data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22292.4%22%20height%3D%22292.4%22%3E%3Cpath%20fill%3D%22%23A1A1AA%22%20d%3D%22M287%2069.4a17.6%2017.6%200%200%200-13-5.4H18.4c-5%200-9.3%201.8-12.9%205.4A17.6%2017.6%200%200%200%200%2082.2c0%205%201.8%209.3%205.4%2012.9l128%20127.9c3.6%203.6%207.8%205.4%2012.8%205.4s9.2-1.8%2012.8-5.4L287%2095c3.5-3.5%205.4-7.8%205.4-12.8%200-5-1.9-9.2-5.5-12.8z%22%2F%3E%3C%2Fsvg%3E");
    background-repeat: no-repeat;
    background-position: right 16px top 50%;
    background-size: 12px auto;
    padding-right: 40px; /* Jarak teks agar tidak menabrak panah */
}

.input-group input:focus, .input-group select:focus { 
    outline: none; 
    border-color: var(--accent); 
    box-shadow: 0 0 0 3px rgba(108, 99, 255, 0.2); 
}

/* AI Loading State */
.loading-state, .success-state { text-align: center; padding: 40px 0; }
.hidden { display: none !important; }
.spinner {
    width: 60px; height: 60px;
    border: 4px solid #3F3F46;
    border-top-color: var(--accent);
    border-radius: 50%;
    margin: 0 auto 24px;
    animation: spin 1s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

.progress-bar-container {
    width: 100%; height: 8px;
    background: #27272A;
    border-radius: 4px;
    margin: 24px 0; overflow: hidden;
}
.progress-bar { height: 100%; background: var(--gradient-modern); width: 0%; transition: width 0.5s ease; }

.loading-steps { list-style: none; text-align: left; max-width: 300px; margin: 0 auto; color: #A1A1AA; }
.loading-steps li { margin-bottom: 12px; font-size: 0.95rem; display: flex; gap: 12px; transition: color 0.3s ease; }
.loading-steps li.active { color: white; font-weight: 600; }
.loading-steps li.done { color: #16A34A; }

.success-icon i { font-size: 4rem; color: #16A34A; margin-bottom: 24px; display: inline-block; animation: scaleIn 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275); }
@keyframes scaleIn { 0% { transform: scale(0); } 100% { transform: scale(1); } }

/* Perbaikan Khusus Mobile */
@media (max-width: 768px) { 
    .form-section { padding: 60px 0; }
    .form-grid { grid-template-columns: 1fr; gap: 20px; } 
    .input-group.full-width { grid-column: span 1; } 
    .form-wrapper { 
        padding: 40px 24px; /* Padding disesuaikan agar tidak memakan layar di HP */
        border-radius: 24px;
    }
    .form-header h2 { font-size: 1.75rem; }
}

/* =========================================
   8. FAQ & WHY FREE
   ========================================= */
.why-free p { font-size: 1.1rem; max-width: 700px; margin: 0 auto; color: var(--text-muted); }

.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item { margin-bottom: 16px; border: 1px solid var(--border); border-radius: var(--radius-md); background: white; overflow: hidden; }
.faq-question {
    width: 100%; padding: 24px;
    display: flex; justify-content: space-between; align-items: center;
    background: none; border: none;
    font-size: 1.1rem; font-weight: 600; font-family: inherit;
    color: var(--primary); cursor: pointer; text-align: left;
}
.faq-question i { transition: transform 0.3s ease; }
.faq-item.active .faq-question i { transform: rotate(180deg); color: var(--accent); }
.faq-answer {
    max-height: 0; overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
    padding: 0 24px; color: var(--text-muted);
}
.faq-item.active .faq-answer { padding: 0 24px 24px; max-height: 200px; }

/* =========================================
   9. FINAL CTA & FOOTER
   ========================================= */
.final-cta {
    position: relative;
    background: var(--primary);
    color: white;
    padding: 120px 0;
    overflow: hidden;
}
.cta-glow {
    position: absolute;
    bottom: -50%; right: -20%;
    width: 600px; height: 600px;
    background: radial-gradient(circle at center, rgba(6, 182, 212, 0.2) 0%, rgba(255, 255, 255, 0) 70%);
    border-radius: 50%;
}
.cta-content { position: relative; z-index: 1; max-width: 700px; margin: 0 auto; }
.cta-content h2 { color: white; font-size: 3rem; margin-bottom: 24px; }
.cta-content p { color: #A1A1AA; font-size: 1.2rem; }
@media (max-width: 768px){ .cta-content h2{ font-size: 2rem;} }

.footer { background: white; border-top: 1px solid var(--border); padding: 80px 0 40px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 48px; margin-bottom: 64px; }
.footer-brand p { color: var(--text-muted); margin-top: 16px; }
.footer-links h4 { margin-bottom: 24px; font-size: 1.1rem; }
.footer-links a { display: flex; align-items: center; gap: 8px; color: var(--text-muted); margin-bottom: 12px; transition: var(--transition); }
.footer-links a:hover { color: var(--primary); transform: translateX(5px); }
.footer-bottom { border-top: 1px solid var(--border); padding-top: 32px; text-align: center; color: var(--text-muted); font-size: 0.9rem; }
@media (max-width: 768px){ .footer-grid{ grid-template-columns: 1fr;} }

/* =========================================
   10. UTILITIES & 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); }
.fade-up { animation: fadeUp 0.8s ease-out forwards; }
.delay-1 { animation-delay: 0.2s; opacity: 0; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }

/* =========================================
   PORTFOLIO / SHOWCASE SECTION
   ========================================= */
.portfolio-section {
    background-color: #FFFFFF;
    padding: 100px 0;
}

.portfolio-tabs {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 48px;
}

.tab-btn {
    padding: 12px 24px;
    border-radius: 100px;
    border: 1px solid var(--border);
    background: var(--card-bg);
    color: var(--text-muted);
    font-weight: 600;
    font-family: inherit;
    font-size: 0.95rem;
    cursor: pointer;
    transition: var(--transition);
}

.tab-btn:hover {
    border-color: var(--accent);
    color: var(--primary);
}

.tab-btn.active {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
    box-shadow: var(--shadow-md);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    animation: fadeIn 0.5s ease-in-out;
}

.portfolio-grid.hidden {
    display: none !important;
}

.portfolio-card {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: var(--transition);
}

.portfolio-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--accent);
}

.mockup-header {
    display: flex;
    gap: 6px;
    margin-bottom: 16px;
}
.mockup-header span {
    width: 10px; height: 10px; border-radius: 50%; background: #E5E7EB;
}

.mockup-body {
    background: white;
    padding: 24px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
    margin-bottom: 20px;
    min-height: 160px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.mockup-badge {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--accent);
    background: rgba(108, 99, 255, 0.1);
    padding: 4px 10px;
    border-radius: 100px;
    margin-bottom: 12px;
    width: fit-content;
}

.mockup-body h4 {
    font-size: 1.15rem;
    margin-bottom: 6px;
    color: var(--primary);
}

.mockup-body p {
    font-size: 0.85rem;
    color: var(--text-muted);
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 992px) {
    .portfolio-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .portfolio-grid {
        grid-template-columns: 1fr;
    }
    .portfolio-tabs {
        gap: 8px;
    }
    .tab-btn {
        padding: 10px 16px;
        font-size: 0.85rem;
    }
}
