:root {
    --primary-color: #2979FF;
    --primary-gradient: linear-gradient(135deg, #2979FF 0%, #1955C8 100%);
    --bg-cream: #FDFCFB;
    --text-dark: #1A1A1A;
    --text-secondary: #666666;
    --card-bg: rgba(255, 255, 255, 0.8);
    --card-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    --border-radius: 24px;
    --container-width: 1100px;
    --font-main: 'Inter', sans-serif;
    --font-heading: 'Outfit', sans-serif;
}

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

body {
    font-family: var(--font-main);
    background-color: var(--bg-cream);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
}

/* Header */
.header {
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(253, 252, 251, 0.9);
    backdrop-filter: blur(10px);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

.logo-img {
    width: 40px;
    border-radius: 10px;
}

.logo-text {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 24px;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

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

.nav-link {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: color 0.3s;
}

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

.btn-download-small {
    padding: 10px 24px;
    background: var(--primary-gradient);
    color: white;
    border-radius: 100px;
    font-weight: 600;
}

/* Hero Section */
.hero {
    padding: 100px 0;
    position: relative;
}

.hero-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 80px;
}

.hero-content {
    max-width: 800px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: 64px;
    line-height: 1.1;
    font-weight: 700;
    margin-bottom: 24px;
}

.highlight {
    color: var(--primary-color);
}

.hero-subtitle {
    font-size: 20px;
    color: var(--text-secondary);
    margin-bottom: 40px;
    max-width: 600px;
}

.hero-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
}

.btn {
    padding: 16px 32px;
    border-radius: 100px;
    font-weight: 600;
    text-decoration: none;
    transition: transform 0.3s, box-shadow 0.3s;
}

.btn-primary {
    background: var(--primary-gradient);
    color: white;
    box-shadow: 0 10px 20px rgba(41, 121, 255, 0.2);
}

.btn-secondary {
    background: white;
    color: var(--primary-color);
    border: 1px solid #E0E0E0;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 30px rgba(41, 121, 255, 0.25);
}

.hero-visual {
    position: relative;
    width: 100%;
}

.screenshot-container {
    position: relative;
    max-width: 380px;
    margin: 0 auto;
}

.screenshot-img {
    width: 100%;
    height: auto;
    display: block;
}

.screenshot-placeholder {
    display: none;
}

.placeholder-text {
    font-size: 14px;
    color: #999;
    font-weight: 500;
}

/* Features */
.features {
    padding: 120px 0;
}

.section-title {
    font-family: var(--font-heading);
    font-size: 40px;
    text-align: center;
    margin-bottom: 80px;
}

.feature-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 80px;
    margin-bottom: 120px;
}

.feature-card.reverse {
    direction: rtl;
}

.feature-card.reverse .feature-info {
    direction: ltr;
}

.feature-icon {
    width: 48px;
    height: 48px;
    background: rgba(41, 121, 255, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    margin-bottom: 24px;
}

.feature-title {
    font-family: var(--font-heading);
    font-size: 32px;
    margin-bottom: 16px;
}

.feature-description {
    font-size: 17px;
    color: var(--text-secondary);
}

/* About Section */
.about-section {
    padding: 120px 0;
    background-color: #fafafa;
}

.about-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 80px;
    align-items: center;
}

.about-text {
    font-size: 19px;
    line-height: 1.6;
    color: var(--text-secondary);
    margin-bottom: 24px;
}

.about-stats {
    display: flex;
    gap: 40px;
    margin-top: 40px;
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 36px;
    font-weight: 700;
    color: var(--primary-color);
}

.stat-label {
    font-size: 14px;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

.about-visual {
    display: flex;
    justify-content: center;
}

.glass-card {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 30px;
    padding: 40px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.05);
}

.about-card {
    text-align: center;
    max-width: 320px;
}

.about-icon-large {
    font-size: 64px;
    margin-bottom: 24px;
}

.about-card h3 {
    font-family: var(--font-heading);
    font-size: 24px;
    margin-bottom: 12px;
}

.about-card p {
    font-size: 16px;
    color: var(--text-secondary);
}

/* Why Section */
.why-section {
    padding: 120px 0;
}

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

.why-item {
    text-align: center;
    padding: 40px;
    border-radius: 24px;
    transition: transform 0.3s;
}

.why-item:hover {
    transform: translateY(-10px);
}

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

.why-item h3 {
    font-family: var(--font-heading);
    font-size: 24px;
    margin-bottom: 16px;
}

.why-item p {
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.5;
}

.text-left {
    text-align: left;
}

.section-padding {
    padding-top: 120px;
}

/* CTA */
.cta-section {
    padding-bottom: 120px;
}

.cta-card {
    background: linear-gradient(135deg, #2979FF 0%, #1565C0 100%);
    border-radius: 48px;
    padding: 100px 40px;
    text-align: center;
    color: white;
    box-shadow: 0 30px 60px rgba(41, 121, 255, 0.2);
}

.cta-title {
    font-family: var(--font-heading);
    font-size: 48px;
    margin-bottom: 20px;
}

.cta-text {
    font-size: 20px;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto 48px;
    line-height: 1.6;
}

/* App Store Badge */
.app-store-badge {
    display: inline-flex;
    align-items: center;
    background-color: #000;
    color: #fff;
    padding: 12px 28px;
    border-radius: 16px;
    text-decoration: none;
    transition: transform 0.2s, background-color 0.2s;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.app-store-badge:hover {
    transform: scale(1.05);
    background-color: #1a1a1a;
}

.apple-logo {
    margin-right: 12px;
}

.badge-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    line-height: 1.1;
}

.badge-subtext {
    font-size: 10px;
    text-transform: uppercase;
    font-weight: 500;
    letter-spacing: 0.5px;
}

.badge-maintext {
    font-size: 20px;
    font-weight: 600;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

/* Footer */
.footer {
    padding: 60px 0;
    border-top: 1px solid #EEE;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.copyright {
    margin-top: 16px;
    color: var(--text-secondary);
    font-size: 14px;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

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

/* Policy Pages Styles */
.policy-page {
    background-color: white;
}

.policy-header {
    padding: 60px 0 40px;
    border-bottom: 1px solid #F0F0F0;
    text-align: center;
}

.policy-title {
    font-family: var(--font-heading);
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 16px;
}

.policy-subtitle {
    font-size: 16px;
    color: var(--text-secondary);
}

.policy-content {
    max-width: 800px;
    margin: 60px auto 100px;
    padding: 0 24px;
}

.policy-section {
    margin-bottom: 40px;
    display: flex;
    gap: 24px;
    align-items: flex-start;
}

.policy-icon {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
}

.policy-text h2 {
    font-family: var(--font-heading);
    font-size: 24px;
    margin-bottom: 12px;
    font-weight: 600;
}

.policy-text p {
    font-size: 17px;
    color: var(--text-secondary);
    line-height: 1.6;
}

.policy-text a {
    color: var(--primary-color);
    text-decoration: underline;
}

.back-home {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 32px;
    text-decoration: none;
    color: var(--text-secondary);
    font-weight: 500;
    transition: color 0.3s;
}

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

@media (max-width: 600px) {
    .policy-title { font-size: 32px; }
    .policy-section { gap: 16px; }
    .policy-text h2 { font-size: 20px; }
    .policy-text p { font-size: 16px; }
}

/* Animations */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive */
@media (max-width: 900px) {
    .container { padding: 0 24px; }
    
    .logo-text { font-size: 20px; }
    
    .nav { gap: 16px; }
    .nav-link { font-size: 14px; }
    .btn-download-small { padding: 8px 16px; font-size: 14px; }

    .hero { padding: 60px 0; }
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }
    .hero-title { font-size: 42px; }
    .hero-subtitle { margin-left: auto; margin-right: auto; }
    .hero-actions { justify-content: center; flex-direction: column; gap: 12px; }
    .btn { width: 100%; }

    .feature-card {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
        margin-bottom: 80px;
    }

    .about-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }

    .about-stats {
        justify-content: center;
    }

    .why-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .text-left {
        text-align: center;
    }

    .feature-card.reverse { direction: ltr; }
    .feature-icon { margin-left: auto; margin-right: auto; }
    
    .cta-card { padding: 60px 20px; }
    .cta-title { font-size: 36px; }
    
    .footer-container {
        flex-direction: column;
        align-items: center;
        gap: 40px;
        text-align: center;
    }
}

@media (max-width: 600px) {
    .nav {
        display: none; /* Hide nav links on very small screens for a cleaner look */
    }
    
    .logo {
        margin: 0 auto;
    }
    
    .header {
        padding: 15px 0;
    }
}
