/* Custom CSS Variables & Typography Setup */
:root {
    --primary-bg: #f8fafc;
    --navy-deep: #0d2c54;
    --navy-mid: #1b3d6c;
    --accent-blue: #0072ce;
    --accent-green: #00d1b2;
    --accent-orange: #ff3860;
    --accent-yellow: #ffdd57;
    --text-primary: #1e293b;
    --text-secondary: #475569;
    --white: #ffffff;
    --border-color: #e2e8f0;
    --shadow-soft: 0 4px 12px rgba(13, 44, 84, 0.05);
    --shadow-premium: 0 10px 30px rgba(13, 44, 84, 0.08);
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --font-stack: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

/* Core Resets */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-stack);
    background-color: var(--primary-bg);
    color: var(--text-primary);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

/* Base Accessibility Styles */
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

.skip-link {
    position: absolute;
    top: -100px;
    left: 20px;
    background: var(--accent-blue);
    color: var(--white);
    padding: 12px 24px;
    z-index: 9999;
    border-radius: 8px;
    font-weight: bold;
    transition: var(--transition-smooth);
}

.skip-link:focus {
    top: 20px;
}

/* Main Container Layout */
.container {
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Sticky Header and Navigation */
.main-header {
    background-color: rgba(13, 44, 84, 0.96);
    backdrop-filter: blur(12px);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 15px 0;
}

.header-grid {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-wrapper {
    text-decoration: none;
    color: var(--white);
    font-size: 1.5rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 8px;
}

.logo-accent {
    color: var(--accent-blue);
}

.badge-independent {
    font-size: 0.65rem;
    background-color: rgba(255, 255, 255, 0.15);
    color: var(--accent-yellow);
    padding: 2px 6px;
    border-radius: 4px;
    text-transform: uppercase;
    font-weight: 700;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 20px;
}

.nav-link {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: var(--transition-smooth);
}

.nav-link:hover, .nav-link.active {
    color: var(--white);
    text-shadow: 0 0 8px rgba(255, 255, 255, 0.5);
}

.nav-ctas {
    display: flex;
    gap: 12px;
}

/* Premium Button Component System */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 16px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    cursor: pointer;
    transition: var(--transition-smooth);
    border: none;
}

.btn-primary {
    background-color: var(--accent-blue);
    color: var(--white);
}

.btn-primary:hover {
    background-color: #00569e;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 114, 206, 0.3);
}

.btn-secondary {
    background-color: var(--white);
    color: var(--navy-deep);
}

.btn-secondary:hover {
    background-color: #e2e8f0;
}

.btn-outline {
    background-color: transparent;
    border: 2px solid var(--accent-blue);
    color: var(--accent-blue);
}

.btn-outline:hover {
    background-color: rgba(0, 114, 206, 0.05);
}

.btn-large {
    padding: 14px 28px;
    font-size: 1rem;
}

/* Notice Warning Banner style */
.notice-banner {
    background-color: #fef3c7;
    border-bottom: 1px solid #fde68a;
    padding: 10px 0;
    font-size: 0.85rem;
    color: #92400e;
}

.notice-content {
    display: flex;
    align-items: center;
    gap: 10px;
    justify-content: center;
}

/* Dynamic view management */
.page-view {
    display: none;
}

.page-view.active-view {
    display: block;
    animation: fadeIn 0.4s ease;
}

/* Hero layout styles */
.hero-section {
    background: radial-gradient(circle at top right, #1b3d6c 0%, #0d2c54 100%);
    color: var(--white);
    padding: 80px 0;
}

.hero-grid-layout {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 40px;
    align-items: center;
}

.hero-breadcrumb {
    margin-bottom: 20px;
}

.breadcrumb-list {
    display: flex;
    list-style: none;
    gap: 8px;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
}

.breadcrumb-list a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
}

.breadcrumb-list a:hover {
    color: var(--white);
}

.hero-meta {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 10px;
}

.hero-section h1 {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
}

.hero-lead {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 30px;
}

.hero-actions {
    display: flex;
    gap: 16px;
    margin-bottom: 40px;
}

.trust-badges {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}

.badge {
    background: rgba(255, 255, 255, 0.1);
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 0.8rem;
    display: flex;
    align-items: center;
    gap: 6px;
}

/* Premium Search Input Box */
.search-box-wrapper {
    background: var(--white);
    border-radius: 12px;
    padding: 8px 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: var(--shadow-premium);
    max-width: 500px;
}

.search-input {
    border: none;
    outline: none;
    width: 100%;
    font-size: 1rem;
    color: var(--text-primary);
}

.quick-links {
    margin-top: 15px;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
}

.quick-tag {
    color: var(--accent-blue);
    text-decoration: none;
    margin-left: 8px;
    background: rgba(255, 255, 255, 0.1);
    padding: 2px 8px;
    border-radius: 4px;
}

.quick-tag:hover {
    background: var(--white);
    color: var(--navy-deep);
}

/* Direct Answer Component (GEO Requirement) */
.aeo-summary-box {
    background: var(--white);
    border-radius: 16px;
    box-shadow: var(--shadow-premium);
    padding: 40px;
    margin-top: -40px;
    position: relative;
    z-index: 5;
    border-left: 8px solid var(--accent-blue);
}

.aeo-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 30px;
}

.aeo-pill {
    background: rgba(0, 114, 206, 0.1);
    color: var(--accent-blue);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    padding: 4px 10px;
    border-radius: 4px;
    display: inline-block;
    margin-bottom: 12px;
}

/* Card System Layout style */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.card {
    background: var(--white);
    border-radius: 12px;
    padding: 30px;
    box-shadow: var(--shadow-soft);
    border: 1px solid var(--border-color);
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-premium);
    border-color: var(--accent-blue);
}

.card-icon-badge {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.card h3 {
    margin-bottom: 15px;
}

.card p {
    color: var(--text-secondary);
    margin-bottom: 25px;
    flex-grow: 1;
}

/* Structured Step-by-Step Layout on Home */
.activation-steps-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    background: var(--white);
    padding: 50px;
    border-radius: 20px;
    box-shadow: var(--shadow-soft);
}

.benefit-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 30px;
}

.benefit-table caption {
    text-align: left;
    font-weight: bold;
    margin-bottom: 10px;
}

.benefit-table th, .benefit-table td {
    padding: 12px;
    border-bottom: 1px solid var(--border-color);
    text-align: left;
}

.benefit-table th {
    background-color: rgba(13, 44, 84, 0.05);
}

.ordered-step-list {
    list-style: none;
    counter-reset: step-counter;
}

.ordered-step-list li {
    position: relative;
    padding-left: 60px;
    margin-bottom: 35px;
    counter-increment: step-counter;
}

.ordered-step-list li::before {
    content: counter(step-counter);
    position: absolute;
    left: 0;
    top: 0;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--accent-blue);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

/* Why Trust section styles */
.section-trust-panel {
    background: linear-gradient(135deg, rgba(13, 44, 84, 0.02) 0%, rgba(0, 114, 206, 0.05) 100%);
    border-radius: 20px;
    padding: 60px;
}

.trust-metrics {
    display: flex;
    justify-content: space-around;
    margin-top: 40px;
}

.metric {
    text-align: center;
}

.metric-value {
    display: block;
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--accent-blue);
}

/* Guides Article Layout style */
.guide-article h2 {
    font-size: 1.8rem;
    margin-bottom: 15px;
}

.answer-first {
    font-size: 1.1rem;
    color: var(--text-primary);
    margin-bottom: 20px;
    border-left: 4px solid var(--accent-green);
    padding-left: 15px;
}

.key-takeaway {
    background: rgba(0, 209, 178, 0.08);
    border: 1px solid rgba(0, 209, 178, 0.3);
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 35px;
}

/* Troubleshooting Card Layout */
.trouble-card {
    background: var(--white);
    border-radius: 12px;
    padding: 30px;
    box-shadow: var(--shadow-soft);
    border-top: 4px solid var(--accent-orange);
}

.pill-error {
    background: rgba(255, 56, 96, 0.1);
    color: var(--accent-orange);
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 700;
    display: inline-block;
    margin-bottom: 12px;
}

/* Contact form layout style */
.premium-form {
    background: var(--white);
    border-radius: 12px;
    padding: 40px;
    box-shadow: var(--shadow-soft);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-weight: bold;
    margin-bottom: 8px;
}

.form-control {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    outline: none;
    transition: var(--transition-smooth);
}

.form-control:focus {
    border-color: var(--accent-blue);
    box-shadow: 0 0 8px rgba(0, 114, 206, 0.2);
}

.warning-callout {
    background-color: #fef2f2;
    border-left: 4px solid #ef4444;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 30px;
}

/* Premium FAQ Accordion Styles */
.faq-accordion-group {
    margin-top: 40px;
}

.faq-item {
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
}

.faq-trigger {
    width: 100%;
    padding: 20px;
    background: none;
    border: none;
    outline: none;
    text-align: left;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-icon::before {
    content: '+';
    font-size: 1.5rem;
}

.faq-trigger[aria-expanded="true"] .faq-icon::before {
    content: '−';
}

.faq-panel {
    display: none;
    padding: 0 20px 20px;
    color: var(--text-secondary);
}

/* Universal Page structure helpers */
.padding-y { padding: 60px 0; }
.padding-y-bottom { padding-bottom: 60px; }
.text-center { text-align: center; }

.grid-layout {
    display: grid;
    grid-template-columns: 1.4fr 0.6fr;
    gap: 40px;
}

.widget {
    background: var(--white);
    border-radius: 12px;
    padding: 30px;
    box-shadow: var(--shadow-soft);
    border: 1px solid var(--border-color);
}

/* Footer layout style */
.main-footer {
    background-color: var(--navy-deep);
    color: rgba(255, 255, 255, 0.7);
    padding: 60px 0 20px;
    margin-top: 80px;
    border-top: 4px solid var(--accent-blue);
}

.footer-grid-layout {
    display: grid;
    grid-template-columns: 1fr 0.5fr 0.5fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-brand h4 {
    color: var(--white);
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.footer-links h4 {
    color: var(--white);
    margin-bottom: 15px;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
}

.footer-links a:hover {
    color: var(--white);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    font-size: 0.85rem;
}

.disclaimer-text {
    margin-bottom: 15px;
}

/* Fade-in Animation keyframes */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Responsive Grid and Menu rules */
@media (max-width: 1024px) {
    .mobile-nav-toggle {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        width: 30px;
        height: 21px;
        background: transparent;
        border: none;
        cursor: pointer;
    }

    .mobile-nav-toggle .bar {
        width: 100%;
        height: 3px;
        background-color: var(--white);
        border-radius: 2px;
        transition: var(--transition-smooth);
    }

    .nav-menu {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        background-color: var(--navy-deep);
        padding: 30px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .nav-menu.active {
        display: flex;
    }

    .nav-list {
        flex-direction: column;
        width: 100%;
        gap: 15px;
        margin-bottom: 20px;
    }

    .nav-ctas {
        flex-direction: column;
        width: 100%;
    }

    .hero-grid-layout {
        grid-template-columns: 1fr;
    }

    .hero-visual-block {
        display: none;
    }

    .grid-layout {
        grid-template-columns: 1fr;
    }

    .aeo-grid {
        grid-template-columns: 1fr;
    }

    .activation-steps-container {
        grid-template-columns: 1fr;
    }
}