/* Reset and Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Brand Colors - From card gradient */
    --primary-top: #fbd501;
    --primary-mid: #fff9cf;
    --primary-bottom: #e2af11;
    
    /* Additional brand colors */
    --primary-600: #fbd501;
    --primary-700: #e2af11;
    --primary-500: #fce566;
    --primary-400: #fdf099;
    --primary-300: #fef7cc;
    --primary-200: #fff9cf;
    --primary-100: #fffbeb;
    --primary-50: #fffff0;
    
    /* Grays - Apple style */
    --gray-900: #1d1d1f;
    --gray-800: #2d2d2d;
    --gray-700: #424242;
    --gray-600: #6e6e73;
    --gray-500: #86868b;
    --gray-400: #a1a1a6;
    --gray-300: #d2d2d7;
    --gray-200: #e8e8ed;
    --gray-100: #f5f5f7;
    --gray-50: #fafafa;
    
    /* Semantic Colors */
    --success: #34c759;
    --success-bg: #d7f5dd;
    
    /* Backgrounds */
    --bg-primary: #ffffff;
    --bg-secondary: #fbfbfd;
    --bg-yellow-light: #fffbeb;
    
    /* Shadows - Subtle Apple-style */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.08);
    --shadow-xl: 0 12px 48px rgba(0, 0, 0, 0.12);
    
    /* Yellow shadow for card */
    --shadow-yellow: 0 8px 32px rgba(251, 213, 1, 0.3);
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'SF Pro Text', system-ui, sans-serif;
    line-height: 1.47059;
    color: var(--gray-900);
    background: var(--bg-primary);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    letter-spacing: -0.022em;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Navigation - Apple Style */
.nav {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: saturate(180%) blur(20px);
    border-bottom: 0.5px solid rgba(0, 0, 0, 0.08);
    z-index: 1000;
    transition: all 0.3s cubic-bezier(0.28, 0.11, 0.32, 1);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    transition: opacity 0.3s;
}

.nav-brand:hover {
    opacity: 0.7;
}

.nav-logo-icon {
    height: 24px;
    width: auto;
}

.nav-logo-wordmark {
    height: 20px;
    width: auto;
}

@media (max-width: 768px) {
    .nav-logo-wordmark {
        display: none;
    }
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-link {
    color: var(--gray-900);
    text-decoration: none;
    font-size: 12px;
    font-weight: 400;
    letter-spacing: -0.01em;
    transition: opacity 0.3s;
    opacity: 0.8;
    position: relative;
    line-height: 1;
}

.nav-link:hover {
    opacity: 1;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-600);
    transition: width 0.3s cubic-bezier(0.28, 0.11, 0.32, 1);
}

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

.nav-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

/* Language Toggle */
.language-toggle {
    display: flex;
    align-items: center;
    gap: 4px;
    background: var(--gray-200);
    padding: 2px;
    border-radius: 12px;
}

.lang-button {
    padding: 4px 10px;
    border: none;
    background: transparent;
    border-radius: 10px;
    font-size: 11px;
    font-weight: 600;
    color: var(--gray-600);
    cursor: pointer;
    transition: all 0.3s;
}

.lang-button:hover {
    color: var(--gray-900);
}

.lang-button.active {
    background: white;
    color: var(--gray-900);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1002;
}

.hamburger span {
    width: 25px;
    height: 2px;
    background: var(--gray-900);
    transition: all 0.3s ease;
    border-radius: 2px;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(7px, 7px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

@media (max-width: 768px) {
    .hamburger {
        display: flex;
        order: -1;
        position: relative;
        z-index: 1002;
    }
    
    .nav-brand {
        display: none;
    }
    
    .nav-container {
        justify-content: space-between;
    }
    
    .nav-menu {
        position: fixed;
        top: 0;
        left: 0;
        width: 85%;
        max-width: 320px;
        height: 100vh;
        background: white;
        flex-direction: column;
        gap: 0;
        padding: 0;
        box-shadow: 2px 0 20px rgba(0, 0, 0, 0.15);
        transition: transform 0.3s cubic-bezier(0.28, 0.11, 0.32, 1);
        transform: translateX(-100%);
        overflow-y: auto;
        z-index: 1001;
        align-items: stretch;
    }
    
    .nav-menu.active {
        transform: translateX(0);
    }
    
    /* Logo header nel menu */
    .nav-menu::before {
        content: '';
        display: flex;
        align-items: center;
        padding: 24px;
        padding-top: 64px;
        border-bottom: 1px solid var(--gray-100);
        height: 100px;
        box-sizing: border-box;
        background: 
            url('Scritta_gialla.png') no-repeat 68px center / auto 20px,
            url('Icona.png') no-repeat 24px center / 32px;
    }
    
    .nav-menu .nav-link {
        padding: 18px 24px;
        border-bottom: 1px solid var(--gray-100);
        font-size: 17px;
        font-weight: 400;
        text-align: left;
        width: 100%;
        color: var(--gray-900);
        letter-spacing: -0.02em;
    }
    
    .nav-menu .nav-link:active {
        background: var(--gray-50);
    }
    
    .nav-menu .nav-link::after {
        display: none;
    }
    
    /* CTA in fondo al menu */
    .mobile-menu-cta {
        margin-top: auto;
        padding: 24px;
        border-top: 1px solid var(--gray-100);
    }
    
    .mobile-menu-cta .btn-full {
        width: 100%;
        justify-content: center;
        padding: 12px 24px;
        font-size: 17px;
        font-weight: 600;
    }
}

/* Buttons - Apple Style with correct gradient */
.btn {
    padding: 8px 16px;
    border-radius: 980px;
    font-size: 12px;
    font-weight: 400;
    letter-spacing: -0.01em;
    border: none;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.28, 0.11, 0.32, 1);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    text-decoration: none;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-top) 0%, var(--primary-mid) 50%, var(--primary-bottom) 100%);
    color: var(--gray-900);
    font-weight: 500;
    box-shadow: 0 2px 8px rgba(251, 213, 1, 0.3);
}

.btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(251, 213, 1, 0.4);
}

.btn-primary:active {
    transform: translateY(0);
}

.btn-secondary {
    background: var(--gray-100);
    color: var(--gray-900);
}

.btn-secondary:hover {
    background: var(--gray-200);
}

.btn-text {
    background: none;
    border: none;
    color: var(--gray-600);
    font-size: 12px;
    font-weight: 400;
    cursor: pointer;
    padding: 8px 12px;
}

.btn-text:hover {
    color: var(--gray-900);
}

.btn-large {
    padding: 12px 24px;
    font-size: 14px;
    border-radius: 980px;
}

.btn-full {
    width: 100%;
    justify-content: center;
}

/* Hero Section */
.hero {
    padding: 120px 0 80px;
    background: linear-gradient(180deg, var(--bg-yellow-light) 0%, var(--bg-primary) 100%);
}

.hero-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 80px;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    background: linear-gradient(135deg, var(--primary-top) 0%, var(--primary-mid) 50%, var(--primary-bottom) 100%);
    color: var(--gray-900);
    border-radius: 24px;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 24px;
    box-shadow: 0 2px 8px rgba(251, 213, 1, 0.25);
}

h1 {
    font-size: 56px;
    font-weight: 600;
    line-height: 1.07143;
    color: var(--gray-900);
    margin-bottom: 24px;
    letter-spacing: -0.005em;
}

.hero-subtitle {
    font-size: 21px;
    color: var(--gray-600);
    line-height: 1.38105;
    margin-bottom: 32px;
    font-weight: 400;
    letter-spacing: 0.011em;
}

.hero-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    margin-bottom: 16px;
}

.hero-note {
    font-size: 14px;
    color: var(--gray-500);
    font-weight: 400;
}

/* Hero Visual */
.hero-visual {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 32px;
    max-width: 1000px;
    margin: 0 auto;
}

.dashboard-preview {
    background: white;
    border-radius: 18px;
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    border: 1px solid var(--gray-200);
}

.dashboard-header {
    display: flex;
    gap: 8px;
    padding: 16px 20px;
    background: var(--gray-100);
    border-bottom: 1px solid var(--gray-200);
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--gray-300);
}

.dashboard-content {
    padding: 32px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-bottom: 32px;
}

.stat-card {
    padding: 20px;
    background: var(--gray-50);
    border-radius: 12px;
    border: 1px solid var(--gray-200);
}

.stat-value {
    font-size: 32px;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 4px;
    letter-spacing: -0.003em;
}

.stat-label {
    font-size: 12px;
    color: var(--gray-600);
    margin-bottom: 12px;
    font-weight: 400;
}

.stat-badge {
    display: inline-block;
    padding: 4px 10px;
    background: var(--success-bg);
    color: var(--success);
    border-radius: 8px;
    font-size: 11px;
    font-weight: 600;
}

.stat-badge.positive {
    background: var(--success-bg);
    color: var(--success);
}

.chart-container {
    display: flex;
    align-items: flex-end;
    gap: 8px;
    height: 120px;
    padding: 16px;
    background: var(--gray-50);
    border-radius: 12px;
}

.chart-bar {
    flex: 1;
    background: linear-gradient(135deg, var(--primary-top) 0%, var(--primary-mid) 50%, var(--primary-bottom) 100%);
    border-radius: 6px 6px 0 0;
    transition: all 0.3s cubic-bezier(0.28, 0.11, 0.32, 1);
}

.chart-bar:hover {
    transform: translateY(-4px);
    box-shadow: 0 4px 12px rgba(251, 213, 1, 0.3);
}

/* Loyalty Card Preview - No black borders, soft shadows */
.loyalty-card-preview {
    display: flex;
    align-items: center;
}

.loyalty-card {
    background: linear-gradient(135deg, var(--primary-top) 0%, var(--primary-mid) 50%, var(--primary-bottom) 100%);
    color: var(--gray-900);
    padding: 32px 24px;
    border-radius: 18px;
    width: 100%;
    min-height: 320px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: var(--shadow-yellow);
    border: 1px solid rgba(226, 175, 17, 0.2);
    transition: all 0.3s cubic-bezier(0.28, 0.11, 0.32, 1);
}

.loyalty-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 48px rgba(251, 213, 1, 0.4);
}

.card-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
}

.card-logo {
    width: 48px;
    height: 48px;
    background: rgba(29, 29, 31, 0.08);
    color: var(--gray-900);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 20px;
    border: 1px solid rgba(29, 29, 31, 0.1);
}

.card-name {
    font-size: 20px;
    font-weight: 600;
    color: var(--gray-900);
}

.stamps-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 10px;
    margin-bottom: 24px;
}

.stamp {
    width: 40px;
    height: 40px;
    border: 1.5px solid rgba(29, 29, 31, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray-700);
    transition: all 0.3s;
    background: rgba(255, 255, 255, 0.3);
}

.stamp.filled {
    background: rgba(29, 29, 31, 0.08);
    color: var(--gray-900);
    border-color: rgba(29, 29, 31, 0.2);
    font-weight: 600;
}

.card-footer {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    padding-top: 16px;
    border-top: 1px solid rgba(29, 29, 31, 0.1);
    color: var(--gray-900);
}

.card-reward {
    font-weight: 400;
}

.card-reward-text {
    font-weight: 600;
}

/* Metrics Section */
.metrics {
    padding: 80px 0;
    background: var(--bg-secondary);
}

.metrics-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.metric {
    text-align: center;
    padding: 32px 24px;
    background: white;
    border-radius: 16px;
    border: 1px solid var(--gray-200);
}

.metric-value {
    font-size: 56px;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 8px;
    letter-spacing: -0.003em;
}

.metric-label {
    font-size: 17px;
    color: var(--gray-600);
    font-weight: 400;
}

/* Features Section */
.features {
    padding: 80px 0;
    background: white;
}

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

.section-tag {
    display: inline-block;
    padding: 6px 16px;
    background: linear-gradient(135deg, var(--primary-top) 0%, var(--primary-mid) 50%, var(--primary-bottom) 100%);
    color: var(--gray-900);
    border-radius: 24px;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 16px;
    box-shadow: 0 2px 8px rgba(251, 213, 1, 0.25);
}

h2 {
    font-size: 48px;
    font-weight: 600;
    line-height: 1.08349;
    color: var(--gray-900);
    margin-bottom: 16px;
    letter-spacing: -0.003em;
}

.section-subtitle {
    font-size: 21px;
    color: var(--gray-600);
    line-height: 1.38105;
    font-weight: 400;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.feature-card {
    padding: 32px 24px;
    background: var(--bg-secondary);
    border-radius: 16px;
    text-align: center;
    transition: all 0.3s cubic-bezier(0.28, 0.11, 0.32, 1);
    border: 1px solid var(--gray-200);
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.feature-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, var(--primary-top) 0%, var(--primary-mid) 50%, var(--primary-bottom) 100%);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: var(--gray-900);
}

.feature-card h3 {
    font-size: 21px;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 12px;
    letter-spacing: -0.003em;
}

.feature-card p {
    font-size: 14px;
    color: var(--gray-600);
    line-height: 1.47059;
    font-weight: 400;
}

/* Process Section */
.process,
.how-it-works {
    padding: 80px 0;
    background: var(--bg-secondary);
}

.process-grid {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 32px;
    max-width: 1000px;
    margin: 0 auto;
}

.process-step {
    flex: 1;
    text-align: center;
    padding: 32px 24px;
    background: white;
    border-radius: 16px;
    border: 1px solid var(--gray-200);
    transition: all 0.3s cubic-bezier(0.28, 0.11, 0.32, 1);
}

.process-step:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.process-number,
.step-number {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--primary-top) 0%, var(--primary-mid) 50%, var(--primary-bottom) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 20px;
    font-weight: 600;
    color: var(--gray-900);
}

.process-step h3 {
    font-size: 19px;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 12px;
    letter-spacing: -0.003em;
}

.process-step p {
    font-size: 14px;
    color: var(--gray-600);
    line-height: 1.47059;
    font-weight: 400;
}

.process-connector {
    flex: 0 0 40px;
    height: 2px;
    background: var(--gray-300);
}

/* Pricing Section */
.pricing {
    padding: 80px 0;
    background: white;
}

/* Pricing Toggle Styles */
.pricing-toggle-container {
    display: flex;
    justify-content: center;
    margin-bottom: 48px;
}

.pricing-toggle {
    display: inline-flex;
    background: var(--gray-100);
    padding: 4px;
    border-radius: 980px;
    gap: 4px;
}

.pricing-toggle-btn {
    padding: 8px 24px;
    background: transparent;
    border: none;
    border-radius: 980px;
    font-size: 14px;
    font-weight: 500;
    color: var(--gray-600);
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.28, 0.11, 0.32, 1);
}

.pricing-toggle-btn:hover {
    color: var(--gray-900);
}

.pricing-toggle-btn.active {
    background: linear-gradient(135deg, var(--primary-top) 0%, var(--primary-mid) 50%, var(--primary-bottom) 100%);
    color: var(--gray-900);
    box-shadow: 0 2px 4px rgba(251, 213, 1, 0.3);
    font-weight: 600;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: 1100px;
    margin: 0 auto;
}

.pricing-card {
    padding: 32px 28px;
    background: var(--bg-secondary);
    border-radius: 18px;
    border: 1px solid var(--gray-200);
    transition: all 0.3s cubic-bezier(0.28, 0.11, 0.32, 1);
}

.pricing-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.pricing-card.featured {
    background: linear-gradient(135deg, var(--primary-100) 0%, white 100%);
    border: 2px solid var(--primary-600);
    transform: scale(1.05);
    position: relative;
}

.pricing-card.featured:hover {
    transform: scale(1.05) translateY(-4px);
}

.pricing-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, var(--primary-top) 0%, var(--primary-mid) 50%, var(--primary-bottom) 100%);
    color: var(--gray-900);
    padding: 4px 16px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(251, 213, 1, 0.3);
}

.pricing-header {
    text-align: center;
    margin-bottom: 24px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--gray-200);
}

.pricing-header h3 {
    font-size: 24px;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 12px;
    letter-spacing: -0.003em;
}

.price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 4px;
    margin-bottom: 8px;
}

.price-currency {
    font-size: 28px;
    font-weight: 600;
    color: var(--gray-900);
}

.price-amount {
    font-size: 56px;
    font-weight: 600;
    color: var(--gray-900);
    letter-spacing: -0.003em;
}

.price-period {
    font-size: 17px;
    color: var(--gray-600);
    font-weight: 400;
}

.price-note {
    font-size: 14px;
    color: var(--gray-600);
    font-weight: 400;
}

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

.pricing-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    font-size: 14px;
    color: var(--gray-900);
    font-weight: 400;
    border-bottom: 1px solid var(--gray-200);
}

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

.pricing-features svg {
    flex-shrink: 0;
    color: var(--success);
}

.info-tooltip {
    display: inline-block;
    margin-left: 6px;
    color: var(--gray-500);
    font-size: 12px;
    cursor: help;
    font-weight: 400;
    transition: color 0.2s;
    position: relative;
}

.info-tooltip:hover {
    color: var(--gray-700);
}

/* Tooltip bubble on mobile */
@media (max-width: 768px) {
    .info-tooltip {
        cursor: pointer;
    }
    
    .info-tooltip::after {
        content: attr(title);
        position: absolute;
        bottom: 150%;
        left: 50%;
        transform: translateX(-50%) scale(0);
        background: var(--gray-900);
        color: white;
        padding: 8px 12px;
        border-radius: 8px;
        font-size: 12px;
        white-space: nowrap;
        max-width: 200px;
        white-space: normal;
        width: max-content;
        max-width: 250px;
        z-index: 1000;
        pointer-events: none;
        opacity: 0;
        transition: all 0.2s ease;
        line-height: 1.4;
    }
    
    .info-tooltip::before {
        content: '';
        position: absolute;
        bottom: 150%;
        left: 50%;
        transform: translateX(-50%) translateY(6px) scale(0);
        border: 6px solid transparent;
        border-top-color: var(--gray-900);
        z-index: 1000;
        opacity: 0;
        transition: all 0.2s ease;
    }
    
    .info-tooltip.active::after,
    .info-tooltip.active::before {
        transform: translateX(-50%) scale(1);
        opacity: 1;
    }
    
    .info-tooltip.active::before {
        transform: translateX(-50%) translateY(6px) scale(1);
    }
}

.pricing-cta .btn-primary {
    background: linear-gradient(135deg, var(--primary-top) 0%, var(--primary-mid) 50%, var(--primary-bottom) 100%);
    color: var(--gray-900);
    font-weight: 500;
    box-shadow: 0 2px 8px rgba(251, 213, 1, 0.3);
}

.pricing-cta .btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(251, 213, 1, 0.4);
}

.pricing-cta {
    margin-top: 24px;
}

.price-breakdown {
    background: var(--gray-100);
    padding: 16px;
    border-radius: 12px;
    margin-bottom: 16px;
}

.price-row {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    font-size: 13px;
    color: var(--gray-700);
}

.price-row.highlight {
    color: var(--gray-900);
    font-weight: 600;
}

.price-value {
    font-weight: 600;
    color: var(--gray-900);
}

/* CTA Section */
.cta {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--primary-top) 0%, var(--primary-mid) 50%, var(--primary-bottom) 100%);
    position: relative;
    overflow: hidden;
}

.cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><circle cx="50" cy="50" r="2" fill="rgba(255,255,255,0.1)"/></svg>');
    opacity: 0.5;
}

.cta-content {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.cta-content h2 {
    color: var(--gray-900);
    margin-bottom: 32px;
}

.cta-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
}

.cta .btn-primary {
    background: white;
    color: var(--gray-900);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25), 0 4px 8px rgba(0, 0, 0, 0.15);
    font-weight: 600;
}

.cta .btn-primary:hover {
    background: var(--gray-50);
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.3), 0 6px 12px rgba(0, 0, 0, 0.2);
}

.cta h2 {
    color: var(--gray-900);
}

.cta-content p {
    color: var(--gray-900);
}

/* Footer */
.footer {
    padding: 60px 0;
    background: var(--bg-secondary);
    border-top: 1px solid var(--gray-200);
}

.footer-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 600;
    color: var(--gray-900);
    font-size: 14px;
}

.footer-brand svg,
.footer-brand img {
    width: 28px;
    height: 28px;
}

.footer-links {
    display: flex;
    gap: 32px;
}

.footer-links a {
    color: var(--gray-600);
    text-decoration: none;
    font-size: 12px;
    font-weight: 400;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--gray-900);
}

.footer-copyright {
    font-size: 12px;
    color: var(--gray-500);
    font-weight: 400;
}

/* Stats Hero (for fidelity-details page) */
.stats-hero {
    padding: 120px 0 80px;
    background: linear-gradient(135deg, var(--primary-100) 0%, var(--bg-primary) 100%);
}

.stat-block {
    background: white;
    padding: 36px;
    border-radius: 18px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--gray-200);
    transition: all 0.3s cubic-bezier(0.28, 0.11, 0.32, 1);
}

.stat-block:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}

.stat-block h3 {
    font-size: 24px;
    color: var(--gray-900);
    margin-bottom: 16px;
    font-weight: 600;
}

.big-stat {
    font-size: 64px;
    font-weight: 600;
    background: linear-gradient(135deg, var(--primary-top) 0%, var(--primary-bottom) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 12px;
    letter-spacing: -0.003em;
}

.stat-description {
    color: var(--gray-600);
    line-height: 1.47059;
    margin-bottom: 20px;
    font-size: 14px;
    font-weight: 400;
}

.stat-source {
    font-size: 12px;
    color: var(--gray-500);
    padding-top: 16px;
    border-top: 1px solid var(--gray-200);
}

.insight-card {
    background: var(--primary-50);
    border-left: 4px solid var(--primary-bottom);
    padding: 28px;
    border-radius: 12px;
    margin: 40px 0;
}

.insight-card h4 {
    color: var(--primary-bottom);
    margin-bottom: 12px;
    font-size: 19px;
    font-weight: 600;
}

.comparison-table {
    background: white;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    margin: 40px 0;
    border: 1px solid var(--gray-200);
}

.comparison-table th {
    background: var(--primary-100);
    padding: 20px;
    text-align: left;
    font-weight: 600;
    border-bottom: 2px solid var(--primary-300);
    font-size: 14px;
    color: var(--gray-900);
}

.comparison-table td {
    padding: 20px;
    border-bottom: 1px solid var(--gray-200);
    font-size: 14px;
    font-weight: 400;
}

/* Legal Pages */
.legal-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 120px 24px 80px;
}

.legal-header {
    text-align: center;
    margin-bottom: 48px;
}

.legal-title {
    font-size: 48px;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 16px;
    letter-spacing: -0.003em;
}

.legal-meta {
    color: var(--gray-600);
    font-size: 12px;
    font-weight: 400;
}

.tab-switcher {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 40px;
    background: var(--gray-100);
    padding: 4px;
    border-radius: 980px;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}

.tab-button {
    flex: 1;
    padding: 10px 20px;
    background: transparent;
    border: none;
    border-radius: 980px;
    font-size: 14px;
    font-weight: 500;
    color: var(--gray-600);
    cursor: pointer;
    transition: all 0.3s;
}

.tab-button:hover {
    color: var(--gray-900);
}

.tab-button.active {
    background: white;
    color: var(--gray-900);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.legal-content {
    background: white;
    padding: 48px;
    border-radius: 18px;
    box-shadow: var(--shadow-md);
    line-height: 1.6;
    border: 1px solid var(--gray-200);
}

.legal-content h1 {
    font-size: 36px;
    margin-top: 0;
    margin-bottom: 24px;
    font-weight: 600;
}

.legal-content h2 {
    font-size: 28px;
    margin-top: 40px;
    margin-bottom: 16px;
    color: var(--gray-900);
    font-weight: 600;
}

.legal-content h3 {
    font-size: 21px;
    margin-top: 24px;
    margin-bottom: 12px;
    font-weight: 600;
}

.legal-content p {
    margin-bottom: 16px;
    color: var(--gray-700);
    font-size: 14px;
    font-weight: 400;
}

.legal-content ul,
.legal-content ol {
    margin: 16px 0;
    padding-left: 32px;
}

.legal-content li {
    margin-bottom: 8px;
    color: var(--gray-700);
    font-size: 14px;
}

.loading-state {
    text-align: center;
    padding: 80px 0;
}

.loading-spinner {
    width: 48px;
    height: 48px;
    border: 3px solid var(--gray-200);
    border-top-color: var(--primary-600);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    margin: 0 auto 24px;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.error-state {
    text-align: center;
    padding: 80px 24px;
    color: var(--gray-600);
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

/* Responsive */
@media (max-width: 968px) {
    .pricing-grid {
        grid-template-columns: 1fr;
    }
    
    /* Show Premium plan first on mobile */
    .pricing-card:nth-child(1) {
        order: 2;
    }
    
    .pricing-card:nth-child(2) {
        order: 1;
    }
    
    .pricing-card.featured {
        transform: scale(1);
    }
    
    .pricing-card.featured:hover {
        transform: translateY(-4px);
    }
}

@media (max-width: 768px) {
    h1 {
        font-size: 40px;
    }

    h2 {
        font-size: 32px;
    }

    .hero {
        padding: 100px 0 60px;
    }

    .hero-visual {
        grid-template-columns: 1fr;
    }

    .metrics-grid {
        grid-template-columns: 1fr;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .process-grid {
        flex-direction: column;
    }

    .process-connector {
        width: 2px;
        height: 40px;
        margin: 20px 0;
    }

    .hero-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-actions .btn {
        max-width: 280px;
        width: 100%;
        justify-content: center;
    }

    .footer-content {
        flex-direction: column;
        gap: 24px;
        text-align: center;
    }

    .legal-content {
        padding: 32px 24px;
    }

    .tab-button {
        padding: 8px 16px;
        font-size: 12px;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-in {
    animation: fadeInUp 0.6s cubic-bezier(0.28, 0.11, 0.32, 1);
}