/* ====================================
   Modern Reset & Base Styles
   ==================================== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Colors */
    --primary: #007AFF;
    --primary-hover: #0051D5;
    --text: #0A0A0A;
    --text-muted: #6B7280;
    --bg: #FFFFFF;
    --bg-alt: #F9FAFB;
    --border: #E5E7EB;
    --success: #10B981;
    --danger: #EF4444;
    
    /* Spacing */
    --container-width: 1200px;
    --section-padding: 100px;
    
    /* Shadows */
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 20px 40px rgba(0, 0, 0, 0.1);
    
    /* Transitions */
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Segoe UI', Roboto, Oxygen, sans-serif;
    color: var(--text);
    line-height: 1.6;
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
}

/* ====================================
   Header & Navigation
   ==================================== */
.header {
    position: sticky;
    top: 0;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    z-index: 1000;
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 24px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.logo-icon {
    height: 40px;
    width: 40px;
    transition: transform 0.2s;
}

.logo:hover .logo-icon {
    transform: scale(1.05);
}

.logo-text {
    font-size: 22px;
    font-weight: 700;
    color: var(--text);
    letter-spacing: -0.5px;
}

.nav-links {
    display: flex;
    gap: 40px;
    list-style: none;
}

.nav-links a {
    color: var(--text);
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    transition: color 0.2s;
}

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

/* ====================================
   Buttons
   ==================================== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 24px;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    cursor: pointer;
    border: none;
}

.btn svg {
    width: 20px;
    height: 20px;
}

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

.btn-primary:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 122, 255, 0.3);
}

.btn-outline {
    background: transparent;
    color: var(--text);
    border: 2px solid var(--border);
}

.btn-outline:hover {
    background: var(--bg-alt);
    border-color: var(--text);
}

.btn-nav {
    padding: 8px 20px;
    font-size: 14px;
}

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

.btn-large svg {
    width: 24px;
    height: 24px;
}

/* ====================================
   Hero Section
   ==================================== */
.hero {
    position: relative;
    padding: 100px 0 80px;
    background-image: url('images/hero-bg.jpg');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        135deg,
        rgba(255, 255, 255, 0.75) 0%,
        rgba(255, 255, 255, 0.72) 40%,
        rgba(255, 255, 255, 0.75) 100%
    );
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
    z-index: 1;
}

.hero .container {
    position: relative;
    z-index: 2;
}

.hero-content {
    max-width: 720px;
    margin: 0 auto;
}

.badge {
    display: inline-block;
    padding: 6px 16px;
    background: var(--bg-alt);
    border: 1px solid var(--border);
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-muted);
    margin-bottom: 24px;
}

.hero-title {
    font-size: 64px;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -2px;
    margin-bottom: 24px;
}

.hero-text {
    font-size: 20px;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 24px;
}

.hero-note {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 15px;
    color: var(--primary);
    background: rgba(37, 99, 235, 0.1);
    padding: 10px 20px;
    border-radius: 50px;
    margin-bottom: 32px;
    font-weight: 500;
}

.hero-note svg {
    flex-shrink: 0;
}

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

.hero-meta {
    font-size: 14px;
    color: var(--text-muted);
}

.product-hunt-badge {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 24px;
}

.product-hunt-badge a {
    display: inline-block;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.product-hunt-badge a:hover {
    transform: translateY(-2px);
    opacity: 0.9;
}

.ph-badge-img {
    width: 280px;
    height: 60px;
    display: block;
    max-width: 100%;
}

/* ====================================
   Before/After Section
   ==================================== */
.before-after {
    padding: var(--section-padding) 0;
    background: var(--bg-alt);
}

.comparison-header {
    text-align: center;
    margin-bottom: 60px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.section-text {
    font-size: 18px;
    color: var(--text-muted);
    margin-top: 16px;
}

.comparison-container {
    max-width: 1400px;
    margin: 0 auto;
}

.comparison-image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 20px;
    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.15);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.comparison-image:hover {
    transform: translateY(-8px);
    box-shadow: 0 35px 90px rgba(0, 0, 0, 0.2);
}

/* ====================================
   App Showcase Section
   ==================================== */
.app-showcase {
    padding: 80px 0 var(--section-padding);
    background: var(--bg);
}

.showcase-container {
    max-width: 1400px;
    margin: 0 auto;
}

.desktop-frame {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 
        0 0 0 1px rgba(0, 0, 0, 0.05),
        0 20px 60px rgba(0, 0, 0, 0.12),
        0 40px 100px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    background: #000;
}

.desktop-frame:hover {
    transform: translateY(-12px) scale(1.01);
    box-shadow: 
        0 0 0 1px rgba(0, 0, 0, 0.08),
        0 30px 80px rgba(0, 0, 0, 0.15),
        0 60px 140px rgba(0, 0, 0, 0.12);
}

.desktop-screenshot {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 16px;
}

/* ====================================
   Features Section
   ==================================== */
.features {
    padding: var(--section-padding) 0;
    background: var(--bg-alt);
}

.section-header {
    text-align: center;
    margin-bottom: 80px;
}

.section-badge {
    display: inline-block;
    padding: 4px 12px;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 12px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--primary);
    margin-bottom: 16px;
}

.section-title {
    font-size: 48px;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -1px;
}

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

.feature-card {
    background: var(--bg);
    padding: 40px 32px;
    border-radius: 16px;
    border: 1px solid var(--border);
    transition: var(--transition);
}

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

.feature-icon {
    width: 48px;
    height: 48px;
    background: var(--bg-alt);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.feature-icon svg {
    width: 24px;
    height: 24px;
    color: var(--primary);
}

.feature-card h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
}

.feature-card p {
    font-size: 15px;
    color: var(--text-muted);
    line-height: 1.6;
}

/* ====================================
   Video Section
   ==================================== */
.video-section {
    padding: var(--section-padding) 0;
    background: var(--bg);
}

.video-container {
    max-width: 1100px;
    margin: 0 auto;
}

.video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
    border-radius: 20px;
    box-shadow: 
        0 0 0 1px rgba(0, 0, 0, 0.05),
        0 25px 70px rgba(0, 0, 0, 0.15),
        0 45px 110px rgba(0, 0, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.video-wrapper:hover {
    transform: translateY(-8px);
    box-shadow: 
        0 0 0 1px rgba(0, 0, 0, 0.08),
        0 35px 90px rgba(0, 0, 0, 0.18),
        0 55px 130px rgba(0, 0, 0, 0.15);
}

.youtube-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 20px;
}

/* ====================================
   Stats Section
   ==================================== */
.stats {
    padding: var(--section-padding) 0;
    background: var(--bg-alt);
}

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

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

.stat-number {
    font-size: 48px;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 8px;
}

.stat-label {
    font-size: 14px;
    color: var(--text-muted);
    font-weight: 500;
}

/* ====================================
   CTA Section
   ==================================== */
.cta {
    padding: var(--section-padding) 0;
    text-align: center;
}

.cta-content {
    max-width: 700px;
    margin: 0 auto;
}

.cta-title {
    font-size: 48px;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -1px;
    margin-bottom: 20px;
}

.cta-text {
    font-size: 20px;
    color: var(--text-muted);
    margin-bottom: 40px;
}

.cta-actions {
    margin-bottom: 20px;
}

.cta-meta {
    font-size: 14px;
    color: var(--text-muted);
}

/* ====================================
   Footer
   ==================================== */
.footer {
    padding: 80px 0 40px;
    background: var(--text);
    color: white;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 2fr;
    gap: 80px;
    margin-bottom: 60px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.footer-logo img {
    height: 36px;
    width: 36px;
}

.footer-logo span {
    font-size: 20px;
    font-weight: 700;
    color: white;
    letter-spacing: -0.5px;
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 15px;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.footer-links h4 {
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 16px;
    opacity: 0.9;
}

.footer-links a {
    display: block;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 15px;
    margin-bottom: 12px;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: white;
}

.footer-bottom {
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 14px;
}

/* ====================================
   Responsive Design
   ==================================== */
@media (max-width: 1024px) {
    :root {
        --section-padding: 80px;
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 32px;
    }
}

@media (max-width: 768px) {
    :root {
        --section-padding: 60px;
    }
    
    .nav-links {
        display: none;
    }
    
    .hero {
        padding: 80px 0 60px;
    }
    
    .hero-title {
        font-size: 40px;
    }
    
    .hero-text {
        font-size: 18px;
    }
    
    .hero-note {
        font-size: 14px;
        padding: 8px 16px;
        margin-bottom: 24px;
    }
    
    .hero-actions {
        flex-direction: column;
    }
    
    .before-after {
        padding: 80px 0;
    }
    
    .comparison-header {
        margin-bottom: 40px;
    }
    
    .comparison-image {
        border-radius: 16px;
    }
    
    .app-showcase {
        padding: 60px 0 80px;
    }
    
    .showcase-container {
        max-width: 100%;
    }
    
    .desktop-frame {
        border-radius: 12px;
    }
    
    .section-title {
        font-size: 36px;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .video-wrapper {
        border-radius: 16px;
    }
    
    .youtube-video {
        border-radius: 16px;
    }
    
    .cta-title {
        font-size: 36px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .footer-links {
        grid-template-columns: 1fr;
        gap: 32px;
    }
}

/* ====================================
   Email Modal
   ==================================== */
.modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    animation: fadeIn 0.3s ease;
}

.modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-content {
    background: white;
    border-radius: 24px;
    padding: 48px;
    max-width: 500px;
    width: 90%;
    position: relative;
    box-shadow: 0 30px 90px rgba(0, 0, 0, 0.25);
    animation: slideUp 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: transparent;
    border: none;
    font-size: 32px;
    cursor: pointer;
    color: var(--text-muted);
    transition: color 0.2s;
    padding: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
}

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

.modal-header {
    text-align: center;
    margin-bottom: 32px;
}

.modal-header svg {
    color: var(--primary);
    margin-bottom: 20px;
}

.modal-header h3 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 12px;
}

.modal-header p {
    font-size: 16px;
    color: var(--text-muted);
}

.email-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.email-input {
    padding: 16px 20px;
    font-size: 16px;
    border: 2px solid var(--border);
    border-radius: 12px;
    transition: all 0.2s;
    font-family: inherit;
}

.email-input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.1);
}

.btn-submit {
    padding: 16px 32px;
    font-size: 16px;
    width: 100%;
    justify-content: center;
}

.modal-footer {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 24px;
    font-size: 14px;
    color: var(--text-muted);
}

.modal-footer svg {
    flex-shrink: 0;
    color: #10b981;
}

/* Success State */
.modal-success {
    text-align: center;
}

.modal-success svg {
    color: #10b981;
    margin-bottom: 20px;
}

.modal-success h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 12px;
}

.modal-success p {
    font-size: 16px;
    color: var(--text-muted);
    margin-bottom: 24px;
}

/* ====================================
   Animations
   ==================================== */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

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

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

.hero-content,
.feature-card,
.video-container,
.stat-item {
    animation: fadeInUp 0.8s ease-out backwards;
}

.feature-card:nth-child(1) { animation-delay: 0.1s; }
.feature-card:nth-child(2) { animation-delay: 0.2s; }
.feature-card:nth-child(3) { animation-delay: 0.3s; }
.feature-card:nth-child(4) { animation-delay: 0.4s; }
.feature-card:nth-child(5) { animation-delay: 0.5s; }
.feature-card:nth-child(6) { animation-delay: 0.6s; }
/* 
 * Add these styles to your styles.css file
 * New Landing Page Conversion-Optimized Styles
 */

/* ====================================
   Enhanced Buttons
   ==================================== */
.btn-huge {
    padding: 16px 38px !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    border-radius: 14px !important;
    box-shadow: 0 12px 32px rgba(0, 122, 255, 0.25);
    max-width: 280px;
    width: 100%;
}

.btn-huge svg {
    width: 22px !important;
    height: 22px !important;
}

.btn-huge:hover {
    transform: translateY(-4px) !important;
    box-shadow: 0 20px 48px rgba(0, 122, 255, 0.4) !important;
}

/* ====================================
   Enhanced Hero
   ==================================== */
.hero {
    padding: 140px 0 100px !important;
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    text-align: left;
    max-width: 1400px;
}

.hero-content {
    max-width: 600px !important;
    margin: 0 !important;
    padding-right: 20px;
}

.badge {
    background: linear-gradient(135deg, #FEF3C7 0%, #FDE68A 100%) !important;
    color: #92400E !important;
    border: 1px solid #FCD34D !important;
    font-weight: 700 !important;
}

.hero-title {
    font-size: 68px !important;
    line-height: 1.05 !important;
    letter-spacing: -3px !important;
    margin-bottom: 16px !important;
}

.hero-text {
    font-size: 20px !important;
    margin-bottom: 36px !important;
    line-height: 1.5 !important;
}

.hero-text strong {
    color: var(--text);
    font-weight: 700;
}

.hero-actions {
    justify-content: flex-start !important;
    margin-bottom: 32px !important;
}

.hero-meta {
    font-size: 15px !important;
    opacity: 0.8;
}

/* Hero Visual */
.hero-visual {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.video-demo-container {
    position: relative;
    width: 100%;
    max-width: 100%;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    background: transparent;
}

.hero-video,
.hero-fallback {
    width: 100%;
    height: auto;
    max-width: 100%;
    object-fit: contain;
    display: block;
}

.hero-video {
    display: none;
}

.hero-fallback {
    display: none;
}

video:not([src]) + .hero-fallback {
    display: block;
}

/* ====================================
   Comparison Grid (Before/After)
   ==================================== */
.comparison-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    max-width: 1200px;
    margin: 0 auto;
}

.comparison-item {
    background: white;
    border-radius: 24px;
    padding: 40px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s;
}

.comparison-item:hover {
    transform: translateY(-8px);
}

.comparison-item.problem {
    border: 2px solid #FEE2E2;
}

.comparison-item.solution {
    border: 2px solid #D1FAE5;
}

.comparison-label {
    display: inline-block;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1px;
    padding: 6px 16px;
    border-radius: 20px;
    margin-bottom: 24px;
}

.problem .comparison-label {
    background: #FEE2E2;
    color: #991B1B;
}

.solution .comparison-label {
    background: #D1FAE5;
    color: #065F46;
}

.comparison-visual {
    margin-bottom: 24px;
    border-radius: 16px;
    overflow: hidden;
}

.comparison-image {
    width: 100%;
    height: auto;
    display: block;
}

.comparison-title {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 12px;
    line-height: 1.3;
}

.comparison-text {
    font-size: 16px;
    color: var(--text-muted);
    line-height: 1.6;
}

/* ====================================
   Features List (Benefit-Focused)
   ==================================== */
.features {
    background: white;
}

.features-list {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.feature-item {
    display: flex;
    gap: 24px;
    align-items: flex-start;
    padding: 32px;
    background: var(--bg-alt);
    border-radius: 20px;
    transition: all 0.3s;
}

.feature-item:hover {
    background: white;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
    transform: translateX(8px);
}

.feature-emoji {
    font-size: 48px;
    line-height: 1;
    flex-shrink: 0;
}

.feature-content h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 8px;
    line-height: 1.3;
}

.feature-content p {
    font-size: 16px;
    color: var(--text-muted);
    line-height: 1.6;
}

/* ====================================
   Social Proof / Testimonials
   ==================================== */
.social-proof {
    padding: var(--section-padding) 0;
    background: linear-gradient(135deg, #F0F9FF 0%, #E0F2FE 100%);
}

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

.testimonial {
    background: white;
    padding: 32px;
    border-radius: 20px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
}

.stars {
    font-size: 18px;
    margin-bottom: 16px;
    line-height: 1;
}

.testimonial p {
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 16px;
    color: var(--text);
    font-style: italic;
}

.author {
    font-size: 14px;
    color: var(--text-muted);
    font-weight: 600;
    font-style: normal;
}

.proof-badge {
    text-align: center;
    font-size: 20px;
    color: var(--text);
}

.proof-badge strong {
    color: var(--primary);
    font-weight: 800;
}

/* ====================================
   Responsive Design
   ==================================== */
@media (max-width: 968px) {
    .hero {
        padding: 70px 0 50px !important;
    }
    
    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
        max-width: 100%;
    }
    
    .hero-content {
        max-width: 100% !important;
        padding-right: 0;
    }
    
    .hero-actions {
        justify-content: center !important;
    }
    
    .hero-title {
        font-size: 48px !important;
    }
    
    .hero-text {
        font-size: 18px !important;
    }
    
    .ph-badge-img {
        width: 280px !important;
        height: 60px !important;
    }
    
    .btn-huge {
        max-width: 280px;
    }
    
    /* Hero Image - Tablet size */
    .hero-visual {
        max-width: 500px;
        margin: 0 auto;
    }
    
    .video-demo-container {
        border-radius: 16px;
    }
    
    /* Sections */
    .before-after,
    .features,
    .video-section,
    .social-proof,
    .cta {
        padding: 80px 0 !important;
    }
    
    .comparison-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .testimonial-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    /* Features list */
    .features-list {
        max-width: 100%;
    }
    
    .feature-item {
        padding: 24px;
    }
}

@media (max-width: 640px) {
    .hero {
        padding: 60px 0 40px !important;
    }
    
    .hero .container {
        gap: 32px;
        padding: 0 16px;
    }
    
    .hero-content {
        padding-right: 0 !important;
    }
    
    .badge {
        font-size: 12px !important;
        padding: 5px 12px !important;
    }
    
    .hero-title {
        font-size: 36px !important;
        letter-spacing: -1.5px !important;
        margin-bottom: 12px !important;
    }
    
    .hero-text {
        font-size: 16px !important;
        margin-bottom: 28px !important;
    }
    
    .hero-meta {
        font-size: 13px !important;
    }
    
    .product-hunt-badge {
        margin-top: 20px;
    }
    
    .ph-badge-img {
        width: 100% !important;
        height: auto !important;
        max-width: 280px;
    }
    
    .btn-huge {
        width: 100%;
        max-width: 280px;
        justify-content: center;
        padding: 14px 24px !important;
        font-size: 14px !important;
    }
    
    .btn-huge svg {
        width: 20px !important;
        height: 20px !important;
    }
    
    /* Hero Image/Video - FIX SIZE */
    .hero-visual {
        margin-top: 32px;
        width: 100%;
        max-width: 100%;
    }
    
    .video-demo-container {
        width: 100%;
        max-width: 100%;
        border-radius: 12px;
    }
    
    .hero-video,
    .hero-fallback {
        width: 100%;
        height: auto;
        max-width: 100%;
        object-fit: contain;
    }
    
    /* Sections */
    .before-after,
    .features,
    .video-section,
    .social-proof,
    .cta {
        padding: 60px 0 !important;
    }
    
    .container {
        padding: 0 16px !important;
    }
    
    /* Comparison Grid */
    .comparison-item {
        padding: 24px;
    }
    
    .comparison-title {
        font-size: 22px;
    }
    
    .comparison-text {
        font-size: 15px;
    }
    
    /* Features */
    .feature-item {
        flex-direction: column;
        text-align: center;
        padding: 20px;
        gap: 16px;
    }
    
    .feature-emoji {
        font-size: 36px;
    }
    
    .feature-content h3 {
        font-size: 18px;
    }
    
    .feature-content p {
        font-size: 15px;
    }
    
    /* Testimonials */
    .testimonial {
        padding: 24px;
    }
    
    .testimonial p {
        font-size: 15px;
    }
    
    /* CTA */
    .cta-title {
        font-size: 32px !important;
    }
    
    .cta-text {
        font-size: 16px !important;
    }
}

/* ====================================
   AI Chat Assistant Widget
   ==================================== */
.ai-chat-widget {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 9999;
    font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Segoe UI', Roboto, sans-serif;
}

/* Chat Button */
.ai-chat-button {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary) 0%, #0051D5 100%);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 24px rgba(0, 122, 255, 0.4);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.ai-chat-button::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(255, 255, 255, 0.2) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.ai-chat-button:hover {
    transform: scale(1.05);
    box-shadow: 0 12px 32px rgba(0, 122, 255, 0.5);
}

.ai-chat-button:hover::before {
    opacity: 1;
}

.ai-chat-button:active {
    transform: scale(0.95);
}

.ai-chat-button svg {
    color: white;
    transition: all 0.3s ease;
}

.ai-chat-button .chat-icon {
    display: block;
}

.ai-chat-button .close-icon {
    display: none;
    position: absolute;
}

.ai-chat-button.active .chat-icon {
    display: none;
}

.ai-chat-button.active .close-icon {
    display: block;
}

/* Chat Window */
.ai-chat-window {
    position: absolute;
    bottom: 80px;
    right: 0;
    width: 400px;
    max-width: calc(100vw - 48px);
    height: 600px;
    max-height: calc(100vh - 150px);
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(40px);
    -webkit-backdrop-filter: blur(40px);
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(0, 0, 0, 0.08);
    display: flex;
    flex-direction: column;
    opacity: 0;
    transform: translateY(20px) scale(0.95);
    pointer-events: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.ai-chat-window.active {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: all;
}

/* Chat Header */
.ai-chat-header {
    padding: 20px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: linear-gradient(135deg, rgba(0, 122, 255, 0.05) 0%, rgba(0, 81, 213, 0.05) 100%);
    border-radius: 20px 20px 0 0;
}

.ai-chat-header-content {
    display: flex;
    align-items: center;
    gap: 12px;
}

.ai-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary) 0%, #0051D5 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 122, 255, 0.3);
}

.ai-avatar svg {
    color: white;
    animation: rotate 8s linear infinite;
}

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

.ai-chat-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--text);
    margin: 0;
}

.ai-chat-status {
    font-size: 13px;
    color: var(--success);
    margin: 0;
    font-weight: 500;
}

.ai-chat-minimize {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: none;
    background: rgba(0, 0, 0, 0.05);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.ai-chat-minimize:hover {
    background: rgba(0, 0, 0, 0.1);
    transform: scale(1.05);
}

.ai-chat-minimize svg {
    color: var(--text-muted);
}

/* Chat Messages */
.ai-chat-messages {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    scroll-behavior: smooth;
}

.ai-chat-messages::-webkit-scrollbar {
    width: 6px;
}

.ai-chat-messages::-webkit-scrollbar-track {
    background: transparent;
}

.ai-chat-messages::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, 0.1);
    border-radius: 3px;
}

.ai-chat-messages::-webkit-scrollbar-thumb:hover {
    background: rgba(0, 0, 0, 0.2);
}

/* Message Bubbles */
.ai-message,
.user-message {
    display: flex;
    gap: 10px;
    animation: messageSlide 0.3s ease;
}

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

.user-message {
    flex-direction: row-reverse;
}

.ai-message-avatar,
.user-message-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.ai-message-avatar {
    background: linear-gradient(135deg, var(--primary) 0%, #0051D5 100%);
}

.user-message-avatar {
    background: linear-gradient(135deg, #10B981 0%, #059669 100%);
}

.ai-message-avatar svg,
.user-message-avatar svg {
    color: white;
}

.ai-message-content,
.user-message-content {
    max-width: 75%;
    padding: 12px 16px;
    border-radius: 16px;
    font-size: 14px;
    line-height: 1.5;
}

.ai-message-content {
    background: rgba(0, 122, 255, 0.08);
    color: var(--text);
    border-bottom-left-radius: 4px;
}

.user-message-content {
    background: var(--primary);
    color: white;
    border-bottom-right-radius: 4px;
}

.ai-message-content p,
.user-message-content p {
    margin: 0;
}

/* Typing Indicator */
.typing-indicator {
    display: flex;
    gap: 10px;
    padding: 12px 16px;
    background: rgba(0, 122, 255, 0.08);
    border-radius: 16px;
    border-bottom-left-radius: 4px;
    width: fit-content;
}

.typing-indicator span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--primary);
    animation: typing 1.4s infinite;
}

.typing-indicator span:nth-child(2) {
    animation-delay: 0.2s;
}

.typing-indicator span:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes typing {
    0%, 60%, 100% {
        transform: translateY(0);
        opacity: 0.7;
    }
    30% {
        transform: translateY(-10px);
        opacity: 1;
    }
}

/* Chat Input */
.ai-chat-input-container {
    padding: 16px 20px;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    background: rgba(255, 255, 255, 0.5);
    border-radius: 0 0 20px 20px;
}

.ai-chat-input-wrapper {
    display: flex;
    gap: 8px;
    align-items: flex-end;
    background: white;
    border: 2px solid rgba(0, 122, 255, 0.1);
    border-radius: 12px;
    padding: 8px 12px;
    transition: border-color 0.2s ease;
}

.ai-chat-input-wrapper:focus-within {
    border-color: var(--primary);
}

.ai-chat-input {
    flex: 1;
    border: none;
    outline: none;
    resize: none;
    font-family: inherit;
    font-size: 14px;
    line-height: 1.5;
    color: var(--text);
    max-height: 120px;
    min-height: 24px;
    background: transparent;
}

.ai-chat-input::placeholder {
    color: var(--text-muted);
}

.ai-chat-send {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    border: none;
    background: var(--primary);
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.2s ease;
}

.ai-chat-send:hover {
    background: var(--primary-hover);
    transform: scale(1.05);
}

.ai-chat-send:active {
    transform: scale(0.95);
}

.ai-chat-send:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.ai-chat-disclaimer {
    margin: 8px 0 0;
    font-size: 11px;
    color: var(--text-muted);
    text-align: center;
}

/* Mobile Responsive */
@media (max-width: 640px) {
    .ai-chat-widget {
        bottom: 16px;
        right: 16px;
    }
    
    .ai-chat-button {
        width: 56px;
        height: 56px;
    }
    
    .ai-chat-window {
        width: calc(100vw - 32px);
        height: calc(100vh - 120px);
        bottom: 72px;
        right: -8px;
    }
    
    .ai-message-content,
    .user-message-content {
        max-width: 80%;
    }
}
