:root {
    --primary-color: #6366f1;
    --primary-dark: #4f46e5;
    --secondary-color: #8b5cf6;
    --success-color: #10b981;
    --warning-color: #f59e0b;
    --danger-color: #ef4444;
    --info-color: #3b82f6;
    
    --dark-bg: #0f172a;
    --dark-bg-secondary: #1e293b;
    --light-bg: #f8fafc;
    --white: #ffffff;
    
    --text-primary: #1e293b;
    --text-secondary: #64748b;
    --text-light: #94a3b8;
    
    --gradient-primary: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    --gradient-secondary: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
    --gradient-success: linear-gradient(135deg, #10b981 0%, #059669 100%);
    --gradient-warning: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

/* MOBILE FIXES - VIEWPORT AND OVERFLOW */
html {
    overflow-x: hidden;
    width: 100%;
    scroll-behavior: smooth;
}

body {
    overflow-x: hidden;
    width: 100%;
    position: relative;
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
}

/* MOBILE FIXES - CONTAINER ISSUES */
.container,
.container-fluid {
    max-width: 100% !important;
    padding-left: 15px !important;
    padding-right: 15px !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

.section-title {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 800;
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--text-secondary);
    font-weight: 400;
    margin-bottom: 2rem;
}

/* Utilities */
.text-gradient {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.text-white-75 {
    color: rgba(255, 255, 255, 0.75);
}

.bg-gradient-primary {
    background: var(--gradient-primary);
}

/* Navigation */
.navbar {
    background: rgba(15, 23, 42, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    padding: 1rem 0;
}

.navbar-brand {
    font-size: 1.5rem;
    font-weight: 800;
}

.nav-link {
    font-weight: 500;
    color: rgba(255, 255, 255, 0.8) !important;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: var(--primary-color) !important;
}

/* NAVBAR MOBILE FIXES */
@media (max-width: 991.98px) {
    .navbar {
        padding: 0.5rem 1rem !important;
    }
    
    .navbar-toggler {
        border: 1px solid rgba(255, 255, 255, 0.3) !important;
        padding: 0.25rem 0.5rem !important;
        font-size: 1rem !important;
        margin-right: 0 !important;
    }
    
    .navbar-brand {
        font-size: 1.2rem !important;
    }
    
    .navbar > .container {
        padding-left: 1rem !important;
        padding-right: 1rem !important;
    }
}

/* HERO SECTION */
.hero-section {
    background: linear-gradient(135deg, var(--dark-bg) 0%, var(--dark-bg-secondary) 100%);
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
    width: 100%;
    margin: 0;
    padding: 80px 0;
}

/* Responsive hero height adjustments */
@media (min-width: 769px) {
    .hero-section .row.align-items-center.min-vh-100 {
        min-height: 60vh !important;
    }
    
    .hero-section {
        padding: 40px 0 !important;
    }
    
    .navbar {
        padding: 0.5rem 0 !important;
    }
}

@media (min-width: 1200px) {
    .hero-section {
        padding: 60px 0 !important;
    }
}

/* HERO SECTION MOBILE FIXES */
@media (max-width: 768px) {
    .hero-section {
        width: 100% !important;
        margin: 0 !important;
        padding: 100px 0 4rem 0 !important;
        overflow-x: hidden !important;
    }
    
    .hero-section .container {
        width: 100% !important;
        max-width: 100% !important;
        padding-left: 1rem !important;
        padding-right: 1rem !important;
        margin: 0 auto !important;
        padding-top: 2rem !important;
        padding-bottom: 2rem !important;
        overflow-x: hidden !important;
    }
    
    .hero-section .row {
        margin-left: 0 !important;
        margin-right: 0 !important;
        width: 100% !important;
    }
    
    .hero-section .row.align-items-center.min-vh-100 {
        min-height: auto !important;
    }
    
    .hero-section .col-lg-6 {
        padding-left: 0.75rem !important;
        padding-right: 0.75rem !important;
        width: 100% !important;
    }
    
    .hero-title {
        font-size: 2rem !important;
        line-height: 1.2 !important;
        word-wrap: break-word !important;
        margin-bottom: 1.5rem !important;
    }
    
    .hero-subtitle {
        font-size: 1rem !important;
        line-height: 1.4 !important;
        word-wrap: break-word !important;
        margin-bottom: 1.5rem !important;
    }
    
    .hero-stats {
        flex-direction: row !important;
        justify-content: space-around !important;
        gap: 0.5rem !important;
        margin-top: 2rem !important;
    }
    
    .stat-item {
        flex: 1 !important;
        min-width: 0 !important;
        text-align: center !important;
    }
    
    .stat-number {
        font-size: 1.4rem !important;
    }
    
    .stat-label {
        font-size: 0.7rem !important;
        white-space: normal !important;
        line-height: 1.2 !important;
    }
}

@media (max-width: 576px) {
    .hero-section {
        padding: 90px 0 3rem 0 !important;
    }
    
    .hero-section .container {
        padding-left: 0.75rem !important;
        padding-right: 0.75rem !important;
        padding-top: 2rem !important;
        padding-bottom: 2rem !important;
    }
    
    .hero-section .col-lg-6 {
        padding-left: 0.5rem !important;
        padding-right: 0.5rem !important;
    }
}

.badge {
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
}

.features-preview {
    margin: 2rem 0;
}

.feature-check {
    display: flex;
    align-items: center;
    margin-bottom: 0.75rem;
    font-size: 1rem;
}

.hero-actions {
    margin: 2rem 0;
}

.btn-primary {
    background: var(--gradient-primary);
    border: none;
    padding: 0.875rem 2rem;
    border-radius: 0.75rem;
    font-weight: 600;
    transition: all 0.3s ease;
    text-decoration: none;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-xl);
    background: var(--gradient-primary);
}

.btn-outline-light {
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: white;
    padding: 0.875rem 2rem;
    border-radius: 0.75rem;
    font-weight: 600;
    transition: all 0.3s ease;
    text-decoration: none;
}

.btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
    color: white;
    transform: translateY(-2px);
}

.hero-stats {
    display: flex;
    gap: 2rem;
    margin-top: 3rem;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary-color);
    display: block;
}

.stat-label {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.6);
}

/* Code Preview */
.code-preview {
    margin-top: 2rem;
}

.code-window {
    background: #1a1a1a;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.code-header {
    background: #2d2d2d;
    padding: 1rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.code-dots {
    display: flex;
    gap: 0.5rem;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.dot.red { background: #ff5f56; }
.dot.yellow { background: #ffbd2e; }
.dot.green { background: #27ca3f; }

.code-title {
    color: #fff;
    font-size: 0.875rem;
    font-weight: 500;
}

.code-content {
    padding: 1.5rem;
    overflow-x: auto;
}

.code-content pre {
    margin: 0;
    font-size: 0.875rem;
    line-height: 1.5;
    color: #e2e8f0;
}

/* Features Section */
.features-section {
    padding: 6rem 0;
    background: var(--white);
}

.feature-card {
    background: var(--white);
    border-radius: 1.5rem;
    padding: 2.5rem;
    border: 1px solid #e2e8f0;
    transition: all 0.4s ease;
    position: relative;
    height: 100%;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
}

.feature-card.featured {
    background: var(--gradient-primary);
    color: white;
    transform: scale(1.02);
    border: none;
}

.feature-card.featured:hover {
    transform: scale(1.02) translateY(-10px);
}

.feature-badge {
    position: absolute;
    top: -1px;
    right: 20px;
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 0 0 0.75rem 0.75rem;
    font-size: 0.75rem;
    font-weight: 700;
    z-index: 1;
}

.feature-icon {
    width: 80px;
    height: 80px;
    border-radius: 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
    font-size: 2rem;
    color: white;
}

.auth-gradient { background: var(--gradient-success); }
.billing-gradient { background: var(--gradient-primary); }
.ui-gradient { background: var(--gradient-secondary); }
.config-gradient { background: var(--gradient-warning); }
.email-gradient { background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%); }

.feature-card.featured .feature-icon {
    background: rgba(255, 255, 255, 0.2);
}

.feature-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.feature-card.featured .feature-title {
    color: white;
}

.feature-description {
    line-height: 1.7;
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.feature-card.featured .feature-description {
    color: rgba(255, 255, 255, 0.9);
}

.feature-list {
    margin-top: auto;
}

.feature-item {
    display: flex;
    align-items: center;
    margin-bottom: 0.5rem;
    font-size: 0.875rem;
}

/* Tech Stack Section */
.tech-stack-section {
    padding: 6rem 0;
    background: var(--light-bg);
}

.tech-card {
    background: var(--white);
    border-radius: 1rem;
    padding: 2rem;
    text-align: center;
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
    height: 100%;
}

.tech-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.tech-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.tech-card h5 {
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.tech-card p {
    color: var(--text-secondary);
    font-size: 0.875rem;
}

.architecture-diagram {
    background: var(--white);
    border-radius: 1.5rem;
    padding: 3rem;
    border: 1px solid #e2e8f0;
    margin-top: 3rem;
}

.arch-component {
    text-align: center;
    padding: 1.5rem;
    border-radius: 1rem;
    background: var(--light-bg);
    height: 100%;
}

.arch-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    color: white;
    font-size: 1.5rem;
}

/* ROI Section */
.roi-section {
    min-height: 100vh;
    padding: 6rem 0 10rem 0;
    background: linear-gradient(135deg, var(--dark-bg) 0%, var(--dark-bg-secondary) 100%);
    background-attachment: fixed;
    position: relative;
    width: 100%;
}

.roi-calculator {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 2rem;
    padding: 3rem;
    margin-bottom: 3rem;
}

.roi-comparison {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
    border-radius: 1.5rem;
    padding: 2rem;
    height: 100%;
}

.roi-solution {
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.3);
    border-radius: 1.5rem;
    padding: 2rem;
    height: 100%;
}

.cost-breakdown {
    margin-top: 1.5rem;
}

.cost-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    color: white;
    gap: 0.5rem;
}

.cost-item:last-child {
    border-bottom: none;
}

.cost-label {
    flex: 1;
    color: white;
    font-size: 0.9rem;
    overflow: hidden;
    text-overflow: ellipsis;
    min-width: 0;
}

.cost-time {
    width: 70px;
    text-align: center;
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.7);
    white-space: nowrap;
    flex-shrink: 0;
}

.cost-amount {
    min-width: 100px;
    max-width: 140px;
    text-align: right;
    font-weight: 600;
    color: #fbbf24;
    font-size: 0.85rem;
    white-space: nowrap;
    flex-shrink: 0;
}

.cost-total {
    margin-top: 1rem;
    padding: 1rem 0;
    border-top: 2px solid rgba(255, 255, 255, 0.2);
    font-weight: 700;
    font-size: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.5rem;
}

.total-label {
    flex: 1;
    color: white;
    font-size: 0.9rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    min-width: 0;
}

/* TARGETED FIX FOR .total-time BACKGROUND COVERAGE */

/* Desktop version */
.total-time {
    width: 80px;
    text-align: center;
    color: #ef4444;
    font-weight: 700;
    font-size: 0.8rem;
    white-space: nowrap;
    flex-shrink: 0;
    /* Enhanced background coverage */
    background: rgba(239, 68, 68, 0.3) !important; /* More opaque */
    padding: 0.8rem 1rem !important; /* More padding */
    border-radius: 0.5rem !important;
    line-height: 1 !important; /* Tighter line height */
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-height: 2.5rem !important; /* Ensure minimum height */
}

/* Mobile version */
@media (max-width: 768px) {
    .total-time {
        background: rgba(239, 68, 68, 0.4) !important; /* Even more opaque on mobile */
        padding: 0.8rem 1rem !important; /* Generous padding */
        border-radius: 0.6rem !important;
        color: #ef4444 !important;
        font-weight: 700 !important;
        font-size: 0.8rem !important;
        text-align: center !important;
        min-width: 90px !important; /* Wider on mobile */
        min-height: 3rem !important; /* Taller on mobile */
        flex-shrink: 0 !important;
        white-space: nowrap !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        line-height: 1 !important;
        box-sizing: border-box !important;
    }
}

@media (max-width: 576px) {
    .total-time {
        padding: 0.9rem 1.2rem !important; /* Even more padding on small screens */
        font-size: 0.75rem !important;
        min-width: 85px !important;
        min-height: 3.2rem !important;
        background: rgba(239, 68, 68, 0.5) !important; /* Most opaque */
    }
}

.total-amount {
    min-width: 100px;
    max-width: 140px;
    text-align: right;
    color: #ef4444;
    font-weight: 700;
    font-size: 1rem;
    white-space: nowrap;
    flex-shrink: 0;
}

.solution-benefits {
    margin: 1.5rem 0 2rem;
}

.benefit-item {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    color: white;
    font-size: 0.9rem;
}

.benefit-item i {
    width: 20px;
    margin-right: 0.75rem;
    font-size: 1rem;
    flex-shrink: 0;
}

.solution-stats {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.stat-box {
    flex: 1;
    text-align: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 1rem;
    padding: 1.5rem 1rem;
}

.stat-box .stat-number {
    font-size: 1.6rem;
    font-weight: 800;
    color: #10b981;
    display: block;
    margin-bottom: 0.5rem;
    white-space: nowrap;
}

.stat-box .stat-label {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.8);
    white-space: nowrap;
}

.roi-summary {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    margin-top: 2rem;
}

.savings-highlight {
    text-align: center;
}

.savings-item {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 1rem;
    padding: 1.5rem 1rem;
    text-align: center;
    height: 100%;
}

.savings-number {
    font-size: 1.4rem;
    font-weight: 800;
    color: #10b981;
    margin-bottom: 0.5rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.2;
}

.savings-label {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.8rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.indie-hacker-focus {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 2rem;
    padding: 3rem;
    margin-top: 3rem;
}

.indie-benefit {
    display: flex;
    align-items: flex-start;
    margin-bottom: 2rem;
    color: white;
    gap: 0.75rem;
}

.indie-benefit i {
    font-size: 1.5rem;
    margin-top: 0.25rem;
    flex-shrink: 0;
}

.indie-benefit div {
    flex: 1;
    min-width: 0;
}

.indie-benefit strong {
    display: block;
    font-size: 1rem;
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.indie-benefit p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.85rem;
    margin: 0;
    line-height: 1.4;
}

.cta-box {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 1.5rem;
    padding: 1.5rem;
    text-align: center;
}

.price-highlight {
    margin-bottom: 1.5rem;
}

.price-tag {
    font-size: 2.5rem;
    font-weight: 900;
    color: #10b981;
    margin-bottom: 0.5rem;
    white-space: nowrap;
}

.price-description {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.8rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.guarantee {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.75rem;
    white-space: nowrap;
}

.final-guarantee {
    margin-top: 2rem;
}

/* MOBILE FIXES */
@media (max-width: 768px) {
    .roi-section {
        min-height: auto;
        padding: 4rem 0 6rem 0;
        background-attachment: scroll;
    }
    
    .roi-section .container {
        padding-left: 1rem !important;
        padding-right: 1rem !important;
        max-width: 100% !important;
        overflow-x: hidden !important;
    }
    
    .roi-calculator {
        padding: 1rem !important;
        margin-bottom: 2rem !important;
    }
    
    .roi-comparison,
    .roi-solution {
        padding: 1rem !important;
        margin-bottom: 2rem;
    }
    
    /* Mobile cost item redesign */
    .cost-item {
        display: block !important;
        padding: 1rem 0 !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        color: white;
        overflow-x: hidden !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
    
    .cost-label {
        display: block !important;
        font-size: 0.85rem !important;
        font-weight: 600;
        color: white;
        margin-bottom: 0.75rem !important;
        white-space: normal !important;
        line-height: 1.3 !important;
        overflow-wrap: break-word !important;
        word-wrap: break-word !important;
    }
    
    .cost-details {
        display: flex !important;
        justify-content: space-between !important;
        align-items: center !important;
        gap: 1rem !important;
        width: 100% !important;
    }
    
    .cost-time {
        background: rgba(255, 255, 255, 0.1) !important;
        padding: 0.4rem 0.75rem !important;
        border-radius: 0.5rem !important;
        font-size: 0.75rem !important;
        color: rgba(255, 255, 255, 0.8) !important;
        text-align: center !important;
        min-width: 70px !important;
        max-width: 80px !important;
        flex-shrink: 0 !important;
        white-space: nowrap !important;
    }
    
    .cost-amount {
        font-weight: 700 !important;
        color: #fbbf24 !important;
        font-size: 0.9rem !important;
        text-align: right !important;
        flex-shrink: 0 !important;
        white-space: nowrap !important;
        min-width: 90px !important;
    }
    
    .cost-total {
        display: block !important;
        margin-top: 1.5rem !important;
        padding: 1.5rem 0 1rem 0 !important;
        border-top: 2px solid rgba(255, 255, 255, 0.2) !important;
    }
    
    .total-label {
        display: block !important;
        font-size: 1rem !important;
        font-weight: 700 !important;
        color: white !important;
        margin-bottom: 1rem !important;
        text-align: center !important;
        white-space: normal !important;
    }
    
    .total-details {
        display: flex !important;
        justify-content: space-between !important;
        align-items: center !important;
        gap: 1rem !important;
    }
        
    .total-amount {
        color: #ef4444 !important;
        font-weight: 800 !important;
        font-size: 1.2rem !important;
        text-align: right !important;
        flex-shrink: 0 !important;
        white-space: nowrap !important;
    }
    
    /* Solution stats mobile */
    .solution-stats {
        display: flex !important;
        flex-direction: column !important;
        gap: 1rem !important;
        margin-top: 2rem !important;
    }
    
    .stat-box {
        width: 100% !important;
        max-width: 100% !important;
        padding: 1.5rem 1rem !important;
        text-align: center !important;
        background: rgba(255, 255, 255, 0.1) !important;
        border-radius: 1rem !important;
        box-sizing: border-box !important;
    }
    
    .stat-box .stat-number {
        font-size: 2rem !important;
        font-weight: 800 !important;
        color: #10b981 !important;
        margin-bottom: 0.5rem !important;
        white-space: nowrap !important;
    }
    
    .stat-box .stat-label {
        font-size: 0.9rem !important;
        color: rgba(255, 255, 255, 0.8) !important;
        white-space: normal !important;
        line-height: 1.3 !important;
    }
    
    /* Savings section mobile */
    .savings-highlight .row {
        margin-left: 0 !important;
        margin-right: 0 !important;
        gap: 1rem !important;
    }
    
    .savings-item {
        background: rgba(255, 255, 255, 0.05) !important;
        border-radius: 1rem !important;
        padding: 1.5rem 1rem !important;
        text-align: center !important;
        margin-bottom: 1rem !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
    
    .savings-number {
        font-size: 1.4rem !important;
        font-weight: 800 !important;
        color: #10b981 !important;
        margin-bottom: 0.5rem !important;
        white-space: normal !important;
        line-height: 1.2 !important;
        word-break: break-word !important;
    }
    
    .savings-label {
        color: rgba(255, 255, 255, 0.8) !important;
        font-size: 0.85rem !important;
        white-space: normal !important;
        line-height: 1.3 !important;
    }
    
    /* Indie hacker focus mobile */
    .indie-hacker-focus {
        padding: 2rem 1rem !important;
        margin-top: 2rem !important;
    }
    
    .indie-benefit {
        display: flex !important;
        align-items: flex-start !important;
        margin-bottom: 1.5rem !important;
        color: white !important;
        gap: 1rem !important;
        overflow-x: hidden !important;
    }
    
    .indie-benefit i {
        font-size: 1.25rem !important;
        margin-top: 0.25rem !important;
        flex-shrink: 0 !important;
        width: 30px !important;
    }
    
    .indie-benefit div {
        flex: 1 !important;
        min-width: 0 !important;
        overflow-x: hidden !important;
    }
    
    .indie-benefit strong {
        display: block !important;
        font-size: 0.95rem !important;
        font-weight: 700 !important;
        margin-bottom: 0.5rem !important;
        line-height: 1.3 !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }
    
    .indie-benefit p {
        color: rgba(255, 255, 255, 0.8) !important;
        font-size: 0.8rem !important;
        margin: 0 !important;
        line-height: 1.4 !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }
    
    /* CTA box mobile */
    .cta-box {
        padding: 1.5rem 1rem !important;
        margin-top: 2rem !important;
        overflow-x: hidden !important;
    }
    
    .price-tag {
        font-size: 2.5rem !important;
        font-weight: 900 !important;
        color: #10b981 !important;
        margin-bottom: 0.5rem !important;
        white-space: nowrap !important;
    }
    
    .price-description {
        color: rgba(255, 255, 255, 0.8) !important;
        font-size: 0.8rem !important;
        white-space: normal !important;
        line-height: 1.3 !important;
        word-wrap: break-word !important;
    }
    
    .guarantee {
        color: rgba(255, 255, 255, 0.8) !important;
        font-size: 0.75rem !important;
        white-space: normal !important;
        line-height: 1.3 !important;
        word-wrap: break-word !important;
    }
}

@media (max-width: 576px) {
    .roi-section {
        padding: 3rem 0 5rem 0;
    }
    
    .roi-calculator {
        padding: 0.75rem !important;
    }
    
    .roi-comparison,
    .roi-solution {
        padding: 0.75rem !important;
    }
    
    .indie-hacker-focus {
        padding: 1.5rem 0.75rem !important;
    }
    
    .cost-item {
        padding: 0.75rem 0 !important;
    }
    
    .cost-label {
        font-size: 0.8rem !important;
        margin-bottom: 0.5rem !important;
    }
    
    .cost-time {
        padding: 0.3rem 0.5rem !important;
        font-size: 0.7rem !important;
        min-width: 60px !important;
        max-width: 70px !important;
    }
    
    .cost-amount {
        font-size: 0.85rem !important;
        min-width: 80px !important;
    }
    
    .total-time {
        padding: 0.5rem 0.6rem !important;
        font-size: 0.75rem !important;
        min-width: 75px !important;
    }
    
    .total-amount {
        font-size: 1.1rem !important;
    }
    
    .stat-box {
        padding: 1.25rem 0.75rem !important;
    }
    
    .stat-box .stat-number {
        font-size: 1.8rem !important;
    }
    
    .stat-box .stat-label {
        font-size: 0.8rem !important;
    }
    
    .savings-item {
        padding: 1.25rem 0.75rem !important;
    }
    
    .savings-number {
        font-size: 1.2rem !important;
    }
    
    .savings-label {
        font-size: 0.8rem !important;
    }
    
    .indie-benefit strong {
        font-size: 0.9rem !important;
    }
    
    .indie-benefit p {
        font-size: 0.75rem !important;
    }
    
    .price-tag {
        font-size: 2.2rem !important;
    }
    
    .cta-box {
        padding: 1.25rem 0.75rem !important;
    }
}

/* Demo Section */
.demo-section {
    padding: 6rem 0;
    background: linear-gradient(135deg, var(--dark-bg) 0%, var(--dark-bg-secondary) 100%);
}

.demo-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 1.5rem;
    padding: 2rem;
    height: 100%;
}

.demo-card.premium {
    border-color: var(--primary-color);
    background: rgba(99, 102, 241, 0.1);
}

.demo-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.demo-header h4 {
    color: white;
    margin-bottom: 0;
}

.tier-badge {
    padding: 0.25rem 0.75rem;
    border-radius: 1rem;
    font-size: 0.75rem;
    font-weight: 600;
}

.free-tier {
    background: rgba(100, 116, 139, 0.2);
    color: #94a3b8;
}

.premium-tier {
    background: var(--gradient-primary);
    color: white;
}

.demo-feature {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    color: white;
}

.demo-feature.unavailable {
    color: rgba(255, 255, 255, 0.6);
}

.demo-feature.unavailable i {
    color: #94a3b8 !important;
}

.demo-feature i {
    width: 20px;
    margin-right: 0.75rem;
}

.code-examples {
    margin-top: 4rem;
}

/* Get Started Section */
.get-started-section {
    padding: 6rem 0;
    background: var(--white);
}

.step-card {
    text-align: center;
    padding: 2rem;
    border-radius: 1.5rem;
    background: var(--light-bg);
    height: 100%;
    transition: all 0.3s ease;
}

.step-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.step-number {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 800;
    color: white;
    margin: 0 auto 1.5rem;
}

.code-snippet {
    background: var(--dark-bg);
    color: #e2e8f0;
    padding: 1rem;
    border-radius: 0.5rem;
    font-family: 'Monaco', 'Menlo', monospace;
    font-size: 0.875rem;
    margin-top: 1rem;
}

.customization-guide {
    background: var(--light-bg);
    border-radius: 1.5rem;
    padding: 3rem;
}

.custom-feature {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    font-size: 1rem;
    color: var(--text-primary);
}

/* Documentation Section */
.docs-section {
    padding: 6rem 0;
    background: linear-gradient(135deg, var(--dark-bg) 0%, var(--dark-bg-secondary) 100%);
}

.doc-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 1.5rem;
    padding: 2.5rem;
    height: 100%;
    transition: all 0.3s ease;
}

.doc-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.08);
}

.doc-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: white;
    font-size: 1.5rem;
}

.doc-card h5 {
    color: white;
    margin-bottom: 1rem;
}

.doc-card p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 1.5rem;
}

.doc-list {
    list-style: none;
    padding: 0;
}

.doc-list li {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 0.5rem;
    padding-left: 1.5rem;
    position: relative;
}

.doc-list li::before {
    content: '•';
    color: var(--primary-color);
    font-weight: bold;
    position: absolute;
    left: 0;
}

/* CTA Section */
.cta-section {
    padding: 6rem 0;
    background: var(--gradient-primary);
    color: white;
}

.cta-title {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 800;
    margin-bottom: 1.5rem;
}

.cta-subtitle {
    font-size: 1.2rem;
    opacity: 0.9;
    line-height: 1.6;
}

.value-proposition {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 1.5rem;
    padding: 2rem;
}

.value-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: white;
}

.value-icon {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
}

.value-text strong {
    display: block;
    font-size: 1.1rem;
    font-weight: 700;
}

.value-text small {
    opacity: 0.8;
    font-size: 0.875rem;
}

/* Footer */
.footer {
    background: var(--dark-bg);
    color: rgba(255, 255, 255, 0.8);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand {
    display: flex;
    align-items: center;
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.footer-description {
    font-size: 0.875rem;
    opacity: 0.7;
    margin: 0;
}

.footer-links {
    margin-bottom: 1rem;
}

.footer-link {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    margin-left: 1.5rem;
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: var(--primary-color);
}

.footer-copyright {
    font-size: 0.875rem;
    opacity: 0.6;
}

/* COMPREHENSIVE MOBILE FIXES */
@media (max-width: 768px) {
    /* General text overflow prevention */
    *, *::before, *::after {
        box-sizing: border-box !important;
    }
    
    /* Container and row fixes */
    .container, .container-fluid {
        padding-left: 1rem !important;
        padding-right: 1rem !important;
        max-width: 100% !important;
        overflow-x: hidden !important;
    }
    
    .row {
        margin-left: 0 !important;
        margin-right: 0 !important;
        width: 100% !important;
        max-width: 100% !important;
    }
    
    [class*="col-"] {
        padding-left: 0.75rem !important;
        padding-right: 0.75rem !important;
        width: 100% !important;
        max-width: 100% !important;
    }
    
    /* Text safety */
    h1, h2, h3, h4, h5, h6, p, span, div {
        word-wrap: break-word !important;
        overflow-wrap: break-word !important;
        hyphens: auto !important;
    }
    
    /* Feature section mobile fixes */
    .feature-check span {
        white-space: normal !important;
        font-size: 0.85rem !important;
    }
    
    .feature-title {
        white-space: normal !important;
        font-size: 1.1rem !important;
        word-wrap: break-word !important;
    }
    
    .feature-card {
        padding: 2rem 1.5rem;
        margin-bottom: 2rem;
    }
    
    .feature-card.featured {
        transform: none;
    }
    
    /* Step card fixes */
    .step-card {
        margin-bottom: 2rem;
        overflow: visible !important;
    }
    
    .step-card h5 {
        white-space: normal !important;
        font-size: 1rem !important;
        word-wrap: break-word !important;
    }
    
    /* Documentation section fixes */
    .docs-section {
        padding: 4rem 0 !important;
        overflow-x: hidden !important;
    }
    
    .docs-section .container {
        padding-left: 1rem !important;
        padding-right: 1rem !important;
        max-width: 100% !important;
        overflow-x: hidden !important;
    }
    
    .docs-section .section-title {
        font-size: 2rem !important;
        line-height: 1.2 !important;
        margin-bottom: 1rem !important;
        word-wrap: break-word !important;
        overflow-wrap: break-word !important;
        hyphens: auto !important;
    }
    
    .docs-section .section-subtitle {
        font-size: 1rem !important;
        line-height: 1.4 !important;
        margin-bottom: 2rem !important;
        word-wrap: break-word !important;
        overflow-wrap: break-word !important;
        white-space: normal !important;
        max-width: 100% !important;
        padding: 0 0.5rem !important;
    }
    
    .doc-card {
        padding: 1.5rem !important;
        margin-bottom: 1.5rem !important;
        word-wrap: break-word !important;
        overflow-wrap: break-word !important;
    }
    
    .doc-card h5 {
        font-size: 1.1rem !important;
        line-height: 1.3 !important;
        word-wrap: break-word !important;
        overflow-wrap: break-word !important;
        white-space: normal !important;
    }
    
    .doc-card p {
        font-size: 0.9rem !important;
        line-height: 1.4 !important;
        word-wrap: break-word !important;
        overflow-wrap: break-word !important;
    }
    
    .doc-list li {
        font-size: 0.85rem !important;
        line-height: 1.4 !important;
        word-wrap: break-word !important;
        overflow-wrap: break-word !important;
        white-space: normal !important;
    }
    
    /* Button fixes */
    .btn {
        max-width: 100% !important;
        word-wrap: break-word !important;
        white-space: normal !important;
        padding: 0.75rem 1.5rem !important;
    }
    
    /* Code block fixes */
    .code-preview {
        margin-top: 2rem !important;
        width: 100% !important;
        overflow: hidden !important;
    }
    
    .code-window {
        width: 100% !important;
        max-width: 100% !important;
    }
    
    .code-content {
        overflow-x: auto !important;
        max-width: 100% !important;
    }
    
    .code-content pre {
        font-size: 0.75rem !important;
        line-height: 1.4 !important;
        white-space: pre-wrap !important;
        word-break: break-word !important;
    }
    
    /* Value item fixes */
    .value-item {
        flex-direction: column;
        text-align: center;
        margin-bottom: 1.5rem;
    }
    
    /* CTA section fixes */
    .cta-title {
        word-wrap: break-word !important;
        overflow-wrap: break-word !important;
        hyphens: auto !important;
        font-size: 1.8rem !important;
        line-height: 1.2 !important;
    }
    
    .cta-subtitle {
        word-wrap: break-word !important;
        overflow-wrap: break-word !important;
        font-size: 1rem !important;
        line-height: 1.4 !important;
    }
    
    /* Image safety */
    img {
        max-width: 100% !important;
        height: auto !important;
    }
}

@media (max-width: 576px) {
    .hero-actions {
        display: flex;
        flex-direction: column;
        gap: 1rem;
    }
    
    .btn-primary,
    .btn-outline-light {
        width: 100%;
    }
    
    .footer-links {
        text-align: center;
    }
    
    .footer-link {
        margin: 0 0.75rem;
    }
    
    .docs-section .section-title {
        font-size: 1.8rem !important;
        padding: 0 0.25rem !important;
    }
    
    .docs-section .section-subtitle {
        font-size: 0.95rem !important;
        padding: 0 0.25rem !important;
    }
    
    .doc-card {
        padding: 1rem !important;
    }
    
    .doc-card h5 {
        font-size: 1rem !important;
    }
    
    .doc-card p {
        font-size: 0.85rem !important;
    }
    
    .doc-list li {
        font-size: 0.8rem !important;
    }
}

/* Animation and Loading States */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.feature-card,
.tech-card,
.step-card,
.doc-card {
    animation: fadeInUp 0.6s ease-out;
}

/* Focus states for accessibility */
.btn:focus,
.nav-link:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* Print styles */
@media print {
    .navbar,
    .footer,
    .hero-actions,
    .cta-section {
        display: none;
    }
    
    .hero-section {
        background: white;
        color: black;
        min-height: auto;
        padding: 2rem 0;
    }
    
    .section-title,
    .hero-title {
        color: black;
    }
}
