/* =========================================
   MODERN THEME VARIABLES
   ========================================= */
:root {
    --primary: #2563eb;        /* Electric Blue */
    --primary-dark: #1e40af;   /* Deep Blue */
    --primary-light: #dbeafe;  /* Light Blue BG */
    --accent: #f59e0b;         /* Warm Amber/Gold */
    --accent-hover: #d97706;   /* Darker Amber */
    --bg-body: #f8fafc;        /* Slate 50 */
    --bg-card: #ffffff;        /* Pure White */
    --text-main: #0f172a;      /* Slate 900 */
    --text-muted: #475569;     /* Slate 600 */
    --border: #e2e8f0;         /* Slate 200 */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.05), 0 4px 6px -2px rgba(0, 0, 0, 0.025);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.05), 0 10px 10px -5px rgba(0, 0, 0, 0.02);
    --radius: 12px;
    --radius-lg: 16px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* =========================================
   RESET & BASE STYLES
   ========================================= */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    line-height: 1.7;
    color: var(--text-muted);
    background-color: var(--bg-body);
    -webkit-font-smoothing: antialiased;
}

a { color: var(--primary); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--primary-dark); }
.text-link { font-weight: 600; border-bottom: 2px solid var(--primary-light); }
.text-link:hover { border-bottom-color: var(--primary); }

.container { width: 90%; max-width: 1100px; margin: 0 auto; padding: 0 20px; }

/* =========================================
   TYPOGRAPHY
   ========================================= */
h1, h2, h3 { color: var(--text-main); line-height: 1.25; font-weight: 700; }
h1 { font-size: clamp(2rem, 5vw, 3rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(1.5rem, 4vw, 2rem); letter-spacing: -0.01em; margin-bottom: 0.5rem; }
h3 { font-size: 1.25rem; font-weight: 600; color: var(--text-main); }
p { margin-bottom: 1.25rem; font-size: 1.05rem; }

/* =========================================
   BUTTONS
   ========================================= */
.btn {
    display: inline-flex; align-items: center; justify-content: center;
    padding: 14px 32px; border-radius: var(--radius); font-weight: 600;
    cursor: pointer; transition: var(--transition); text-decoration: none !important;
    font-size: 1rem; border: 2px solid transparent;
}
.btn-primary { background-color: var(--accent); color: #fff; border-color: var(--accent); }
.btn-primary:hover { background-color: var(--accent-hover); border-color: var(--accent-hover); transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.btn-secondary { background-color: transparent; color: #fff; border-color: rgba(255,255,255,0.3); }
.btn-secondary:hover { background-color: rgba(255,255,255,0.1); border-color: #fff; }
.btn-large { padding: 18px 40px; font-size: 1.1rem; }

/* =========================================
   HEADER & NAVIGATION
   ========================================= */
.header {
    background-color: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    position: sticky; top: 0; z-index: 1000;
}
.nav-container { display: flex; justify-content: space-between; align-items: center; height: 72px; }
.logo { font-size: 1.35rem; font-weight: 800; color: var(--text-main); display: flex; align-items: center; gap: 8px; }
.logo-icon { color: var(--accent); font-size: 1.5rem; }

.nav-menu ul { display: flex; list-style: none; gap: 2rem; align-items: center; }
.nav-menu a { color: var(--text-muted); font-weight: 500; font-size: 0.95rem; }
.nav-menu a:hover { color: var(--primary); }
.nav-cta {
    background-color: var(--primary); color: #fff !important;
    padding: 10px 24px; border-radius: var(--radius);
}
.nav-cta:hover { background-color: var(--primary-dark); transform: translateY(-1px); }

.mobile-menu-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 5px; }
.mobile-menu-toggle span { width: 24px; height: 2.5px; background-color: var(--text-main); transition: var(--transition); border-radius: 2px; }

/* =========================================
   HERO SECTION (CSS-Only Pattern)
   ========================================= */
.hero {
    background: linear-gradient(135deg, var(--text-main) 0%, #1e3a8a 100%);
    color: #fff; padding: 6rem 0 5rem; text-align: center; position: relative; overflow: hidden;
}
.hero-bg-pattern {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background-image: radial-gradient(rgba(255,255,255,0.05) 1px, transparent 1px);
    background-size: 30px 30px; opacity: 0.6; pointer-events: none;
}
.hero-content { position: relative; z-index: 2; max-width: 800px; }
.hero-badge {
    display: inline-block; background: rgba(255,255,255,0.1); color: var(--accent);
    padding: 6px 16px; border-radius: 50px; font-size: 0.85rem; font-weight: 600;
    margin-bottom: 1.5rem; border: 1px solid rgba(255,255,255,0.1);
}
.hero h1 { color: #fff; margin-bottom: 1.5rem; }
.hero p { font-size: 1.15rem; color: #cbd5e1; margin-bottom: 2.5rem; }
.hero-link { color: var(--accent); font-weight: 600; border-bottom: 1px dashed var(--accent); }
.hero-link:hover { color: #fbbf24; border-bottom-style: solid; }
.hero-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* =========================================
   MAIN CONTENT & SECTIONS
   ========================================= */
.main-content { padding: 3rem 20px; }
.content-section {
    background-color: var(--bg-card); padding: 3rem; margin-bottom: 2rem;
    border-radius: var(--radius-lg); border: 1px solid var(--border);
    box-shadow: var(--shadow-sm); transition: var(--transition);
}
.content-section:hover { box-shadow: var(--shadow-md); }

.section-header { margin-bottom: 2rem; }
.header-line { width: 60px; height: 4px; background: var(--accent); border-radius: 2px; margin-top: 0.75rem; }
.section-subtitle { font-size: 1.1rem; color: var(--text-muted); margin-top: 0.5rem; }

.highlight-box {
    background-color: var(--primary-light); border-left: 4px solid var(--primary);
    padding: 1.5rem 2rem; border-radius: 0 var(--radius) var(--radius) 0; margin: 1.5rem 0;
}
.highlight-box p { margin-bottom: 0; color: var(--primary-dark); font-weight: 500; }

/* =========================================
   CARD GRIDS (Process & Benefits)
   ========================================= */
.process-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.5rem; margin-top: 2rem;
}
.process-card {
    background: var(--bg-body); padding: 2rem; border-radius: var(--radius);
    border: 1px solid var(--border); position: relative; overflow: hidden;
    transition: var(--transition);
}
.process-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: var(--primary); }
.card-number {
    font-size: 3rem; font-weight: 800; color: var(--primary-light);
    position: absolute; top: -10px; right: 10px; opacity: 0.5;
}
.process-card h3 { margin-top: 1rem; margin-bottom: 0.75rem; }
.process-card p { font-size: 0.95rem; margin-bottom: 0; }

.benefits-grid {
    display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; margin-top: 2rem;
}
.benefit-card {
    background: var(--bg-body); padding: 2rem; border-radius: var(--radius);
    border: 1px solid var(--border); transition: var(--transition);
}
.benefit-card.featured {
    grid-column: 1 / -1; background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: #fff; border: none;
}
.benefit-card.featured h3, .benefit-card.featured p { color: #fff; }
.benefit-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--primary); }
.benefit-card h3 { margin-bottom: 0.75rem; display: flex; align-items: center; gap: 10px; }

/* =========================================
   FAQ ACCORDION
   ========================================= */
.faq-container { margin-top: 2rem; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-question {
    width: 100%; text-align: left; padding: 1.5rem 0; background: none; border: none;
    font-size: 1.05rem; font-weight: 600; color: var(--text-main); cursor: pointer;
    display: flex; justify-content: space-between; align-items: center;
    transition: var(--transition);
}
.faq-question:hover { color: var(--primary); }
.faq-icon { font-size: 1.5rem; font-weight: 300; color: var(--primary); transition: var(--transition); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1); }
.faq-answer p { padding-bottom: 1.5rem; color: var(--text-muted); margin-bottom: 0; }
.faq-item.active .faq-icon { transform: rotate(45deg); color: var(--accent); }
.faq-item.active .faq-answer { max-height: 300px; }

/* =========================================
   CONTACT SECTION
   ========================================= */
.contact-section {
    background: var(--text-main); color: #fff; padding: 5rem 0; text-align: center;
    position: relative; overflow: hidden;
}
.contact-section::before {
    content: ''; position: absolute; top: -50%; left: -50%; width: 200%; height: 200%;
    background: radial-gradient(circle, rgba(37,99,235,0.15) 0%, transparent 70%);
    pointer-events: none;
}
.contact-wrapper { position: relative; z-index: 2; max-width: 900px; margin: 0 auto; }
.contact-section h2 { color: #fff; }
.contact-section > .container > .contact-wrapper > p { color: #94a3b8; font-size: 1.1rem; margin-bottom: 3rem; }

.contact-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 2rem; margin-bottom: 3rem;
}
.contact-card {
    background: rgba(255,255,255,0.05); padding: 2.5rem 2rem; border-radius: var(--radius-lg);
    border: 1px solid rgba(255,255,255,0.1); backdrop-filter: blur(10px);
    transition: var(--transition);
}
.contact-card:hover { background: rgba(255,255,255,0.1); transform: translateY(-5px); border-color: var(--accent); }
.contact-icon { font-size: 2.5rem; margin-bottom: 1rem; }
.contact-card h3 { color: var(--accent); margin-bottom: 0.5rem; font-size: 1.1rem; text-transform: uppercase; letter-spacing: 0.05em; }
.contact-card p, .contact-card a { color: #e2e8f0; font-size: 1.1rem; margin-bottom: 0; }
.contact-card a:hover { color: var(--accent); }
.contact-cta-wrapper { margin-top: 1rem; }

/* =========================================
   FOOTER
   ========================================= */
.footer { background-color: #020617; color: #64748b; text-align: center; padding: 2.5rem 0; font-size: 0.9rem; border-top: 1px solid rgba(255,255,255,0.05); }
.footer p { margin-bottom: 0.5rem; }

/* =========================================
   ANIMATIONS
   ========================================= */
.fade-in-up { opacity: 0; transform: translateY(30px); transition: opacity 0.6s ease-out, transform 0.6s ease-out; }
.fade-in-up.visible { opacity: 1; transform: translateY(0); }

/* =========================================
   RESPONSIVE DESIGN
   ========================================= */
@media (max-width: 768px) {
    .mobile-menu-toggle { display: flex; }
    .nav-menu {
        position: absolute; top: 72px; left: 0; width: 100%; background: var(--bg-card);
        border-bottom: 1px solid var(--border); box-shadow: var(--shadow-lg);
        max-height: 0; overflow: hidden; transition: max-height 0.4s ease-out;
    }
    .nav-menu.active { max-height: 400px; }
    .nav-menu ul { flex-direction: column; padding: 1.5rem; gap: 1.5rem; }
    
    .content-section { padding: 2rem 1.5rem; }
    .benefits-grid { grid-template-columns: 1fr; }
    .hero { padding: 4rem 0 3rem; }
    .hero-actions { flex-direction: column; width: 100%; }
    .btn { width: 100%; }
}