/* EmberCoves marketing site */

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

:root {
    --ember-orange: #f97316;
    --ember-orange-light: #fb923c;
    --ember-orange-dark: #c2410c;
    --ember-amber: #fbbf24;
    --night-deep: #0f172a;
    --night-mid: #1e293b;
    --night-soft: #334155;
    --text-dark: #1a202c;
    --text-light: #475569;
    --text-muted: #94a3b8;
    --bg-light: #f8fafc;
    --bg-cream: #fef7ed;
    --bg-white: #ffffff;
    --border-color: #e2e8f0;
    --grass: #5d8a3a;
    --water: #2c5e8c;
    --shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.08);
    --shadow-md: 0 4px 12px rgba(15, 23, 42, 0.10);
    --shadow-lg: 0 20px 40px -10px rgba(15, 23, 42, 0.25);
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--bg-white);
    -webkit-font-smoothing: antialiased;
}

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

/* Navigation */
.navbar {
    background-color: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 100;
}

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

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--ember-orange-dark);
    text-decoration: none;
    letter-spacing: -0.02em;
}

.nav-logo img {
    width: 32px;
    height: 32px;
    border-radius: 8px;
}

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

.nav-links a {
    color: var(--text-light);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.2s;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--ember-orange);
}

/* Hero */
.hero {
    position: relative;
    padding: 5rem 20px 4rem;
    background: radial-gradient(ellipse at 50% 30%, #1e293b 0%, #0f172a 70%, #020617 100%);
    color: white;
    text-align: center;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 10%;
    left: 50%;
    width: 600px;
    height: 600px;
    transform: translateX(-50%);
    background: radial-gradient(circle, rgba(249, 115, 22, 0.18) 0%, transparent 60%);
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 720px;
    margin: 0 auto;
}

.hero h1 {
    font-size: 4.5rem;
    font-weight: 900;
    letter-spacing: -0.04em;
    margin-bottom: 0.75rem;
    background: linear-gradient(180deg, #fbbf24 0%, #f97316 50%, #c2410c 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 60px rgba(249, 115, 22, 0.3);
}

.tagline {
    font-size: 1.15rem;
    margin-bottom: 0.5rem;
    color: #cbd5e1;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    font-weight: 500;
}

.hero-blurb {
    font-size: 1.1rem;
    color: #94a3b8;
    margin: 1.5rem auto 2.5rem;
    max-width: 540px;
    line-height: 1.7;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.85rem 2rem;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
    border: 2px solid transparent;
    cursor: pointer;
}

.btn-primary {
    background: linear-gradient(135deg, var(--ember-orange) 0%, var(--ember-orange-dark) 100%);
    color: white;
    box-shadow: 0 4px 14px rgba(249, 115, 22, 0.35);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(249, 115, 22, 0.45);
}

.btn-secondary {
    background: transparent;
    color: white;
    border-color: rgba(255, 255, 255, 0.25);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.5);
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 1rem;
}

.platform-note {
    margin-top: 1.5rem;
    color: var(--text-muted);
    font-size: 0.875rem;
    letter-spacing: 0.05em;
}

/* Hero screenshot preview */
.hero-preview {
    position: relative;
    z-index: 1;
    margin-top: 4rem;
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.hero-preview img {
    width: 220px;
    max-width: 30vw;
    border-radius: 28px;
    box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.7), 0 0 0 1px rgba(255, 255, 255, 0.05);
    transition: transform 0.3s ease;
}

.hero-preview img:nth-child(1) { transform: rotate(-4deg) translateY(10px); }
.hero-preview img:nth-child(2) { transform: translateY(-15px); z-index: 2; }
.hero-preview img:nth-child(3) { transform: rotate(4deg) translateY(10px); }

.hero-preview img:hover {
    transform: translateY(-25px) rotate(0);
    z-index: 3;
}

/* Section: Features */
.features {
    padding: 6rem 20px;
    background-color: var(--bg-cream);
}

.section-eyebrow {
    text-align: center;
    color: var(--ember-orange);
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    font-size: 0.85rem;
    margin-bottom: 0.75rem;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: var(--text-dark);
    letter-spacing: -0.02em;
}

.section-subtitle {
    text-align: center;
    color: var(--text-light);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto 3.5rem;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
}

.feature-card {
    background: var(--bg-white);
    padding: 2rem;
    border-radius: 16px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: rgba(249, 115, 22, 0.25);
}

.feature-icon {
    font-size: 2.25rem;
    margin-bottom: 1rem;
    display: inline-block;
    line-height: 1;
}

.feature-card h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
    font-weight: 700;
}

.feature-card p {
    color: var(--text-light);
    line-height: 1.65;
    font-size: 0.97rem;
}

/* Section: Gallery */
.gallery {
    padding: 6rem 20px;
    background-color: var(--bg-white);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
    max-width: 1100px;
    margin: 0 auto;
}

.gallery-grid img {
    width: 100%;
    height: auto;
    border-radius: 18px;
    box-shadow: var(--shadow-md);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.gallery-grid img:hover {
    transform: translateY(-6px) scale(1.02);
    box-shadow: var(--shadow-lg);
}

/* Section: How it plays */
.howto {
    padding: 6rem 20px;
    background: linear-gradient(180deg, var(--bg-cream) 0%, var(--bg-light) 100%);
}

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

.howto-card {
    background: var(--bg-white);
    border-radius: 16px;
    padding: 2rem;
    border-left: 4px solid var(--ember-orange);
    box-shadow: var(--shadow-sm);
}

.howto-card h3 {
    font-size: 1.15rem;
    margin-bottom: 0.75rem;
    color: var(--text-dark);
}

.howto-card p {
    color: var(--text-light);
    font-size: 0.97rem;
}

.howto-card kbd {
    display: inline-block;
    background: var(--night-mid);
    color: white;
    padding: 0.15rem 0.55rem;
    border-radius: 5px;
    font-size: 0.82rem;
    font-family: ui-monospace, 'SF Mono', monospace;
    margin: 0 0.1rem;
}

/* CTA */
.cta {
    padding: 6rem 20px;
    text-align: center;
    background: radial-gradient(ellipse at center, #1e293b 0%, #0f172a 100%);
    color: white;
    position: relative;
    overflow: hidden;
}

.cta::before {
    content: '';
    position: absolute;
    bottom: -200px;
    left: 50%;
    width: 800px;
    height: 400px;
    transform: translateX(-50%);
    background: radial-gradient(ellipse, rgba(249, 115, 22, 0.25) 0%, transparent 70%);
    pointer-events: none;
}

.cta > * { position: relative; z-index: 1; }

.cta h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.cta p {
    font-size: 1.15rem;
    color: #cbd5e1;
    margin-bottom: 2rem;
    max-width: 540px;
    margin-left: auto;
    margin-right: auto;
}

/* Page header (support/privacy) */
.page-header {
    background: radial-gradient(ellipse at center, #1e293b 0%, #0f172a 100%);
    padding: 4rem 20px 3rem;
    text-align: center;
    color: white;
}

.page-header h1 {
    font-size: 2.75rem;
    margin-bottom: 0.5rem;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.page-header p {
    font-size: 1.1rem;
    color: #cbd5e1;
}

/* Content (privacy/support body) */
.content {
    padding: 4rem 20px;
    background: var(--bg-white);
    min-height: 50vh;
}

.content-inner {
    max-width: 760px;
    margin: 0 auto;
}

.content-inner h2 {
    font-size: 1.6rem;
    color: var(--text-dark);
    margin-top: 2.5rem;
    margin-bottom: 0.75rem;
    font-weight: 700;
}

.content-inner h2:first-child { margin-top: 0; }

.content-inner h3 {
    font-size: 1.15rem;
    color: var(--text-dark);
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.content-inner p {
    color: var(--text-light);
    margin-bottom: 1rem;
    line-height: 1.8;
}

.content-inner ul {
    margin: 0 0 1rem 1.5rem;
    color: var(--text-light);
}

.content-inner li {
    margin-bottom: 0.4rem;
    line-height: 1.7;
}

.content-inner a {
    color: var(--ember-orange-dark);
    text-decoration: none;
    border-bottom: 1px solid rgba(194, 65, 12, 0.3);
}

.content-inner a:hover {
    border-bottom-color: var(--ember-orange-dark);
}

.contact-box {
    background: var(--bg-cream);
    border: 1px solid var(--border-color);
    border-left: 4px solid var(--ember-orange);
    border-radius: 12px;
    padding: 1.5rem 1.75rem;
    margin: 2rem 0;
}

.contact-box .contact-email {
    display: inline-block;
    font-size: 1.25rem;
    color: var(--ember-orange-dark);
    text-decoration: none;
    font-weight: 600;
    margin-top: 0.25rem;
}

.contact-box .contact-email:hover {
    text-decoration: underline;
}

/* FAQ */
.faq-item {
    background: var(--bg-cream);
    padding: 1.5rem 1.75rem;
    border-radius: 12px;
    margin-bottom: 1rem;
}

.faq-item h3 {
    margin-top: 0;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.faq-item p {
    margin-bottom: 0;
}

/* Footer */
footer {
    background: var(--night-deep);
    color: white;
    padding: 3rem 20px 2rem;
}

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

.footer-brand {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    margin-bottom: 1.25rem;
    font-weight: 800;
    font-size: 1.2rem;
    color: var(--ember-amber);
}

.footer-brand img {
    width: 28px;
    height: 28px;
    border-radius: 7px;
}

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

.footer-links a {
    color: white;
    text-decoration: none;
    opacity: 0.7;
    transition: opacity 0.2s;
    font-size: 0.95rem;
}

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

.copyright {
    opacity: 0.5;
    font-size: 0.85rem;
}

/* Responsive */
@media (max-width: 768px) {
    .hero { padding: 3.5rem 20px 3rem; }
    .hero h1 { font-size: 3rem; }
    .tagline { font-size: 1rem; letter-spacing: 0.12em; }
    .hero-blurb { font-size: 1rem; }
    .hero-preview { gap: 0.75rem; margin-top: 2.5rem; }
    .hero-preview img { width: 30vw; max-width: 160px; }
    .section-title, .cta h2 { font-size: 2rem; }
    .features, .gallery, .howto, .cta { padding: 4rem 20px; }
    .feature-grid { grid-template-columns: 1fr; }
    .gallery-grid { grid-template-columns: repeat(2, 1fr); }
    .nav-links { gap: 1rem; }
    .nav-links a { font-size: 0.9rem; }
    .page-header h1 { font-size: 2rem; }
}

@media (max-width: 480px) {
    .hero h1 { font-size: 2.5rem; }
    .hero-preview img:nth-child(1),
    .hero-preview img:nth-child(3) { display: none; }
    .hero-preview img:nth-child(2) { width: 60vw; max-width: 240px; transform: none; }
    .gallery-grid { grid-template-columns: 1fr; }
    .cta-buttons { flex-direction: column; align-items: stretch; }
    .btn { text-align: center; }
}
