/* ===== MobileVibe Landing Page — Design System ===== */

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
    font-family: -apple-system, BlinkMacSystemFont, 'Inter', system-ui, sans-serif;
    color: #1a1a1a;
    background: #ffffff;
    line-height: 1.7;
    font-size: 16px;
    overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: #e6a000; text-decoration: none; transition: color .2s; }
a:hover { color: #cc8c00; }
ul, ol { list-style: none; }

/* --- Utility --- */
.container { max-width: 1120px; margin: 0 auto; padding: 0 1.5rem; }
.text-center { text-align: center; }
.text-muted { color: #6b7280; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }

/* --- Typography --- */
h1, h2, h3, h4 { font-weight: 700; line-height: 1.2; letter-spacing: -0.02em; }
h1 { font-size: clamp(2rem, 5vw, 3.25rem); }
h2 { font-size: clamp(1.5rem, 3.5vw, 2.25rem); margin-bottom: 1rem; }
h3 { font-size: 1.25rem; margin-bottom: 0.5rem; }
p { margin-bottom: 1rem; }
code, .code {
    font-family: 'JetBrains Mono', 'SF Mono', 'Fira Code', monospace;
    background: #f3f4f6;
    padding: 0.15em 0.4em;
    border-radius: 4px;
    font-size: 0.9em;
    color: #374151;
}

/* --- Section Spacing --- */
.section { padding: 5rem 0; }
.section--alt { background: #fafafa; }
.section__header { text-align: center; max-width: 640px; margin: 0 auto 3rem; }
.section__header p { color: #6b7280; font-size: 1.1rem; }

/* ===== Header / Navigation ===== */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid #e5e7eb;
    box-shadow: 0 1px 8px rgba(0,0,0,0.06);
}
.site-header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
}
.site-logo {
    font-size: 1.25rem;
    font-weight: 800;
    color: #1a1a1a;
    letter-spacing: -0.03em;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
}
.site-logo img {
    height: 40px;
    width: auto;
    display: block;
}
.site-logo__text {
    font-size: 1.2rem;
    font-weight: 800;
    color: #1a1a1a;
    letter-spacing: -0.03em;
}
.site-logo__text span { color: #FFB800; }
.nav-links { display: flex; gap: 2rem; align-items: center; }
.nav-links a {
    color: #4b5563;
    font-size: 0.95rem;
    font-weight: 500;
    transition: color .2s;
    position: relative;
}
.nav-links a:hover,
.nav-links a.active { color: #1a1a1a; }
.nav-links a.active::after {
    content: '';
    position: absolute;
    bottom: -4px; left: 0; right: 0;
    height: 2px;
    background: #FFB800;
    border-radius: 1px;
}
.nav-cta {
    background: #FFB800;
    color: #1a1a1a !important;
    padding: 0.5rem 1.25rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: background .2s, transform .1s, box-shadow .2s;
    box-shadow: 0 2px 8px rgba(255,184,0,0.3);
}
.nav-cta:hover { background: #e6a000; color: #1a1a1a !important; transform: translateY(-1px); box-shadow: 0 4px 14px rgba(255,184,0,0.4); }

/* Hamburger */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}
.hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: #1a1a1a;
    border-radius: 2px;
    transition: transform .3s, opacity .3s;
}
.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ===== Buttons ===== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.85rem 1.75rem;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    border: none;
    transition: background .2s, transform .1s, box-shadow .2s;
    text-decoration: none;
}
.btn:hover { transform: translateY(-2px); }
.btn--primary {
    background: #FFB800;
    color: #1a1a1a;
    box-shadow: 0 4px 20px rgba(255, 184, 0, 0.35);
}
.btn--primary:hover { background: #e6a000; color: #1a1a1a; box-shadow: 0 6px 28px rgba(255, 184, 0, 0.45); }
.btn--secondary {
    background: transparent;
    color: #1a1a1a;
    border: 1.5px solid #d1d5db;
}
.btn--secondary:hover { background: #f9fafb; color: #1a1a1a; border-color: #9ca3af; }
.btn--large { padding: 1rem 2.25rem; font-size: 1.1rem; }

/* ===== Hero Section ===== */
.hero {
    padding: 6rem 0 5rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    background: linear-gradient(180deg, #fffdf0 0%, #ffffff 100%);
}
.hero::before {
    content: '';
    position: absolute;
    top: -40%; left: 50%;
    transform: translateX(-50%);
    width: 700px; height: 700px;
    background: radial-gradient(circle, rgba(255,184,0,0.10) 0%, transparent 65%);
    pointer-events: none;
}
.hero h1 { margin-bottom: 1.25rem; color: #111827; }
.hero h1 span { color: #FFB800; }
.hero__subtitle {
    font-size: clamp(1.05rem, 2vw, 1.25rem);
    color: #6b7280;
    max-width: 640px;
    margin: 0 auto 2.5rem;
    line-height: 1.7;
}
.hero__ctas {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 3rem;
}
.hero__image {
    max-width: 360px;
    margin: 0 auto;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.12);
}

/* ===== Benefits / Cards Grid ===== */
.grid { display: grid; gap: 1.5rem; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

.card {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    padding: 2rem;
    transition: border-color .3s, transform .2s, box-shadow .3s;
    box-shadow: 0 1px 4px rgba(0,0,0,0.05);
}
.card:hover {
    border-color: #FFB800;
    transform: translateY(-4px);
    box-shadow: 0 8px 32px rgba(255,184,0,0.12);
}
.card__icon {
    width: 48px; height: 48px;
    background: rgba(255, 184, 0, 0.12);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
    font-size: 1.5rem;
}
.card__title { font-size: 1.15rem; font-weight: 600; margin-bottom: 0.5rem; color: #111827; }
.card__text { color: #6b7280; font-size: 0.95rem; line-height: 1.6; }

/* ===== Feature Blocks (alternating layout) ===== */
.feature-block {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    padding: 3rem 0;
}
.feature-block:nth-child(even) .feature-block__content { order: 2; }
.feature-block__content h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #111827;
}
.feature-block__content p { color: #6b7280; }
.feature-block__visual {
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    padding: 2rem;
}
.feature-list { display: flex; flex-direction: column; gap: 0.75rem; }
.feature-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    color: #374151;
    font-size: 0.95rem;
}
.feature-list li::before {
    content: '';
    flex-shrink: 0;
    width: 6px; height: 6px;
    background: #FFB800;
    border-radius: 50%;
    margin-top: 0.55rem;
}

/* ===== Use Case Cards ===== */
.use-case {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    padding: 2.5rem;
    margin-bottom: 2rem;
    box-shadow: 0 1px 4px rgba(0,0,0,0.05);
}
.use-case__number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px; height: 36px;
    background: rgba(255, 184, 0, 0.15);
    color: #b37700;
    font-weight: 700;
    font-size: 0.95rem;
    border-radius: 10px;
    margin-bottom: 1rem;
}
.use-case h3 { font-size: 1.25rem; margin-bottom: 0.75rem; color: #111827; }
.use-case__scenario { color: #6b7280; font-style: italic; margin-bottom: 1rem; }
.use-case__steps { color: #374151; }
.use-case__steps li { padding: 0.25rem 0; }

/* ===== Social Proof ===== */
.testimonials { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.testimonial {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 1px 4px rgba(0,0,0,0.05);
}
.testimonial__stars { color: #FFB800; font-size: 1rem; margin-bottom: 0.75rem; letter-spacing: 2px; }
.testimonial__text { color: #374151; font-style: italic; margin-bottom: 1rem; line-height: 1.6; }
.testimonial__author { color: #6b7280; font-size: 0.9rem; }

/* ===== FAQ Accordion ===== */
.faq-item {
    border-bottom: 1px solid #e5e7eb;
}
.faq-item:first-child { border-top: 1px solid #e5e7eb; }
.faq-question {
    width: 100%;
    background: none;
    border: none;
    color: #111827;
    font-size: 1.05rem;
    font-weight: 600;
    text-align: left;
    padding: 1.25rem 0;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: inherit;
}
.faq-question::after {
    content: '+';
    font-size: 1.5rem;
    color: #FFB800;
    font-weight: 300;
    transition: transform .3s;
    flex-shrink: 0;
    margin-left: 1rem;
}
.faq-item.open .faq-question::after { content: '\2212'; }
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height .3s ease;
    color: #6b7280;
    line-height: 1.7;
}
.faq-answer__inner { padding-bottom: 1.25rem; }
.faq-item.open .faq-answer { max-height: 200px; }

/* ===== Download / Get Started ===== */
.download-hero { text-align: center; padding: 5rem 0 3rem; }
.download-hero__badges { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; margin-top: 1.5rem; }
.badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: #f3f4f6;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 0.5rem 1rem;
    color: #374151;
    font-size: 0.9rem;
}
.requirements {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}
.requirement {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
    box-shadow: 0 1px 4px rgba(0,0,0,0.05);
}
.requirement__value { font-size: 1.25rem; font-weight: 700; color: #b37700; margin-bottom: 0.25rem; }
.requirement__label { color: #6b7280; font-size: 0.9rem; }

.setup-steps { max-width: 560px; margin: 0 auto; counter-reset: step; }
.setup-step {
    display: flex;
    gap: 1.25rem;
    padding: 1.25rem 0;
    align-items: flex-start;
    border-bottom: 1px solid #f3f4f6;
}
.setup-step__number {
    counter-increment: step;
    flex-shrink: 0;
    width: 32px; height: 32px;
    background: rgba(255, 184, 0, 0.15);
    color: #b37700;
    font-weight: 700;
    font-size: 0.9rem;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.setup-step__text { color: #374151; font-size: 1rem; padding-top: 0.25rem; }

/* ===== CTA Banner ===== */
.cta-banner {
    text-align: center;
    padding: 5rem 0;
    position: relative;
    background: linear-gradient(180deg, #fffdf0 0%, #ffffff 100%);
}
.cta-banner::before {
    content: '';
    position: absolute;
    top: 0; left: 50%;
    transform: translateX(-50%);
    width: 500px; height: 300px;
    background: radial-gradient(circle, rgba(255,184,0,0.08) 0%, transparent 70%);
    pointer-events: none;
}
.cta-banner h2 { margin-bottom: 1rem; color: #111827; }
.cta-banner p { color: #6b7280; margin-bottom: 2rem; max-width: 480px; margin-left: auto; margin-right: auto; }

/* ===== About Page ===== */
.about-intro { max-width: 720px; }
.about-intro p { font-size: 1.1rem; color: #4b5563; }
.values-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.value-card {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 1px 4px rgba(0,0,0,0.05);
}
.value-card h3 { color: #b37700; margin-bottom: 0.75rem; }
.value-card p { color: #6b7280; font-size: 0.95rem; }
.tech-stack { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.tech-tag {
    background: rgba(255, 184, 0, 0.1);
    border: 1px solid rgba(255, 184, 0, 0.25);
    color: #92600a;
    padding: 0.4rem 1rem;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 500;
}

/* ===== Footer ===== */
.site-footer {
    border-top: 1px solid #e5e7eb;
    padding: 3rem 0 2rem;
    color: #9ca3af;
    font-size: 0.9rem;
    background: #fafafa;
}
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 2rem;
}
.footer-brand p { color: #9ca3af; margin-top: 0.5rem; max-width: 280px; }
.footer-links h4 { color: #6b7280; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 0.75rem; }
.footer-links a { display: block; color: #9ca3af; padding: 0.25rem 0; font-size: 0.9rem; }
.footer-links a:hover { color: #FFB800; }
.footer-bottom {
    border-top: 1px solid #e5e7eb;
    padding-top: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.footer-bottom p { margin: 0; color: #9ca3af; }

/* ===== Responsive ===== */
@media (max-width: 1024px) {
    .grid--4 { grid-template-columns: repeat(2, 1fr); }
    .testimonials { grid-template-columns: 1fr 1fr; }
    .feature-block { grid-template-columns: 1fr; gap: 2rem; }
    .feature-block:nth-child(even) .feature-block__content { order: 0; }
    .values-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
    .section { padding: 3.5rem 0; }
    .hero { padding: 4rem 0 3rem; }

    .hamburger { display: flex; }
    .nav-links {
        display: none;
        position: absolute;
        top: 64px; left: 0; right: 0;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(12px);
        flex-direction: column;
        padding: 1.5rem;
        gap: 0;
        border-bottom: 1px solid #e5e7eb;
        box-shadow: 0 4px 16px rgba(0,0,0,0.08);
    }
    .nav-links.open { display: flex; }
    .nav-links a { padding: 0.75rem 0; }
    .nav-links a.active::after { display: none; }
    .nav-cta { margin-top: 0.5rem; text-align: center; }

    .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; }
    .testimonials { grid-template-columns: 1fr; }
    .values-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
    .footer-bottom { flex-direction: column; gap: 0.5rem; text-align: center; }
}
@media (max-width: 480px) {
    .hero { padding: 3rem 0 2rem; }
    .hero__ctas { flex-direction: column; align-items: center; }
    .hero__ctas .btn { width: 100%; justify-content: center; }
    .card { padding: 1.5rem; }
    .use-case { padding: 1.5rem; }
}
