/* ==========================================================================
   CSS Variables & Theming
   ========================================================================== */
:root {
    /* Main Theme Colors - Orange Focus */
    --primary: #2f9bff;
    --primary-light: #57b0ff;
    --primary-dark: #0078d4;
    --secondary: #2B2D42;
    --accent: #0078d4;

    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #2f9bff 0%, #0078d4 100%);
    --gradient-glass: rgba(255, 255, 255, 0.05);

    /* Light Theme (Default fallback but we start in dark) */
    --bg-base: #F8F9FA;
    --bg-surface: #FFFFFF;
    --text-primary: #1A1A1A;
    --text-secondary: #4A4A4A;
    --border-color: rgba(0, 0, 0, 0.1);
    --glass-bg: rgba(255, 255, 255, 0.7);
    --glass-border: rgba(255, 255, 255, 0.3);

    /* Typography */
    --font-sans: 'Outfit', sans-serif;
    --font-arabic: 'Cairo', sans-serif;
}

/* Dark Theme overrides */
[data-theme="dark"] {
    --bg-base: #0B0E14;
    /* Deep dark blue/black */
    --bg-surface: #151922;
    --text-primary: #F8F9FA;
    --text-secondary: #A0AABF;
    --border-color: rgba(255, 255, 255, 0.05);
    --glass-bg: rgba(21, 25, 34, 0.6);
    --glass-border: rgba(255, 255, 255, 0.05);
}

/* ==========================================================================
   Reset & Base Styles
   ========================================================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: var(--font-sans);
    background-color: var(--bg-base);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    transition: background-color 0.4s ease, color 0.4s ease;
}

/* RTL Support */
[dir="rtl"] body {
    font-family: var(--font-arabic);
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* ==========================================================================
   Typography & Utilities
   ========================================================================== */
.text-gradient {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.text-center {
    text-align: center;
}

.d-none {
    display: none !important;
}

/* ==========================================================================
   Components (Buttons, Glass Panels, etc.)
   ========================================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    cursor: pointer;
    border: none;
    font-family: inherit;
}

.btn-primary {
    background: var(--gradient-primary);
    color: #FFF;
    box-shadow: 0 4px 15px rgba(47, 155, 255, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(47, 155, 255, 0.4);
}

.btn-outline {
    background: transparent;
    border: 1px solid var(--border-color);
    color: var(--text-primary);
}

.btn-outline:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1.125rem;
}

.glass-panel {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
}

.icon-btn {
    background: transparent;
    border: none;
    color: var(--text-primary);
    font-size: 1.25rem;
    cursor: pointer;
    padding: 0.5rem;
    transition: color 0.3s;
}

.icon-btn:hover {
    color: var(--primary);
}

/* Theme Icons Toggle */
[data-theme="dark"] .dark-icon {
    display: none;
}

[data-theme="light"] .light-icon {
    display: none;
}

/* Header */
.glass-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    background: rgba(11, 14, 20, 0.7);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
    transition: all 0.3s;
}

[data-theme="light"] .glass-header {
    background: rgba(255, 255, 255, 0.8);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.5rem;
    font-weight: 800;
}

.logo-icon {
    color: var(--primary);
    font-size: 1.75rem;
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    font-weight: 500;
    color: var(--text-secondary);
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--text-primary);
}

.nav-controls {
    display: flex;
    align-items: center;
    gap: 1rem;
}

/* Dropdown */
.dropdown {
    position: relative;
}

.dropdown-toggle {
    background: none;
    border: none;
    color: var(--text-primary);
    font-family: inherit;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 1rem;
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 0.5rem 0;
    min-width: 120px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu a {
    display: block;
    padding: 0.5rem 1.5rem;
    transition: background 0.2s, color 0.2s;
}

.dropdown-menu a:hover {
    background: var(--gradient-glass);
    color: var(--primary);
}

/* Use specific RTL positioning */
[dir="rtl"] .dropdown-menu {
    right: auto;
    left: 0;
}

[dir="rtl"] .nav-controls {
    gap: 1rem;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 80px;
}

#bg-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    pointer-events: none;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    width: 100%;
}

.hero-title {
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    max-width: 500px;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
}

.hero-stats {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
}

.stat-label {
    font-size: 0.875rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.divider {
    width: 1px;
    height: 40px;
    background: var(--border-color);
}

.hero-visual {
    position: relative;
    height: 600px;
    display: flex;
    justify-content: center;
    align-items: center;
}

#mascot-container {
    width: 100%;
    height: 100%;
    position: relative;
}

/* ==========================================================================
   Features Section
   ========================================================================== */
.section {
    padding: 8rem 0;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto 4rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.feature-card {
    padding: 2.5rem;
    transition: transform 0.3s, box-shadow 0.3s;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border-color: var(--primary-light);
}

.feature-header-visual {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.feature-icon {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    background: var(--gradient-glass);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    color: var(--primary);
    border: 1px solid var(--border-color);
}

.feature-3d-container {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.feature-3d-container canvas {
    width: 100% !important;
    height: 100% !important;
    outline: none;
}

.feature-card h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.feature-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* ==========================================================================
   Format Support Section
   ========================================================================== */
.bg-alt {
    background-color: var(--bg-surface);
}

.format-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 3rem;
}

.format-item {
    background: var(--glass-bg);
    border: 1px solid var(--border-color);
    padding: 1rem 2rem;
    border-radius: 12px;
    font-weight: 700;
    font-size: 1.25rem;
    position: relative;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.format-item:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
    box-shadow: 0 10px 20px rgba(47, 155, 255, 0.15);
}

.physical-fyz {
    background: var(--gradient-primary);
    color: white;
    box-shadow: 0 8px 25px rgba(47, 155, 255, 0.3);
    border: none;
}

.format-badge {
    position: absolute;
    top: -10px;
    right: -10px;
    background: var(--text-primary);
    color: var(--bg-base);
    font-size: 0.7rem;
    padding: 2px 8px;
    border-radius: 10px;
    text-transform: uppercase;
    font-weight: 800;
}

/* ==========================================================================
   Performance Chart
   ========================================================================== */
.chart-container {
    max-width: 800px;
    margin: 3rem auto 0;
    padding: 3rem;
    text-align: left;
}

.chart-row {
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
}

.chart-row:last-child {
    margin-bottom: 0;
}

.chart-label {
    width: 150px;
    font-weight: 600;
}

.chart-bar-container {
    flex-grow: 1;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.chart-bar {
    height: 32px;
    border-radius: 6px;
    background: var(--glass-border);
    width: 0;
    /* Animated via JS */
    transition: width 1.5s cubic-bezier(0.25, 1, 0.5, 1);
}

.bar-fyz {
    background: var(--gradient-primary);
    box-shadow: 0 4px 15px rgba(47, 155, 255, 0.3);
}

[dir="rtl"] .chart-container {
    text-align: right;
}

/* ==========================================================================
   Pricing Section
   ========================================================================== */
.pricing-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin: 2rem 0 4rem;
    font-weight: 600;
}

.switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 34px;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--secondary);
    transition: .4s;
    border-radius: 34px;
}

.slider:before {
    position: absolute;
    content: "";
    height: 26px;
    width: 26px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    transition: .4s;
    border-radius: 50%;
}

input:checked+.slider {
    background-color: var(--primary);
}

input:checked+.slider:before {
    transform: translateX(26px);
}

[dir="rtl"] input:checked+.slider:before {
    transform: translateX(-26px);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(205px, 1fr));
    gap: 1.5rem;
    align-items: stretch;
}

/* Enterprise pricing card: no numeric price, "Custom" contact card. */
.pricing-card.enterprise { border-color: var(--glass-border); }
.pricing-card .price-custom {
    font-size: 2rem;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 0.5rem;
}
.pricing-card .price-sub {
    display: block;
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

/* FYCODZ home: product showcase card */
.product-showcase {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    max-width: 680px;
    margin: 3rem auto 0;
    padding: 2rem;
    text-align: left;
    transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
}
.product-showcase:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
    box-shadow: 0 15px 40px rgba(47, 155, 255, 0.15);
}
.product-showcase img { width: 84px; height: 84px; border-radius: 18px; object-fit: contain; }
.product-showcase .ps-info { flex-grow: 1; }
.product-showcase .ps-info h3 { font-size: 1.5rem; margin-bottom: 0.4rem; }
.product-showcase .ps-info p { color: var(--text-secondary); font-size: 0.95rem; }
.product-showcase .ps-arrow { font-size: 1.6rem; color: var(--primary); }
[dir="rtl"] .product-showcase { text-align: right; }

.pricing-card {
    padding: 3rem 2rem;
    position: relative;
    border: 1px solid var(--border-color);
}

.pricing-card.popular {
    transform: scale(1.05);
    border-color: var(--primary);
    box-shadow: 0 15px 40px rgba(47, 155, 255, 0.15);
    z-index: 2;
}

.pricing-card.nitro {
    border-color: #A0AABF;
}

.popular-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gradient-primary);
    color: white;
    padding: 4px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 700;
    white-space: nowrap;
}

.pricing-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.pricing-card .price {
    font-size: 3.5rem;
    font-weight: 900;
    line-height: 1;
    margin-bottom: 0.5rem;
}

.pricing-card .currency {
    font-size: 1.5rem;
    vertical-align: top;
}

.pricing-card .period {
    font-size: 1rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.pricing-card .lifetime-option {
    display: block;
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.plan-features {
    text-align: left;
    margin-bottom: 2.5rem;
}

.plan-features li {
    margin-bottom: 1rem;
    display: flex;
    gap: 0.75rem;
    align-items: center;
}

.plan-features i {
    color: var(--primary);
}

[dir="rtl"] .plan-features {
    text-align: right;
}

.pricing-card .btn {
    width: 100%;
}

/* ==========================================================================
   Enterprise & Footer
   ========================================================================== */
.enterprise-container {
    padding: 5rem 3rem;
    border: 1px solid var(--glass-border);
}

.enterprise-icon {
    font-size: 4rem;
    color: var(--primary);
    margin-bottom: 1.5rem;
}

footer {
    padding: 4rem 0 2rem;
    border-top: 1px solid var(--border-color);
    margin-top: 4rem;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
}

.footer-logo {
    height: 44px;
    width: 44px;
    object-fit: contain;
    border-radius: 10px;
}

.social-links {
    display: flex;
    gap: 1rem;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.social-links a {
    transition: color 0.3s;
}

.social-links a:hover {
    color: var(--primary);
}

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-links a:hover {
    color: var(--primary);
}

/* Standard Images */
.logo-img {
    height: 32px;
    width: auto;
}

.mascot-img {
    position: absolute;
    right: -10%;
    bottom: -10%;
    max-width: 120%;
    max-height: 120%;
    object-fit: contain;
    z-index: 10;
    pointer-events: none;
    opacity: 0.85;
}

.floating {
    animation: floating 6s ease-in-out infinite;
}

@keyframes floating {
    0% {
        transform: translateY(0px) rotate(0deg);
    }

    50% {
        transform: translateY(-15px) rotate(1deg);
    }

    100% {
        transform: translateY(0px) rotate(0deg);
    }
}

/* Media Queries */
@media (max-width: 992px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }

    .hero-subtitle {
        margin: 0 auto 2.5rem;
    }

    .hero-actions {
        justify-content: center;
    }

    .hero-stats {
        justify-content: center;
    }

    .hero-visual {
        height: 400px;
    }

    .mascot-img {
        right: auto;
        max-width: 100%;
        max-height: 100%;
    }

    .pricing-card.popular {
        transform: scale(1);
    }
}

@media (max-width: 768px) {

    .nav-links,
    .lang-dropdown,
    .nav-controls>.btn {
        display: none;
    }

    .mobile-menu-btn {
        display: block !important;
    }

    .hero-title {
        font-size: 3rem;
    }

    .hero-actions {
        flex-direction: column;
    }

    .chart-label {
        width: 100px;
        font-size: 0.9rem;
    }

    .footer-container {
        flex-direction: column;
        text-align: center;
    }
}

/* ==========================================================================
   Additions: lifetime link, coming-soon store button, legal pages
   ========================================================================== */
.lifetime-link {
    display: block;
    margin-top: 0.9rem;
    font-size: 0.85rem;
    color: var(--primary);
    font-weight: 600;
    transition: opacity 0.2s;
}
.lifetime-link:hover { opacity: 0.8; }

/* "Coming soon" store button: visually a button but not an active link yet. */
.store-soon {
    background: var(--gradient-primary);
    color: #fff;
    opacity: 0.7;
    cursor: default;
    pointer-events: none;
}
.pricing-card .store-soon {
    background: transparent;
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
}

/* Legal / content pages */
.legal-page { padding: 8rem 0 4rem; }
.legal-page .legal-body { max-width: 820px; margin: 0 auto; }
.legal-page h1 { font-size: 2.5rem; margin-bottom: 0.5rem; }
.legal-page .updated { color: var(--text-secondary); font-size: 0.95rem; margin-bottom: 2.5rem; }
.legal-page h2 { font-size: 1.4rem; margin: 2rem 0 0.75rem; }
.legal-page p, .legal-page li { color: var(--text-secondary); margin-bottom: 0.75rem; }
.legal-page ul { padding-left: 1.4rem; margin-bottom: 0.75rem; }
.legal-page a { color: var(--primary); }

/* ==========================================================================
   FYCODZ home: hero logo image (replaces 3D cubes) + beliefs grid
   ========================================================================== */
.hero-logo-img {
    max-width: 100%;
    max-height: 480px;
    object-fit: contain;
    filter: drop-shadow(0 20px 60px rgba(47, 155, 255, 0.28));
}

/* Three "what we believe" cards side by side on desktop. */
.beliefs-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    max-width: 1000px;
    margin: 0 auto;
}
.beliefs-grid .feature-card { text-align: center; }
.beliefs-grid .feature-icon { margin: 0 auto 1.25rem; }

@media (max-width: 768px) {
    .beliefs-grid { grid-template-columns: 1fr; }
}

/* ==========================================================================
   Brand word highlight, typewriter, splash screen, FYZ hero icon
   ========================================================================== */

/* Highlighted brand words (FYCODZ / FYZ / FYZ Archiver) wherever they appear. */
.brand {
    color: var(--primary);
    font-weight: 800;
    letter-spacing: 0.02em;
}
.brand-lg { font-size: 1.15em; }

/* Typewriter caret for animated typing text. */
.type-caret::after {
    content: "";
    display: inline-block;
    width: 2px;
    height: 1em;
    margin-left: 2px;
    background: var(--primary);
    vertical-align: -0.15em;
    animation: caret-blink 0.9s steps(1) infinite;
}
.type-caret.type-done::after { animation: none; opacity: 0; }
@keyframes caret-blink { 50% { opacity: 0; } }

/* FYZ hero icon (replaces the 3D cubes on the FYZ product page). */
.hero-icon-img {
    max-width: 100%;
    max-height: 460px;
    object-fit: contain;
    filter: drop-shadow(0 20px 60px rgba(47, 155, 255, 0.30));
}

/* ---- Splash screen overlay ---- */
#splash {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2.5rem;
    background: var(--bg-base);
    transition: opacity 0.6s ease, visibility 0.6s ease;
}
#splash.hide { opacity: 0; visibility: hidden; }
.splash-inner {
    display: flex;
    align-items: center;
    gap: 2rem;
    padding: 0 2rem;
}
.splash-inner.reverse { flex-direction: row-reverse; }
.splash-logo {
    width: clamp(120px, 22vw, 240px);
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 16px 50px rgba(47, 155, 255, 0.35));
    animation: splash-pop 0.7s cubic-bezier(0.25, 1.4, 0.5, 1) both;
}
.splash-name {
    font-size: clamp(2.4rem, 7vw, 5rem);
    font-weight: 900;
    letter-spacing: -0.02em;
    color: var(--text-primary);
    white-space: nowrap;
}
.splash-name .accent { color: var(--primary); }
@keyframes splash-pop {
    0% { transform: scale(0.6) rotate(-8deg); opacity: 0; }
    100% { transform: scale(1) rotate(0); opacity: 1; }
}
@media (max-width: 640px) {
    .splash-inner, .splash-inner.reverse { flex-direction: column; gap: 1.25rem; text-align: center; }
}

/* ==========================================================================
   Header brand colour, accent word, pricing overhaul (readable wide cards)
   ========================================================================== */

/* Header brand text (FYZ Archiver / FYCODZ) in accent blue + bold. */
.logo-text {
    color: var(--primary);
    font-weight: 800;
}

/* Generic accent word (used by typewriter {accent} markers + splash). */
.accent {
    color: var(--primary);
    font-weight: 800;
}
/* Emphasise a brand word inside the hero subtitle (bigger + blue). */
.hero-subtitle .accent {
    font-size: 1.15em;
    font-weight: 800;
}

/* ---- Pricing: wider, cleaner, readable ---- */
#pricing .container { max-width: 1500px; }

.pricing-grid {
    grid-template-columns: repeat(5, 1fr);
    gap: 1.25rem;
    align-items: stretch;
    /* Leave vertical room so the "Most Popular" badge (top:-15px) is never clipped. */
    padding-top: 18px;
}
@media (max-width: 1150px) { .pricing-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px)  { .pricing-grid { grid-template-columns: 1fr; } }

.pricing-card {
    padding: 2rem 1.6rem;
    word-wrap: break-word;
    /* NOTE: no overflow:hidden here - it would clip the popular badge. */
}
/* No scale on the popular card (it overlapped neighbours in the tight row);
   highlight it with the accent border + badge only. */
.pricing-card.popular { transform: none; }
.pricing-card.enterprise { border-color: var(--border-color); }

.pricing-card h3 { font-size: 1.5rem; margin-bottom: 0.9rem; }
.pricing-card .price { font-size: 2.9rem; margin-bottom: 0.4rem; }
.pricing-card .currency { font-size: 1.3rem; }
.pricing-card .period { font-size: 0.95rem; }
.pricing-card .price-custom { font-size: 2.4rem; }
.pricing-card .lifetime-option { font-size: 0.95rem; margin-bottom: 1.75rem; }

.plan-features { margin-bottom: 2rem; }
.plan-features li {
    font-size: 0.98rem;
    line-height: 1.45;
    margin-bottom: 0.8rem;
    align-items: flex-start;
    gap: 0.6rem;
}
.plan-features li i { margin-top: 0.3em; flex-shrink: 0; }

.pricing-card .btn { padding: 0.8rem 1rem; font-size: 1rem; }

/* Lifetime purchase links: accent blue + bold, clearly a call to action. */
.lifetime-link {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--primary);
}
.lifetime-link:hover { text-decoration: underline; opacity: 1; }
