/* TaskTimed Landing Page Styles */

/* CSS Variables - Light Theme */
:root {
    --primary: #2563eb;
    --primary-dark: #1d4ed8;
    --primary-light: #3b82f6;
    --secondary: #0f172a;
    --accent: #06b6d4;
    --success: #10b981;
    --warning: #f59e0b;
    --danger: #ef4444;
    --text: #1e293b;
    --text-light: #64748b;
    --text-lighter: #94a3b8;
    --bg: #ffffff;
    --bg-light: #f8fafc;
    --bg-dark: #0f172a;
    --border: #e2e8f0;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --radius: 12px;
    --radius-lg: 16px;
    --transition: all 0.3s ease;
    
    /* Theme specific */
    --nav-bg: rgba(255, 255, 255, 0.95);
    --nav-border: var(--border);
    --card-bg: var(--bg-light);
    --card-border: transparent;
    --phone-bg: var(--secondary);
    --phone-screen-bg: white;
    --footer-bg: var(--secondary);
    --footer-text: white;
    --footer-text-muted: var(--text-lighter);
    --highlight-bg: rgba(37, 99, 235, 0.2);
}

/* Dark Theme (default) */
[data-theme="dark"] {
    --primary: #3b82f6;
    --primary-dark: #2563eb;
    --primary-light: #60a5fa;
    --secondary: #f8fafc;
    --text: #f1f5f9;
    --text-light: #94a3b8;
    --text-lighter: #64748b;
    --bg: #0f172a;
    --bg-light: #1e293b;
    --bg-dark: #020617;
    --border: #334155;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.3), 0 2px 4px -1px rgba(0, 0, 0, 0.2);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.4), 0 4px 6px -2px rgba(0, 0, 0, 0.3);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.5), 0 10px 10px -5px rgba(0, 0, 0, 0.3);
    
    /* Theme specific */
    --nav-bg: rgba(15, 23, 42, 0.95);
    --nav-border: var(--border);
    --card-bg: var(--bg-light);
    --card-border: var(--border);
    --phone-bg: #1e293b;
    --phone-screen-bg: #0f172a;
    --footer-bg: #020617;
    --footer-text: #f1f5f9;
    --footer-text-muted: #94a3b8;
    --highlight-bg: rgba(59, 130, 246, 0.3);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text);
    background: var(--bg);
    overflow-x: hidden;
    transition: background-color 0.3s ease, color 0.3s ease;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    color: var(--text);
}

h1 { font-size: clamp(2.5rem, 5vw, 4rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.5rem); }

p {
    color: var(--text-light);
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--primary-dark);
}

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

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: var(--radius);
    border: 2px solid transparent;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
}

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

.btn-primary:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
    color: white;
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-outline {
    background: transparent;
    color: var(--primary);
    border-color: var(--primary);
}

.btn-outline:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-2px);
}

.btn-lg {
    padding: 16px 32px;
    font-size: 1.125rem;
}

.btn-block {
    width: 100%;
}

/* Theme Toggle Button */
.theme-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: transparent;
    border: 2px solid var(--border);
    border-radius: 50%;
    cursor: pointer;
    transition: var(--transition);
    margin-right: 16px;
    font-size: 1.25rem;
}

.theme-toggle:hover {
    background: var(--bg-light);
    border-color: var(--primary);
}

.theme-icon {
    transition: var(--transition);
}

.theme-icon.light {
    display: none;
}

.theme-icon.dark {
    display: block;
}

[data-theme="dark"] .theme-icon.light {
    display: block;
}

[data-theme="dark"] .theme-icon.dark {
    display: none;
}

.mobile-theme-toggle {
    width: 100%;
    height: auto;
    border-radius: var(--radius);
    margin-right: 0;
    margin-bottom: 8px;
    padding: 12px 24px;
    font-size: 1rem;
    justify-content: flex-start;
    gap: 8px;
}

.mobile-theme-toggle .theme-icon {
    font-size: 1rem;
}

.mobile-theme-toggle .theme-icon.light::before {
    content: 'Switch to Light Mode';
}

.mobile-theme-toggle .theme-icon.dark::before {
    content: 'Switch to Dark Mode';
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: var(--nav-bg);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--nav-border);
    transition: var(--transition);
}

.navbar.scrolled {
    box-shadow: var(--shadow);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text);
}

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

.logo-icon {
    font-size: 1.75rem;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-links a {
    color: var(--text);
    font-weight: 500;
}

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

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.mobile-menu-btn span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text);
    transition: var(--transition);
}

.mobile-menu {
    display: none;
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    background: var(--bg);
    padding: 24px;
    flex-direction: column;
    gap: 16px;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow);
    z-index: 999;
}

.mobile-menu.active {
    display: flex;
}

.mobile-menu a {
    color: var(--text);
    font-weight: 500;
    padding: 8px 0;
}

/* Hero Section */
.hero {
    padding: 140px 0 80px;
    background: linear-gradient(180deg, var(--bg-light) 0%, var(--bg) 100%);
    overflow: hidden;
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-content {
    max-width: 600px;
}

.hero-title {
    margin-bottom: 24px;
    color: var(--text);
}

.hero-title .highlight {
    color: var(--primary);
    position: relative;
}

.hero-title .highlight::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 0;
    right: 0;
    height: 8px;
    background: var(--highlight-bg);
    z-index: -1;
    border-radius: 4px;
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 32px;
    color: var(--text-light);
}

.hero-cta {
    display: flex;
    gap: 16px;
    margin-bottom: 16px;
}

.hero-note {
    font-size: 0.875rem;
    color: var(--text-lighter);
}

/* Phone Mockup */
.hero-visual {
    display: flex;
    justify-content: center;
}

.phone-mockup {
    width: 280px;
    height: 560px;
    background: var(--phone-bg);
    border-radius: 40px;
    padding: 12px;
    box-shadow: var(--shadow-xl);
    position: relative;
}

.phone-mockup::before {
    content: '';
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 24px;
    background: #000;
    border-radius: 12px;
}

.phone-screen {
    width: 100%;
    height: 100%;
    background: var(--phone-screen-bg);
    border-radius: 32px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.app-header {
    padding: 40px 16px 16px;
    background: var(--primary);
    color: white;
}

.app-title {
    font-weight: 700;
    font-size: 1.125rem;
}

.voice-input-demo {
    padding: 24px 16px;
    text-align: center;
    background: var(--bg-light);
}

.mic-icon {
    font-size: 2.5rem;
    margin-bottom: 12px;
    animation: pulse 2s infinite;
}

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

.voice-text {
    font-size: 0.875rem;
    color: var(--text-light);
    font-style: italic;
}

.task-preview {
    padding: 16px;
    flex: 1;
}

.task-card {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 16px;
    box-shadow: var(--shadow);
}

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

.task-meta {
    display: flex;
    gap: 8px;
}

.tag {
    font-size: 0.75rem;
    padding: 4px 8px;
    border-radius: 6px;
    font-weight: 500;
}

.tag.priority-high {
    background: #fef2f2;
    color: var(--danger);
}

[data-theme="dark"] .tag.priority-high {
    background: rgba(239, 68, 68, 0.2);
}

.tag.date {
    background: var(--highlight-bg);
    color: var(--primary);
}

/* Section Styles */
.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px;
}

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

.section-subtitle {
    font-size: 1.125rem;
}

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

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

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

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 16px;
}

.feature-title {
    margin-bottom: 12px;
    color: var(--text);
}

.feature-desc {
    font-size: 0.95rem;
}

/* How It Works Section */
.how-it-works {
    padding: 100px 0;
    background: var(--bg-light);
}

.steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-bottom: 80px;
}

.step {
    text-align: center;
}

.step-number {
    width: 64px;
    height: 64px;
    background: var(--primary);
    color: white;
    font-size: 1.5rem;
    font-weight: 800;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
}

.step-content h3 {
    margin-bottom: 12px;
    color: var(--text);
}

.use-cases {
    text-align: center;
}

.use-cases h3 {
    margin-bottom: 32px;
    color: var(--text);
}

.use-case-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.use-case {
    padding: 24px;
    background: var(--bg);
    border-radius: var(--radius);
    text-align: left;
    border: 1px solid var(--border);
}

.use-case strong {
    display: block;
    margin-bottom: 8px;
    color: var(--text);
}

.use-case p {
    font-size: 0.875rem;
}

/* Pricing Section */
.pricing {
    padding: 100px 0;
    background: var(--bg);
}

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

.pricing-card {
    background: var(--bg);
    border: 2px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 32px;
    position: relative;
    transition: var(--transition);
}

.pricing-card:hover {
    border-color: var(--primary);
}

.pricing-card.featured {
    border-color: var(--primary);
    box-shadow: var(--shadow-xl);
    transform: scale(1.05);
}

.pricing-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary);
    color: white;
    padding: 4px 16px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
}

.pricing-header {
    text-align: center;
    margin-bottom: 24px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--border);
}

.pricing-header h3 {
    color: var(--text);
    margin-bottom: 8px;
}

.price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 4px;
}

.price .amount {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--text);
}

.price .period {
    color: var(--text-light);
}

.price-note {
    font-size: 0.875rem;
    color: var(--text-lighter);
    margin-top: 4px;
}

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

.pricing-features li {
    padding: 8px 0;
    color: var(--text);
}

.pricing-features li.disabled {
    color: var(--text-lighter);
}

.pricing-footer {
    text-align: center;
    color: var(--text-light);
}

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

.cta h2 {
    margin-bottom: 16px;
    color: white;
}

.cta p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 32px;
    font-size: 1.125rem;
}

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

.cta .btn-primary:hover {
    background: var(--bg-light);
    border-color: var(--bg-light);
}

/* Footer */
.footer {
    padding: 60px 0 30px;
    background: var(--footer-bg);
    color: var(--footer-text);
}

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

.footer-brand .logo {
    color: var(--footer-text);
    margin-bottom: 16px;
}

.footer-brand .logo:hover {
    color: var(--footer-text);
}

.footer-brand p {
    color: var(--footer-text-muted);
    font-size: 0.875rem;
}

.footer-links h4 {
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 16px;
    color: var(--footer-text-muted);
}

.footer-links a {
    display: block;
    color: var(--footer-text);
    padding: 4px 0;
    font-size: 0.95rem;
}

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

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

.footer-bottom p {
    color: var(--footer-text-muted);
    font-size: 0.875rem;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .pricing-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 0 auto 40px;
    }
    
    .pricing-card.featured {
        transform: none;
    }
    
    .use-case-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .mobile-menu-btn {
        display: flex;
    }
    
    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-content {
        max-width: 100%;
    }
    
    .hero-cta {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-visual {
        order: -1;
    }
    
    .phone-mockup {
        width: 240px;
        height: 480px;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .steps {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .use-case-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-brand .logo {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 120px 0 60px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .btn-lg {
        padding: 14px 24px;
        font-size: 1rem;
    }
    
    .section-header {
        margin-bottom: 40px;
    }
    
    .features, .how-it-works, .pricing {
        padding: 60px 0;
    }
    
    .cta {
        padding: 60px 0;
    }
}

/* Privacy Page Styles */
.privacy-page {
    padding-top: 120px;
    padding-bottom: 60px;
    min-height: 100vh;
}

.privacy-content {
    max-width: 800px;
    margin: 0 auto;
}

.privacy-content h1 {
    margin-bottom: 16px;
}

.last-updated {
    color: var(--text-lighter);
    margin-bottom: 40px;
    font-size: 0.875rem;
}

.privacy-content h2 {
    margin-top: 40px;
    margin-bottom: 16px;
    font-size: 1.5rem;
    color: var(--text);
}

.privacy-content h3 {
    margin-top: 24px;
    margin-bottom: 12px;
    font-size: 1.125rem;
    color: var(--text);
}

.privacy-content p {
    margin-bottom: 16px;
}

.privacy-content ul {
    margin-bottom: 16px;
    padding-left: 24px;
}

.privacy-content li {
    margin-bottom: 8px;
    color: var(--text-light);
}

.privacy-content a {
    color: var(--primary);
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 24px;
    color: var(--primary);
    font-weight: 500;
}

.back-link:hover {
    color: var(--primary-dark);
}

.contact-box {
    background: var(--bg-light);
    border-radius: var(--radius);
    padding: 24px;
    margin-top: 40px;
}

.contact-box h3 {
    margin-top: 0;
}
