/* ===== ROOT VARIABLES ===== */
:root {
    --primary: #7E57C2;
    --primary-light: #7E57C2;
    --primary-dark: #6a4ba8;
    --primary-purple: #7E57C2;
    --dark-purple: #6a4ba8;
    --light-purple: rgba(126, 87, 194, 0.08);
    --accent: #00B0FF;
    --accent-blue: #00B0FF;
    --success: #43A047;
    --success-green: #43A047;
    --warning: #FFA000;
    --warning-amber: #FFA000;
    --dark-bg: #F5F5F7;
    --dark-text: #2D2D2D;
    --light-text: #666666;
    --text-light: #666666;
    --text-dark: #2D2D2D;
    --soft-gray: #F5F5F7;
    --border: #E0E0E0;
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 20px 40px rgba(0, 0, 0, 0.15);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

@media (prefers-color-scheme: dark) {
    :root {
        --dark-bg: #1a1a1e;
        --dark-text: #f0f0f2;
        --light-text: #b8b8ba;
        --text-light: #b8b8ba;
        --text-dark: #f0f0f2;
        --border: #333339;
        --light-purple: rgba(126, 87, 194, 0.15);
    }
}

/* ===== GLOBAL STYLES ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica Neue', sans-serif;
    background-color: var(--dark-bg);
    color: var(--dark-text);
    line-height: 1.6;
    transition: var(--transition);
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4, h5, h6 {
    line-height: 1.2;
    font-weight: 700;
    margin-bottom: 0.5em;
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    font-weight: 800;
    color: var(--dark-text);
}

h2 {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    color: var(--dark-text);
}

h3 {
    font-size: 1.5rem;
}

p {
    color: var(--light-text);
    margin-bottom: 1em;
}

a {
    color: var(--primary-light);
    text-decoration: none;
    transition: var(--transition);
}

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

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    border: 2px solid transparent;
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary) 100%);
    color: white;
    box-shadow: 0 4px 12px rgba(139, 92, 246, 0.3);
}

.btn-primary:hover {
    box-shadow: 0 6px 20px rgba(139, 92, 246, 0.4);
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
}

.btn-secondary {
    background-color: var(--border);
    color: var(--dark-text);
    border-color: var(--border);
}

.btn-secondary:hover {
    background-color: #d1d5db;
    border-color: #d1d5db;
}

.btn-outline {
    background: transparent;
    color: var(--primary-light);
    border-color: var(--primary-light);
}

.btn-outline:hover {
    background: var(--primary-light);
    color: white;
}

.btn-sm {
    padding: 8px 16px;
    font-size: 0.9rem;
}

.btn-large {
    padding: 16px 32px;
    font-size: 1.1rem;
}

.btn-block {
    width: 100%;
}

/* ===== NAVBAR ===== */
.navbar {
    background: var(--dark-bg);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(10px);
    background-color: rgba(255, 255, 255, 0.95);
}

@media (prefers-color-scheme: dark) {
    .navbar {
        background-color: rgba(15, 23, 42, 0.95);
    }
}

.navbar-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    gap: 2rem;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--dark-text);
}

.logo-img {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.logo-text {
    color: white;
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
    flex: 1;
    margin-left: 2rem;
}

.nav-links a {
    color: var(--light-text);
    font-weight: 500;
    position: relative;
    transition: var(--transition);
}

.nav-links a:hover {
    color: var(--primary-light);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-light);
    transition: var(--transition);
}

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

.cta-buttons {
    display: flex;
    gap: 12px;
    align-items: center;
}

/* ===== HERO SECTION ===== */
.hero {
    position: relative;
    padding: 80px 0;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100%;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.1) 0%, rgba(236, 72, 153, 0.05) 100%);
    z-index: -1;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    z-index: -1;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -20%;
    left: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(236, 72, 153, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    z-index: -1;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-content {
    animation: slideInLeft 0.8s ease-out;
}

.hero-badge {
    display: inline-block;
    background: rgba(139, 92, 246, 0.1);
    border: 1px solid var(--primary-light);
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 24px;
}

.hero h1 {
    margin-bottom: 24px;
    line-height: 1.1;
}

.gradient-text {
    background: linear-gradient(135deg, var(--primary-light), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--light-text);
    margin-bottom: 32px;
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}

.hero-subtext {
    font-size: 0.9rem;
    color: var(--light-text);
}

.hero-visual {
    position: relative;
    height: 400px;
    animation: slideInRight 0.8s ease-out;
}

.floating-card {
    position: absolute;
    background: var(--dark-bg);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 24px;
    box-shadow: var(--shadow);
    text-align: center;
    animation: float 4s ease-in-out infinite;
}

.floating-card span {
    font-size: 2.5rem;
    display: block;
    margin-bottom: 12px;
}

.floating-card p {
    margin: 8px 0;
    font-size: 0.95rem;
}

.floating-card .time {
    color: var(--primary-light);
    font-weight: 600;
}

.card-1 {
    top: 20px;
    left: 0;
    animation-delay: 0s;
}

.card-2 {
    top: 50%;
    right: 0;
    animation-delay: 1s;
}

.card-3 {
    bottom: 20px;
    left: 40px;
    animation-delay: 2s;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-40px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(40px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* ===== QUICK STATS ===== */
.quick-stats {
    background: var(--border);
    padding: 60px 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary-light), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 8px;
}

.stat-label {
    color: var(--light-text);
    font-weight: 500;
}

/* ===== SECTION HEADER ===== */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    margin-bottom: 16px;
}

.section-header p {
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

/* ===== FEATURES SECTION ===== */
.features {
    padding: 100px 0;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 32px;
}

.feature-card {
    padding: 32px;
    border: 2px solid var(--border);
    border-radius: 12px;
    background: var(--dark-bg);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-light), var(--accent));
    transform: scaleX(0);
    transform-origin: left;
    transition: var(--transition);
}

.feature-card:hover {
    border-color: var(--primary-light);
    box-shadow: var(--shadow-lg);
    transform: translateY(-8px);
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 16px;
    display: block;
}

.feature-card h3 {
    margin-bottom: 12px;
}

.feature-card p {
    margin-bottom: 12px;
    font-size: 0.95rem;
}

.problem {
    color: #ef4444;
    font-weight: 500;
}

.solution {
    color: var(--success);
    font-weight: 500;
}

/* ===== IMPACT SECTION ===== */
.impact {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.05), rgba(236, 72, 153, 0.05));
    padding: 100px 0;
}

.impact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.impact-visual {
    text-align: center;
}

.time-circle {
    width: 300px;
    height: 300px;
    margin: 0 auto;
    background: linear-gradient(135deg, var(--primary-light), var(--accent));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 20px 40px rgba(139, 92, 246, 0.2);
    animation: pulse 3s ease-in-out infinite;
}

.circle-inner {
    text-align: center;
    color: white;
}

.circle-number {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 8px;
}

.circle-label {
    font-size: 1rem;
    font-weight: 600;
}

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

.impact-table {
    width: 100%;
    border-collapse: collapse;
}

.impact-table thead {
    background: var(--primary-light);
    color: white;
}

.impact-table th {
    padding: 16px;
    text-align: left;
    font-weight: 600;
}

.impact-table td {
    padding: 16px;
    border-bottom: 1px solid var(--border);
}

.time-badge {
    background: rgba(139, 92, 246, 0.1);
    color: var(--primary);
    padding: 6px 12px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.9rem;
}

.yearly-calc {
    margin-top: 32px;
    padding: 24px;
    background: var(--dark-bg);
    border-radius: 12px;
    border-left: 4px solid var(--success);
}

.yearly-calc p {
    margin: 0;
    font-size: 1.1rem;
}

/* ===== SECURITY SECTION ===== */
.security {
    padding: 100px 0;
    background: var(--border);
}

.security-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.security-content h2 {
    margin-bottom: 24px;
}

.security-features {
    list-style: none;
    margin: 32px 0;
}

.security-features li {
    padding: 12px 0;
    padding-left: 32px;
    position: relative;
    font-weight: 500;
}

.check {
    position: absolute;
    left: 0;
    color: var(--success);
    font-weight: bold;
}

.link-arrow {
    display: inline-block;
    margin-top: 16px;
    font-weight: 600;
}

.link-arrow::after {
    content: ' →';
    transition: var(--transition);
}

.link-arrow:hover::after {
    transform: translateX(4px);
}

.security-visual {
    text-align: center;
}

.security-icon {
    font-size: 5rem;
    margin-bottom: 24px;
    animation: bounce 2s ease-in-out infinite;
}

.security-note {
    color: var(--light-text);
    font-weight: 500;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

/* ===== PRICING SECTION ===== */
.pricing {
    padding: 100px 0;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
}

.pricing-card {
    padding: 40px;
    border: 2px solid var(--border);
    border-radius: 12px;
    background: var(--dark-bg);
    transition: var(--transition);
    position: relative;
}

.pricing-card:hover {
    border-color: var(--primary-light);
    box-shadow: var(--shadow-lg);
}

.pricing-featured {
    border-color: var(--primary-light);
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.05), rgba(236, 72, 153, 0.05));
    transform: scale(1.05);
}

.pricing-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, var(--primary-light), var(--accent));
    color: white;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.pricing-tier {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.pricing-price {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary-light);
    margin-bottom: 8px;
}

.pricing-price span {
    font-size: 1rem;
    color: var(--light-text);
    font-weight: 400;
}

.pricing-desc {
    color: var(--light-text);
    margin-bottom: 24px;
}

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

.pricing-features li {
    padding: 10px 0;
    color: var(--light-text);
}

.pricing-features li::before {
    content: '✓ ';
    color: var(--success);
    font-weight: bold;
    margin-right: 8px;
}

.pricing-features li:has(::before) {
    color: var(--dark-text);
}

/* ===== TESTIMONIALS SECTION ===== */
.testimonials {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.05), rgba(236, 72, 153, 0.05));
    padding: 100px 0;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
}

.testimonial-card {
    padding: 32px;
    background: var(--dark-bg);
    border-radius: 12px;
    border-left: 4px solid var(--primary-light);
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.testimonial-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.testimonial-stars {
    display: block;
    margin-bottom: 16px;
    font-size: 1.2rem;
}

.testimonial-text {
    font-size: 1.1rem;
    font-style: italic;
    margin-bottom: 16px;
    color: var(--dark-text);
    font-weight: 500;
}

.testimonial-author {
    color: var(--primary-light);
    font-weight: 600;
    font-size: 0.95rem;
}

/* ===== FINAL CTA SECTION ===== */
.final-cta {
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--accent) 100%);
    color: white;
    padding: 100px 0;
    text-align: center;
}

.final-cta h2 {
    color: white;
    margin-bottom: 16px;
}

.final-cta p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.2rem;
    margin-bottom: 40px;
}

.final-cta .cta-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.final-cta .btn-primary {
    background: white;
    color: var(--primary);
    box-shadow: none;
}

.final-cta .btn-primary:hover {
    background: rgba(255, 255, 255, 0.95);
}

.final-cta .btn-outline {
    border-color: white;
    color: white;
}

.final-cta .btn-outline:hover {
    background: white;
    color: var(--primary);
}

/* ===== FOOTER ===== */
.footer {
    background: #1f2937;
    color: #f3f4f6;
    padding: 60px 0 20px;
}

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

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 16px;
}

.logo-footer {
    width: 32px;
    height: 32px;
    object-fit: contain;
}

.footer-section h4 {
    color: white;
    margin-bottom: 16px;
    font-size: 0.95rem;
    font-weight: 700;
}

.footer-section p {
    color: #d1d5db;
    font-size: 0.95rem;
    margin-bottom: 16px;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 12px;
}

.footer-section a {
    color: #d1d5db;
    transition: var(--transition);
}

.footer-section a:hover {
    color: #fbbf24;
}

.footer-bottom {
    border-top: 1px solid #374151;
    padding-top: 20px;
    text-align: center;
    color: #9ca3af;
    font-size: 0.9rem;
}

/* ===== PAYWALL MODAL (from paywall-modal.html) ===== */
.modal-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    backdrop-filter: blur(5px);
}

.modal-content {
    background: var(--dark-bg);
    border-radius: 12px;
    max-width: 420px;
    padding: 24px;
    box-shadow: var(--shadow-lg);
    animation: slideInUp 0.3s ease-out;
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.paywall-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border);
}

.paywall-header h2 {
    margin: 0;
    font-size: 1.5rem;
    color: var(--dark-text);
}

.paywall-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--light-text);
    cursor: pointer;
    padding: 0;
    width: 24px;
    height: 24px;
    transition: var(--transition);
}

.paywall-close:hover {
    color: var(--dark-text);
}

.paywall-body {
    margin-bottom: 20px;
}

.paywall-message-title {
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--dark-text);
    margin: 0 0 12px 0;
}

.paywall-message-text {
    color: var(--light-text);
    margin: 0 0 12px 0;
    line-height: 1.5;
}

.paywall-message-warning {
    background-color: #fef3c7;
    border-left: 4px solid var(--warning);
    padding: 12px;
    border-radius: 4px;
    color: #92400e;
    margin: 0 0 12px 0;
    font-weight: 500;
}

.paywall-countdown {
    text-align: center;
    font-size: 1.2rem;
    color: var(--primary-light);
    margin: 16px 0 0 0;
    padding-top: 12px;
    border-top: 1px solid var(--border);
}

.paywall-features {
    list-style: none;
    padding: 0;
    margin: 12px 0 0 0;
}

.paywall-features li {
    padding: 6px 0 6px 24px;
    position: relative;
    color: var(--light-text);
}

.paywall-features li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--success);
    font-weight: bold;
}

.paywall-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 20px;
}

.paywall-upgrade {
    width: 100% !important;
}

.paywall-maybe-later {
    width: 100% !important;
}

.paywall-footer-text {
    text-align: center;
    font-size: 0.8rem;
    color: var(--light-text);
    margin: 12px 0 0 0;
}

.paywall-footer-text a {
    color: var(--primary-light);
    text-decoration: none;
}

.paywall-footer-text a:hover {
    text-decoration: underline;
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .hero-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .hero-visual {
        display: none;
    }

    .impact-content {
        grid-template-columns: 1fr;
    }

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

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

    .pricing-featured {
        transform: scale(1);
    }

    .final-cta .cta-buttons {
        flex-direction: column;
    }

    .final-cta .btn {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .logo-text {
        display: none;
    }

    .cta-buttons {
        flex-direction: column;
        gap: 8px;
    }

    .btn-sm {
        width: 100%;
        padding: 10px 12px;
        font-size: 0.85rem;
    }

    h1 {
        font-size: 2rem;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .hero-buttons .btn {
        width: 100%;
    }

    .stats-grid {
        gap: 24px;
    }

    .hero-badge {
        font-size: 0.85rem;
    }
}

/* ===== ACCESSIBILITY ===== */
@media (prefers-reduced-motion: reduce) {
    * {
        animation: none !important;
        transition: none !important;
    }
}

/* ===== PRINT STYLES ===== */
@media print {
    .navbar,
    .footer,
    .final-cta {
        display: none;
    }
}

/* ===== DARK MODE ===== */
@media (prefers-color-scheme: dark) {
    .paywall-content {
        background: #1f2937;
    }

    .paywall-header {
        border-bottom-color: #374151;
    }

    .paywall-header h2 {
        color: #f3f4f6;
    }
}
/* Pricing feature icons: single source of truth */
.pricing-features {
  list-style: none;
  padding-left: 0;
}
.pricing-features li {
  position: relative;
  padding-left: 28px;
}
.pricing-features li::before {
  content: "\2713"; /* ? */
  color: var(--success-green);
  position: absolute;
  left: 0;
  top: 0.2em;
}
.pricing-features li.unavailable::before {
  content: "\2717"; /* ? */
  color: #D32F2F;
}
