/* Fonts loaded via <link> tags in HTML */

:root {
    --primary: #3b82f6;
    --primary-gradient: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    --secondary: #10b981;
    --secondary-gradient: linear-gradient(135deg, #10b981 0%, #059669 100%);
    --accent: #f59e0b;
    --accent-gradient: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);

    --bg-main: #f8fafc;
    --bg-card: #ffffff;
    --bg-glass: rgba(255, 255, 255, 0.85);
    --bg-dark: #0f172a;
    --bg-dark-card: #1e293b;

    --dark: #0f172a;
    --dark-muted: #1e293b;

    --text-main: #334155;
    --text-muted: #64748b;
    --text-light: #94a3b8;

    --border-soft: #e2e8f0;
    --border-focus: #cbd5e1;

    --shadow-sm: 0 4px 6px -1px rgba(0,0,0,0.05), 0 2px 4px -1px rgba(0,0,0,0.03);
    --shadow-md: 0 10px 15px -3px rgba(0,0,0,0.08), 0 4px 6px -2px rgba(0,0,0,0.04);
    --shadow-hover: 0 20px 25px -5px rgba(0,0,0,0.1), 0 10px 10px -5px rgba(0,0,0,0.04);
    --shadow-glow: 0 0 30px rgba(59,130,246,0.15);

    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-full: 9999px;

    --max-width: 1280px;

    --transition-smooth: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

* {
    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-main);
    background: var(--bg-main);
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Outfit', system-ui, -apple-system, sans-serif;
    font-weight: 700;
    color: var(--dark);
    line-height: 1.2;
    margin-bottom: 0.5rem;
    letter-spacing: -0.02em;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-family: 'Outfit', system-ui, -apple-system, sans-serif;
    font-size: 1.75rem;
    font-weight: 800;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1.2;
    margin-bottom: 0;
    letter-spacing: -0.02em;
}

h1 { font-size: clamp(2.5rem, 5vw, 4rem); line-height: 1.1; }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.75rem); }

a {
    color: var(--primary);
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: var(--dark);
}

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* ======================================
   HEADER & NAVIGATION
   ====================================== */
.site-header {
    background: var(--bg-glass);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.4);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 1px 3px rgba(0,0,0,0.02);
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo-icon {
    font-size: 2rem;
    -webkit-text-fill-color: initial;
}

.main-nav {
    display: flex;
    gap: 2.5rem;
}

.main-nav a {
    color: var(--text-main);
    font-weight: 600;
    font-size: 1rem;
    position: relative;
    padding: 0.5rem 0;
}

.main-nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background: var(--primary-gradient);
    transition: width 0.3s ease;
    border-radius: var(--radius-full);
}

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

/* ======================================
   BREADCRUMBS
   ====================================== */
.breadcrumb {
    margin-bottom: 2rem;
    font-size: 0.95rem;
    font-weight: 500;
}

.breadcrumb ol {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    list-style: none;
    align-items: center;
}

.breadcrumb li {
    display: flex;
    align-items: center;
}

.breadcrumb li::after {
    content: '';
    width: 6px;
    height: 6px;
    border-right: 2px solid var(--text-muted);
    border-bottom: 2px solid var(--text-muted);
    transform: rotate(-45deg);
    margin-left: 0.75rem;
    opacity: 0.5;
}

.breadcrumb li:last-child::after {
    display: none;
}

.breadcrumb a {
    color: var(--text-muted);
}
.breadcrumb a:hover {
    color: var(--primary);
}
.breadcrumb span {
    color: var(--dark);
    font-weight: 600;
}

/* ======================================
   HERO (SUBPAGES)
   ====================================== */
.hero, .page-hero {
    position: relative;
    padding: 6rem 0;
    background: #ffffff;
    overflow: hidden;
    text-align: center;
    border-bottom: 1px solid var(--border-soft);
}

.hero::before, .page-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(59,130,246,0.1) 0%, rgba(255,255,255,0) 70%);
    border-radius: 50%;
    z-index: 0;
}
.hero::after, .page-hero::after {
    content: '';
    position: absolute;
    bottom: -30%;
    right: -5%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(16,185,129,0.08) 0%, rgba(255,255,255,0) 70%);
    border-radius: 50%;
    z-index: 0;
}

.hero .container, .page-hero .container {
    position: relative;
    z-index: 1;
}

.hero p, .page-hero p {
    font-size: 1.25rem;
    color: var(--text-muted);
    max-width: 700px;
    margin: 1rem auto 0;
}

.hero-home p {
    color: rgba(255,255,255,0.7);
}

/* ======================================
   HOMEPAGE HERO (DARK)
   ====================================== */
.hero-home {
    position: relative;
    padding: 7rem 0 5rem;
    background: var(--bg-dark);
    overflow: hidden;
    text-align: center;
    color: #fff;
}

.hero-home::before {
    content: '';
    position: absolute;
    top: -40%;
    left: -20%;
    width: 80%;
    height: 80%;
    background: radial-gradient(ellipse, rgba(59,130,246,0.25) 0%, transparent 60%);
    border-radius: 50%;
    z-index: 0;
    animation: pulse-glow 6s ease-in-out infinite;
}

.hero-home::after {
    content: '';
    position: absolute;
    bottom: -30%;
    right: -15%;
    width: 60%;
    height: 60%;
    background: radial-gradient(ellipse, rgba(16,185,129,0.15) 0%, transparent 60%);
    border-radius: 50%;
    z-index: 0;
    animation: pulse-glow 8s ease-in-out infinite reverse;
}

@keyframes pulse-glow {
    0%, 100% { opacity: 0.6; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.05); }
}

.hero-home .hero-grid-bg {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    z-index: 0;
}

.hero-home .container {
    position: relative;
    z-index: 1;
}

.hero-home h1 {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: -0.03em;
    color: #fff;
}

.hero-home h1 .gradient-text {
    background: linear-gradient(135deg, #60a5fa 0%, #34d399 50%, #f59e0b 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-home .hero-subtitle {
    font-size: clamp(1.1rem, 2.5vw, 1.35rem);
    color: rgba(255,255,255,0.7);
    max-width: 650px;
    margin: 0 auto 2.5rem;
    line-height: 1.6;
}

.hero-search {
    max-width: 600px;
    margin: 0 auto 2rem;
    position: relative;
}

.hero-search input {
    width: 100%;
    padding: 1.2rem 1.2rem 1.2rem 3.5rem;
    border-radius: var(--radius-lg);
    border: 2px solid rgba(255,255,255,0.15);
    background: rgba(255,255,255,0.08);
    color: #fff;
    font-size: 1.1rem;
    font-family: inherit;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    outline: none;
}

.hero-search input::placeholder {
    color: rgba(255,255,255,0.4);
}

.hero-search input:focus {
    border-color: rgba(59,130,246,0.6);
    background: rgba(255,255,255,0.12);
    box-shadow: 0 0 0 4px rgba(59,130,246,0.15);
}

.hero-search .search-icon {
    position: absolute;
    left: 1.2rem;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    opacity: 0.5;
}

.hero-search .search-icon svg {
    width: 20px;
    height: 20px;
    stroke: #fff;
    stroke-width: 2;
    fill: none;
}

.trust-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255,255,255,0.6);
    font-size: 0.95rem;
    font-weight: 500;
}

.trust-item svg {
    width: 18px;
    height: 18px;
    stroke: var(--secondary);
    stroke-width: 2;
    fill: none;
    flex-shrink: 0;
}

.trust-item strong {
    color: rgba(255,255,255,0.9);
}

/* ======================================
   GRID SYSTEMS
   ====================================== */
.link-grid, .region-grid, .use-case-grid, .features-grid, .providers-grid, .comparison-grid {
    display: grid;
    gap: 2rem;
    padding: 3rem 0;
}

.link-grid { grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }
.region-grid { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.use-case-grid { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.features-grid { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }

/* ======================================
   HOSTING TYPE CARDS (Home)
   ====================================== */
.link-card, .region-card, .use-case-card, .feature-card {
    background: var(--bg-card);
    padding: 2.5rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-soft);
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.link-card:hover, .region-card:hover, .use-case-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
    border-color: rgba(59,130,246,0.3);
    color: inherit;
}

.link-card, .region-card, .use-case-card {
    color: inherit;
}

.link-card:hover h3, .use-case-card:hover h3 {
    color: var(--primary);
}

.feature-card { transition: all 0.3s ease; }
.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.link-card h3, .region-card h3, .use-case-card h3, .feature-card h3 {
    color: var(--dark);
    margin-bottom: 0.5rem;
    font-size: 1.4rem;
}

.link-card p, .use-case-card p, .region-card p, .feature-card p {
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.6;
}

.link-count {
    display: inline-block;
    margin-top: 1rem;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--primary);
    background: rgba(59,130,246,0.1);
    padding: 0.4rem 1rem;
    border-radius: var(--radius-full);
}

/* Hosting type card icons */
.hosting-card-icon {
    width: 56px;
    height: 56px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    margin-bottom: 1.25rem;
    flex-shrink: 0;
}

.hosting-card-icon.blue { background: rgba(59,130,246,0.1); }
.hosting-card-icon.blue svg { stroke: var(--primary); }
.hosting-card-icon.green { background: rgba(16,185,129,0.1); }
.hosting-card-icon.green svg { stroke: var(--secondary); }
.hosting-card-icon.purple { background: rgba(139,92,246,0.1); }
.hosting-card-icon.purple svg { stroke: #8b5cf6; }
.hosting-card-icon.amber { background: rgba(245,158,11,0.1); }
.hosting-card-icon.amber svg { stroke: var(--accent); }

.hosting-card-arrow {
    position: absolute;
    bottom: 1.5rem;
    right: 1.5rem;
    width: 20px;
    height: 20px;
    opacity: 0;
    transform: translateX(-8px);
    transition: all 0.3s ease;
}

.hosting-card-arrow svg {
    width: 20px;
    height: 20px;
    stroke: var(--primary);
    stroke-width: 2;
    fill: none;
}

.link-card:hover .hosting-card-arrow {
    opacity: 1;
    transform: translateX(0);
}

/* ======================================
   SECTIONS
   ====================================== */
section {
    padding: 5rem 0;
}
section h2 {
    text-align: center;
    margin-bottom: 0.75rem;
}
.section-header {
    text-align: center;
    margin-bottom: 3rem;
}
.section-label {
    display: inline-block;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--primary);
    background: rgba(59,130,246,0.1);
    padding: 0.4rem 1.2rem;
    border-radius: var(--radius-full);
    margin-bottom: 0.75rem;
    text-align: center;
}
.section-label.center {
    display: block;
    text-align: center;
}
.section-label + h2,
.section-header h2 {
    margin-bottom: 0.5rem;
}
section > p.section-subtitle,
.section-header p {
    text-align: center;
    color: var(--text-muted);
    font-size: 1.1rem;
    max-width: 580px;
    margin: 0 auto 0;
    line-height: 1.65;
}
.section-header .section-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    margin-top: 1.25rem;
}
.section-header .section-divider span {
    width: 40px;
    height: 3px;
    border-radius: 3px;
    background: var(--primary-gradient);
}
.section-header .section-divider .dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--primary);
}

/* ======================================
   COMPARISON TABLE (Providers)
   ====================================== */
.providers-table {
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.provider-row {
    display: grid;
    grid-template-columns: 56px 1fr auto auto;
    gap: 1.5rem;
    align-items: center;
    background: var(--bg-card);
    border: 1px solid var(--border-soft);
    border-radius: var(--radius-md);
    padding: 1.5rem 2rem;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-sm);
}

.provider-row:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
    border-color: var(--border-focus);
}

.provider-row.featured-row {
    border: 2px solid var(--accent);
    background: linear-gradient(180deg, rgba(245,158,11,0.04) 0%, #ffffff 100%);
    position: relative;
}

.provider-row.featured-row::before {
    content: 'Top Pick';
    position: absolute;
    top: 0;
    right: 1.5rem;
    background: var(--accent-gradient);
    color: #fff;
    font-size: 0.7rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: 0.35rem 1rem;
    border-radius: 0 0 var(--radius-sm) var(--radius-sm);
}

.provider-rank {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    font-size: 1.3rem;
    color: #fff;
    background: var(--primary-gradient);
    box-shadow: 0 4px 10px rgba(59,130,246,0.25);
    flex-shrink: 0;
}

.provider-row.featured-row .provider-rank {
    background: var(--accent-gradient);
    box-shadow: 0 4px 10px rgba(245,158,11,0.25);
}

.provider-info {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.provider-info .provider-name {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: 1.2rem;
    color: var(--dark);
}

.provider-info .provider-tagline {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.provider-info .provider-stars {
    color: var(--accent);
    font-size: 0.9rem;
    letter-spacing: 1px;
}

.provider-info .provider-badge {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 0.2rem 0.6rem;
    border-radius: var(--radius-full);
    background: rgba(16,185,129,0.1);
    color: var(--secondary);
    margin-left: 0.5rem;
}

.provider-price {
    text-align: center;
    min-width: 100px;
}

.provider-price .price-from {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 600;
}

.provider-price .price-amount {
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    font-size: 1.8rem;
    color: var(--dark);
    line-height: 1;
}

.provider-price .price-period {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.btn-primary {
    background: var(--primary-gradient);
    color: #fff !important;
    padding: 0.85rem 1.75rem;
    border-radius: var(--radius-md);
    font-family: 'Outfit', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    text-align: center;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(59,130,246,0.3);
    transition: all 0.2s ease;
    text-decoration: none !important;
    white-space: nowrap;
    display: inline-block;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(59,130,246,0.4);
    color: #fff !important;
}

.provider-row.featured-row .btn-primary {
    background: var(--accent-gradient);
    box-shadow: 0 4px 12px rgba(245,158,11,0.3);
}

.provider-row.featured-row .btn-primary:hover {
    box-shadow: 0 8px 16px rgba(245,158,11,0.4);
}

/* ======================================
   REGION FLAG CHIPS
   ====================================== */
.region-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: center;
    padding: 3rem 0;
}

.region-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--bg-card);
    border: 1px solid var(--border-soft);
    border-radius: var(--radius-full);
    padding: 0.6rem 1.25rem;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-main);
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-sm);
}

.region-chip:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
    color: var(--primary);
}

.region-chip .flag {
    font-size: 1.2rem;
}

/* ======================================
   WHY SECTION (Icon circles)
   ====================================== */
.feature-icon-circle {
    width: 64px;
    height: 64px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
    position: relative;
}

.feature-icon-circle svg {
    width: 28px;
    height: 28px;
    stroke-width: 2;
    fill: none;
}

.feature-icon-circle.blue {
    background: rgba(59,130,246,0.1);
}
.feature-icon-circle.blue svg { stroke: var(--primary); }

.feature-icon-circle.green {
    background: rgba(16,185,129,0.1);
}
.feature-icon-circle.green svg { stroke: var(--secondary); }

.feature-icon-circle.amber {
    background: rgba(245,158,11,0.1);
}
.feature-icon-circle.amber svg { stroke: var(--accent); }

.feature-icon-circle.purple {
    background: rgba(139,92,246,0.1);
}
.feature-icon-circle.purple svg { stroke: #8b5cf6; }

/* ======================================
   BUYING GUIDE (Numbered Steps)
   ====================================== */
.buying-guide {
    padding: 5rem 0;
    background: #fff;
}

.buying-guide-section {
    max-width: 800px;
    margin: 0 auto 3rem;
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

.guide-step-number {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--primary-gradient);
    color: #fff;
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 4px 10px rgba(59,130,246,0.25);
}

.guide-step-content h3 {
    margin-bottom: 0.75rem;
    font-size: 1.35rem;
}

.guide-step-content p {
    color: var(--text-main);
    line-height: 1.8;
    margin-bottom: 1rem;
}

.guide-step-content ul {
    list-style: none;
    padding-left: 0;
}

.guide-step-content ul li {
    position: relative;
    padding-left: 1.75rem;
    margin-bottom: 0.75rem;
    color: var(--text-main);
    line-height: 1.6;
}

.guide-step-content ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    background-color: rgba(16,185,129,0.15);
    border-radius: 50%;
}

.guide-step-content ul li::after {
    content: '';
    position: absolute;
    left: 7px;
    top: 50%;
    transform: translateY(-65%) rotate(45deg);
    width: 4px;
    height: 8px;
    border-right: 2px solid var(--secondary);
    border-bottom: 2px solid var(--secondary);
}

/* ======================================
   FAQ ACCORDION
   ====================================== */
.faq-section-home {
    padding: 5rem 0;
    background: var(--bg-main);
}

.faq-accordion {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.faq-accordion-item {
    background: var(--bg-card);
    border: 1px solid var(--border-soft);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-accordion-item:hover {
    border-color: rgba(59,130,246,0.3);
}

.faq-accordion-item.active {
    border-color: rgba(59,130,246,0.4);
    box-shadow: var(--shadow-sm);
}

.faq-accordion-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    cursor: pointer;
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--dark);
    background: none;
    border: none;
    width: 100%;
    text-align: left;
    transition: all 0.2s ease;
}

.faq-accordion-header:hover {
    color: var(--primary);
}

.faq-accordion-icon {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(59,130,246,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.3s ease;
    margin-left: 1rem;
}

.faq-accordion-item.active .faq-accordion-icon {
    background: var(--primary-gradient);
    transform: rotate(45deg);
}

.faq-accordion-icon svg {
    width: 14px;
    height: 14px;
    stroke: var(--primary);
    stroke-width: 2.5;
    fill: none;
}

.faq-accordion-item.active .faq-accordion-icon svg {
    stroke: #fff;
}

.faq-accordion-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease;
}

.faq-accordion-body-inner {
    padding: 0 1.5rem 1.5rem;
    color: var(--text-main);
    line-height: 1.7;
    font-size: 1.05rem;
}

/* ======================================
   NEWSLETTER / CTA SECTION
   ====================================== */
.newsletter-section {
    background: var(--bg-dark);
    padding: 5rem 0;
    position: relative;
    overflow: hidden;
}

.newsletter-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -10%;
    width: 50%;
    height: 100%;
    background: radial-gradient(ellipse, rgba(59,130,246,0.2) 0%, transparent 60%);
    border-radius: 50%;
}

.newsletter-inner {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.newsletter-inner h2 {
    color: #fff;
    margin-bottom: 1rem;
}

.newsletter-inner p {
    color: rgba(255,255,255,0.7);
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.newsletter-form {
    display: flex;
    gap: 0.75rem;
    max-width: 480px;
    margin: 0 auto;
}

.newsletter-form input {
    flex: 1;
    padding: 1rem 1.25rem;
    border-radius: var(--radius-md);
    border: 2px solid rgba(255,255,255,0.15);
    background: rgba(255,255,255,0.08);
    color: #fff;
    font-size: 1rem;
    font-family: inherit;
    outline: none;
    transition: all 0.3s ease;
}

.newsletter-form input::placeholder {
    color: rgba(255,255,255,0.4);
}

.newsletter-form input:focus {
    border-color: rgba(59,130,246,0.6);
    background: rgba(255,255,255,0.12);
    box-shadow: 0 0 0 4px rgba(59,130,246,0.15);
}

.newsletter-form button {
    padding: 1rem 2rem;
    border-radius: var(--radius-md);
    background: var(--primary-gradient);
    color: #fff;
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: 1rem;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(59,130,246,0.3);
    transition: all 0.2s ease;
    white-space: nowrap;
}

.newsletter-form button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(59,130,246,0.4);
}

.newsletter-note {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.4);
    margin-top: 1rem;
}

/* ======================================
   FOOTER
   ====================================== */
.site-footer {
    background: var(--dark);
    color: rgba(255,255,255,0.8);
    padding: 5rem 0 2rem;
    border-top: 4px solid var(--primary);
}

.site-footer--newsletter + .site-footer,
.newsletter-section + .site-footer {
    border-top: none;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-section h3 {
    color: #fff;
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
    letter-spacing: 0.05em;
}

.footer-section ul { list-style: none; }
.footer-section li { margin-bottom: 0.8rem; }
.footer-section a {
    color: rgba(255,255,255,0.6);
    transition: all 0.2s;
}
.footer-section a:hover {
    color: #fff;
    padding-left: 4px;
}

.footer-about { line-height: 1.6; }

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 2rem;
    text-align: center;
}

.disclaimer { font-size: 0.85rem; color: rgba(255,255,255,0.4); margin-bottom: 1rem; }
.copyright { font-size: 0.9rem; color: rgba(255,255,255,0.6); font-family: 'Outfit', sans-serif; }

/* ======================================
   COMPARISON CARDS (Article pages)
   ====================================== */
.comparison-grid {
    grid-template-columns: 1fr;
    max-width: 1000px;
    margin: 0 auto;
}

.comparison-card {
    background: var(--bg-card);
    border: 1px solid var(--border-soft);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    display: grid;
    grid-template-columns: auto 1fr 200px;
    gap: 2.5rem;
    align-items: center;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-sm);
    position: relative;
    overflow: hidden;
}

.comparison-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-3px);
    border-color: var(--border-focus);
}

.comparison-card.featured {
    border: 2px solid var(--accent);
    background: linear-gradient(180deg, rgba(245, 158, 11, 0.03) 0%, #ffffff 100%);
    box-shadow: 0 10px 25px -5px rgba(245, 158, 11, 0.15);
}

.comparison-card.featured::before {
    content: '★ Top Pick';
    position: absolute;
    top: 1.5rem;
    right: -2rem;
    background: var(--accent-gradient);
    color: #fff;
    padding: 0.4rem 3rem;
    font-size: 0.8rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    transform: rotate(45deg);
    box-shadow: var(--shadow-sm);
}

.card-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    text-align: center;
}

.rank-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: var(--primary-gradient);
    color: #fff;
    border-radius: 14px;
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    font-size: 1.4rem;
    box-shadow: 0 4px 10px rgba(59, 130, 246, 0.3);
}

.comparison-card.featured .rank-badge {
    background: var(--accent-gradient);
    box-shadow: 0 4px 10px rgba(245, 158, 11, 0.3);
}

.merchant-logo {
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    font-size: 1.5rem;
    color: var(--dark);
    margin: 0;
}

.star-rating {
    color: var(--accent);
    font-size: 1.1rem;
    letter-spacing: 2px;
}

.card-features {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.card-features h4 {
    font-size: 0.85rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1rem;
}

.features-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.features-list li {
    position: relative;
    padding-left: 2rem;
    color: var(--text-main);
    font-size: 1rem;
    font-weight: 500;
}

.features-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    background-color: rgba(16, 185, 129, 0.15);
    border-radius: 50%;
}

.features-list li::after {
    content: '';
    position: absolute;
    left: 7px;
    top: 50%;
    transform: translateY(-65%) rotate(45deg);
    width: 4px;
    height: 8px;
    border-right: 2px solid var(--secondary);
    border-bottom: 2px solid var(--secondary);
}

.card-pricing {
    border: none;
    padding: 0;
}

.price-block {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 1.5rem;
}

.price-block .from {
    font-size: 0.9rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 600;
}

.price-block .amount {
    font-size: 3.5rem;
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    color: var(--dark);
    line-height: 1;
    margin: 0.2rem 0;
}

.price-block .period {
    color: var(--text-muted);
    font-weight: 500;
}

.card-action {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.btn-cta {
    background: var(--primary-gradient);
    color: #fff;
    padding: 1.2rem;
    border-radius: var(--radius-md);
    font-family: 'Outfit', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    text-align: center;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
    transition: all 0.2s ease;
    text-decoration: none !important;
}

.btn-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(59, 130, 246, 0.4);
    color: #fff;
}

.comparison-card.featured .btn-cta {
    background: var(--accent-gradient);
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.3);
}

.comparison-card.featured .btn-cta:hover {
    box-shadow: 0 8px 16px rgba(245, 158, 11, 0.4);
}

.cta-text {
    font-size: 0.8rem;
    color: var(--text-muted);
    text-align: center;
}

/* Existing FAQ section styling kept for article pages */
.faq-section {
    background: #ffffff;
    max-width: 900px;
    margin: 0 auto;
    padding: 0;
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-top: 2rem;
}

.faq-item {
    background: var(--bg-main);
    border: 1px solid var(--border-soft);
    border-radius: var(--radius-md);
    padding: 2rem;
    transition: all 0.3s ease;
}

.faq-item:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-sm);
    background: #ffffff;
}

.faq-item h3 {
    color: var(--dark);
    font-size: 1.3rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.faq-item h3::before {
    content: 'Q.';
    color: var(--primary);
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
}

.faq-item p {
    color: var(--text-main);
    font-size: 1.05rem;
    line-height: 1.7;
    margin: 0;
    padding-left: 2.2rem;
}

/* Detailed content for article pages */
.detailed-content {
    padding: 5rem 0;
}

.content-wrapper {
    background: var(--bg-card);
    padding: 4rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-soft);
    max-width: 900px;
    margin: 0 auto;
}

.article-content {
    font-size: 1.1rem;
    line-height: 1.8;
}

.article-content h2 { margin-top: 3rem; margin-bottom: 1.5rem; color: var(--dark); border-bottom: 2px solid var(--bg-main); padding-bottom: 0.5rem; }
.article-content h3 { margin-top: 2rem; margin-bottom: 1rem; color: var(--dark-muted); }
.article-content p { margin-bottom: 1.5rem; color: var(--text-main); }
.article-content ul, .article-content ol { margin-bottom: 1.5rem; padding-left: 1.5rem; }
.article-content li { margin-bottom: 0.75rem; padding-left: 0.5rem; }
.article-content li::marker { color: var(--primary); font-weight: bold; }

/* Related Comparisons Section */
.related-comparisons { padding: 3rem 0 0; }
.related-comparisons h2 { text-align: center; margin-bottom: 2rem; }
.related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1rem;
}
.related-card {
    background: var(--bg-card);
    border: 1px solid var(--border-soft);
    border-radius: var(--radius-md);
    padding: 1.5rem;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}
.related-card:hover {
    border-color: var(--primary);
    transform: translateY(-3px);
    box-shadow: var(--shadow-sm);
}
.related-card h3 {
    font-size: 1rem;
    color: var(--dark);
    margin: 0;
}

/* Existing section classes for homepage (kept for compat) */
.providers-grid { max-width: 1000px; margin: 0 auto; }
.provider-card {
    background: var(--bg-card);
    border: 1px solid var(--border-soft);
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-sm);
}
.provider-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
}
.provider-card h3 { margin: 0.5rem 0; }
.provider-card .rating { color: var(--accent); margin-bottom: 0.5rem; }
.provider-card .price { color: var(--text-muted); font-size: 0.9rem; margin-bottom: 1rem; }
.provider-card .btn-primary { margin-top: 0.5rem; }

/* ======================================
   SCROLL ANIMATIONS
   ====================================== */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ======================================
   BACK TO TOP BUTTON
   ====================================== */
.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--primary-gradient);
    color: #fff;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(59,130,246,0.3);
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s ease;
    z-index: 999;
    pointer-events: none;
}

.back-to-top.visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.back-to-top:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 16px rgba(59,130,246,0.4);
}

.back-to-top svg {
    width: 20px;
    height: 20px;
    stroke: #fff;
    stroke-width: 2.5;
    fill: none;
}

/* ======================================
   RESPONSIVE
   ====================================== */
@media (max-width: 992px) {
    .comparison-card {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 1.5rem;
    }

    .card-header {
        flex-direction: row;
        justify-content: center;
        text-align: left;
    }

    .features-list {
        align-items: center;
    }

    .features-list li {
        text-align: left;
    }

    .card-pricing {
        border-top: 1px solid var(--border-soft);
        padding-top: 2rem;
        margin-top: 1rem;
    }
    .comparison-card.featured::before {
        top: 0;
        right: 0;
        transform: rotate(0);
        border-radius: 0 16px 0 16px;
    }

    .provider-row {
        grid-template-columns: 48px 1fr auto auto;
        gap: 1rem;
    }

    .provider-price {
        text-align: center;
    }

    .newsletter-form {
        flex-direction: column;
    }
}

@media (max-width: 768px) {
    .header-inner { height: auto; padding: 1rem 0; flex-wrap: wrap; }
    .menu-toggle { display: flex; }
    .main-nav {
        display: none;
        width: 100%;
        flex-direction: column;
        gap: 0;
        padding: 1rem 0;
        border-top: 1px solid var(--border-soft);
        margin-top: 1rem;
    }
    .main-nav.active { display: flex; }
    .main-nav a {
        padding: 0.75rem 0;
        border-bottom: 1px solid var(--border-soft);
    }
    .main-nav a::after { display: none; }
    .hero, .page-hero { padding: 4rem 0; }
    section { padding: 3rem 0; }
    .content-wrapper { padding: 2rem; }
    .related-grid { grid-template-columns: 1fr; }

    .hero-home { padding: 5rem 0 3.5rem; }
    .hero-home h1 { font-size: 2.2rem; }

    .trust-bar { gap: 1rem; }
    .trust-item { font-size: 0.85rem; }

    .provider-row {
        grid-template-columns: 36px 1fr;
        padding: 1.25rem;
        gap: 0.75rem;
    }
    .provider-rank { width: 36px; height: 36px; font-size: 1rem; }
    .provider-info .provider-name { font-size: 1.1rem; }
    .provider-price {
        grid-column: 2;
        text-align: left;
    }
    .provider-row .btn-primary {
        grid-column: 1 / -1;
        text-align: center;
    }

    .region-chips { gap: 0.5rem; }

    .buying-guide-section { flex-direction: column; gap: 0.75rem; }

    .footer-grid { gap: 2rem; }
}