/* CineMetrics Website - Design System
   Modern, clean SaaS aesthetic
   ================================================== */

/* CSS Variables */
:root {
    /* Primary Colors */
    --primary: #3B6FA5;
    --primary-dark: #2a5078;
    --primary-light: #5c8dc7;

    /* Accent Colors */
    --accent: #ff7a59;
    --accent-dark: #e56845;
    --accent-light: #ff9a7a;

    /* Neutral Colors */
    --dark: #2d3748;
    --dark-light: #4a5568;
    --gray: #718096;
    --gray-light: #a0aec0;
    --light: #edf2f7;
    --lighter: #f7fafc;
    --white: #ffffff;

    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #3B6FA5 0%, #2a5078 100%);
    --gradient-hero: linear-gradient(135deg, #1a365d 0%, #2a5078 50%, #3B6FA5 100%);
    --gradient-accent: linear-gradient(135deg, #ff7a59 0%, #ff9a7a 100%);

    /* Typography */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-display: 'Inter', sans-serif;

    /* Spacing */
    --section-padding: 100px 0;
    --container-max: 1200px;

    /* Shadows */
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.12);
    --shadow-md: 0 4px 6px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 25px rgba(0,0,0,0.1);
    --shadow-xl: 0 20px 40px rgba(0,0,0,0.15);

    /* Border Radius */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 20px;
    --radius-full: 50px;
}

/* Reset & Base */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    font-size: 16px;
    line-height: 1.6;
    color: var(--dark);
    background: var(--white);
    overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: 700;
    line-height: 1.2;
    color: var(--dark);
}

h1 { font-size: 3.5rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 1.75rem; }
h4 { font-size: 1.25rem; }

@media (max-width: 768px) {
    h1 { font-size: 2.5rem; }
    h2 { font-size: 2rem; }
    h3 { font-size: 1.5rem; }
}

p {
    margin-bottom: 1rem;
    color: var(--gray);
}

.lead {
    font-size: 1.25rem;
    line-height: 1.7;
}

/* Container */
.container {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 20px;
}

.container-narrow {
    max-width: 800px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    border: none;
    border-radius: var(--radius-full);
    cursor: pointer;
    transition: all 0.3s ease;
    gap: 8px;
}

.btn-primary {
    background: var(--accent);
    color: var(--white);
}

.btn-primary:hover {
    background: var(--accent-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background: var(--white);
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-secondary:hover {
    background: var(--primary);
    color: var(--white);
}

.btn-outline-white {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.btn-outline-white:hover {
    background: var(--white);
    color: var(--primary);
}

.btn-ghost {
    background: transparent;
    color: var(--primary);
    padding: 10px 16px;
}

.btn-ghost:hover {
    background: var(--light);
}

.btn-lg {
    padding: 18px 36px;
    font-size: 1.1rem;
}

.btn-sm {
    padding: 10px 20px;
    font-size: 0.9rem;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 15px 0;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background: var(--white);
    box-shadow: var(--shadow-md);
}

.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.navbar-brand {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--white);
    text-decoration: none;
}

.navbar.scrolled .navbar-brand {
    color: var(--primary);
}

.navbar-nav {
    display: flex;
    list-style: none;
    gap: 32px;
}

.navbar-nav a {
    color: rgba(255,255,255,0.9);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.navbar.scrolled .navbar-nav a {
    color: var(--dark);
}

.navbar-nav a:hover {
    color: var(--accent);
}

.navbar-cta {
    display: flex;
    align-items: center;
    gap: 12px;
}

.navbar-cta .btn-ghost {
    color: rgba(255,255,255,0.9);
}

.navbar.scrolled .navbar-cta .btn-ghost {
    color: var(--primary);
}

/* Mobile Navigation */
.navbar-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--white);
    cursor: pointer;
}

.navbar.scrolled .navbar-toggle {
    color: var(--dark);
}

@media (max-width: 992px) {
    .navbar-toggle {
        display: block;
    }

    .navbar .container {
        flex-wrap: wrap;
    }

    .navbar-nav,
    .navbar-cta {
        display: none;
    }

    .navbar.mobile-open .navbar-nav {
        display: flex;
        flex-direction: column;
        width: 100%;
        background: var(--white);
        padding: 20px 20px 10px;
        margin-top: 15px;
        border-radius: var(--radius-md) var(--radius-md) 0 0;
        box-shadow: 0 4px 6px rgba(0,0,0,0.1);
        gap: 0;
    }

    .navbar.mobile-open .navbar-cta {
        display: flex;
        flex-direction: column;
        width: 100%;
        background: var(--white);
        padding: 10px 20px 20px;
        border-radius: 0 0 var(--radius-md) var(--radius-md);
        box-shadow: 0 4px 6px rgba(0,0,0,0.1);
        gap: 10px;
    }

    .navbar.mobile-open .navbar-nav a {
        color: var(--dark);
        padding: 12px 0;
        border-bottom: 1px solid var(--light);
    }

    .navbar.mobile-open .navbar-nav li:last-child a {
        border-bottom: none;
    }

    .navbar.mobile-open .navbar-cta .btn-ghost {
        color: var(--primary);
        text-align: center;
        padding: 12px;
        border: 1px solid var(--primary);
        border-radius: var(--radius-md);
    }

    .navbar.mobile-open .navbar-cta .btn-primary {
        text-align: center;
        padding: 12px;
    }
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: url('/website/assets/images/stock/hero-theater.jpg') center/cover no-repeat;
    position: relative;
    padding: 120px 0 100px;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: none;
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.hero h1 {
    color: var(--white);
    margin-bottom: 24px;
    font-size: 4rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero .lead {
    color: var(--white);
    margin-bottom: 40px;
    font-size: 1.35rem;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.6);
}

.hero-cta {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 24px;
}

.hero-signin {
    color: rgba(255,255,255,0.8);
    font-size: 0.9rem;
}

.hero-signin a {
    color: var(--white);
    text-decoration: none;
    font-weight: 600;
}

.hero-signin a:hover {
    text-decoration: underline;
}

/* Page Hero (shorter) */
.page-hero {
    padding: 160px 0 80px;
    background: var(--gradient-hero);
    text-align: center;
}

.page-hero h1 {
    color: var(--white);
    margin-bottom: 16px;
}

.page-hero .lead {
    color: rgba(255,255,255,0.9);
    max-width: 700px;
    margin: 0 auto;
}

/* Sections */
.section {
    padding: var(--section-padding);
}

.section-light {
    background: var(--lighter);
}

.section-dark {
    background: var(--dark);
    color: var(--white);
}

.section-dark h2,
.section-dark h3 {
    color: var(--white);
}

.section-dark p {
    color: rgba(255,255,255,0.8);
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px;
}

.section-header h2 {
    margin-bottom: 16px;
}

.section-header p {
    font-size: 1.1rem;
}

/* Feature Cards */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.feature-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-accent);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    font-size: 1.5rem;
    color: var(--white);
}

.feature-card h3 {
    margin-bottom: 12px;
    font-size: 1.25rem;
}

.feature-card p {
    margin-bottom: 0;
    font-size: 0.95rem;
}

/* Highlight List */
.highlight-list {
    list-style: none;
    margin: 24px 0;
}

.highlight-list li {
    padding: 8px 0 8px 32px;
    position: relative;
    color: var(--dark-light);
}

.highlight-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent);
    font-weight: 700;
}

/* Two Column Layout */
.two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.two-col.reverse {
    direction: rtl;
}

.two-col.reverse > * {
    direction: ltr;
}

@media (max-width: 768px) {
    .two-col {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .two-col.reverse {
        direction: ltr;
    }
}

.two-col-content h2 {
    margin-bottom: 16px;
}

.two-col-content p {
    font-size: 1.1rem;
}

.two-col-image img {
    width: 100%;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

/* Testimonial */
.testimonial {
    background: var(--lighter);
    padding: 60px;
    border-radius: var(--radius-lg);
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.testimonial-quote {
    font-size: 1.5rem;
    font-style: italic;
    color: var(--dark);
    margin-bottom: 24px;
    line-height: 1.6;
}

.testimonial-author {
    font-weight: 600;
    color: var(--primary);
}

.testimonial-role {
    color: var(--gray);
    font-size: 0.9rem;
}

/* Testimonials Grid */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-top: 30px;
}

@media (max-width: 768px) {
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
}

.testimonial-card {
    background: var(--white);
    padding: 30px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    text-align: left;
}

.testimonial-card .testimonial-quote {
    font-size: 0.95rem;
    font-style: italic;
    margin-bottom: 16px;
}

.testimonial-card .testimonial-author {
    font-size: 0.9rem;
}

.testimonial-card .testimonial-role {
    font-size: 0.8rem;
}

/* Audience Cards */
.audience-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

@media (max-width: 768px) {
    .audience-grid {
        grid-template-columns: 1fr;
    }
}

.audience-card {
    background: var(--white);
    padding: 40px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    text-align: center;
}

.audience-card h3 {
    margin-bottom: 12px;
}

.audience-card p {
    margin-bottom: 20px;
}

/* CTA Section */
.cta-section {
    padding: 80px 0;
    background: var(--gradient-primary);
    text-align: center;
}

.cta-section h2 {
    color: var(--white);
    margin-bottom: 16px;
}

.cta-section p {
    color: rgba(255,255,255,0.9);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto 32px;
}

.cta-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Team Section */
.team-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    max-width: 900px;
    margin: 0 auto;
}

@media (max-width: 768px) {
    .team-grid {
        grid-template-columns: 1fr;
    }
}

.team-card {
    text-align: center;
}

.team-photo {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 20px;
    box-shadow: var(--shadow-md);
}

.team-card h3 {
    margin-bottom: 4px;
}

.team-role {
    color: var(--accent);
    font-weight: 600;
    margin-bottom: 12px;
}

.team-bio {
    font-size: 0.95rem;
}

/* Contact Form */
.contact-form {
    background: var(--white);
    padding: 40px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    max-width: 600px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--dark);
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid var(--light);
    border-radius: var(--radius-md);
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary);
}

.form-group textarea {
    min-height: 120px;
    resize: vertical;
}

/* Footer */
.footer {
    background: var(--dark);
    color: rgba(255,255,255,0.8);
    padding: 60px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 480px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }
}

.footer-brand {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 12px;
}

.footer-tagline {
    font-size: 0.9rem;
    margin-bottom: 20px;
}

.footer-social {
    display: flex;
    gap: 12px;
}

.footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    color: var(--white);
    text-decoration: none;
    transition: background 0.3s;
}

.footer-social a:hover {
    background: var(--accent);
}

.footer-col h4 {
    color: var(--white);
    font-size: 1rem;
    margin-bottom: 16px;
}

.footer-col ul {
    list-style: none;
}

.footer-col li {
    margin-bottom: 8px;
}

.footer-col a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s;
}

.footer-col a:hover {
    color: var(--white);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 30px;
    text-align: center;
    font-size: 0.85rem;
}

/* Utilities */
.text-center { text-align: center; }
.text-white { color: var(--white); }
.text-primary { color: var(--primary); }
.text-accent { color: var(--accent); }

.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 8px; }
.mb-2 { margin-bottom: 16px; }
.mb-3 { margin-bottom: 24px; }
.mb-4 { margin-bottom: 32px; }
.mb-5 { margin-bottom: 48px; }

.mt-3 { margin-top: 24px; }
.mt-4 { margin-top: 32px; }
.mt-5 { margin-top: 48px; }

/* Animations */
[data-aos] {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease;
}

[data-aos].aos-animate {
    opacity: 1;
    transform: translateY(0);
}

/* Badge */
.badge {
    display: inline-block;
    padding: 6px 12px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: var(--radius-full);
}

.badge-primary {
    background: var(--primary-light);
    color: var(--white);
}

.badge-accent {
    background: var(--accent);
    color: var(--white);
}
