:root {
    --primary-gradient: linear-gradient(135deg, #5DCDF2 0%, #4D97EC 100%);
    --secondary-gradient: linear-gradient(135deg, #FCC087 0%, #F9A561 100%);
    --accent-gradient: linear-gradient(135deg, #F98187 0%, #F4646C 100%);
    --bg-color: #FFFFFF;
    --text-main: #1D1D1F;
    --text-secondary: #86868B;
    --bg-secondary: #F5F5F7;
    --card-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    --card-hover-shadow: 0 20px 40px rgba(77, 151, 236, 0.15);
}

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

body {
    font-family: 'Inter', 'Noto Sans SC', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-color: var(--bg-color);
    color: var(--text-main);
    line-height: 1.5;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Navbar */
.navbar {
    padding: 24px 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

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

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

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

.nav-links a {
    text-decoration: none;
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 15px;
    transition: color 0.2s;
}

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

.lang-switch {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 6px 12px;
    border-radius: 8px;
    background-color: rgba(0,0,0,0.05);
    font-size: 13px;
    text-decoration: none;
    color: var(--text-secondary);
}

.btn-primary {
    background: var(--primary-gradient);
    color: white !important;
    padding: 10px 24px;
    border-radius: 99px;
    transition: transform 0.2s, box-shadow 0.2s !important;
}

.btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(77, 151, 236, 0.3);
}

/* Hero Section */
.hero {
    padding-top: 160px;
    padding-bottom: 100px;
    overflow: hidden;
}

.hero-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
}

.hero-text {
    flex: 1;
    max-width: 600px;
}

.hero-text h1 {
    font-size: 64px;
    line-height: 1.1;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 24px;
    background: linear-gradient(135deg, #1D1D1F 0%, #434344 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

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

.cta-group {
    display: flex;
    gap: 16px;
    align-items: center;
}

.btn-primary.large {
    padding: 16px 32px;
    font-size: 17px;
}

.btn-secondary {
    text-decoration: none;
    color: var(--text-main);
    font-weight: 500;
    padding: 16px 32px;
    border-radius: 99px;
    background: var(--bg-secondary);
    transition: background 0.2s;
}

.btn-secondary:hover {
    background: #E5E5E7;
}

/* Hero Visual & Animations */
.hero-visual {
    flex: 1;
    position: relative;
    display: flex;
    justify-content: center;
}

.phone-mockup {
    width: 300px;
    height: 600px;
    background: #fff;
    border-radius: 48px;
    border: 8px solid #f2f2f2;
    box-shadow: 0 40px 80px rgba(0,0,0,0.1);
    position: relative;
    z-index: 2;
    overflow: hidden;
}

.screen {
    width: 100%;
    height: 100%;
    background: #FAFAFA;
    /* padding: 20px; */
    /* display: flex; */
    /* flex-direction: column; */
    /* gap: 16px; */
    overflow: hidden;
}

.app-screenshot {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Old abstract UI classes (kept for reference or cleanup later) */
.app-header {
    height: 40px;
    width: 60%;
    background: #E5E5E5;
    border-radius: 8px;
    margin-top: 40px;
}

.app-card {
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.03);
}

.card-1 {
    height: 140px;
    background: var(--primary-gradient);
    opacity: 0.9;
}

.card-2 {
    height: 80px;
}

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

.grid-item {
    height: 100px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.03);
}

.floating-shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    z-index: 1;
    opacity: 0.6;
}

.shape-1 {
    width: 300px;
    height: 300px;
    background: #5DCDF2;
    top: -50px;
    right: -50px;
    animation: float 8s ease-in-out infinite;
}

.shape-2 {
    width: 200px;
    height: 200px;
    background: #FCC087;
    bottom: 50px;
    left: 0;
    animation: float 10s ease-in-out infinite reverse;
}

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

/* Animations Classes */
.animate-up {
    opacity: 0;
    animation: fadeInUp 0.8s ease-out forwards;
}

.animate-fade {
    opacity: 0;
    animation: fadeIn 1s ease-out forwards;
}

.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.4s; }

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

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

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

.section-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 60px;
}

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

.section-header p {
    font-size: 18px;
    color: var(--text-secondary);
}

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

.feature-card {
    background: white;
    padding: 40px;
    border-radius: 24px;
    box-shadow: var(--card-shadow);
    transition: transform 0.3s, box-shadow 0.3s;
    cursor: default;
}

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

.icon-box {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    color: white;
}

.blue-gradient { background: var(--primary-gradient); }
.orange-gradient { background: var(--secondary-gradient); }
.pink-gradient { background: var(--accent-gradient); }
.gray-gradient { background: linear-gradient(135deg, #8E8E93 0%, #636366 100%); }
.purple-gradient { background: linear-gradient(135deg, #AF52DE 0%, #5856D6 100%); }
.green-gradient { background: linear-gradient(135deg, #34C759 0%, #30B0C7 100%); }

.feature-card h3 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 12px;
}

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

/* Testimonials Section */
.testimonials {
    padding: 100px 0;
    background: white;
}

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

.testimonial-card {
    background: var(--bg-secondary);
    padding: 32px;
    border-radius: 20px;
    position: relative;
}

.stars {
    color: #FFB340;
    margin-bottom: 16px;
    font-size: 18px;
}

.quote {
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 24px;
    color: var(--text-main);
    font-weight: 500;
}

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

.avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #ddd;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    color: #666;
    font-size: 14px;
}

.user-details h4 {
    font-size: 15px;
    font-weight: 600;
}

.user-details span {
    font-size: 13px;
    color: var(--text-secondary);
}

/* FAQ Section */
.faq {
    padding: 100px 0;
    background: var(--bg-secondary);
}

.faq-grid {
    max-width: 800px;
    margin: 0 auto;
    display: grid;
    gap: 24px;
}

.faq-item {
    background: white;
    padding: 32px;
    border-radius: 20px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.02);
}

.faq-item h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--text-main);
}

.faq-item p {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Footer */
.footer {
    padding: 60px 0;
    border-top: 1px solid rgba(0,0,0,0.05);
    background: white;
}

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

.footer-logo {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-main);
}

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

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

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

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

/* Responsive */
@media (max-width: 960px) {
    .hero-content {
        flex-direction: column;
        text-align: center;
        gap: 80px;
    }

    .hero-text {
        max-width: 100%;
        margin: 0 auto;
    }

    .hero-text h1 {
        font-size: 48px;
    }

    .cta-group {
        justify-content: center;
    }

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

@media (max-width: 600px) {
    .hero-text h1 {
        font-size: 36px;
    }
    
    .cta-group {
        flex-direction: column;
        width: 100%;
    }
    
    .btn-primary, .btn-secondary {
        width: 100%;
        text-align: center;
    }
    
    .nav-links {
        display: none; /* Simplify mobile nav for now */
    }
}

/* Text Content Pages (Privacy Policy, Terms) */
.text-content-section {
    padding-top: 120px;
    padding-bottom: 80px;
}

.text-container {
    max-width: 800px;
    margin: 0 auto;
}

.text-container h1 {
    font-size: 40px;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--text-main);
}

.text-container .last-updated {
    color: var(--text-secondary);
    font-size: 14px;
    margin-bottom: 40px;
    display: block;
}

.text-block {
    margin-bottom: 40px;
}

.text-block h2 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 16px;
    color: var(--text-main);
}

.text-block p {
    color: var(--text-secondary);
    margin-bottom: 16px;
    font-size: 16px;
    line-height: 1.7;
}

.text-block ul {
    list-style: disc;
    padding-left: 20px;
    color: var(--text-secondary);
    margin-bottom: 16px;
}

.text-block li {
    margin-bottom: 8px;
    line-height: 1.7;
}