/* Global Styles */
:root {
    --silver-bird: #fbf6ef;
    --sheaf: #cdaf8a;
    --tosty-crust: #ab7f51;
    --cold-brew: #7f5634;
    --peat-brown: #5e3b22;
    --moelleux: #4f2f18;
    --noir: #271506;
    --delicieux: #3e2510;
    
    --gradient-primary: linear-gradient(135deg, var(--tosty-crust), var(--cold-brew));
    --gradient-accent: linear-gradient(135deg, var(--sheaf), var(--tosty-crust));
    --gradient-dark: linear-gradient(135deg, var(--moelleux), var(--noir));
    
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.1);
    --shadow-md: 0 4px 6px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 15px rgba(0,0,0,0.1);
    --shadow-xl: 0 20px 25px rgba(0,0,0,0.1);
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background-color: var(--silver-bird);
    color: var(--noir);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Navigation */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(251, 246, 239, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    box-shadow: var(--shadow-sm);
}

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

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

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

.logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--noir);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
}

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

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

.cta-button {
    background: var(--gradient-primary);
    color: white !important;
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    font-weight: 600;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* Hero Section */
.hero {
    padding: 120px 0 80px;
    background: linear-gradient(135deg, var(--silver-bird) 0%, rgba(205, 175, 138, 0.1) 100%);
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: var(--noir);
}

.gradient-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: block;
}

.hero-description {
    font-size: 1.25rem;
    color: var(--peat-brown);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.app-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center; /* Center buttons when they wrap */
}

.app-button {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1.5rem;
    background: var(--noir);
    color: white;
    text-decoration: none;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.app-button:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.app-icon {
    width: 24px;
    height: 24px;
    fill: currentColor;
}

.app-button-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.app-button-subtitle {
    font-size: 0.75rem;
    opacity: 0.8;
}

.app-button-title {
    font-size: 1rem;
    font-weight: 600;
}

.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.phone-mockup {
    position: relative;
    width: 320px;
    height: 650px;
    background: var(--gradient-dark);
    border-radius: 40px;
    padding: 10px;
    box-shadow: 0 30px 60px rgba(0,0,0,0.3);
    overflow: hidden;
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 30px;
}

/* Features Section */
.features {
    padding: 80px 0;
    background: white;
}

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

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--noir);
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.25rem;
    color: var(--peat-brown);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: var(--silver-bird);
    padding: 2rem;
    border-radius: 20px;
    transition: all 0.3s ease;
}

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

.feature-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-accent);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

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

.feature-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--noir);
    margin-bottom: 1rem;
}

.feature-description {
    color: var(--peat-brown);
    line-height: 1.6;
}

/* Screenshots Carousel */
.screenshots {
    padding: 80px 0;
    background: linear-gradient(135deg, rgba(205, 175, 138, 0.1) 0%, var(--silver-bird) 100%);
}

.carousel-container {
    position: relative;
    max-width: 400px;
    margin: 0 auto;
}

.carousel {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    box-shadow: var(--shadow-xl);
    background: var(--noir);
}

.carousel-track {
    display: flex;
    transition: transform 0.5s ease;
}

.carousel-slide {
    min-width: 100%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.carousel-slide img {
    width: 100%;
    height: auto;
    display: block;
    max-height: 600px;
    object-fit: contain;
    border-radius: 10px;
}

.carousel-button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.5);
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.carousel-button:hover {
    background: rgba(0,0,0,0.7);
}

.carousel-button.prev {
    left: 20px;
}

.carousel-button.next {
    right: 20px;
}

.carousel-button svg {
    width: 24px;
    height: 24px;
}

.carousel-indicators {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 2rem;
}

.indicator {
    width: 10px;
    height: 10px;
    background: var(--sheaf);
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
}

.indicator.active {
    background: var(--cold-brew);
    transform: scale(1.2);
}

/* How It Works */
.how-it-works {
    padding: 80px 0;
    background: white;
}

.steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.step {
    text-align: center;
}

.step-number {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    color: white;
    font-size: 1.5rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin: 0 auto 1.5rem;
}

.step-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--noir);
    margin-bottom: 1rem;
}

.step-description {
    color: var(--peat-brown);
}

/* Pricing */
.pricing {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--silver-bird) 0%, rgba(205, 175, 138, 0.1) 100%);
}

.pricing-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 800px;
    margin: 0 auto;
}

.pricing-card {
    background: white;
    padding: 3rem 2rem;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    position: relative;
    transition: all 0.3s ease;
}

.pricing-card.pro {
    transform: scale(1.05);
    border: 2px solid var(--cold-brew);
}

.popular-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gradient-primary);
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
}

.plan-name {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--noir);
    margin-bottom: 1rem;
}

.plan-price {
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
    margin-bottom: 2rem;
}

.price {
    font-size: 3rem;
    font-weight: 800;
    color: var(--cold-brew);
}

.period {
    color: var(--peat-brown);
}

.plan-features {
    list-style: none;
    margin-bottom: 2rem;
}

.plan-features li {
    padding: 0.75rem 0;
    color: var(--peat-brown);
    position: relative;
    padding-left: 1.5rem;
}

.plan-features li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--cold-brew);
    font-weight: 700;
}

.plan-button {
    display: block;
    text-align: center;
    padding: 1rem;
    background: var(--silver-bird);
    color: var(--noir);
    text-decoration: none;
    border-radius: 10px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.plan-button:hover {
    background: var(--sheaf);
}

.pro-button {
    background: var(--gradient-primary);
    color: white;
}

.pro-button:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* Download CTA */
.download-cta {
    padding: 100px 0;
    background: var(--gradient-dark);
    color: white;
    text-align: center;
}

.cta-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 2rem;
}

.cta-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.cta-subtitle {
    font-size: 1.25rem;
    margin-bottom: 3rem;
    opacity: 0.9;
}

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

/* Footer */
.footer {
    background: var(--noir);
    color: white;
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 4rem;
    margin-bottom: 2rem;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-logo {
    width: 50px;
    height: 50px;
    border-radius: 10px;
}

.footer-tagline {
    opacity: 0.8;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.footer-column h4 {
    margin-bottom: 1rem;
    font-size: 1rem;
    font-weight: 600;
}

.footer-column a {
    display: block;
    color: white;
    text-decoration: none;
    opacity: 0.8;
    padding: 0.25rem 0;
    transition: opacity 0.3s ease;
}

.footer-column a:hover {
    opacity: 1;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    opacity: 0.6;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-visual {
        margin-top: 2rem;
    }
    
    .phone-mockup {
        width: 280px;
        height: 570px;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .pricing-cards {
        grid-template-columns: 1fr;
    }
    
    .pricing-card.pro {
        transform: scale(1);
    }
    
    .steps {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .footer-links {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .legal-content {
        padding: 100px 1rem 60px !important;
    }
}