/* ============================================
   RESET & BASE STYLES
   ============================================ */

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #1a1a1a;
    background: #fdfcfb;
    overflow-x: hidden;
}

/* ============================================
   TYPOGRAPHY
   ============================================ */

h1, h2, h3 {
    font-weight: 700;
    line-height: 1.2;
}

.section-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 700;
    margin-bottom: 2rem;
    color: #1a1a1a;
}

.section-label {
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    color: #FF6B35;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
}

/* ============================================
   LAYOUT CONTAINERS
   ============================================ */

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

section {
    padding: 6rem 0;
}

/* ============================================
   NAVIGATION
   ============================================ */

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(253, 252, 251, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 107, 53, 0.1);
    z-index: 1000;
    padding: 1rem 0;
}

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

.logo-container {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo {
    height: 40px;
    width: auto;
    display: block;
    border-radius: 10px;
}

.logo-text {
    display: flex;
    flex-direction: column;
    gap: 0.125rem;
}

.logo-title {
    font-size: 1.125rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    background: linear-gradient(135deg, #FF4500 0%, #FF6B35 50%, #FFA500 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
}

.logo-tagline {
    font-size: 0.75rem;
    color: #666;
    line-height: 1;
}

/* ============================================
   BUTTONS
   ============================================ */

.cta-button {
    display: inline-block;
    padding: 0.75rem 2rem;
    background: linear-gradient(135deg, #FF4500 0%, #FF6B35 100%);
    color: white;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.875rem;
    letter-spacing: 0.05em;
    border-radius: 50px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-transform: uppercase;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(255, 69, 0, 0.3);
}

.cta-button.large {
    padding: 1rem 3rem;
    font-size: 1rem;
}

.google-play-button {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.875rem 2rem;
}

.navbar .google-play-button {
    padding: 0.5rem 1.25rem;
    gap: 0.5rem;
}

.navbar .play-icon {
    width: 22px;
    height: 22px;
}

.navbar .button-store {
    font-size: 0.95rem;
}

.play-icon {
    width: 28px;
    height: 28px;
}

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

.button-label {
    font-size: 0.625rem;
    letter-spacing: 0.05em;
    opacity: 0.9;
}

.button-store {
    font-size: 1.125rem;
    font-weight: 700;
    letter-spacing: 0;
}

/* ============================================
   HERO SECTION
   ============================================ */

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 5rem;
    position: relative;
    overflow: hidden;
    background: linear-gradient(to bottom, #fdfcfb 0%, #fff5f0 100%);
}

/* Responsive background images */
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('assets/hero_bg.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transform: scale(1.05);
    z-index: 0;
}

/* Dark gradient overlay for better text contrast */
.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        linear-gradient(to top, rgba(10, 8, 6, 0.9) 0%, rgba(10, 8, 6, 0.45) 45%, rgba(26, 15, 8, 0.35) 100%),
        linear-gradient(135deg, rgba(255, 69, 0, 0.25) 0%, rgba(0, 0, 0, 0) 60%);
    z-index: 0;
}

/* Medium screens */
@media (min-width: 768px) {
    .hero::before {
        background-image: url('assets/hero_bg.png');
    }
}

/* Large screens */
@media (min-width: 1440px) {
    .hero::before {
        background-image: url('assets/hero_bg.png');
    }
}

.hero .container {
    position: relative;
    z-index: 1;
}

.hero-content {
    max-width: 780px;
    margin: 0 auto;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1.1rem;
    margin-bottom: 2.5rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(12px);
    border-radius: 50px;
    color: #fff;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.hero-badge i {
    color: #FFA500;
}

.hero-title {
    font-size: clamp(2rem, 6vw, 5.5rem);
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -0.02em;
    margin-bottom: 2rem;
    color: #fff;
    white-space: nowrap;
    text-shadow: 0 2px 24px rgba(0, 0, 0, 0.5), 0 8px 50px rgba(0, 0, 0, 0.35);
}

.hero-title .highlight {
    display: inline;
    background: linear-gradient(135deg, #FF6B35 0%, #FFA500 50%, #FFD700 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: none;
    filter: drop-shadow(0 4px 20px rgba(255, 107, 53, 0.45));
}

.hero-description {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 3rem;
    max-width: 560px;
    line-height: 1.7;
    text-shadow: 0 1px 10px rgba(0, 0, 0, 0.4);
}

.hero-actions {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.hero-note {
    display: block;
    margin-top: 0.25rem;
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.875rem;
}

/* ============================================
   VALUE PROPOSITION SECTION
   ============================================ */

.value-section {
    background: white;
    text-align: center;
    padding: 6rem 0 2rem 0;
}

.value-section .section-title {
    font-size: clamp(2rem, 5vw, 4rem);
}

.value-section .emphasis {
    display: inline-block;
    position: relative;
    color: #FF4500;
    font-style: italic;
}

/* ============================================
   FEATURES SECTION
   ============================================ */

.features {
    background: linear-gradient(to bottom, white 0%, #fff5f0 100%);
}

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

.feature-card {
    background: white;
    padding: 2.5rem;
    border-radius: 1rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 40px rgba(255, 69, 0, 0.1);
}

.feature-icon {
    width: 48px;
    height: 48px;
    border-radius: 0.6rem;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: #fff;
}

.sunrise-icon {
    background: linear-gradient(135deg, #FF4500 0%, #FFA500 100%);
}

.sound-icon {
    background: linear-gradient(135deg, #FF6B35 0%, #FFD700 100%);
}

.snooze-icon {
    background: linear-gradient(135deg, #FFA500 0%, #FFFACD 100%);
}

.custom-icon {
    background: linear-gradient(135deg, #FF4500 0%, #FF6B35 50%, #FFA500 100%);
}

.privacy-icon {
    background: linear-gradient(135deg, #4CAF50 0%, #8BC34A 100%);
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #1a1a1a;
}

.feature-card p {
    color: #666;
    line-height: 1.7;
}

/* ============================================
   HOW IT WORKS SECTION
   ============================================ */

.how-it-works {
    background: white;
    text-align: center;
}

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

.step {
    padding: 2rem;
}

.step-number {
    font-size: 3rem;
    font-weight: 700;
    background: linear-gradient(135deg, #FF4500 0%, #FFA500 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
}

.step h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #1a1a1a;
}

.step p {
    color: #666;
    line-height: 1.7;
}

/* ============================================
   SCREENSHOTS SECTION
   ============================================ */

.screenshots {
    background: linear-gradient(to bottom, white 0%, #fff5f0 100%);
    text-align: center;
}

.screenshot-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 300px));
    gap: 2rem;
    margin-top: 3rem;
    justify-content: center;
}

.screenshot-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.25rem;
}

.phone-frame {
    position: relative;
    width: 100%;
    padding: 0.6rem;
    background: linear-gradient(160deg, #2a2a2a 0%, #0d0d0d 100%);
    border-radius: 2.2rem;
    box-shadow:
        0 20px 45px rgba(0, 0, 0, 0.25),
        inset 0 0 0 2px rgba(255, 255, 255, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.phone-frame::before {
    content: '';
    position: absolute;
    top: 0.6rem;
    left: 0.6rem;
    right: 0.6rem;
    bottom: 0.6rem;
    border-radius: 1.7rem;
    border: 1px solid rgba(255, 255, 255, 0.06);
    pointer-events: none;
    z-index: 2;
}

.phone-notch {
    position: absolute;
    top: 0.6rem;
    left: 50%;
    transform: translateX(-50%);
    width: 38%;
    height: 1.4rem;
    background: #0d0d0d;
    border-radius: 0 0 1rem 1rem;
    z-index: 3;
}

.phone-frame:hover {
    transform: translateY(-5px);
    box-shadow:
        0 28px 55px rgba(255, 69, 0, 0.2),
        inset 0 0 0 2px rgba(255, 255, 255, 0.08);
}

.screenshot-image {
    display: block;
    width: 100%;
    aspect-ratio: 9/19;
    object-fit: cover;
    border-radius: 1.7rem;
    position: relative;
    z-index: 1;
}

.screenshot-caption {
    text-align: center;
    color: #666;
    font-weight: 500;
    font-size: 0.95rem;
}

.screenshot-placeholder {
    aspect-ratio: 9/16;
    background: linear-gradient(to bottom, #fff 0%, #fff5f0 100%);
    border: 2px dashed rgba(255, 69, 0, 0.3);
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FF6B35;
    font-weight: 600;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.screenshot-placeholder:hover {
    transform: scale(1.05);
    border-color: #FF4500;
}

/* ============================================
   SPECS SECTION
   ============================================ */

.specs {
    background: white;
    text-align: center;
}

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

.spec-item {
    padding: 2rem;
}

.spec-value {
    font-size: 3.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, #FF4500 0%, #FFA500 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
}

.spec-label {
    font-size: 1rem;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* ============================================
   TESTIMONIALS SECTION
   ============================================ */

.testimonials {
    background: linear-gradient(to bottom, white 0%, #fff5f0 100%);
    text-align: center;
}

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

.testimonial-card {
    background: white;
    padding: 2.5rem;
    border-radius: 1rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.testimonial-text {
    font-size: 1.125rem;
    color: #333;
    line-height: 1.7;
    margin-bottom: 1.5rem;
    font-style: italic;
}

.testimonial-author {
    color: #FF6B35;
    font-weight: 600;
}

/* ============================================
   DOWNLOAD SECTION
   ============================================ */

.download {
    background: linear-gradient(135deg, #FF4500 0%, #FF6B35 50%, #FFA500 100%);
    color: white;
    text-align: center;
    padding: 8rem 0;
}

.download .section-title {
    color: white;
}

.download-description {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

.privacy-badge {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 2rem;
    backdrop-filter: blur(10px);
}

.download .cta-button {
    background: white;
    color: #FF4500;
}

.download .cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.requirements {
    margin-top: 1.5rem;
    font-size: 0.875rem;
    opacity: 0.9;
}

/* ============================================
   FOOTER
   ============================================ */

footer {
    background: #1a1a1a;
    color: white;
    padding: 3rem 0 1.5rem;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand p {
    margin-top: 0.5rem;
    color: #999;
}

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

.footer-links a {
    color: #999;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #FF6B35;
}

.copyright {
    text-align: center;
    color: #666;
    font-size: 0.875rem;
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

@media (max-width: 768px) {
    section {
        padding: 4rem 0;
    }
    
    .logo-text {
        display: none;
    }
    
    .hero-description {
        max-width: 100%;
    }

    .hero-actions {
        flex-direction: column;
        width: 100%;
    }

    .hero-actions .cta-button {
        width: 100%;
        text-align: center;
    }

    .hero-actions .google-play-button {
        justify-content: center;
    }
    
    .feature-grid,
    .steps-grid,
    .screenshot-grid,
    .testimonial-grid {
        grid-template-columns: 1fr;
    }
    
    .specs-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 2rem;
        text-align: center;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 1rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1.5rem;
    }
    
    .navbar {
        padding: 0.75rem 0;
    }
    
    .cta-button {
        padding: 0.625rem 1.5rem;
        font-size: 0.75rem;
    }
    
    .cta-button.large {
        padding: 0.875rem 2rem;
        font-size: 0.875rem;
    }
    
    .specs-grid {
        grid-template-columns: 1fr;
    }
}

/* ============================================
   CONSENT BANNER
   ============================================ */

.consent-banner {
    position: fixed;
    left: 1.5rem;
    right: 1.5rem;
    bottom: 1.5rem;
    z-index: 1000;
    max-width: 780px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.75rem;
    background: rgba(26, 26, 26, 0.92);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: #f5f5f5;
    padding: 1.5rem 1.75rem;
    border-radius: 18px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
    opacity: 0;
    transform: translateY(20px);
    pointer-events: none;
    transition: opacity 0.35s ease, transform 0.35s ease;
}

.consent-banner.visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.consent-text {
    font-size: 1rem;
    line-height: 1.6;
    margin: 0;
    color: #e5e5e5;
}

.consent-text a {
    color: #FF6B35;
    text-decoration: underline;
}

.consent-actions {
    display: flex;
    gap: 0.75rem;
    flex-shrink: 0;
}

.consent-btn {
    border: none;
    border-radius: 999px;
    padding: 0.7rem 1.5rem;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.15s ease;
}

.consent-decline {
    background: transparent;
    color: #e5e5e5;
    border: 1px solid rgba(255, 255, 255, 0.25);
}

.consent-decline:hover {
    background: rgba(255, 255, 255, 0.08);
}

.consent-accept {
    background: #FF6B35;
    color: #fff;
}

.consent-accept:hover {
    background: #e85a26;
    transform: translateY(-1px);
}

@media (max-width: 600px) {
    .consent-banner {
        flex-direction: column;
        align-items: stretch;
        text-align: left;
        left: 1rem;
        right: 1rem;
        bottom: 1rem;
    }

    .consent-actions {
        justify-content: flex-end;
    }
}
