/* Visual Time Travel - Landing Page & Privacy Policy Styles */

/* CSS Variables for Theme */
:root {
    /* Dark Theme Colors */
    --bg-primary: #121212;
    --bg-secondary: #1e1e1e;
    --bg-tertiary: #2d2d2d;
    --text-primary: #ffffff;
    --text-secondary: #b3b3b3;
    --accent-primary: #4a6cf7;
    --accent-secondary: #6d8dff;
    --accent-tertiary: #3a5ce7;
    --success: #4caf50;
    --warning: #ff9800;
    --danger: #f44336;
    --border-color: #333333;
    
    /* Spacing */
    --spacing-xs: 0.25rem;
    --spacing-sm: 0.5rem;
    --spacing-md: 1rem;
    --spacing-lg: 1.5rem;
    --spacing-xl: 2rem;
    --spacing-xxl: 3rem;
    
    /* Typography */
    --font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    --font-size-xs: 0.75rem;
    --font-size-sm: 0.875rem;
    --font-size-md: 1rem;
    --font-size-lg: 1.25rem;
    --font-size-xl: 1.5rem;
    --font-size-xxl: 2rem;
    
    /* Border Radius */
    --border-radius-sm: 4px;
    --border-radius-md: 8px;
    --border-radius-lg: 12px;
    --border-radius-xl: 16px;
    
    /* Shadows */
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 8px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 8px 16px rgba(0, 0, 0, 0.14);
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
    
    /* Container */
    --container-width: 1200px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    font-size: var(--font-size-md);
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--bg-primary);
}

.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 var(--spacing-lg);
}

h1, h2, h3, h4, h5, h6 {
    margin-bottom: var(--spacing-md);
    line-height: 1.2;
}

h1 {
    font-size: var(--font-size-xxl);
}

h2 {
    font-size: var(--font-size-xl);
    margin-bottom: var(--spacing-lg);
}

h3 {
    font-size: var(--font-size-lg);
}

p {
    margin-bottom: var(--spacing-md);
}

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

a:hover {
    color: var(--accent-secondary);
}

img {
    max-width: 100%;
    height: auto;
}

section {
    padding: var(--spacing-xxl) 0;
}

code {
    font-family: monospace;
    background-color: var(--bg-tertiary);
    padding: var(--spacing-xs) var(--spacing-sm);
    border-radius: var(--border-radius-sm);
    font-size: var(--font-size-sm);
}

pre {
    background-color: var(--bg-tertiary);
    padding: var(--spacing-md);
    border-radius: var(--border-radius-md);
    overflow-x: auto;
    margin-bottom: var(--spacing-md);
}

pre code {
    background-color: transparent;
    padding: 0;
}

ul, ol {
    margin-bottom: var(--spacing-md);
    padding-left: var(--spacing-xl);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: var(--spacing-sm) var(--spacing-lg);
    border-radius: var(--border-radius-md);
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: all var(--transition-fast);
    border: none;
    font-size: var(--font-size-md);
}

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

.btn-primary:hover {
    background-color: var(--accent-tertiary);
    color: var(--text-primary);
}

.btn-secondary {
    background-color: var(--bg-tertiary);
    color: var(--text-primary);
}

.btn-secondary:hover {
    background-color: var(--border-color);
}

.btn i {
    margin-right: var(--spacing-sm);
}

/* Hero Section */
.hero {
    background-color: var(--bg-secondary);
    padding: var(--spacing-xxl) 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at top right, rgba(74, 108, 247, 0.1), transparent 70%);
    z-index: 0;
}

.logo-container {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--spacing-md);
}

.logo {
    width: 64px;
    height: 64px;
    margin-right: var(--spacing-md);
}

.tagline {
    font-size: var(--font-size-lg);
    color: var(--text-secondary);
    margin-bottom: var(--spacing-xl);
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: var(--spacing-md);
    margin-top: var(--spacing-lg);
}

/* About Section */
.about {
    background-color: var(--bg-primary);
}

/* Features Section */
.features {
    background-color: var(--bg-secondary);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: var(--spacing-lg);
}

.feature-card {
    background-color: var(--bg-tertiary);
    border-radius: var(--border-radius-lg);
    padding: var(--spacing-lg);
    transition: transform var(--transition-normal);
    box-shadow: var(--shadow-md);
}

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

.feature-icon {
    font-size: 2.5rem;
    color: var(--accent-primary);
    margin-bottom: var(--spacing-md);
}

/* Installation Section */
.installation {
    background-color: var(--bg-primary);
}

.installation-steps {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-lg);
}

.step {
    display: flex;
    gap: var(--spacing-lg);
    align-items: flex-start;
}

.step-number {
    background-color: var(--accent-primary);
    color: var(--text-primary);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    flex-shrink: 0;
}

.step-content {
    flex: 1;
}

/* Usage Section */
.usage {
    background-color: var(--bg-secondary);
}

.usage-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-xl);
    align-items: center;
}

.screenshot {
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-lg);
}

/* Tech Stack Section */
.tech-stack {
    background-color: var(--bg-primary);
}

.tech-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: var(--spacing-lg);
}

.tech-item {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    background-color: var(--bg-tertiary);
    padding: var(--spacing-md);
    border-radius: var(--border-radius-md);
}

.tech-item i {
    font-size: 1.5rem;
    color: var(--accent-primary);
}

/* Footer */
footer {
    background-color: var(--bg-tertiary);
    padding: var(--spacing-xl) 0;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--spacing-lg);
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    font-size: var(--font-size-lg);
    font-weight: bold;
}

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

.footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--spacing-lg);
}

.footer-links a {
    color: var(--text-secondary);
}

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

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

.footer-copyright {
    color: var(--text-secondary);
    font-size: var(--font-size-sm);
    text-align: center;
}

/* Privacy Policy Page */
.privacy-policy-page {
    background-color: var(--bg-primary);
}

.privacy-header {
    background-color: var(--bg-secondary);
    padding: var(--spacing-xl) 0;
}

.privacy-header-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: var(--spacing-md);
}

.back-button {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-sm);
    color: var(--text-secondary);
    margin-bottom: var(--spacing-md);
}

.back-button:hover {
    color: var(--text-primary);
}

.privacy-content {
    padding: var(--spacing-xl) 0;
}

.privacy-section {
    margin-bottom: var(--spacing-xl);
    padding-bottom: var(--spacing-xl);
    border-bottom: 1px solid var(--border-color);
}

.privacy-section:last-child {
    border-bottom: none;
}

.permission-item, .storage-option, .third-party {
    background-color: var(--bg-tertiary);
    padding: var(--spacing-lg);
    border-radius: var(--border-radius-md);
    margin-bottom: var(--spacing-md);
}

.permission-item h3, .storage-option h3, .third-party h3 {
    color: var(--accent-primary);
    margin-bottom: var(--spacing-sm);
}

/* Responsive Design */
@media (max-width: 992px) {
    .usage-content {
        grid-template-columns: 1fr;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: 100%;
        max-width: 300px;
    }
}

@media (max-width: 768px) {
    :root {
        --font-size-xxl: 1.75rem;
        --font-size-xl: 1.35rem;
        --font-size-lg: 1.15rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .tech-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .step {
        flex-direction: column;
    }
    
    .step-number {
        margin-bottom: var(--spacing-sm);
    }
    
    .footer-links {
        flex-direction: column;
        align-items: center;
        gap: var(--spacing-md);
    }
}

@media (max-width: 576px) {
    .container {
        padding: 0 var(--spacing-md);
    }
    
    .tech-grid {
        grid-template-columns: 1fr;
    }
}

/* Animation */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.feature-card, .step, .tech-item {
    animation: fadeIn 0.5s ease-out forwards;
}

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

.feature-card:nth-child(3) {
    animation-delay: 0.2s;
}

.feature-card:nth-child(4) {
    animation-delay: 0.3s;
}

.feature-card:nth-child(5) {
    animation-delay: 0.4s;
}

.feature-card:nth-child(6) {
    animation-delay: 0.5s;
}

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

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

.step:nth-child(4) {
    animation-delay: 0.3s;
}
