/* ============================================
   RemindWaves - Single Page Website
   Primary: #09C1DD
   Fonts: Nexa Bold (header), Helvetica (body), Nexa (sub-header)
   ============================================ */

:root {
    --primary: #09C1DD;
    --primary-dark: #07a3b9;
    --primary-light: #5dd4e8;
    --primary-bg: rgba(9, 193, 221, 0.08);
    --text-dark: #1a1a2e;
    --text-muted: #4a4a6a;
    --white: #ffffff;
    --gray-100: #f8fafc;
    --gray-200: #e2e8f0;
    --shadow: 0 4px 24px rgba(9, 193, 221, 0.12);
    --shadow-lg: 0 12px 48px rgba(9, 193, 221, 0.15);
    
    /* Font families */
    --font-header: 'Nexa', Helvetica, sans-serif;
    --font-body: Helvetica, 'Helvetica Neue', Arial, sans-serif;
    --font-subheader: 'Nexa', Helvetica, sans-serif;
}

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.65;
    color: var(--text-dark);
    background: var(--white);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-header);
    font-weight: 700;
    letter-spacing: -0.02em;
}

.section-title {
    font-family: var(--font-header);
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 700;
    color: var(--text-dark);
    text-align: center;
    margin-bottom: 0.5rem;
}

.section-subtitle {
    font-family: var(--font-header);
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text-muted);
    text-align: center;
    margin-bottom: 3rem;
}

/* Header / Navigation */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--gray-200);
}

.nav {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 1.5rem;
}

.logo {
    height: 70px;
    width: auto;
}

.logo-link {
    display: block;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    font-family: var(--font-header);
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-dark);
    text-decoration: none;
    transition: color 0.2s;
}

.nav-links a:hover {
    color: var(--primary);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.nav-toggle span {
    width: 24px;
    height: 2px;
    background: var(--text-dark);
}

/* Hero Section */
.hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 8rem 1.5rem 5rem;
    min-height: 100vh;
}

.hero-title {
    font-family: var(--font-header);
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 700;
    line-height: 1.15;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.hero-title span {
    color: var(--primary);
}

.hero-subtitle {
    font-family: var(--font-header);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 0.75rem;
}

.hero-desc {
    font-family: var(--font-body);
    font-size: 1.05rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
    max-width: 520px;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn {
    display: inline-block;
    font-family: var(--font-header);
    font-weight: 700;
    font-size: 0.95rem;
    padding: 0.875rem 1.75rem;
    border-radius: 10px;
    text-decoration: none;
    transition: all 0.25s;
    cursor: pointer;
}

.btn-primary {
    background: var(--primary);
    color: var(--white);
    border: 2px solid var(--primary);
}

.btn-primary:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.btn-outline {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-outline:hover {
    background: var(--primary-bg);
    transform: translateY(-2px);
}

/* Mobile Frame - App Preview */
.hero-app-preview {
    display: flex;
    justify-content: center;
    align-items: center;
}

.mobile-frame {
    position: relative;
    width: 280px;
    background: linear-gradient(145deg, #2d2d2d 0%, #1a1a1a 100%);
    border-radius: 40px;
    padding: 12px;
    box-shadow: 
        0 25px 80px rgba(0, 0, 0, 0.35),
        0 0 0 3px rgba(255, 255, 255, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.mobile-notch {
    position: absolute;
    top: 12px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 24px;
    background: #0a0a0a;
    border-radius: 0 0 20px 20px;
    z-index: 2;
}

.mobile-screen {
    background: #ffffff;
    border-radius: 32px;
    aspect-ratio: 9/19;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 2.5rem 1.25rem 1.5rem;
    min-height: 520px;
}

.mobile-logo {
    width: 120px;
    height: auto;
    margin-bottom: 1.5rem;
}

.mobile-features {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.mobile-feature-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.6rem 1rem;
    background: var(--gray-100);
    border-radius: 10px;
    font-family: var(--font-header);
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--text-dark);
    border: 1px solid var(--gray-200);
    border-left: 3px solid var(--primary);
}

.mobile-feature-icon {
    font-size: 1.1rem;
    flex-shrink: 0;
}

/* Download Section */
.download-section {
    padding: 4rem 1.5rem;
    background: linear-gradient(180deg, var(--primary-bg) 0%, var(--white) 100%);
    text-align: center;
}

.download-title {
    font-family: var(--font-header);
    font-size: clamp(1.75rem, 3vw, 2.25rem);
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.download-subtitle {
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
}

.download-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    justify-content: center;
    align-items: center;
}

.store-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.875rem 1.75rem;
    border-radius: 10px;
    text-decoration: none;
    font-family: var(--font-header);
    font-weight: 700;
    font-size: 1rem;
    transition: all 0.25s;
    border: 2px solid transparent;
}

.store-btn.play-store {
    background: var(--text-dark);
    color: var(--white);
}

.store-btn.play-store:hover {
    background: var(--primary);
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.store-icon {
    flex-shrink: 0;
}

.store-btn.app-store.disabled {
    background: var(--gray-200);
    color: var(--text-muted);
    cursor: not-allowed;
    border-color: var(--gray-200);
}

.app-store-text {
    font-size: 0.95rem;
}

/* Features Section */
.features {
    padding: 5rem 1.5rem;
    background: var(--gray-100);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.feature-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 16px;
    box-shadow: var(--shadow);
    transition: all 0.3s;
    border: 1px solid transparent;
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-light);
}

.feature-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.feature-title {
    font-family: var(--font-header);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.feature-desc {
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.6;
}

/* USP Section */
.usp {
    padding: 5rem 1.5rem;
    background: var(--white);
}

.usp-content {
    max-width: 1000px;
    margin: 0 auto;
}

.usp-grid {
    display: flex;
    flex-direction: column;
    gap: 3rem;
    margin-bottom: 3rem;
}

.usp-item {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: center;
}

.usp-item.reverse {
    direction: rtl;
}

.usp-item.reverse > * {
    direction: ltr;
}

.usp-image-wrap {
    position: relative;
}

.usp-item img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: var(--shadow);
}

.usp-image-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1rem 1.25rem;
    background: linear-gradient(to top, rgba(9, 193, 221, 0.95), rgba(9, 193, 221, 0.8));
    color: var(--white);
    font-family: var(--font-header);
    font-size: 1rem;
    font-weight: 700;
    border-radius: 0 0 12px 12px;
}

.usp-text h3 {
    font-family: var(--font-header);
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 0.75rem;
}

.usp-text p {
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--text-muted);
    line-height: 1.7;
}

.usp-highlight {
    background: linear-gradient(135deg, var(--primary-bg) 0%, rgba(9, 193, 221, 0.15) 100%);
    border-left: 4px solid var(--primary);
    padding: 2rem;
    border-radius: 0 12px 12px 0;
}

.usp-quote {
    font-family: var(--font-header);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-dark);
    font-style: italic;
}

/* Footer */
.footer {
    background: var(--text-dark);
    color: var(--white);
    padding: 3rem 1.5rem 1.5rem;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-logo {
    height: 36px;
    width: auto;
    filter: brightness(0) invert(1);
    margin-bottom: 0.5rem;
}

.footer-tagline {
    font-family: var(--font-header);
    font-size: 0.9rem;
    opacity: 0.85;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-tagline-logo {
    height: 24px;
    width: auto;
    filter: brightness(0) invert(1);
}

.footer-info h4 {
    font-family: var(--font-header);
    font-size: 1.25rem;
    margin-bottom: 0.25rem;
}

.company-name {
    font-family: var(--font-header);
    font-size: 0.9rem;
    opacity: 0.9;
    margin-bottom: 0.5rem;
}

.footer-address {
    font-family: var(--font-body);
    font-size: 0.9rem;
    line-height: 1.7;
    opacity: 0.85;
    font-style: normal;
}

.footer-bottom {
    max-width: 1200px;
    margin: 2rem auto 0;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    text-align: center;
}

.footer-bottom p {
    font-family: var(--font-header);
    font-size: 0.85rem;
    opacity: 0.7;
}

/* Responsive */
@media (max-width: 900px) {
    .hero {
        grid-template-columns: 1fr;
        text-align: center;
        padding-top: 7rem;
    }
    
    .hero-desc {
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero-cta {
        justify-content: center;
    }
    
    .hero-app-preview {
        order: -1;
    }
    
    .mobile-frame {
        width: 240px;
    }
    
    .mobile-screen {
        min-height: 440px;
    }
    
    .usp-item,
    .usp-item.reverse {
        grid-template-columns: 1fr;
        direction: ltr;
    }
    
    .usp-item img {
        height: 220px;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .nav-links.active {
        display: flex;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        flex-direction: column;
        background: var(--white);
        padding: 1.5rem;
        gap: 1rem;
        border-bottom: 1px solid var(--gray-200);
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
}
