/* CueCard Landing Page Styles */
/* Color Palette from Brand Guide: felt green, chalk white, slate gray, navy/gold alt */

:root {
    /* Primary Colors */
    --felt-green: #0d5c4f;
    --felt-green-dark: #094239;
    --chalk-white: #f5f5f5;
    --slate-gray: #4a5568;
    --slate-dark: #2d3748;

    /* Accent Colors */
    --navy: #1a365d;
    --gold: #d69e2e;
    --gold-light: #ecc94b;

    /* UI Colors */
    --background-dark: #1a1a2e;
    --background-darker: #0f0f1a;
    --text-primary: #ffffff;
    --text-secondary: #a0aec0;
    --text-muted: #718096;

    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);

    /* Transitions */
    --transition-fast: 150ms ease-in-out;
    --transition-normal: 300ms ease-in-out;
}

/* Reset & Base Styles */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background-color: var(--background-dark);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4 {
    font-weight: 700;
    line-height: 1.2;
}

h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
}

h2 {
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    margin-bottom: 1rem;
}

h3 {
    font-size: clamp(1.1rem, 2vw, 1.5rem);
}

p {
    color: var(--text-secondary);
}

/* ===== HERO SECTION ===== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 2rem;
    overflow: hidden;
}

/* Video Background */
.video-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* keep background at the base of the hero stack */
    z-index: 0;
}

.video-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--felt-green-dark) 0%, var(--background-darker) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.video-placeholder .placeholder-text {
    color: var(--text-muted);
    font-size: 1rem;
    text-align: center;
    padding: 2rem;
    border: 2px dashed var(--text-muted);
    border-radius: 8px;
    background: rgba(0, 0, 0, 0.3);
    /* keep the dev placeholder narrow and centered */
    max-width: 420px;
    margin: 0 auto;
    /* hide the dev placeholder by default to avoid accidental overlap on small screens */
    display: none;
}

.video-background video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Ensure the hero video covers the background responsively */
.hero-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

/* If the video file is missing, show the placeholder text centered */
.video-placeholder .placeholder-text { display: none; }

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to bottom,
        rgba(26, 26, 46, 0.7) 0%,
        rgba(26, 26, 46, 0.85) 100%
    );
    /* ensure overlay is above background but behind hero content */
    z-index: 1;
}

/* Hero Content */
.hero-content {
    position: relative;
    /* sit above video/background and overlays */
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
}

/* Logo */
.logo-container {
    margin-bottom: 2rem;
}

.logo-placeholder {
    display: inline-block;
}

.logo-text {
    font-size: clamp(3rem, 8vw, 5rem);
    font-weight: 800;
    background: linear-gradient(135deg, var(--chalk-white) 0%, var(--gold-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 40px rgba(214, 158, 46, 0.3);
}

.logo-placeholder img {
    max-width: 250px;
    height: auto;
}

/* Hero Tagline */
.hero-tagline {
    color: var(--text-primary);
    margin-bottom: 1rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    font-size: clamp(1rem, 2.5vw, 1.25rem);
    max-width: 600px;
    margin: 0 auto 2rem;
    color: var(--text-secondary);
}

/* Signup Form */
.signup-form {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 2rem;
    max-width: 500px;
    margin: 0 auto;
}

.signup-form h3 {
    color: var(--gold-light);
    margin-bottom: 1rem;
}

.email-form {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    justify-content: center;
}

.email-form input[type="email"] {
    flex: 1;
    min-width: 200px;
    padding: 0.875rem 1.25rem;
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-primary);
    font-size: 1rem;
    transition: border-color var(--transition-normal), background var(--transition-normal);
}

.email-form input[type="email"]::placeholder {
    color: var(--text-muted);
}

.email-form input[type="email"]:focus {
    outline: none;
    border-color: var(--gold);
    background: rgba(255, 255, 255, 0.08);
}

.email-form button {
    padding: 0.875rem 2rem;
    background: linear-gradient(135deg, var(--felt-green) 0%, var(--felt-green-dark) 100%);
    border: none;
    border-radius: 8px;
    color: var(--text-primary);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: transform var(--transition-fast), box-shadow var(--transition-normal);
}

.email-form button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(13, 92, 79, 0.4);
}

.email-form button:active {
    transform: translateY(0);
}

.signup-note {
    margin-top: 1rem;
    font-size: 0.875rem;
    color: var(--text-muted);
}

/* Mailchimp response message styling */
.response {
    margin-top: 1rem;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    font-size: 0.9rem;
    line-height: 1.5;
}

#mce-success-response,
#mce-success-response-2 {
    background: rgba(72, 187, 120, 0.1);
    border: 1px solid rgba(72, 187, 120, 0.3);
    color: #48bb78;
}

#mce-error-response,
#mce-error-response-2 {
    background: rgba(245, 101, 101, 0.1);
    border: 1px solid rgba(245, 101, 101, 0.3);
    color: #f56565;
}

/* hide development placeholder on large viewports to avoid visual overlap */
@media (min-width: 900px) {
    .video-placeholder .placeholder-text { display: none; }
}

/* ===== FEATURES SECTION ===== */
.features {
    padding: 6rem 2rem;
    background: var(--background-darker);
    text-align: center;
}

.features h2 {
    color: var(--text-primary);
    margin-bottom: 3rem;
}

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

.feature-card {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.02) 100%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 2rem;
    transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

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

.feature-icon {
    margin-bottom: 1.5rem;
}

.icon-placeholder {
    font-size: 3rem;
    line-height: 1;
}

.feature-card h3 {
    color: var(--gold-light);
    margin-bottom: 1rem;
}

.feature-card p {
    font-size: 1rem;
    line-height: 1.7;
}

/* ===== DEMO SECTION ===== */
.demo {
    padding: 6rem 2rem;
    background: var(--background-dark);
    text-align: center;
}

.demo h2 {
    color: var(--text-primary);
    margin-bottom: 2rem;
}

.demo-container {
    max-width: 800px;
    margin: 0 auto;
}

.demo-video-placeholder {
    aspect-ratio: 16 / 9;
    background: linear-gradient(145deg, var(--felt-green-dark) 0%, var(--background-darker) 100%);
    border: 2px dashed var(--text-muted);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.demo-video-placeholder .placeholder-text {
    color: var(--text-muted);
    font-size: 1.25rem;
    text-align: center;
    padding: 2rem;
}

.demo-video-placeholder video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 14px;
}

/* ===== CTA SECTION ===== */
.cta-section {
    padding: 6rem 2rem;
    background: linear-gradient(135deg, var(--felt-green-dark) 0%, var(--navy) 100%);
    text-align: center;
}

.cta-content {
    max-width: 600px;
    margin: 0 auto;
}

.cta-content h2 {
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.cta-content p {
    color: var(--chalk-white);
    opacity: 0.9;
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.cta-form {
    max-width: 450px;
    margin: 0 auto;
}

.cta-form button {
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%);
    color: var(--background-darker);
}

.cta-form button:hover {
    box-shadow: 0 8px 20px rgba(214, 158, 46, 0.4);
}

/* ===== FOOTER ===== */
.footer {
    background: var(--background-darker);
    padding: 4rem 2rem 2rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-start;
    gap: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-logo {
    flex: 1;
    min-width: 200px;
}

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

.footer-tagline {
    margin-top: 0.5rem;
    font-style: italic;
    color: var(--gold);
}

.social-links {
    text-align: right;
}

.social-links h4 {
    color: var(--text-primary);
    margin-bottom: 1rem;
    font-size: 1rem;
}

.social-icons {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
}

.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    text-decoration: none;
    transition: background var(--transition-normal), transform var(--transition-fast);
}

.social-icons a:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-3px);
}

.social-icon {
    width: 1.25rem;
    height: 1.25rem;
    color: var(--text-secondary);
    transition: color var(--transition-normal);
}

.social-icons a:hover .social-icon {
    color: var(--gold-light);
}

.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    padding-top: 2rem;
    text-align: center;
}

.footer-bottom p {
    font-size: 0.875rem;
    color: var(--text-muted);
}

/* ===== ACCESSIBILITY - HONEYPOT FIELDS ===== */
/* Hidden honeypot fields to prevent bot form submissions */
.honeypot {
    position: absolute;
    left: -5000px;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .hero {
        padding: 4rem 1.5rem;
        min-height: 70vh;
    }

    .signup-form {
        padding: 1.5rem;
    }

    .email-form {
        flex-direction: column;
    }

    .email-form input[type="email"],
    .email-form button {
        width: 100%;
    }

    .features, .demo, .cta-section {
        padding: 4rem 1.5rem;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
    }

    .social-links {
        text-align: center;
        width: 100%;
    }

    .social-icons {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .logo-text {
        font-size: 2.5rem;
    }

    .feature-card {
        padding: 1.5rem;
    }

    .hero {
        padding: 3rem 1rem;
        min-height: 60vh;
        align-items: flex-start;
    }

    .hero-content {
        padding-top: 2rem;
    }
}

/* End of file */

