@import url('https://fonts.googleapis.com/css2?family=Instrument+Sans:wght@400;500;600;700&display=swap');

:root {
    --color-white: #F6F8FF;
    --color-black: #151414;
    --color-gray-dark: #333333;
    --color-gray-medium: #4A4A4A;
    --color-gray-light: #666666;
    --color-green: #1DB954;
    --color-green-light: #34D97A;
    --color-green-pale: #B8F5C8;
    --color-green-dark: #158F3F;
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 70px;
}

body {
    font-family: 'Instrument Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    line-height: 1.7;
    color: var(--color-white);
    background-color: var(--color-black);
    overflow-x: hidden;
}

/* Navigation */
nav {
    background-color: rgba(21, 20, 20, 0.95);
    backdrop-filter: blur(10px);
    padding: 1rem 2rem;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 20px rgba(0,0,0,0.3);
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--color-white);
}

.logo img {
    height: 40px;
    width: auto;
}

.logo span {
    font-weight: 700;
    font-size: 1.5rem;
}

.nav-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    align-items: center;
}

.nav-menu li {
    margin-left: 2rem;
}

.nav-menu li a {
    color: var(--color-white);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    display: block;
    padding: 0.5rem 0;
    position: relative;
}

.nav-menu li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--color-green);
    transition: width 0.3s ease;
}

.nav-menu li a:hover::after {
    width: 100%;
}

.nav-menu li a:hover {
    color: var(--color-green);
}

.nav-cta {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background: linear-gradient(135deg, var(--color-green), var(--color-green-dark));
    color: var(--color-white);
    text-decoration: none;
    border-radius: 6px;
    font-weight: 600;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(29, 185, 84, 0.35);
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    width: 44px;
    height: 44px;
    position: relative;
    z-index: 1002;
}

.mobile-menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background-color: var(--color-green);
    margin: 5px auto;
    transition: transform 0.3s ease-in-out, opacity 0.3s ease-in-out;
    border-radius: 2px;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 100px 10% 4rem;
    position: relative;
    background: linear-gradient(135deg, var(--color-black) 0%, var(--color-gray-dark) 50%, var(--color-black) 100%);
    background-size: 200% 200%;
    animation: gradientShift 15s ease infinite;
    text-align: center;
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.hero-content {
    max-width: 900px;
    z-index: 1;
}

.hero h1 {
    font-size: clamp(2rem, 6vw, 3.5rem);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 0.5rem;
}

.hero h1 .highlight {
    color: var(--color-green);
}

.hero-divider {
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, var(--color-green), var(--color-green-light));
    margin: 2rem auto;
    border-radius: 2px;
}

.hero-subtitle {
    font-size: clamp(1.1rem, 3vw, 1.3rem);
    font-weight: 400;
    color: var(--color-white);
    opacity: 0.9;
    max-width: 650px;
    margin: 0 auto 2.5rem;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 3rem;
}

.hero-image {
    max-width: 800px;
    margin: 0 auto;
}

.hero-image img {
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* CTA Buttons */
.cta-button {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: linear-gradient(135deg, var(--color-green), var(--color-green-dark));
    color: var(--color-white);
    text-decoration: none;
    border-radius: 6px;
    font-weight: 600;
    font-size: 1rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: none;
    cursor: pointer;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(29, 185, 84, 0.35);
}

.cta-button.secondary {
    background: transparent;
    border: 2px solid var(--color-green);
    color: var(--color-green);
}

.cta-button.secondary:hover {
    background: var(--color-green);
    color: var(--color-white);
}

/* Content Sections */
.content-section {
    padding: 6rem 10%;
    background-color: var(--color-black);
}

.section-content {
    max-width: 1100px;
    margin: 0 auto;
}

.content-section h2 {
    font-size: clamp(1.8rem, 5vw, 2.5rem);
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--color-white);
    text-align: center;
}

.lead-text {
    font-size: clamp(1.05rem, 2.5vw, 1.2rem);
    color: var(--color-white);
    opacity: 0.85;
    max-width: 750px;
    margin: 0 auto 3rem;
    line-height: 1.8;
    text-align: center;
}

/* SurfScore Highlight */
.surfscore-section {
    background: linear-gradient(180deg, var(--color-black) 0%, var(--color-gray-dark) 100%);
}

.surfscore-highlight {
    background: linear-gradient(145deg, rgba(29, 185, 84, 0.12), rgba(29, 185, 84, 0.04));
    border: 1px solid rgba(29, 185, 84, 0.25);
    border-radius: 12px;
    padding: 2.5rem;
    margin: 0 auto 3rem;
    max-width: 700px;
    text-align: center;
}

.surfscore-highlight h3 {
    font-size: clamp(1.8rem, 4vw, 2.2rem);
    color: var(--color-green);
    margin-bottom: 0.5rem;
}

.surfscore-tagline {
    font-size: clamp(1rem, 2.5vw, 1.15rem);
    font-weight: 500;
    color: var(--color-green-light);
    margin-bottom: 1rem;
    font-style: italic;
}

.surfscore-highlight p:last-child {
    font-size: 1rem;
    opacity: 0.85;
    max-width: 580px;
    margin: 0 auto;
    line-height: 1.7;
}

/* Capability Cards */
.capabilities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
    margin-top: 3rem;
}

.capability-card {
    background: var(--color-gray-dark);
    padding: 1.75rem;
    border-radius: 8px;
    border-left: 3px solid var(--color-green);
    transition: transform 0.3s ease;
}

.capability-card:hover {
    transform: translateY(-4px);
}

.capability-card h4 {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--color-white);
    margin-bottom: 0.75rem;
}

.capability-card p {
    font-size: 0.95rem;
    opacity: 0.8;
    line-height: 1.6;
}

/* Use Cases / Audience Section */
.audience-section {
    background: linear-gradient(180deg, var(--color-gray-dark) 0%, var(--color-black) 100%);
    padding: 5rem 10%;
}

.audience-content {
    max-width: 800px;
    margin: 0 auto;
}

.audience-content h2 {
    color: var(--color-white);
    margin-bottom: 2.5rem;
    text-align: center;
}

.audience-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.audience-item {
    display: flex;
    flex-direction: column;
    padding: 1.25rem 1.5rem;
    background: rgba(255,255,255,0.03);
    border-radius: 8px;
    border: 1px solid rgba(255,255,255,0.08);
    transition: background 0.3s ease;
}

.audience-item:hover {
    background: rgba(29, 185, 84, 0.08);
}

.audience-role {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--color-green-light);
    margin-bottom: 0.35rem;
}

.audience-need {
    font-size: 1rem;
    opacity: 0.8;
}

/* Reports Section */
.reports-section {
    background: var(--color-black);
}

.reports-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

.report-card {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: transform 0.3s ease;
}

.report-card:hover {
    transform: translateY(-4px);
}

.report-card img {
    width: 100%;
    display: block;
}

.report-card-content {
    padding: 1.5rem;
}

.report-card h3 {
    font-size: 1.15rem;
    margin-bottom: 0.5rem;
    color: var(--color-green);
}

.report-card p {
    font-size: 0.95rem;
    opacity: 0.8;
    line-height: 1.6;
}

/* Demo Section */
.demo-section {
    background: linear-gradient(180deg, var(--color-black) 0%, var(--color-gray-dark) 100%);
    text-align: center;
}

.demo-section h2 {
    color: var(--color-green);
}

.demo-box {
    background: var(--color-gray-dark);
    border-radius: 12px;
    padding: 3rem;
    max-width: 600px;
    margin: 2rem auto 0;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.demo-box p {
    margin-bottom: 1.5rem;
    opacity: 0.8;
}

.demo-note {
    margin-top: 1.5rem;
    font-size: 0.9rem;
    opacity: 0.6;
}

.contact-info {
    margin-top: 2rem;
}

.contact-info a {
    color: var(--color-green);
    text-decoration: none;
    font-weight: 500;
}

.contact-info a:hover {
    text-decoration: underline;
}

/* Footer */
footer {
    background-color: var(--color-gray-dark);
    padding: 3rem 10%;
    border-top: 1px solid rgba(255,255,255,0.1);
}

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

.footer-brand {
    margin-bottom: 1.5rem;
}

.footer-brand img {
    margin-bottom: 0.75rem;
}

.footer-brand p {
    font-size: 0.95rem;
    opacity: 0.6;
    font-style: italic;
}

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

.footer-links a {
    color: var(--color-white);
    text-decoration: none;
    font-weight: 500;
    opacity: 0.8;
    transition: opacity 0.3s ease, color 0.3s ease;
}

.footer-links a:hover {
    opacity: 1;
    color: var(--color-green);
}

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

/* Animations */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(25px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Mobile Styles */
@media (max-width: 768px) {
    nav {
        padding: 0.8rem 1rem;
    }

    .nav-menu {
        display: none;
    }

    .mobile-menu-toggle {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

    .mobile-menu-toggle.active span:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }

    .mobile-menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .mobile-menu-toggle.active span:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }

    .nav-menu.active {
        display: flex;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        width: 100%;
        height: 100dvh;
        background-color: rgba(21, 20, 20, 0.98);
        backdrop-filter: blur(10px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        padding: 4rem 2rem;
        z-index: 999;
    }

    .nav-menu.active li {
        margin: 1rem 0;
    }

    .nav-menu.active li a {
        font-size: 1.3rem;
        padding: 1rem 2rem;
    }

    body.menu-open {
        overflow: hidden;
    }

    .hero {
        padding: 100px 1.5rem 3rem;
        min-height: 100dvh;
    }

    .hero-cta {
        flex-direction: column;
        align-items: center;
    }

    .content-section {
        padding: 4rem 1.5rem;
    }

    .audience-section {
        padding: 4rem 1.5rem;
    }

    .capabilities-grid {
        grid-template-columns: 1fr;
    }

    .reports-grid {
        grid-template-columns: 1fr;
    }

    .footer-links {
        flex-direction: column;
        gap: 1rem;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 1.8rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .surfscore-highlight {
        padding: 1.5rem;
    }

    .demo-box {
        padding: 2rem 1.5rem;
    }
}

/* Legal Pages */
.legal-page {
    padding: 120px 10% 4rem;
    min-height: 100vh;
}

.legal-content {
    max-width: 800px;
    margin: 0 auto;
}

.legal-content h1 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: var(--color-green);
}

.legal-content h2 {
    font-size: 1.5rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: var(--color-white);
    text-align: left;
}

.legal-content p {
    margin-bottom: 1rem;
    opacity: 0.85;
    line-height: 1.8;
}

.legal-content ul {
    margin-bottom: 1rem;
    padding-left: 1.5rem;
}

.legal-content li {
    margin-bottom: 0.5rem;
    opacity: 0.85;
}

.legal-content a {
    color: var(--color-green);
    text-decoration: none;
}

.legal-content a:hover {
    text-decoration: underline;
}
