/* CSS Variables */
:root {
    --red-primary: #C41E3A;
    --red-dark: #9B1B30;
    --red-deeper: #7A1626;
    --red-light: #E63950;
    --cream: #FFF8F0;
    --dark: #1A1A1A;
    --gray: #6B6B6B;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'DM Sans', sans-serif;
    background: var(--cream);
    color: var(--dark);
    overflow-x: hidden;
}

/* Navigation */
.nav {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 5%;
    z-index: 100;
}

.logo img {
    height: 50px;
    width: auto;
    filter: drop-shadow(0 2px 8px rgba(0,0,0,0.2));
}

.nav-cta {
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(10px);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    border: 1px solid rgba(255,255,255,0.2);
}

.nav-cta:hover {
    background: white;
    color: var(--red-primary);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    background: linear-gradient(135deg, var(--red-primary) 0%, var(--red-dark) 50%, var(--red-deeper) 100%);
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    padding: 0 5%;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(255,255,255,0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255,255,255,0.08) 0%, transparent 40%);
    pointer-events: none;
}

.hero-bg::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(255,255,255,0.03) 0%, transparent 70%);
    animation: float 20s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    50% { transform: translate(-30px, 30px) rotate(5deg); }
}

.hero-content {
    padding-top: 80px;
    z-index: 10;
    animation: fadeInUp 1s ease-out;
}

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

.hero-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(3rem, 8vw, 5.5rem);
    color: white;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.title-line {
    display: block;
}

.title-line.accent {
    color: var(--cream);
    font-style: italic;
}

.hero-subtitle {
    color: rgba(255,255,255,0.85);
    font-size: 1.15rem;
    line-height: 1.7;
    max-width: 420px;
    margin-bottom: 2.5rem;
}

/* App Buttons */
.app-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.app-btn {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: rgba(0,0,0,0.3);
    backdrop-filter: blur(10px);
    padding: 0.85rem 1.5rem;
    border-radius: 12px;
    text-decoration: none;
    color: white;
    transition: all 0.3s ease;
    border: 1px solid rgba(255,255,255,0.1);
}

.app-btn:hover {
    background: rgba(0,0,0,0.5);
    transform: translateY(-2px);
}

.app-btn.light {
    background: white;
    color: var(--dark);
    border: none;
}

.app-btn.light:hover {
    background: var(--cream);
}

.app-btn svg {
    width: 28px;
    height: 28px;
}

.app-btn .small {
    display: block;
    font-size: 0.7rem;
    opacity: 0.7;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.app-btn .big {
    display: block;
    font-weight: 600;
    font-size: 1rem;
}

/* Phone Mockup */
.phone-mockup {
    display: flex;
    justify-content: center;
    align-items: center;
    padding-top: 80px;
    z-index: 10;
    animation: fadeInUp 1s ease-out 0.3s both;
}

.phone-frame {
    width: 280px;
    height: 560px;
    background: #1A1A1A;
    border-radius: 40px;
    padding: 12px;
    box-shadow: 
        0 50px 100px rgba(0,0,0,0.4),
        0 0 0 2px rgba(255,255,255,0.1),
        inset 0 0 0 1px rgba(255,255,255,0.05);
    position: relative;
}

.phone-frame::before {
    content: '';
    position: absolute;
    top: 18px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 25px;
    background: #0A0A0A;
    border-radius: 20px;
    z-index: 20;
}

.phone-screen {
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, var(--cream) 0%, #fff 100%);
    border-radius: 30px;
    overflow: hidden;
    padding: 50px 16px 20px;
}

.mock-header {
    margin-bottom: 20px;
}

.mock-location {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--dark);
}

.mock-card {
    background: white;
    border-radius: 16px;
    padding: 12px;
    margin-bottom: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    display: flex;
    gap: 12px;
    align-items: center;
    animation: slideIn 0.5s ease-out both;
}

.mock-card:nth-child(2) { animation-delay: 0.1s; }
.mock-card:nth-child(3) { animation-delay: 0.2s; }
.mock-card:nth-child(4) { animation-delay: 0.3s; }

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.mock-img {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--red-light), var(--red-primary));
    border-radius: 12px;
    flex-shrink: 0;
}

.mock-img.img2 {
    background: linear-gradient(135deg, #FFB74D, #FF8A65);
}

.mock-img.img3 {
    background: linear-gradient(135deg, #81C784, #4CAF50);
}

.mock-info {
    flex: 1;
}

.mock-title {
    display: block;
    font-weight: 600;
    font-size: 0.95rem;
    margin-bottom: 4px;
}

.mock-rating {
    font-size: 0.85rem;
    color: var(--red-primary);
}

/* Features Section */
.features {
    padding: 100px 5%;
    background: var(--cream);
}

.section-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2rem, 5vw, 3rem);
    text-align: center;
    margin-bottom: 60px;
}

.section-title span {
    color: var(--red-primary);
    font-style: italic;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.feature-card {
    background: white;
    padding: 2.5rem;
    border-radius: 24px;
    text-align: center;
    box-shadow: 0 10px 40px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(196,30,58,0.15);
}

.feature-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--red-primary), var(--red-dark));
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.feature-icon svg {
    width: 32px;
    height: 32px;
    color: white;
}

.feature-card h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.4rem;
    margin-bottom: 0.75rem;
}

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

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

.cta-content h2 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2rem, 5vw, 3rem);
    color: white;
    margin-bottom: 1rem;
}

.cta-content p {
    color: rgba(255,255,255,0.85);
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.cta .app-buttons {
    justify-content: center;
}

/* Footer */
.footer {
    background: var(--dark);
    padding: 50px 5%;
}

.footer-content {
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
}

.footer-logo {
    height: 45px;
    width: auto;
    margin-bottom: 1.5rem;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 1.5rem;
}

.footer-links a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: white;
}

.copyright {
    color: rgba(255,255,255,0.4);
    font-size: 0.85rem;
}

/* Responsive */
@media (max-width: 900px) {
    .hero {
        grid-template-columns: 1fr;
        padding-top: 100px;
        padding-bottom: 60px;
        min-height: auto;
    }
    
    .hero-content {
        text-align: center;
        padding-top: 0;
    }
    
    .hero-subtitle {
        margin-left: auto;
        margin-right: auto;
    }
    
    .app-buttons {
        justify-content: center;
    }
    
    .phone-mockup {
        padding-top: 40px;
        order: 2;
    }
    
    .phone-frame {
        width: 240px;
        height: 480px;
    }
}

@media (max-width: 500px) {
    .nav {
        padding: 1rem 4%;
    }
    
    .logo img {
        height: 40px;
    }
    
    .hero {
        padding: 80px 4% 40px;
    }
    
    .app-btn {
        padding: 0.75rem 1.25rem;
    }
    
    .app-btn .big {
        font-size: 0.9rem;
    }
    
    .phone-frame {
        width: 200px;
        height: 400px;
        border-radius: 30px;
    }
    
    .phone-screen {
        border-radius: 22px;
        padding: 40px 12px 16px;
    }
    
    .phone-frame::before {
        width: 60px;
        height: 20px;
    }
    
    .mock-card {
        padding: 10px;
    }
    
    .mock-img {
        width: 50px;
        height: 50px;
    }
    
    .features {
        padding: 60px 4%;
    }
    
    .feature-card {
        padding: 2rem;
    }
}
