/* Popular badge CSP-safe position */
.popular-badge{position:relative; top:-9px}

/* Download notification (replaces inline styles) */
.download-notification{position:fixed; top:20px; right:20px; z-index:1000}
.download-notification-inner{background:#4CAF50; color:#fff; padding:15px 20px; border-radius:8px; box-shadow:0 4px 12px rgba(0,0,0,.15); max-width:300px; font-size:14px; line-height:1.4; display:flex; align-items:center; gap:10px}
.download-notification-close{background:none; border:none; color:#fff; font-size:18px; cursor:pointer}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #e2e8f0;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 30%, #334155 60%, #1e293b 80%, #0f172a 100%);
    background-attachment: fixed;
    background-size: 400% 400%;
    animation: gradientShift 20s ease infinite;
    min-height: 100vh;
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

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

/* Navigation */
.navbar {
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(20px);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    border-bottom: 1px solid rgba(71, 167, 245, 0.2);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

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

.draftbay-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    color: #47a7f5;
    font-weight: 700;
    font-size: 1.5rem;
    text-shadow: 0 0 20px rgba(71, 167, 245, 0.5);
    transition: all 0.3s ease;
}

.draftbay-logo:hover {
    color: #47a7f5;
    transform: translateY(-1px);
}

.logo-icon {
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-icon svg {
    width: 100%;
    height: 100%;
    fill: currentColor;
    filter: drop-shadow(0 0 10px rgba(71, 167, 245, 0.3));
}

.logo-text {
    font-weight: 700;
    font-size: 1.5rem;
}

.nav-links {
    display: flex;
    gap: 2rem;
}

/* Mobile and small screen navigation adjustments */
@media (max-width: 900px) {
    .nav-container {
        padding: 0 15px;
    }

    .nav-links {
        gap: 1rem;
    }

    .nav-links a {
        padding: 0.4rem 0.8rem;
        font-size: 0.9rem;
    }

    .draftbay-logo {
        font-size: 1.3rem;
    }

    .logo-text {
        font-size: 1.3rem;
    }

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

    /* Hide Download link on mobile/small screens */
    .nav-download {
        display: none;
    }

    /* Adjust register button on smaller screens */
    .nav-register {
        padding: 0.5rem 1rem !important;
        font-size: 0.9rem !important;
        margin-left: 0.3rem;
    }
}

/* Extra small screens */
@media (max-width: 480px) {
    .nav-container {
        padding: 0 10px;
        height: 60px;
    }

    .nav-links {
        gap: 0.5rem;
        flex-shrink: 0;
    }

    .nav-links a {
        padding: 0.3rem 0.5rem;
        font-size: 0.8rem;
        white-space: nowrap;
    }

    /* Make Customer Login button smaller on very small screens */
    .nav-register {
        padding: 0.4rem 0.7rem !important;
        font-size: 0.75rem !important;
        margin-left: 0.2rem !important;
    }

    .draftbay-logo {
        font-size: 1.1rem;
        gap: 0.3rem;
    }

    .logo-text {
        font-size: 1.1rem;
        white-space: nowrap;
    }

    .logo-icon {
        width: 20px;
        height: 20px;
    }
}

.nav-links a {
    animation: slideInDown 0.6s ease forwards;
    opacity: 0;
    transform: translateY(-20px);
}

.nav-links a:nth-child(1) {
    animation-delay: 0.1s;
}

.nav-links a:nth-child(2) {
    animation-delay: 0.2s;
}

.nav-links a:nth-child(3) {
    animation-delay: 0.3s;
}

.nav-links a:nth-child(4) {
    animation-delay: 0.4s;
}

@keyframes slideInDown {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.nav-links a {
    text-decoration: none;
    color: #94a3b8;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    padding: 0.5rem 1rem;
    border-radius: 8px;
}

.nav-links a:hover {
    color: #47a7f5;
    background: rgba(71, 167, 245, 0.1);
    transform: translateY(-2px);
}

.nav-links a::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: #47a7f5;
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-links a:hover::before {
    width: 80%;
}

/* Register button styling */
.nav-register {
    background: linear-gradient(135deg, #47a7f5 0%, #3b82f6 100%) !important;
    color: white !important;
    border: 2px solid transparent !important;
    font-weight: 600 !important;
    padding: 0.45rem 0.9rem !important; /* smaller button */
    font-size: 0.9rem !important;       /* slightly smaller text */
    border-radius: 8px !important;
    margin-left: 0.5rem;
}

.nav-register:hover {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%) !important;
    color: white !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 15px rgba(71, 167, 245, 0.4) !important;
}

.nav-register::before {
    display: none !important;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.8) 0%, rgba(30, 41, 59, 0.9) 100%);
    padding: 120px 0 80px;
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

/* Custom Slider Styles */
.custom-slider {
    position: relative;
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 0 0 30px rgba(71, 167, 245, 0.2);
}

.slider-container {
    position: relative;
    width: 100%;
    height: 550px;
    overflow: hidden;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
    background: transparent;
    border-radius: 12px;
    overflow: hidden;
}

.slide.active {
    opacity: 1;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    border-radius: 12px;
}

.slide-description {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(15, 23, 42, 0.9));
    padding: 2rem 1.5rem 1.5rem;
    color: #f1f5f9;
    z-index: 10;
}

.slide-description h3 {
    margin: 0;
    font-size: 1.25rem;
    font-weight: 600;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    color: #f1f5f9;
}

/* Navigation Buttons */
.slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
    pointer-events: none;
    z-index: 20;
}

.slider-btn {
    background: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(20px);
    border: none;
    color: #47a7f5;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    font-size: 20px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    pointer-events: all;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    text-align: center;
}

.slider-btn:hover {
    background: rgba(71, 167, 245, 0.2);
    transform: scale(1.1);
    box-shadow: 0 4px 15px rgba(71, 167, 245, 0.3);
}

/* Dots Navigation */
.slider-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 20;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(71, 167, 245, 0.3);
    border: 1px solid rgba(71, 167, 245, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background: #47a7f5;
    border-color: #47a7f5;
    box-shadow: 0 0 15px rgba(71, 167, 245, 0.5);
}

.dot:hover {
    background: rgba(71, 167, 245, 0.6);
    transform: scale(1.2);
}

/* Responsive Slider */
@media (max-width: 768px) {
    .slider-container {
        height: 400px;
    }

    .slide-description {
        padding: 1.5rem 1rem 1rem;
    }

    .slide-description h3 {
        font-size: 1.1rem;
    }

    .slider-btn {
        width: 40px;
        height: 40px;
        font-size: 20px;
    }

    .slider-nav {
        padding: 0 15px;
    }
}

@media (max-width: 480px) {
    .slider-container {
        height: 320px;
    }

    .slide-description {
        bottom: 50px;
        padding: 1rem 0.75rem 0.75rem;
    }

    .slide-description h3 {
        font-size: 1rem;
    }

    .slider-btn {
        width: 35px;
        height: 35px;
        font-size: 18px;
    }

    .slider-nav {
        padding: 0 10px;
    }
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 80%, rgba(71, 167, 245, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 80% 20%, rgba(71, 167, 245, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.hero-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 3rem;
    align-items: center;
}

.hero-content h1 {
    font-size: 2.8rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 1.2rem;
    color: #f1f5f9;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.highlight {
    color: #47a7f5;
}

.hero-subtitle {
    font-size: 1.1rem;
    color: #cbd5e1;
    margin-bottom: 1.5rem;
    line-height: 1.5;
}

.hero-cta {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    align-items: center;
}

.hero-stats-container {
    display: flex;
    align-items: center;
    gap: 2rem;
    justify-content: center;
}

/* Mobile adjustments for closer spacing */
@media (max-width: 768px) {
    .hero-stats-container {
        gap: 1rem;
        flex-direction: column;
    }

    .hero-cta {
        gap: 1rem;
    }
}

.btn-primary {
    background: linear-gradient(135deg, #47a7f5 0%, #3b82f6 100%);
    color: white;
    border: none;
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(71, 167, 245, 0.4), 0 0 30px rgba(71, 167, 245, 0.2);
    position: relative;
    overflow: hidden;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(71, 167, 245, 0.6), 0 0 40px rgba(71, 167, 245, 0.3);
}

.hero-stats {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(71, 167, 245, 0.2);
    padding: 1.5rem;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    color: #47a7f5;
}

.stat-label {
    font-size: 0.9rem;
    color: #94a3b8;
}

.stat-arrow {
    font-size: 1.5rem;
    color: #47a7f5;
}

/* App Mockup */
.app-mockup {
    background: white;
    border-radius: 20px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
    overflow: hidden;
    transform: perspective(1000px) rotateY(-15deg) rotateX(5deg);
}

.mockup-header {
    background: #f8fafc;
    padding: 1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    border-bottom: 1px solid #e2e8f0;
}

.mockup-buttons {
    display: flex;
    gap: 0.5rem;
}

.btn-close, .btn-minimize, .btn-maximize {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #ef4444;
}

.btn-minimize {
    background: #f59e0b;
}

.btn-maximize {
    background: #10b981;
}

.mockup-title {
    font-weight: 600;
    color: #64748b;
}

.mockup-content {
    padding: 2rem;
}

.upload-area {
    border: 2px dashed #cbd5e1;
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    margin-bottom: 1.5rem;
    background: #f8fafc;
}

.upload-icon {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.upload-text {
    color: #64748b;
    font-weight: 500;
}

.analysis-preview {
    background: #f8fafc;
    border-radius: 12px;
    padding: 1.5rem;
}

.analysis-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.75rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid #e2e8f0;
}

.analysis-item:last-child {
    margin-bottom: 0;
    border-bottom: none;
    padding-bottom: 0;
}

.analysis-label {
    font-weight: 600;
    color: #475569;
}

.analysis-value {
    color: #47a7f5;
    font-weight: 500;
}

/* Features Section */
.features {
    padding: 100px 0;
    background: rgba(15, 23, 42, 0.5);
    position: relative;
}

.features::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 50%, rgba(71, 167, 245, 0.05) 0%, transparent 70%);
    pointer-events: none;
}

.features h2 {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 4rem;
    color: #f1f5f9;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2.5rem;
    perspective: 1000px;
}

/* Remove complex animations for cleaner look */

.feature-card {
    background: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(20px);
    padding: 2rem;
    border-radius: 16px;
    border: 1px solid rgba(71, 167, 245, 0.2);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(71, 167, 245, 0.05) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 0 0 30px rgba(71, 167, 245, 0.2);
    border-color: #47a7f5;
}

.feature-icon {
    width: 48px;
    height: 48px;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.feature-icon svg {
    width: 24px;
    height: 24px;
    color: #47a7f5;
    transition: all 0.3s ease;
}

.feature-card:hover .feature-icon svg {
    color: #60a5fa;
    transform: scale(1.1);
}

.feature-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #f1f5f9;
    position: relative;
    z-index: 1;
}

.feature-card p {
    color: #cbd5e1;
    line-height: 1.6;
    position: relative;
    z-index: 1;
}

/* Featured card styling */
.feature-card.featured {
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.1) 0%, rgba(15, 23, 42, 0.9) 100%);
    border: 2px solid rgba(34, 197, 94, 0.3);
    position: relative;
    overflow: hidden;
}

.feature-card.featured::before {
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.1) 0%, transparent 50%);
}

.feature-card.featured:hover {
    border-color: #22c55e;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 0 0 30px rgba(34, 197, 94, 0.3);
}

.feature-card.featured .feature-icon svg {
    color: #22c55e;
}

.feature-card.featured:hover .feature-icon svg {
    color: #4ade80;
}

.feature-card.featured::after {
    content: 'NEW';
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: #22c55e;
    color: #0f172a;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.05em;
}

/* Value Proposition */
.value-prop {
    background: linear-gradient(135deg, #47a7f5 0%, #3b82f6 100%);
    padding: 100px 0;
    color: white;
    position: relative;
    overflow: hidden;
}

.value-prop::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 70%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.value-content {
    text-align: center;
}

.value-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 3rem;
}

.value-calc {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.calc-item {
    text-align: center;
    background: rgba(255, 255, 255, 0.1);
    padding: 1.5rem;
    border-radius: 16px;
    backdrop-filter: blur(10px);
}

.calc-number {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.calc-label {
    font-size: 0.9rem;
    opacity: 0.9;
}

.calc-multiplier, .calc-equals {
    font-size: 2rem;
    font-weight: 700;
}

.value-description {
    font-size: 1.1rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}

/* Pricing Section */
.pricing {
    padding: 100px 0;
    background: rgba(15, 23, 42, 0.8);
    position: relative;
}

.pricing::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 70% 30%, rgba(71, 167, 245, 0.08) 0%, transparent 60%);
    pointer-events: none;
}

.pricing-header {
    text-align: center;
    margin-bottom: 4rem;
}

.pricing-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #f1f5f9;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

/* Make the pricing section container wider so cards aren’t squished */
.pricing .container {
    max-width: 1440px;
}

.pricing-header p {
    font-size: 1.1rem;
    color: #cbd5e1;
}

.pricing-card {
    background: linear-gradient(145deg, rgba(15, 23, 42, 0.95) 0%, rgba(30, 41, 59, 0.9) 100%);
    backdrop-filter: blur(25px);
    border-radius: 28px;
    padding: 3rem 2.5rem;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.4), 0 10px 30px rgba(0, 0, 0, 0.2);
    border: 2px solid rgba(71, 167, 245, 0.2);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.pricing-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(71, 167, 245, 0.05) 0%, transparent 50%);
    pointer-events: none;
    position: relative;
}

.pricing-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #47a7f5 0%, #3b82f6 100%);
    color: white;
    padding: 0.6rem 1.8rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    box-shadow: 0 4px 15px rgba(71, 167, 245, 0.4);
    border: 2px solid rgba(15, 23, 42, 0.9);
}

.pricing-title {
    text-align: center;
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #f1f5f9;
    position: relative;
    z-index: 1;
}

.pricing-price {
    text-align: center;
    margin-bottom: 2rem;
    padding: 1rem 0;
}

.price-currency {
    font-size: 1.5rem;
    font-weight: 600;
    color: #47a7f5;
    vertical-align: top;
}

.price-amount {
    font-size: 3rem;
    font-weight: 700;
    color: #47a7f5;
    line-height: 1;
}

.price-amount.free-price {
    font-size: 2.5rem;
    color: #10b981;
}

.price-period {
    font-size: 1rem;
    color: #94a3b8;
    margin-left: 0.25rem;
}

.pricing-features {
    margin-bottom: 2rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.feature-item {
    padding: 0.5rem 0;
    color: #e2e8f0;
    font-size: 0.95rem;
    line-height: 1.5;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.feature-item:before {
    content: '';
    width: 4px;
    height: 4px;
    background: #47a7f5;
    border-radius: 50%;
    flex-shrink: 0;
}

.btn-purchase {
    width: 100%;
    background: linear-gradient(135deg, #47a7f5 0%, #3b82f6 100%);
    color: white;
    border: none;
    padding: 1.25rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(71, 167, 245, 0.4), 0 0 30px rgba(71, 167, 245, 0.2);
}

.btn-purchase::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.btn-purchase:hover::before {
    left: 100%;
}

.btn-purchase:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(71, 167, 245, 0.6), 0 0 40px rgba(71, 167, 245, 0.3);
}

.pricing-note {
    text-align: center;
}

.pricing-note p {
    color: #94a3b8;
    font-size: 0.9rem;
    position: relative;
    z-index: 1;
}

/* New Subscription Pricing Styles */
.billing-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-top: 1.5rem;
}

.billing-option {
    font-size: 1rem;
    color: #cbd5e1;
    cursor: pointer;
    transition: color 0.3s ease;
}

.billing-option.active {
    color: #47a7f5;
    font-weight: 600;
}

.toggle-switch {
    width: 50px;
    height: 24px;
    background: #334155;
    border-radius: 12px;
    position: relative;
    cursor: pointer;
    transition: background 0.3s ease;
}

.toggle-switch.yearly {
    background: #47a7f5;
}

.toggle-slider {
    width: 20px;
    height: 20px;
    background: white;
    border-radius: 50%;
    position: absolute;
    top: 2px;
    left: 2px;
    transition: transform 0.3s ease;
}

.toggle-switch.yearly .toggle-slider {
    transform: translateX(26px);
}

.savings-badge {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    padding: 0.2rem 0.5rem;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-left: 0.5rem;
}

.pricing-grid {
    display: grid;
    /* Use slightly wider minimums so cards don't look squished */
    grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr));
    /* Explicit gaps similar to example */
    column-gap: 2rem;
    row-gap: 2rem;
    max-width: 1400px; /* widen container for pricing grid */
    margin: 0 auto 4rem auto;
    align-items: stretch;
    padding: 0 2rem;
}

/* Fallback for older browsers */
@supports not (display: grid) {
    .pricing-grid {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
    }

    .pricing-card {
        flex: 1;
        min-width: 300px;
        max-width: 350px;
    }
}

/* Responsive breakpoints */
@media (max-width: 1200px) {
    .pricing-grid {
        /* Keep 4-up layout at common laptop widths when possible */
        grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr));
        gap: 1.5rem;
        padding: 0 1.5rem;
        max-width: 1400px;
    }
}

@media (max-width: 900px) {
    .pricing-grid {
        grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr));
        gap: 1.2rem;
        padding: 0 1rem;
    }
}

@media (max-width: 768px) {
    .pricing-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 0 1rem;
        max-width: 400px;
    }

    /* Ensure pricing card headers are centered on mobile */
    .pricing-header-card {
        text-align: center !important;
    }

    .pricing-header-card h3 {
        text-align: center !important;
    }
}

.pricing-card.starter,
.pricing-card.basic,
.pricing-card.pro,
.pricing-card.business,
.pricing-card.premium {
    background: rgba(15, 23, 42, 0.8);
    border: 1px solid rgba(71, 167, 245, 0.2);
    border-radius: 16px;
    padding: 2rem;
    position: relative;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    display: flex;
    flex-direction: column;
    min-height: 420px;
}

.pricing-card.starter:hover,
.pricing-card.basic:hover,
.pricing-card.pro:hover,
.pricing-card.business:hover,
.pricing-card.premium:hover {
    transform: translateY(-5px);
    border-color: rgba(71, 167, 245, 0.4);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3), 0 0 20px rgba(71, 167, 245, 0.2);
}

.pricing-card.popular {
    border: 2px solid #47a7f5;
    background: rgba(71, 167, 245, 0.05);
    transform: scale(1.02);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2), 0 0 30px rgba(71, 167, 245, 0.3);
}

.pricing-card.popular:hover {
    transform: scale(1.02) translateY(-5px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3), 0 0 40px rgba(71, 167, 245, 0.4);
}

.popular-badge {
    position: absolute;
    top: -6px; /* slightly higher so it looks smaller/closer to card */
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #47a7f5 0%, #3b82f6 100%);
    color: white;
    padding: 0.45rem 1rem 0.35rem 1rem; /* reduced padding */
    border-radius: 16px; /* slightly tighter radius */
    font-weight: 600;
    font-size: 0.8rem; /* smaller text */
    box-shadow: 0 3px 10px rgba(71, 167, 245, 0.35); /* softer shadow */
    border: 1px solid rgba(15, 23, 42, 0.9); /* thinner border */
}

.pricing-header-card {
    text-align: center;
    margin-bottom: 1.5rem;
}

.pricing-header-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #f1f5f9;
    margin-bottom: 0.5rem;
}

.pricing-header-card p {
    color: #94a3b8;
    font-size: 0.9rem;
}

.yearly-savings {
    text-align: center;
    color: #10b981;
    font-size: 0.9rem;
    font-weight: 500;
    margin-top: 0.5rem;
}

.btn-plan {
    width: 100%;
    padding: 1rem 1.5rem;
    background: rgba(71, 167, 245, 0.1);
    color: #47a7f5;
    border: 1px solid rgba(71, 167, 245, 0.3);
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    margin-top: auto;
    text-decoration: none;
    display: inline-block;
    text-align: center;
}

.btn-plan:hover {
    background: rgba(71, 167, 245, 0.2);
    border-color: rgba(71, 167, 245, 0.5);
    transform: translateY(-2px);
}

.btn-plan.primary {
    background: #47a7f5;
    color: white;
    border: 1px solid #47a7f5;
}

.btn-plan.primary:hover {
    background: #3b82f6;
    border-color: #3b82f6;
}

/* Free tier button styling */
.pricing-card.starter .btn-plan {
    background: #10b981;
    color: white;
    border: 1px solid #10b981;
}

.pricing-card.starter .btn-plan:hover {
    background: #059669;
    border-color: #059669;
}

/* How It Works Section */

/* Ensure 4-up layout on larger tablet and desktop */
@media (min-width: 1024px) {
    .pricing-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 1.5rem;
        padding: 0 1.5rem;
    }
}

.how-it-works {
    padding: 6rem 0;
    background: rgba(15, 23, 42, 0.5);
    position: relative;
}

.how-it-works h2 {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    color: #f1f5f9;
    margin-bottom: 1rem;
}

.section-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: #94a3b8;
    margin-bottom: 4rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto 4rem auto;
    padding: 0 2rem;
}

.step-card {
    background: rgba(15, 23, 42, 0.8);
    border: 1px solid rgba(71, 167, 245, 0.2);
    border-radius: 16px;
    padding: 2.5rem 2rem;
    text-align: center;
    position: relative;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.step-card:hover {
    transform: translateY(-5px);
    border-color: rgba(71, 167, 245, 0.4);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.step-number {
    position: absolute;
    top: -15px;
    left: 2rem;
    background: #47a7f5;
    color: white;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1rem;
}

.step-icon {
    color: #47a7f5;
    margin-bottom: 1.5rem;
    display: flex;
    justify-content: center;
}

.step-card h3 {
    color: #f1f5f9;
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.step-card p {
    color: #cbd5e1;
    line-height: 1.6;
    font-size: 1rem;
}

.how-it-works-cta {
    text-align: center;
    max-width: 500px;
    margin: 0 auto;
}

.btn-large {
    padding: 1.2rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 600;
}

.cta-note {
    color: #94a3b8;
    font-size: 0.9rem;
    margin-top: 1rem;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .how-it-works {
        padding: 4rem 0;
    }

    .how-it-works h2 {
        font-size: 2rem;
    }

    .steps-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 0 1rem;
    }

    .step-card {
        padding: 2rem 1.5rem;
    }
}

/* Coming Soon badge styling */
.coming-soon-badge {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: white;
    padding: 0.2rem 0.5rem;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
    margin-left: 0.5rem;
    display: inline-block;
    box-shadow: 0 2px 8px rgba(245, 158, 11, 0.3);
}

.free-price {
    font-size: 3rem !important;
    color: #10b981 !important;
}

/* Download Section */
.download {
    padding: 100px 0;
    background: white;
}

.download h2 {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 4rem;
    color: #1e293b;
}

.download-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.download-card {
    background: white;
    border: 2px solid #e2e8f0;
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
}

.download-card:hover {
    border-color: #47a7f5;
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.download-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 80px;
}

.platform-icon {
    width: 60px;
    height: 60px;
    filter: brightness(0) saturate(100%) invert(64%) sepia(88%) saturate(1204%) hue-rotate(185deg) brightness(90%) contrast(85%);
    transition: all 0.3s ease;
}

.download-card:hover .platform-icon {
    filter: brightness(0) saturate(100%) invert(64%) sepia(88%) saturate(1204%) hue-rotate(185deg) brightness(90%) contrast(85%);
    transform: scale(1.1);
}

.download-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #1e293b;
}

.download-card p {
    color: #64748b;
    margin-bottom: 1.5rem;
}

.btn-download {
    background: #47a7f5;
    color: white;
    border: 1px solid #47a7f5;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    text-align: center;
    font-size: 0.9rem;
    line-height: 1.4;
    -webkit-tap-highlight-color: transparent; /* Remove mobile tap highlight */
    user-select: none; /* Prevent text selection */
}

.btn-download:hover,
.btn-download:focus {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(71, 167, 245, 0.4);
    background: #3b82f6;
    color: white;
    text-decoration: none;
}

.btn-download:active {
    transform: translateY(0);
    box-shadow: 0 4px 15px rgba(71, 167, 245, 0.3);
}

.btn-download.coming-soon {
    background: #e2e8f0;
    color: #64748b;
    border: 1px solid #e2e8f0;
    cursor: not-allowed;
}

.btn-download.coming-soon:hover,
.btn-download.coming-soon:focus {
    transform: none;
    box-shadow: none;
    background: #e2e8f0;
    color: #64748b;
}

/* Mobile-specific styles */
@media (max-width: 768px) {
    .btn-download {
        padding: 0.875rem 1.25rem;
        font-size: 0.95rem;
        width: 100%;
        margin-top: 0.5rem;
    }

    .btn-download:hover {
        transform: none; /* Disable hover transform on mobile */
    }
}

.download-note {
    text-align: center;
    background: #fef3c7;
    border: 1px solid #fbbf24;
    border-radius: 12px;
    padding: 1rem;
    color: #92400e;
}

/* Footer */
.footer {
    background: #1e293b;
    color: white;
    padding: 60px 0 30px;
}

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

.footer-section h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #f1f5f9;
}

.footer-section p {
    color: #94a3b8;
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: #94a3b8;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: #47a7f5;
    text-decoration: none;
}

.footer-section a:visited {
    color: #94a3b8;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #334155;
    color: #94a3b8;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
}

.modal-content {
    background-color: white;
    margin: 5% auto;
    padding: 3rem;
    border-radius: 20px;
    width: 90%;
    max-width: 500px;
    position: relative;
    max-height: 90vh;
    overflow-y: auto;
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    font-size: 2rem;
    cursor: pointer;
    color: #64748b;
}

.modal-close:hover {
    color: #1e293b;
}

.modal-content h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 2rem;
    color: #1e293b;
}

.purchase-summary {
    background: #f8fafc;
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 2rem;
}

.purchase-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1rem;
    color: #475569;
}

.purchase-total {
    display: flex;
    justify-content: space-between;
    font-weight: 600;
    font-size: 1.1rem;
    color: #1e293b;
    border-top: 1px solid #e2e8f0;
    padding-top: 1rem;
}

.purchase-form {
    margin-bottom: 2rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: #374151;
}

.form-group input {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.2s ease;
}

.form-group input:focus {
    outline: none;
    border-color: #47a7f5;
    box-shadow: 0 0 0 3px rgba(71, 167, 245, 0.1);
}

.form-group small {
    color: #6b7280;
    font-size: 0.875rem;
    margin-top: 0.25rem;
    display: block;
}

.payment-methods {
    margin-bottom: 2rem;
}

.payment-methods h4 {
    margin-bottom: 1rem;
    color: #374151;
}

.payment-options {
    display: flex;
    gap: 1rem;
}

.payment-option {
    flex: 1;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    padding: 1rem;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.payment-option:has(input:checked) {
    border-color: #47a7f5;
    background-color: #f0f9ff;
}

.payment-option input {
    margin-bottom: 0.5rem;
}

.payment-label {
    font-weight: 500;
    color: #374151;
    margin-bottom: 0.5rem;
}

.payment-icons {
    font-size: 1.5rem;
}

.btn-complete-purchase {
    width: 100%;
    background: linear-gradient(135deg, #47a7f5 0%, #47a7f5 100%);
    color: white;
    border: none;
    padding: 1rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-complete-purchase:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(71, 167, 245, 0.4);
}

.purchase-guarantee {
    text-align: center;
    color: #6b7280;
    font-size: 0.875rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    /* Ensure nav links stay visible at 768px */
    .nav-links {
        display: flex !important;
    }

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

    .value-calc {
        flex-direction: column;
        gap: 1rem;
    }

    .calc-multiplier, .calc-equals {
        transform: rotate(90deg);
    }

    .download-options {
        grid-template-columns: 1fr;
    }

    .nav-links {
        display: none;
    }

    .app-mockup {
        transform: none;
    }

    .modal-content {
        margin: 10% auto;
        padding: 2rem;
    }

    .payment-options {
        flex-direction: column;
    }
}
/* Hero Image Styles */
.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.app-screenshot {
    max-width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.screenshot-image {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.screenshot-image:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.2);
}

@media (max-width: 768px) {
    .screenshot-image {
        border-radius: 8px;
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    }

    .screenshot-image:hover {
        transform: none;
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    }
}
