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

:root {
    --color-lavender: #e8dff5;
    --color-purple: #9b7ab8;
    --color-dark: #2d3436;
    --color-text: #1a1a1a;
    --color-text-light: #636e72;
    --color-white: #ffffff;
    --color-green: #6b8e4e;
    --color-card-bg: #faf5ed;
    --font-main: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --video-brightness: 1.22;
    --video-contrast: 1.07;
    --video-saturate: 1.05;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    background-color: var(--color-lavender);
    color: var(--color-text);
    line-height: 1.6;
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Navigation */
.nav-bar {
    background-color: var(--color-lavender);
    padding: 1.25rem 0;
}

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

.nav-logo {
    display: flex;
    align-items: center;
}

.logo-img {
    height: 50px;
    width: auto;
}

.nav-link {
    color: var(--color-text);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: opacity 0.2s ease;
}

.nav-link:hover {
    opacity: 0.7;
}

/* Hero Section */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4rem 2rem 4rem;
    position: relative;
    overflow: hidden;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
    position: relative;
}

.hero-title {
    font-size: 4rem;
    font-weight: 900;
    color: var(--color-dark);
    line-height: 1.1;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

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

/* App Badges */
.app-badges {
    display: flex;
    gap: 1rem;
    justify-content: center;
    align-items: center;
    margin-bottom: 3rem;
}

.badge-link {
    display: block;
    transition: transform 0.2s ease;
}

.badge-link:hover {
    transform: translateY(-2px);
}

.app-badge {
    height: 50px;
    width: auto;
}

/* Phone Mockup */
.phone-mockup {
    position: relative;
    max-width: 340px;
    margin: 0 auto;
    z-index: 10;
}

.phone-frame {
    background: #1a1a1a;
    border-radius: 3rem;
    padding: 0.75rem;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}

.phone-screen {
    background: #000;
    border-radius: 2.5rem;
    overflow: hidden;
    aspect-ratio: 9 / 19.5;
    position: relative;
}

.app-preview {
    width: 100%;
    height: 100%;
    background: none;
    position: relative;
}

.phone-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 52% 56%;
    border-radius: inherit;
    filter: brightness(var(--video-brightness)) contrast(var(--video-contrast)) saturate(var(--video-saturate));
    will-change: filter;
}

/* Preview Header */
.preview-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 1.25rem;
    color: var(--color-white);
    font-size: 0.75rem;
    position: relative;
}

.preview-time {
    font-weight: 600;
}

.preview-notch {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 25px;
    background: #1a1a1a;
    border-radius: 0 0 1rem 1rem;
    z-index: 2;
    pointer-events: none;
}

.preview-icons {
    display: flex;
    gap: 0.25rem;
    font-size: 0.7rem;
}

/* Preview Content */
.preview-content {
    padding: 1.5rem 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    height: calc(100% - 3rem);
}

.preview-title {
    color: var(--color-white);
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.preview-character {
    font-size: 5rem;
    margin-bottom: 1.5rem;
    animation: float 3s ease-in-out infinite;
}

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

/* Preview Card */
.preview-card {
    background: var(--color-card-bg);
    border-radius: 1rem;
    padding: 1rem;
    width: 100%;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.75rem;
}

.card-title {
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--color-text);
}

.card-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--color-text-light);
    cursor: pointer;
    padding: 0;
    line-height: 1;
}

.card-progress {
    height: 4px;
    background: #f0e5d8;
    border-radius: 2px;
    margin-bottom: 0.75rem;
    position: relative;
    overflow: hidden;
}

.card-progress::after {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 40%;
    background: #e8a87c;
    border-radius: 2px;
}

.card-text {
    font-size: 0.75rem;
    line-height: 1.5;
    color: var(--color-text);
    margin-bottom: 0.5rem;
}

.card-actions {
    display: flex;
    gap: 0.5rem;
    margin-top: 0.75rem;
}

.card-btn {
    background: var(--color-white);
    border: 1px solid #e0d5c7;
    border-radius: 0.5rem;
    padding: 0.5rem;
    font-size: 1rem;
    cursor: pointer;
    transition: background 0.2s ease;
}

.card-btn:hover {
    background: #f5f5f5;
}

.card-btn-primary {
    flex: 1;
    background: #a8d5e2;
    border: none;
    border-radius: 0.5rem;
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--color-text);
    cursor: pointer;
    transition: background 0.2s ease;
}

.card-btn-primary:hover {
    background: #95c9d8;
}

/* Decorative Elements */
.decorative-elements {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
}

.deco-element {
    position: absolute;
    font-size: 3rem;
    font-weight: 900;
    color: var(--color-dark);
    opacity: 0.8;
}

.deco-1 {
    top: 20%;
    right: 10%;
    animation: bounce 2s ease-in-out infinite;
}

.deco-2 {
    bottom: 25%;
    left: 8%;
    animation: bounce 2s ease-in-out infinite 0.5s;
}

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

/* Footer */
.footer {
    background-color: #1a1a1a;
    color: var(--color-white);
    padding: 2rem 0;
    margin-top: auto;
}

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

.social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    color: var(--color-white);
    transition: opacity 0.2s ease;
}

.social-link:hover {
    opacity: 0.7;
}

.footer-links {
    display: flex;
    gap: 1.5rem;
}

.footer-link {
    color: var(--color-white);
    text-decoration: none;
    font-size: 0.875rem;
    transition: opacity 0.2s ease;
}

.footer-link:hover {
    opacity: 0.7;
}

.footer-copyright {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.7);
}

/* Privacy Page */
.privacy-section {
    min-height: calc(100vh - 80px - 100px);
    padding: 6rem 2rem 4rem;
    background: linear-gradient(135deg, var(--color-lavender) 0%, #f5e6ff 100%);
}

.privacy-container {
    max-width: 1000px;
    margin: 0 auto;
}

.privacy-title {
    font-size: 3rem;
    font-weight: 900;
    color: var(--color-text);
    margin-bottom: 1rem;
    text-align: center;
}

.privacy-subtitle {
    font-size: 1.25rem;
    color: var(--color-text-light);
    text-align: center;
    margin-bottom: 4rem;
}

.documents-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.document-card {
    background: var(--color-white);
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.document-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.document-card h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: 1rem;
}

.document-card p {
    font-size: 1rem;
    color: var(--color-text-light);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.document-link {
    display: inline-block;
    background: var(--color-purple);
    color: var(--color-white);
    text-decoration: none;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    font-weight: 600;
    transition: background 0.2s ease;
}

.document-link:hover {
    background: #8a6ba0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .app-badges {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .phone-mockup {
        max-width: 280px;
    }
    
    .deco-element {
        font-size: 2rem;
    }
    
    .footer-container {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .nav-container {
        padding: 0 1rem;
    }
    
    .hero-section {
        padding: 5rem 1rem 3rem;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .phone-mockup {
        max-width: 240px;
    }
}
