/* Global Styles - Clean Modern Design */
:root {
    /* Modern Clean Colors */
    --primary-color: #2563EB;
    --secondary-color: #059669;
    --accent-color: #7C3AED;
    --dark-color: #1F2937;
    --light-color: #FFFFFF;
    --card-color: #FFFFFF;
    --text-color: #111827;
    --text-secondary: #6B7280;
    --gray-color: #D1D5DB;
    --gray-light: #F9FAFB;
    --success-color: #059669;
    --danger-color: #DC2626;
    --warning-color: #D97706;
    
    /* Modern Gradients */
    --gradient: linear-gradient(135deg, #2563EB 0%, #7C3AED 100%);
    --gradient-accent: linear-gradient(135deg, #7C3AED 0%, #2563EB 100%);
    
    /* Native iOS Shadows */
    --shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
    --shadow-card: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.08);
    --shadow-elevated: 0 8px 30px rgba(0, 0, 0, 0.12);
    
    /* iOS Border Radius (matching app's 20px) */
    --border-radius: 20px;
    --border-radius-small: 12px;
    --border-radius-large: 28px;
    
    /* Glass Morphism Effects */
    --blur-background: rgba(255, 255, 255, 0.8);
    --blur-border: rgba(255, 255, 255, 0.2);
}

/* Dark mode support */
@media (prefers-color-scheme: dark) {
    :root {
        --dark-color: #000000;
        --light-color: #1F2937;
        --card-color: #374151;
        --text-color: #F9FAFB;
        --text-secondary: #9CA3AF;
        --gray-color: #4B5563;
        --gray-light: #1F2937;
        --blur-background: rgba(31, 41, 55, 0.8);
        --blur-border: rgba(255, 255, 255, 0.1);
        --shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
        --shadow-card: 0 1px 3px rgba(0, 0, 0, 0.3), 0 1px 2px rgba(0, 0, 0, 0.2);
        --shadow-elevated: 0 8px 30px rgba(0, 0, 0, 0.4);
    }
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--light-color);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

/* Enhanced container for mobile */
@media (max-width: 768px) {
    .container {
    padding: 0 20px;
    }
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 { font-size: 3rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 1.75rem; }

@media (max-width: 768px) {
    h1 { font-size: 2rem; }
    h2 { font-size: 1.75rem; }
    h3 { font-size: 1.25rem; }
}

.gradient-text {
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.pro-section .gradient-text {
    background: linear-gradient(135deg, #FFFFFF 0%, #60A5FA 50%, #A78BFA 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
}

/* Navigation - iOS Glass Morphism */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1), 0 1px 2px rgba(0, 0, 0, 0.06);
    z-index: 1000;
    transition: all 0.3s ease;
}

/* Dark mode navbar */
@media (prefers-color-scheme: dark) {
    .navbar {
        background: rgba(28, 28, 30, 0.85);
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3), 0 1px 2px rgba(0, 0, 0, 0.2);
    }
    
    .login-btn {
        background: rgba(44, 44, 46, 0.8);
        border-color: rgba(0, 122, 255, 0.3);
    }
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0;
    max-width: 1200px;
    margin: 0 auto;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.375rem;
    font-weight: 800;
    color: var(--text-color);
    text-decoration: none;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    letter-spacing: -0.02em;
    transition: all 0.3s ease;
    padding: 6px 10px;
    border-radius: 10px;
}

.logo:hover {
    color: var(--primary-color);
    background: rgba(59, 130, 246, 0.05);
    transform: translateY(-1px);
}

.logo-img {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.12), 0 1px 3px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.logo:hover .logo-img {
    transform: scale(1.05);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2), 0 3px 6px rgba(0, 0, 0, 0.15);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 600;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    transition: all 0.3s ease;
    position: relative;
    padding: 8px 12px;
    border-radius: 8px;
    letter-spacing: -0.01em;
    font-size: 0.9rem;
}

.nav-link:hover {
    color: var(--primary-color);
    background: rgba(59, 130, 246, 0.08);
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(59, 130, 246, 0.15);
}

.beta-btn {
    background: linear-gradient(135deg, #007AFF 0%, #5856D6 100%);
    color: white !important;
    padding: 8px 16px;
    border-radius: 10px;
    transition: all 0.3s ease;
    font-weight: 600;
    font-size: 0.875rem;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    letter-spacing: -0.01em;
    box-shadow: 0 3px 10px rgba(0, 122, 255, 0.25), 0 1px 4px rgba(0, 0, 0, 0.1);
    border: none;
}

.beta-btn:hover {
    background: linear-gradient(135deg, #0056CC 0%, #4A3BC2 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 122, 255, 0.35), 0 4px 8px rgba(0, 0, 0, 0.15);
}

.login-btn {
    background: rgba(255, 255, 255, 0.8);
    color: var(--primary-color) !important;
    border: 1px solid rgba(0, 122, 255, 0.2);
    padding: 8px 16px;
    border-radius: 10px;
    transition: all 0.3s ease;
    font-weight: 600;
    font-size: 0.875rem;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    letter-spacing: -0.01em;
    text-decoration: none;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.login-btn:hover {
    background: rgba(0, 122, 255, 0.05);
    border-color: var(--primary-color);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 122, 255, 0.15), 0 2px 4px rgba(0, 0, 0, 0.1);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--text-color);
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    padding: 140px 0 100px;
    background: var(--light-color);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(0, 122, 255, 0.08) 0%, transparent 70%);
    animation: rotate 60s linear infinite;
}

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

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.badge {
    display: inline-block;
    background: var(--gradient);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1rem;
    animation: pulse 2s infinite;
}

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

.hero-title {
    font-size: 2.75rem;
    font-weight: 900;
    margin-bottom: 1.25rem;
    line-height: 1.1;
}

.hero-description {
    font-size: 1.125rem;
    color: var(--gray-color);
    margin-bottom: 1.75rem;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 16px 32px;
    border-radius: var(--border-radius-large);
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    min-height: 44px; /* iOS touch target */
}

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

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

.btn-secondary {
    background: var(--card-color);
    color: var(--text-color);
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.btn-secondary:hover {
    background: var(--light-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow-card);
}

.hero-stats {
    display: flex;
    gap: 3rem;
}

.stat {
    text-align: center;
}

.stat-number {
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary-color);
}

.stat-label {
    color: var(--gray-color);
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* App Screenshots Layout */
.app-screenshots {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 20px;
    max-width: 600px;
    margin: 0 auto;
    perspective: 1000px;
}

.screenshot-item {
    position: relative;
    transition: all 0.6s ease;
}

.screenshot-main {
    transform: translateY(-20px) scale(1.05);
    z-index: 3;
}

.screenshot-secondary {
    transform: translateY(10px) rotateY(-15deg) scale(0.95);
    z-index: 2;
}

.screenshot-tertiary {
    transform: translateY(10px) rotateY(15deg) scale(0.95);
    z-index: 1;
}

.screenshot-item:hover {
    transform: translateY(-30px) scale(1.1) !important;
    z-index: 10 !important;
}

.app-mockup {
    width: 100%;
    max-width: 180px;
    height: auto;
    border-radius: 20px;
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.15),
        0 10px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.6s ease;
    animation: float 4s ease-in-out infinite;
}

.screenshot-main .app-mockup {
    animation-delay: 0s;
}

.screenshot-secondary .app-mockup {
    animation-delay: 1s;
}

.screenshot-tertiary .app-mockup {
    animation-delay: 2s;
}

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

/* Mobile Screenshots Layout */
@media (max-width: 768px) {
    .app-screenshots {
        grid-template-columns: repeat(3, 1fr);
        gap: 16px;
        max-width: 100%;
        padding: 0 30px;
    }
    
    .screenshot-main {
        transform: translateY(-10px) scale(1.05);
    }
    
    .screenshot-secondary,
    .screenshot-tertiary {
        transform: translateY(6px) scale(0.98);
    }
    
    .screenshot-item:hover {
        transform: translateY(-20px) scale(1.08) !important;
    }
    
    .app-mockup {
        max-width: 130px;
        width: 100%;
        border-radius: 14px;
        box-shadow: 0 12px 32px rgba(0, 0, 0, 0.2);
    }
}

/* Features Section */
.features {
    padding: 100px 0;
    background: var(--light-color);
}

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

.section-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.section-description {
    font-size: 1.125rem;
    color: var(--gray-color);
    max-width: 600px;
    margin: 0 auto;
}

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

.feature-card {
    background: var(--gray-light);
    padding: 40px 32px;
    border-radius: var(--border-radius);
    border: 2px solid transparent;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.feature-card:hover {
    transform: translateY(-8px);
    border-color: var(--primary-color);
    box-shadow: 0 12px 40px rgba(37, 99, 235, 0.15);
}

.feature-icon {
    width: 64px;
    height: 64px;
    background: var(--gradient);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    font-size: 28px;
    color: white;
    box-shadow: 0 4px 16px rgba(37, 99, 235, 0.25);
}

.feature-card h3 {
    margin-bottom: 16px;
    color: var(--text-color);
    font-weight: 700;
    font-size: 1.25rem;
    line-height: 1.4;
}

.feature-card p {
    color: var(--text-secondary);
    margin-bottom: 0;
    line-height: 1.6;
    font-size: 0.95rem;
}

.feature-list {
    list-style: none;
}

.feature-list li {
    padding: 8px 0;
    color: var(--text-color);
    position: relative;
    padding-left: 25px;
}

.feature-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--success-color);
    font-weight: bold;
}

/* Pro Section */
.pro-section {
    padding: 120px 0;
    background: linear-gradient(135deg, #1E40AF 0%, #3B82F6 100%);
    color: white;
    position: relative;
    overflow: hidden;
}

.pro-section::before {
    content: '';
    position: absolute;
    top: -20%;
    right: -10%;
    width: 60%;
    height: 80%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.08) 0%, transparent 60%);
    animation: floatSlow 40s ease-in-out infinite;
}

@keyframes floatSlow {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-30px) rotate(5deg); }
}

.pro-section .section-title {
    color: #FFFFFF;
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: 20px;
    letter-spacing: -0.015em;
}

.pro-section .section-description {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.125rem;
    font-weight: 400;
    margin-bottom: 60px;
    line-height: 1.6;
}

.pro-wrapper {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 80px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.pro-features h3 {
    color: white;
    margin-bottom: 40px;
    font-size: 2rem;
    font-weight: 700;
    line-height: 1.2;
}

.pro-features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.pro-feature {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 24px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    transition: all 0.3s ease;
    position: relative;
}

.pro-feature::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
    border-radius: 16px;
    z-index: -1;
}

.pro-feature:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-4px);
    border-color: rgba(255, 255, 255, 0.3);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.pro-feature i {
    color: #FFFFFF;
    font-size: 24px;
    min-width: 24px;
    font-weight: 600;
}

.pro-feature span {
    color: rgba(255, 255, 255, 0.95);
    font-size: 1rem;
    font-weight: 500;
}

.pricing-card {
    background: var(--card-color);
    color: var(--text-color);
    padding: 48px 40px;
    border-radius: 24px;
    text-align: center;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
    border: 2px solid rgba(255, 255, 255, 0.15);
    position: relative;
    z-index: 2;
    transition: all 0.3s ease;
}

.pricing-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.3);
    border-color: rgba(255, 255, 255, 0.3);
}

.price-tag {
    display: flex;
    align-items: baseline;
    justify-content: center;
    margin-bottom: 20px;
}

.currency {
    font-size: 1.75rem;
    color: var(--text-secondary);
    font-weight: 600;
}

.price {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--primary-color);
    margin: 0 4px;
}

.period {
    font-size: 1.25rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.price-annual {
    color: var(--gray-color);
    margin-bottom: 30px;
}

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

.pricing-features li {
    padding: 12px 0;
    display: flex;
    align-items: center;
    gap: 10px;
    justify-content: center;
}

.pricing-features i {
    color: var(--primary-color);
}

.btn-pro {
    width: 100%;
    background: var(--gradient);
    color: white;
    padding: 14px;
    border-radius: 25px;
    border: none;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-pro:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 107, 53, 0.3);
}

.price-note {
    margin-top: 15px;
    color: var(--success-color);
    font-weight: 600;
}

/* Roadmap */
.roadmap {
    padding: 100px 0;
    background: var(--light-color);
    position: relative;
}

/* Mobile-first Timeline */
.timeline {
    position: relative;
    padding: 40px 0;
    max-width: 800px;
    margin: 0 auto;
}

/* Mobile Timeline Line */
.timeline::before {
    content: '';
    position: absolute;
    left: 20px;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(to bottom, var(--primary-color), var(--accent-color));
    border-radius: 2px;
}

.timeline-item {
    position: relative;
    margin-bottom: 40px;
    padding-left: 60px;
}

/* Mobile Timeline Dots */
.timeline-item::before {
    content: '';
    position: absolute;
    left: 21.5px;
    top: 8px;
    width: 12px;
    height: 12px;
    background: var(--card-color);
    border: 3px solid var(--primary-color);
    border-radius: 50%;
    z-index: 2;
    transform: translateX(-50%);
}

/* Active Timeline Dot - Fresh Start */
.timeline-item.active::before {
    background: var(--primary-color) !important;
    border-color: var(--accent-color) !important;
    width: 16px !important;
    height: 16px !important;
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.15) !important;
}

.timeline-date {
    color: var(--primary-color);
    font-weight: 700;
    font-size: 0.875rem;
    margin-bottom: 8px;
    letter-spacing: 0.025em;
    text-transform: uppercase;
}

.timeline-content {
    background: var(--card-color);
    padding: 24px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-card);
    border: 1px solid rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
}

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

.timeline-content h3 {
    margin-bottom: 12px;
    color: var(--text-color);
    font-weight: 700;
    font-size: 1.125rem;
    line-height: 1.3;
}

.timeline-content p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0;
    font-size: 0.95rem;
}

/* Desktop Timeline */
@media (min-width: 768px) {
    .timeline {
        padding: 60px 0;
        max-width: 1000px;
    }
    
    /* Desktop center line */
    .timeline::before {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .timeline-item {
        display: flex;
        margin-bottom: 60px;
        padding-left: 0;
        align-items: center;
    }
    
    /* Desktop center dots */
    .timeline-item::before {
        left: 50%;
        top: 50%;
        transform: translate(-50%, -50%);
        width: 16px;
        height: 16px;
    }
    
    .timeline-item.active::before {
        width: 20px;
        height: 20px;
        transform: translate(-50%, -50%);
        box-shadow: 0 0 0 6px rgba(37, 99, 235, 0.15);
}

.timeline-date {
    flex: 1;
    text-align: right;
        padding-right: 50px;
        font-size: 1.125rem;
        margin-bottom: 0;
}

.timeline-content {
    flex: 1;
        padding: 32px;
        margin-left: 50px;
}

.timeline-content h3 {
        font-size: 1.25rem;
}

.timeline-content p {
        font-size: 1rem;
    }
    
    /* Alternate layout for desktop */
    .timeline-item:nth-child(even) {
        flex-direction: row-reverse;
    }
    
    .timeline-item:nth-child(even) .timeline-date {
        text-align: left;
        padding-right: 0;
        padding-left: 50px;
    }
    
    .timeline-item:nth-child(even) .timeline-content {
        margin-left: 0;
        margin-right: 50px;
    }
}

/* FAQ */
.faq {
    padding: 100px 0;
    background: var(--light-color);
}

.faq-grid {
    display: flex;
    flex-direction: column;
    gap: 16px;
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--card-color);
    border-radius: var(--border-radius);
    border: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: var(--shadow-card);
    overflow: hidden;
}

.faq-question {
    width: 100%;
    background: none;
    border: none;
    padding: 24px;
    text-align: left;
    color: var(--text-color);
    font-size: 1.125rem;
    font-weight: 700;
    line-height: 1.4;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
    font-family: inherit;
}

.faq-question:hover {
    background: var(--gray-light);
}

.faq-question i {
    transition: transform 0.3s ease;
    color: var(--primary-color);
    font-size: 0.875rem;
}

.faq-question.active i {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    background: var(--card-color);
}

.faq-answer.active {
    max-height: 500px;
}

.faq-answer p {
    padding: 0 24px 24px 24px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0;
}

/* Desktop layout */
@media (min-width: 768px) {
    .faq-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
        max-width: 1000px;
    }
    
    .faq-question {
        font-size: 1.25rem;
        padding: 28px;
    }
    
    .faq-answer p {
        padding: 0 28px 28px 28px;
    }
}

/* Beta Signup */
.beta-signup {
    padding: 120px 0;
    background: linear-gradient(135deg, #1E40AF 0%, #3B82F6 100%);
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.beta-signup::before {
    content: '';
    position: absolute;
    top: -20%;
    left: -10%;
    width: 60%;
    height: 80%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.08) 0%, transparent 60%);
    animation: floatSlow 40s ease-in-out infinite;
}

.beta-signup::after {
    content: '';
    position: absolute;
    bottom: -30%;
    right: -15%;
    width: 50%;
    height: 70%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.05) 0%, transparent 50%);
    animation: floatSlow 50s ease-in-out infinite reverse;
}

/* Extra floating elements for more beauty */
.beta-content::before {
    content: '';
    position: absolute;
    top: 10%;
    left: 10%;
    width: 100px;
    height: 100px;
    background: radial-gradient(circle, rgba(96, 165, 250, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    animation: floatSlow 30s ease-in-out infinite;
    pointer-events: none;
}

.beta-content::after {
    content: '';
    position: absolute;
    bottom: 15%;
    right: 20%;
    width: 80px;
    height: 80px;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    animation: floatSlow 35s ease-in-out infinite reverse;
    pointer-events: none;
}

.beta-content {
    position: relative;
    z-index: 1;
}

.beta-content h2 {
    color: #FFFFFF;
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: 20px;
    letter-spacing: -0.015em;
}

.beta-content p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.125rem;
    font-weight: 400;
    margin-bottom: 60px;
    line-height: 1.6;
}

.beta-signup .gradient-text {
    background: linear-gradient(135deg, #FFFFFF 0%, #60A5FA 50%, #A78BFA 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
}

.beta-form {
    max-width: 500px;
    margin: 0 auto 40px;
    position: relative;
    z-index: 1;
}

.form-group {
    display: flex;
    gap: 12px;
    margin-bottom: 24px;
}

.form-group input {
    flex: 1;
    padding: 16px 24px;
    border: 2px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--border-radius);
    font-size: 1rem;
    outline: none;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    color: white;
    transition: all 0.3s ease;
}

.form-group input::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.form-group input:focus {
    border-color: rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.1);
}

.form-group button {
    padding: 16px 32px;
    background: var(--card-color);
    color: var(--text-color);
    border: 2px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--border-radius);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.form-group button:hover {
    background: var(--light-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.beta-benefits {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
}

.benefit {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    padding: 16px 24px;
    border-radius: var(--border-radius);
    border: 1px solid rgba(255, 255, 255, 0.15);
    transition: all 0.3s ease;
}

.benefit:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.benefit i {
    font-size: 20px;
    color: #60A5FA;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Footer */
.footer {
    background: var(--light-color);
    color: var(--text-color);
    padding: 60px 0 20px;
    border-top: 1px solid var(--gray-color);
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

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

.footer-section h4 {
    margin-bottom: 1rem;
    color: var(--text-color);
    font-weight: 700;
}

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

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: var(--primary-color);
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 1rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: var(--gray-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid var(--gray-color);
    color: var(--text-secondary);
}

/* Responsive Design - Remove conflicting tablet rules */

@media (max-width: 768px) {
    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--card-color);
        flex-direction: column;
        padding: 20px;
        box-shadow: var(--shadow);
    }
    
    .nav-menu.active {
        display: flex;
    }
    
    .hamburger {
        display: flex;
    }
    
    .hero {
        padding: 120px 0 60px;
    }
    
    .hero-content {
        display: flex;
        flex-direction: column;
        gap: 0;
        text-align: center;
    }
    
    .hero-title-section {
        order: 1;
    }
    
    .hero-image {
        order: 2;
        margin: 2rem 0 1.5rem 0;
    }
    
    .hero-tagline-section {
        order: 3;
    }
    
    .hero-details {
        order: 4;
        margin-top: -0.5rem;
    }
    
    .desktop-only {
        display: none !important;
    }
    
    .hero-title {
        font-size: 1.6rem;
        line-height: 1.15;
        margin-bottom: 0.75rem;
        font-weight: 800;
    }
    
    .hero-tagline {
        font-size: 1.1rem;
        margin-bottom: 0;
        color: var(--primary-color);
        font-weight: 700;
        letter-spacing: -0.01em;
    }
    
    .hero-description {
        font-size: 0.95rem;
        line-height: 1.6;
        margin-bottom: 1.5rem;
        padding: 0 15px;
        color: var(--text-secondary);
    }
    
    .hero-buttons {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 12px;
        margin-bottom: 1.5rem;
        padding: 0 15px;
    }
    
    .hero-buttons .btn {
        padding: 12px 14px;
        font-size: 0.85rem;
        text-align: center;
        font-weight: 600;
        white-space: nowrap;
    }
    
    .hero-buttons .btn i {
        font-size: 0.75rem;
        margin-right: 6px;
    }
    
    .hero-stats {
        gap: 1.5rem;
        margin-top: 0;
        justify-content: center;
        display: flex;
    }
    
    .stat-number {
        font-size: 1.5rem;
        font-weight: 700;
    }
    
    .stat-label {
        font-size: 0.8rem;
    }
    
    .app-screenshots {
        max-width: 100%;
        margin: 0 auto;
        padding: 0 30px;
    }
}

/* Desktop styles - FIXED LAYOUT */
@media (min-width: 769px) {
    .hero .hero-content {
        display: grid !important;
        grid-template-columns: 1fr 1fr !important;
        gap: 60px !important;
        align-items: center !important;
        text-align: left !important;
    }
    
    .hero-title-section,
    .hero-tagline-section,
    .hero-details {
        display: none !important;
    }
    
    .desktop-only {
        display: block !important;
        order: 1 !important;
    }
    
    .hero-image {
        order: 2 !important;
        margin: 0 !important;
    }
    
    .app-screenshots {
        max-width: 600px !important;
        padding: 0 !important;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .pro-wrapper {
        grid-template-columns: 1fr;
        gap: 50px;
        text-align: center;
    }
    
    .pro-features-grid {
        grid-template-columns: 1fr;
    }
    
    .pricing-card {
        transform: none;
        padding: 40px 32px;
    }
    
    .faq-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 30px;
    }
    
    .footer-section {
        margin-bottom: 20px;
    }
    
    .footer-section h4 {
        margin-bottom: 15px;
        font-size: 1.1rem;
    }
    
    .footer-section ul li {
        margin-bottom: 8px;
    }
    
    .social-links {
        justify-content: center;
        margin-top: 20px;
    }
    
    .hero-stats {
        justify-content: center;
    }
    
    .beta-benefits {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero {
        padding: 100px 0 50px;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    .feature-card {
        padding: 25px;
    }
    
    .form-group {
        flex-direction: column;
    }
    
    .form-group input,
    .form-group button {
        width: 100%;
    }
}

/* Hero tagline styles */
.hero-tagline {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1rem;
    letter-spacing: -0.5px;
}

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

.modal-content {
    background-color: var(--card-color);
    margin: 5% auto;
    padding: 0;
    border-radius: var(--border-radius);
    width: 90%;
    max-width: 500px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: modalSlideIn 0.3s ease;
}

.modal-content.dashboard {
    max-width: 600px;
}

@keyframes modalSlideIn {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

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

.close {
    color: var(--text-secondary);
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.2s ease;
}

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

/* Login Form Styles */
.login-form {
    padding: 24px;
}

.form-field {
    margin-bottom: 20px;
}

.form-field label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--text-color);
}

.form-field input {
    width: 100%;
    padding: 16px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: var(--border-radius-small);
    font-size: 1rem;
    transition: all 0.2s ease;
    background-color: var(--light-color);
}

.form-field input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(0, 122, 255, 0.1);
}

.full-width {
    width: 100%;
    margin-bottom: 16px;
}

.login-note {
    text-align: center;
    color: var(--text-secondary);
    font-size: 0.875rem;
    margin: 0;
}

/* Dashboard Styles */
.dashboard-content {
    padding: 24px;
}

.profile-section {
    margin-bottom: 32px;
}

.profile-header {
    display: flex;
    align-items: center;
    gap: 16px;
}

.profile-avatar {
    width: 60px;
    height: 60px;
    background: var(--gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
}

.profile-info h3 {
    margin: 0 0 4px 0;
    color: var(--text-color);
}

.profile-info p {
    margin: 0 0 8px 0;
    color: var(--text-secondary);
}

.role-badge {
    background: var(--gradient);
    color: white;
    padding: 4px 12px;
    border-radius: var(--border-radius-small);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
}

/* Subscription Section */
.subscription-section {
    margin-bottom: 32px;
}

.subscription-section h4 {
    margin-bottom: 16px;
    color: var(--text-color);
}

.subscription-card {
    background: var(--light-color);
    padding: 20px;
    border-radius: var(--border-radius-small);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.subscription-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.sub-tier {
    font-weight: 600;
    color: var(--text-color);
}

.sub-status {
    font-size: 0.875rem;
    color: var(--success-color);
}

/* Settings Section */
.settings-section {
    margin-bottom: 32px;
}

.settings-section h4 {
    margin-bottom: 16px;
    color: var(--text-color);
}

.setting-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.setting-item:last-child {
    border-bottom: none;
}

.setting-item label {
    color: var(--text-color);
    font-weight: 500;
}

/* Toggle Switch Styles */
input[type="checkbox"] {
    position: relative;
    width: 50px;
    height: 30px;
    appearance: none;
    background: #ddd;
    border-radius: 15px;
    outline: none;
    cursor: pointer;
    transition: background 0.2s ease;
}

input[type="checkbox"]:checked {
    background: var(--primary-color);
}

input[type="checkbox"]:before {
    content: '';
    position: absolute;
    top: 3px;
    left: 3px;
    width: 24px;
    height: 24px;
    background: var(--card-color);
    border-radius: 50%;
    transition: transform 0.2s ease;
}

input[type="checkbox"]:checked:before {
    transform: translateX(20px);
}

/* Mobile Modal Styles */
@media (max-width: 768px) {
    .modal-content {
        margin: 15% auto;
        width: 90%;
        max-height: 80vh;
        overflow-y: auto;
    }
    
    .modal-header {
        padding: 20px;
    }
    
    .login-form {
        padding: 20px;
    }
    
    .subscription-card {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
    
    .setting-item {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }
}