/* Landing Page Styles - Apple-inspired Design */

/* CSS Variables */
:root {
    --primary-color: #007AFF;
    --secondary-color: #5856D6;
    --success-color: #34C759;
    --warning-color: #FF9500;
    --error-color: #FF3B30;
    --background-color: #F2F2F7;
    --surface-color: #FFFFFF;
    --text-primary: #000000;
    --text-secondary: #6D6D80;
    --border-color: #E5E5EA;
    --shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 4px 20px rgba(0, 0, 0, 0.15);
    --border-radius: 12px;
    --transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

body {
    font-family: 'SF Pro Display', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-color: var(--background-color);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    word-wrap: break-word;
    hyphens: auto;
}

.screen {
    min-height: 100vh;
    transition: var(--transition);
}

.hidden {
    display: none !important;
}

/* Navigation */
.landing-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    z-index: 1000;
    padding: 16px 0;
}

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

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    color: var(--text-primary);
    cursor: pointer;
    padding: 8px;
    transition: var(--transition);
}

.mobile-menu-toggle:hover {
    color: var(--primary-color);
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.nav-logo {
    width: 32px;
    height: 32px;
    border-radius: 6px;
    object-fit: cover;
}

.nav-brand h2 {
    font-size: 24px;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-actions {
    display: flex;
    gap: 12px;
}

/* Dropdown Navigation */
.nav-dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    position: relative;
    padding: 8px 12px;
    border-radius: var(--border-radius-sm);
    background: transparent;
    border: none;
}

.dropdown-toggle:hover {
    color: var(--primary-color);
    background: transparent;
}

.dropdown-toggle i {
    font-size: 0.8em;
    transition: transform 0.3s ease;
}

.nav-dropdown:hover .dropdown-toggle i {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    right: 0;
    background: white;
    border-radius: var(--border-radius);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    border: 1px solid var(--border-color);
    min-width: 320px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    z-index: 1001;
    margin-top: 8px;
}

.nav-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-header {
    padding: 16px 20px 12px;
    border-bottom: 1px solid var(--border-color);
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
}

.challenge-text {
    font-size: 0.9em;
    font-weight: 600;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.dropdown-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 14px 20px;
    color: var(--text-primary);
    text-decoration: none;
    transition: all 0.2s ease;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

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

.dropdown-item:hover {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    transform: translateX(4px);
    color: var(--primary-color);
}

.dropdown-item.current {
    background: var(--primary-color);
    color: white;
}

.dropdown-item.current:hover {
    background: var(--primary-color);
    transform: translateX(0);
}

.week-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    height: 32px;
    background: var(--primary-color);
    color: white;
    border-radius: 6px;
    font-size: 0.8em;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.dropdown-item.current .week-badge {
    background: rgba(255, 255, 255, 0.2);
}

.week-badge.current {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    box-shadow: 0 2px 8px rgba(0, 122, 255, 0.3);
}

.product-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
    flex: 1;
}

.product-name {
    font-weight: 600;
    font-size: 0.95em;
    line-height: 1.2;
}

.product-desc {
    font-size: 0.8em;
    opacity: 0.7;
    line-height: 1.2;
}

.dropdown-item.current .product-desc {
    opacity: 0.9;
}

.section-nav {
    display: flex;
    gap: 24px;
    align-items: center;
}

.mobile-nav-menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    padding: 20px 24px;
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.mobile-nav-menu.active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
}

.mobile-nav-links {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 16px;
}

.mobile-nav-links .nav-link {
    padding: 12px 0;
    font-size: 16px;
    border-bottom: 1px solid var(--border-color);
}

.mobile-nav-links .nav-link:last-child {
    border-bottom: none;
}

.nav-link {
    color: var(--text-primary);
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    padding: 8px 16px;
    border-radius: 8px;
    transition: var(--transition);
    position: relative;
}

.nav-link:hover {
    background: var(--background-color);
    color: var(--primary-color);
}

.nav-button {
    padding: 10px 20px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    font-family: inherit;
}

.nav-button.secondary {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--border-color);
}

.nav-button.secondary:hover {
    background: var(--background-color);
    border-color: var(--primary-color);
}

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

.nav-button.primary:hover {
    background: #0056b3;
    transform: translateY(-1px);
}

/* Hero Section */
.hero-section {
    padding: 120px 0 80px;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 20%, rgba(0, 122, 255, 0.05) 0%, transparent 50%),
                radial-gradient(circle at 70% 80%, rgba(88, 86, 214, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

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

.hero-title {
    font-size: 48px;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 24px;
    color: var(--text-primary);
    word-wrap: break-word;
    hyphens: auto;
}

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

.hero-subtitle {
    font-size: 20px;
    color: var(--text-secondary);
    margin-bottom: 40px;
    line-height: 1.5;
}

.hero-cta {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 16px 32px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    font-family: inherit;
    text-decoration: none;
    justify-content: center;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.cta-button.primary {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    box-shadow: 0 4px 20px rgba(0, 122, 255, 0.3);
}

.cta-button.primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0, 122, 255, 0.4);
}

.cta-button.large {
    padding: 20px 40px;
    font-size: 18px;
}

.cta-hint {
    font-size: 14px;
    color: var(--text-secondary);
    text-align: center;
}

/* Hero Visual */
.hero-visual {
    z-index: 1;
    position: relative;
}

.app-preview {
    display: flex;
    flex-direction: row;
    gap: 30px;
    align-items: stretch;
    justify-content: center;
}

.preview-card {
    background: white;
    border-radius: 16px;
    padding: 20px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: var(--transition);
    flex: 1;
    max-width: 400px;
    min-width: 300px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.preview-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.15);
}

.preview-card.x-post {
    border-left: 4px solid #1DA1F2;
}

.preview-card.youtube {
    border-left: 4px solid #FF0000;
}

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

.preview-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    overflow: hidden;
}

.avatar-logo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.preview-info {
    flex: 1;
    text-align: left;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.preview-name {
    font-weight: 600;
    font-size: 14px;
    color: var(--text-primary);
    text-align: left;
    margin: 0;
    line-height: 1.2;
}

.preview-time {
    font-size: 12px;
    color: var(--text-secondary);
    text-align: left;
    margin: 0;
    line-height: 1.2;
}

.preview-content p {
    font-size: 14px;
    line-height: 1.4;
    margin-bottom: 16px;
    color: var(--text-primary);
    flex-grow: 1;
}

.preview-image {
    border-radius: 8px;
    overflow: hidden;
    background: linear-gradient(135deg, #f0f0f0, #e0e0e0);
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.image-placeholder {
    color: var(--text-secondary);
    font-size: 12px;
    font-weight: 500;
}

.preview-video {
    border-radius: 8px;
    overflow: hidden;
    margin: 12px 0;
}

.preview-video .video-player {
    height: 200px;
    margin-bottom: 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.video-preview {
    text-align: center;
}

.video-placeholder {
    background: linear-gradient(135deg, #000, #1a1a1a);
    color: white;
    padding: 40px 20px;
    border-radius: 8px;
    margin-bottom: 16px;
    font-size: 12px;
    font-weight: 500;
}

.video-player {
    width: 100%;
    height: 200px;
    border-radius: 8px;
    margin-bottom: 16px;
    object-fit: cover;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    background: transparent;
    transition: transform 0.3s ease;
    /* Ensure video displays at full brightness */
    filter: none !important;
    opacity: 1 !important;
    /* Override any inherited dark styles */
    color: inherit;
    mix-blend-mode: normal;
    /* Maintain aspect ratio */
    aspect-ratio: 16/9;
    object-position: center;
}

/* Additional video element overrides */
.video-player video {
    filter: none !important;
    opacity: 1 !important;
    background: transparent !important;
}

/* Ensure video source elements are also unaffected */
.video-player source {
    filter: none !important;
    opacity: 1 !important;
}

.video-player:hover {
    transform: scale(1.02);
}

/* Video player controls styling */
.video-player::-webkit-media-controls {
    background: rgba(255, 255, 255, 0.1);
}

.video-player::-webkit-media-controls-panel {
    background: rgba(255, 255, 255, 0.1);
}

/* Video preview container */
.video-preview {
    position: relative;
}

.youtube-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
    padding: 8px 12px;
    background: rgba(255, 0, 0, 0.05);
    border-radius: 8px;
    border: 1px solid rgba(255, 0, 0, 0.1);
}

.youtube-logo {
    width: 20px;
    height: 20px;
    object-fit: contain;
    border-radius: 4px;
}

.youtube-account {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
}

.video-info h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.video-info p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.4;
    flex-grow: 1;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    width: 100%;
    box-sizing: border-box;
}

/* Value Section */
.value-section {
    padding: 80px 0;
    background: white;
}

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

.value-header h2 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.value-header p {
    font-size: 18px;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

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

@media (max-width: 480px) {
    .value-cards {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

.value-card {
    text-align: center;
    padding: 40px 24px;
    background: var(--background-color);
    border-radius: 16px;
    transition: var(--transition);
}

.value-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.card-icon {
    font-size: 48px;
    margin-bottom: 24px;
}

.value-card h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.value-card p {
    color: var(--text-secondary);
    line-height: 1.5;
}

/* Features Section */
.features-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
}

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

.features-header h2 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.features-header p {
    font-size: 18px;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

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

@media (max-width: 480px) {
    .features-grid {
        grid-template-columns: 1fr;
    }
}

.feature-item {
    background: white;
    padding: 40px;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

.feature-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
}

.feature-icon {
    margin-bottom: 24px;
}

.platform-logo {
    width: 48px;
    height: 48px;
    object-fit: contain;
    border-radius: 8px;
}

.feature-item h3 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--text-primary);
}

.feature-item ul {
    list-style: none;
    padding: 0;
}

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

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

/* How It Works Section */
.how-it-works-section {
    padding: 80px 0;
    background: white;
    text-align: center;
}

.how-it-works-section h2 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 60px;
    color: var(--text-primary);
}

.steps {
    display: flex;
    justify-content: center;
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    flex-wrap: nowrap;
}

.step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    flex: 1;
    max-width: 300px;
    min-width: 250px;
}

.step-number {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 700;
}

.step-content h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.step-content p {
    color: var(--text-secondary);
    line-height: 1.4;
    font-size: 14px;
    text-align: center;
    max-width: 200px;
}

/* CTA Section */
.cta-section {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    text-align: center;
    color: white;
}

.cta-section h2 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 16px;
}

.cta-section p {
    font-size: 18px;
    margin-bottom: 40px;
    opacity: 0.9;
}

.cta-section .cta-button {
    background: white;
    color: var(--primary-color);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.cta-section .cta-button:hover {
    background: #f8f9fa;
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
}

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

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 30px;
}

.footer-brand h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.footer-brand p {
    color: var(--text-secondary);
    line-height: 1.5;
    font-size: 14px;
}

.footer-links {
    display: flex;
    gap: 30px;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.2s;
}

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

.footer-separator {
    height: 1px;
    background: var(--border-color);
    margin-bottom: 20px;
}

.footer-bottom {
    text-align: center;
    color: var(--text-secondary);
    font-size: 14px;
}

/* Modal Styles */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.modal-overlay.hidden {
    display: none;
}

.modal-container {
    background: white;
    border-radius: 16px;
    width: 100%;
    max-width: 500px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: modalSlideIn 0.3s ease-out;
}

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

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

.modal-header h2 {
    margin: 0;
    font-size: 24px;
    font-weight: 600;
    color: var(--text-primary);
}

.modal-close {
    background: none;
    border: none;
    font-size: 28px;
    color: var(--text-secondary);
    cursor: pointer;
    padding: 4px;
    line-height: 1;
    transition: color 0.2s;
}

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

.modal-content {
    padding: 0 24px 24px 24px;
}

/* Login Container Styles (reused from original) */
.login-container {
    text-align: center;
}

.logo h1 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 8px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.logo p {
    color: var(--text-secondary);
    font-size: 16px;
    margin-bottom: 24px;
}

.value-prop {
    margin-bottom: 24px;
}

.one-thing {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    color: white;
    padding: 16px 24px;
    border-radius: 16px;
    font-weight: 600;
    font-size: 15px;
    box-shadow: var(--shadow);
    white-space: nowrap;
    display: block;
    width: 100%;
    letter-spacing: 0.3px;
    line-height: 1.2;
    margin-bottom: 10px;
}

.features-preview {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: nowrap;
    align-items: center;
}

.feature {
    color: var(--text-secondary);
    font-size: 12px;
    font-weight: 500;
    padding: 6px 10px;
    background: rgba(0, 122, 255, 0.06);
    border-radius: 6px;
    border: 1px solid rgba(0, 122, 255, 0.1);
    white-space: nowrap;
    flex-shrink: 0;
}

/* Social Sign-In Buttons */
.social-signin-buttons {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 24px;
}

.social-signin-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 16px 24px;
    border: 2px solid var(--border-color);
    border-radius: 16px;
    background: var(--surface-color);
    color: var(--text-primary);
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.social-signin-btn:hover {
    transform: translateY(-1px);
    box-shadow: var(--shadow-hover);
    border-color: #d1d1d6;
}

.social-signin-btn:active {
    transform: translateY(0);
}

.social-signin-btn.loading {
    pointer-events: none;
    opacity: 0.7;
}

.social-signin-btn.apple {
    background: #000;
    color: white;
    border-color: #000;
}

.social-signin-btn.apple:hover {
    background: #1d1d1f;
    border-color: #1d1d1f;
}

.social-signin-btn.google {
    border-color: #dadce0;
}

.social-signin-btn.google:hover {
    border-color: #d2d4d7;
}

.btn-icon {
    margin-right: 12px;
    display: flex;
    align-items: center;
}

.btn-spinner {
    width: 20px;
    height: 20px;
    border: 2px solid #f3f3f3;
    border-top: 2px solid currentColor;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-right: 12px;
    display: none;
}

.social-signin-btn.loading .btn-spinner {
    display: block;
}

.social-signin-btn.loading .btn-icon {
    display: none;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Trust Signals */
.trust-signals {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 24px;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text-secondary);
    font-size: 14px;
}

.trust-icon {
    font-size: 16px;
}

/* Error Message */
.error-message {
    background: var(--error-color);
    color: white;
    padding: 12px 16px;
    border-radius: var(--border-radius);
    margin-bottom: 16px;
    display: none;
    font-size: 14px;
}

.error-message.show {
    display: block;
}

/* Animation Classes */
.animate-in {
    animation: fadeInUp 0.6s ease-out forwards;
}

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

/* Stagger animations for cards */
.value-card:nth-child(1) { animation-delay: 0.1s; }
.value-card:nth-child(2) { animation-delay: 0.2s; }
.value-card:nth-child(3) { animation-delay: 0.3s; }

.feature-item:nth-child(1) { animation-delay: 0.1s; }
.feature-item:nth-child(2) { animation-delay: 0.2s; }

.step:nth-child(1) { animation-delay: 0.1s; }
.step:nth-child(2) { animation-delay: 0.2s; }
.step:nth-child(3) { animation-delay: 0.3s; }

/* Initial state for animation */
.value-card,
.feature-item,
.step {
    opacity: 0;
    transform: translateY(30px);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: 60px;
        text-align: center;
    }
    
    .hero-title {
        font-size: 40px;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .nav-container {
        padding: 0 16px;
        position: relative;
    }
    
    .mobile-menu-toggle {
        display: block;
    }
    
    .nav-actions {
        display: none;
    }
    
    .hero-section {
        padding: 100px 0 60px;
    }
    
    .hero-title {
        font-size: 32px;
        line-height: 1.2;
    }
    
    .hero-subtitle {
        font-size: 18px;
        margin-bottom: 32px;
    }
    
    .hero-container {
        padding: 0 16px;
    }
    
    .app-preview {
        flex-direction: column;
        gap: 20px;
        align-items: center;
    }
    
    .preview-card {
        max-width: 100%;
        min-width: unset;
        width: 100%;
    }
    
    .container {
        padding: 0 16px;
    }
    
    .value-cards {
        grid-template-columns: 1fr;
    }
    
    .steps {
        flex-direction: column;
        align-items: center;
        gap: 30px;
    }
    
    .footer-content {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 12px;
    }
    
    .cta-button.large {
        padding: 16px 24px;
        font-size: 16px;
        width: 100%;
    }
    
    .beta-signup-form {
        padding: 24px 16px;
        margin: 0 16px;
    }
    
    .nav-brand h2 {
        font-size: 20px;
    }
    
    .video-player {
        height: auto;
        min-height: 200px;
        max-height: 160px;
        aspect-ratio: 16/9;
    }
}

@media (max-width: 480px) {
    /* Further reduce gap on very small screens */
    .dropdown-menu {
        right: 0 !important;
        left: auto !important;
        transform: translateY(-10px) !important;
        min-width: 280px;
    }

    .nav-dropdown.active .dropdown-menu,
    .nav-dropdown:hover .dropdown-menu {
        transform: translateY(0);
    }

    .dropdown-toggle {
        min-width: 180px;
        font-size: 14px;
        padding: 10px 14px;
        background: transparent;
        border: none;
    }

    .nav-dropdown {
        margin: 0;
        position: relative;
        top: auto;
        right: auto;
    }

    /* Ensure nav-actions is visible on small screens */
    .nav-actions {
        display: flex;
        justify-content: flex-end;
        align-items: center;
    }

    .nav-brand h2 {
        font-size: 20px;
    }

    .nav-logo {
        width: 28px;
        height: 28px;
    }

    /* Even more aggressive spacing reduction on very small screens */
    .dropdown-item {
        gap: 4px;
        padding: 8px 14px;
    }

    .week-badge {
        min-width: 32px;
        height: 24px;
        font-size: 0.65em;
    }

    .product-name {
        font-size: 0.9em;
    }

    .product-desc {
        font-size: 0.75em;
    }
}

/* Beta Signup Form Styles */
.beta-signup-form {
    background: white;
    border-radius: 16px;
    padding: 32px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(0, 0, 0, 0.05);
    max-width: 600px;
    margin: 0 auto;
    text-align: left;
}

.beta-signup-form.secondary {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
}

.beta-signup-form h3 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text-primary);
    text-align: center;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.signup-description {
    font-size: 16px;
    color: var(--text-secondary);
    margin-bottom: 24px;
    text-align: center;
    line-height: 1.5;
}

.signup-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 20px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.signup-form input {
    padding: 16px 20px;
    border: 2px solid var(--border-color);
    border-radius: 12px;
    font-size: 16px;
    font-family: inherit;
    transition: var(--transition);
    background: white;
    color: var(--text-primary);
}

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

.signup-form input::placeholder {
    color: var(--text-secondary);
}

.signup-form .cta-button {
    margin-top: 8px;
    position: relative;
    overflow: hidden;
}

.signup-form .cta-button:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.signup-form .cta-button.loading .btn-text {
    opacity: 0;
}

.signup-form .cta-button.loading .fas {
    display: none;
}

.signup-form .cta-button .btn-spinner {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 20px;
    height: 20px;
    border: 2px solid transparent;
    border-top: 2px solid currentColor;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

.signup-form .cta-button .btn-spinner.hidden {
    display: none;
}

.signup-form .cta-button.loading .btn-spinner {
    display: block;
}

.beta-message {
    padding: 16px 20px;
    border-radius: 12px;
    margin-bottom: 16px;
    font-size: 14px;
    font-weight: 500;
    text-align: center;
}

.beta-message.hidden {
    display: none;
}

.beta-message.success {
    background: linear-gradient(135deg, #d4edda, #c3e6cb);
    color: #155724;
    border: 1px solid #c3e6cb;
}

.beta-message.error {
    background: linear-gradient(135deg, #f8d7da, #f1b0b7);
    color: #721c24;
    border: 1px solid #f1b0b7;
}

.signup-hint {
    font-size: 14px;
    color: var(--text-secondary);
    text-align: center;
    margin-bottom: 12px;
    line-height: 1.4;
}

.login-hint {
    font-size: 14px;
    color: var(--text-secondary);
    text-align: center;
    margin: 0;
}

.login-hint a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
}

.login-hint a:hover {
    color: var(--secondary-color);
    text-decoration: underline;
}

/* Additional mobile fixes */
body {
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
}

.hero-cta {
    width: 100%;
    max-width: 100%;
}

.cta-button {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Beta signup form responsive styles */
@media (max-width: 768px) {
    .beta-signup-form {
        padding: 24px 20px;
        margin: 0 16px;
        width: calc(100% - 32px);
        box-sizing: border-box;
    }
    
    .beta-signup-form h3 {
        font-size: 24px;
    }
    
    .signup-description {
        font-size: 15px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .signup-form input {
        padding: 14px 16px;
        font-size: 16px;
        width: 100%;
        box-sizing: border-box;
    }
    
    .signup-form {
        width: 100%;
    }

    /* Mobile Navigation - Show only AI Products dropdown */
    .landing-nav {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        gap: 16px;
        text-align: center;
    }

    .nav-brand {
        order: 1;
    }

    .nav-dropdown {
        order: 2;
        margin: 0;
    }

    .nav-actions {
        order: 3;
    }

    /* Mobile dropdown styles */
    .dropdown-menu {
        position: absolute;
        top: 100%;
        right: 0;
        left: auto;
        transform: translateY(-10px);
        background: white;
        box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
        border: 1px solid var(--border-color);
        border-radius: var(--border-radius);
        min-width: 320px;
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
        z-index: 1002;
        margin-top: 8px;
        max-height: 80vh;
        overflow-y: auto;
    }

    .nav-dropdown.active .dropdown-menu,
    .nav-dropdown:hover .dropdown-menu {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    .dropdown-toggle {
        padding: 12px 16px;
        font-size: 16px;
        background: transparent;
        border-radius: 8px;
        min-width: 200px;
        justify-content: center;
        border: none;
    }

    .dropdown-toggle:hover {
        background: transparent;
        color: var(--primary-color);
    }

    /* Reduce gap between week badge and app title on mobile */
    .dropdown-item {
        gap: 8px;
        padding: 10px 16px;
    }

    .week-badge {
        min-width: 36px;
        height: 28px;
        font-size: 0.7em;
    }

    .product-info {
        gap: 1px;
    }

    /* Show nav-actions but hide specific navigation items on mobile */
    .nav-actions {
        display: flex;
        justify-content: flex-end;
        align-items: center;
    }

    /* Hide other navigation links but keep the dropdown */
    .section-nav > .nav-link:not(.dropdown-toggle) {
        display: none;
    }

    /* Hide mobile menu toggle */
    .mobile-menu-toggle {
        display: none;
    }

    .mobile-nav-menu {
        display: none !important;
    }

    /* Remove absolute positioning - keep dropdown in navigation bar */
    .nav-dropdown {
        position: relative;
        top: auto;
        right: auto;
        margin: 0;
        z-index: auto;
    }

    /* Ensure the dropdown is properly positioned and doesn't move */
    .nav-dropdown .dropdown-menu {
        right: 0 !important;
        left: auto !important;
        transform: translateY(-10px) !important;
        position: absolute !important;
    }

    .nav-dropdown.active .dropdown-menu,
    .nav-dropdown:hover .dropdown-menu {
        transform: translateY(0) !important;
        right: 0 !important;
        left: auto !important;
    }

    /* Force positioning with even more specific selector */
    .landing-nav .nav-actions .section-nav .nav-dropdown .dropdown-menu {
        right: 0 !important;
        left: auto !important;
        transform: translateY(-10px) !important;
        position: absolute !important;
    }

    .landing-nav .nav-actions .section-nav .nav-dropdown.active .dropdown-menu,
    .landing-nav .nav-actions .section-nav .nav-dropdown:hover .dropdown-menu {
        transform: translateY(0) !important;
        right: 0 !important;
        left: auto !important;
    }
}

@media (max-width: 480px) {
    /* Further reduce gap on very small screens */
    .dropdown-menu {
        right: 0 !important;
        left: auto !important;
        transform: translateY(-10px) !important;
        min-width: 280px;
    }

    .nav-dropdown.active .dropdown-menu,
    .nav-dropdown:hover .dropdown-menu {
        transform: translateY(0);
    }

    .dropdown-toggle {
        min-width: 180px;
        font-size: 14px;
        padding: 10px 14px;
        background: transparent;
        border: none;
    }

    .nav-dropdown {
        margin: 0;
        position: relative;
        top: auto;
        right: auto;
    }

    /* Ensure nav-actions is visible on small screens */
    .nav-actions {
        display: flex;
        justify-content: flex-end;
        align-items: center;
    }

    .nav-brand h2 {
        font-size: 20px;
    }

    .nav-logo {
        width: 28px;
        height: 28px;
    }

    /* Even more aggressive spacing reduction on very small screens */
    .dropdown-item {
        gap: 4px;
        padding: 8px 14px;
    }

    .week-badge {
        min-width: 32px;
        height: 24px;
        font-size: 0.65em;
    }

    .product-name {
        font-size: 0.9em;
    }

    .product-desc {
        font-size: 0.75em;
    }
}

/* Success state for beta signup */
.beta-success-state {
    text-align: center;
    padding: 40px 32px;
    display: none;
}

.beta-success-state.show {
    display: block;
}

.beta-success-state .success-icon {
    font-size: 4rem;
    color: var(--success-color);
    margin-bottom: 20px;
}

.beta-success-state h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.beta-success-state p {
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.5;
    margin-bottom: 24px;
}

.beta-success-state .login-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    padding: 12px 24px;
    border: 2px solid var(--primary-color);
    border-radius: 12px;
    transition: var(--transition);
}

.beta-success-state .login-link:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-1px);
}
