/* ===========================
   CSS RESET & BASE STYLES
   =========================== */

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Inter', 'Segoe UI', sans-serif;
    line-height: 1.6;
    color: #ffffff;
    background-color: #080808;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    outline: none;
}

/* ===========================
   CUSTOM ANIMATIONS
   =========================== */

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in-up {
    animation: fadeInUp 0.6s ease-out forwards;
}

/* ===========================
   UTILITY CLASSES
   =========================== */

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1rem;
}

.gradient-text {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ===========================
   BUTTONS
   =========================== */

.btn-primary {
    padding: 0.75rem 1.5rem;
    background-color: #6366f1;
    color: white;
    border-radius: 0.5rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: #4f46e5;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(99, 102, 241, 0.3);
}

.btn-secondary {
    padding: 0.5rem 1rem;
    background-color: transparent;
    color: #6366f1;
    border-radius: 0.5rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background-color: rgba(99, 102, 241, 0.05);
}

.btn-outline {
    padding: 0.75rem 1.5rem;
    background-color: white;
    color: #374151;
    border: 2px solid #e5e7eb;
    border-radius: 0.5rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-outline:hover {
    background-color: #f9fafb;
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.125rem;
}

.btn-full {
    width: 100%;
    padding: 0.75rem 1.5rem;
}

.mobile-btn {
    width: 100%;
}

/* ===========================
   NAVIGATION
   =========================== */

.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: rgba(18, 18, 18, 0.8);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid #1E1E1E;
    z-index: 1000;
    transition: box-shadow 0.3s ease;
}

.nav.scrolled {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.nav-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1rem;
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 4rem;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: #6366f1;
}

.nav-links {
    display: none;
    align-items: center;
    gap: 2rem;
}

.nav-link {
    color: #D6D6D6;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: #FFFFFF;
}

.mobile-menu-btn {
    display: block;
    padding: 0.5rem;
    background-color: transparent;
    border-radius: 0.5rem;
    transition: background-color 0.3s ease;
}

.mobile-menu-btn:hover {
    background-color: #151515;
}

.menu-icon {
    width: 1.5rem;
    height: 1.5rem;
    color: #484AB0;
}

.mobile-menu {
    display: none;
    border-top: 1px solid #1F1F1F;
    background-color: #121212;
}

.mobile-menu.active {
    display: block;
}

.mobile-menu-content {
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.mobile-link {
    display: block;
    padding: 0.75rem;
    color: #D6D6D6;
    border-radius: 0.5rem;
    transition: background-color 0.3s ease;
}

.mobile-link:hover {
    background-color: #151515;
}

/* Desktop Navigation */
@media (min-width: 768px) {
    .nav-links {
        display: flex;
    }

    .mobile-menu-btn {
        display: none;
    }
}

/* ===========================
   HERO SECTION
   =========================== */

.hero {
    position: relative;
    padding-top: 8rem;
    padding-bottom: 5rem;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.05) 0%, rgba(139, 92, 246, 0.05) 50%, rgba(10, 10, 10, 0.05) 100%);
    z-index: -1;
}

.hero-content {
    text-align: center;
    max-width: 56rem;
    margin: 0 auto;
}

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    padding: 0.5rem 1rem;
    background-color: rgba(99, 102, 241, 0.1);
    color: #6366f1;
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 2rem;
    animation: fadeInUp 0.6s ease-out forwards;
}

.eyebrow-icon {
    width: 1rem;
    height: 1rem;
    margin-right: 0.5rem;
}

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    animation: fadeInUp 0.6s ease-out 0.1s forwards;
    opacity: 0;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: #6b7280;
    line-height: 1.75;
    max-width: 48rem;
    margin: 0 auto 2.5rem;
    animation: fadeInUp 0.6s ease-out 0.2s forwards;
    opacity: 0;
}

.hero-cta {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    justify-content: center;
    align-items: center;
    margin-bottom: 1.5rem;
    animation: fadeInUp 0.6s ease-out 0.3s forwards;
    opacity: 0;
}

.hero-support-text {
    font-size: 0.875rem;
    color: #4b5563;
    animation: fadeInUp 0.6s ease-out 0.4s forwards;
    opacity: 0;
}

.hero-image-container {
    margin-top: 4rem;
    max-width: 80rem;
    margin-left: auto;
    margin-right: auto;
    animation: fadeInUp 0.6s ease-out 0.5s forwards;
    opacity: 0;
}

.hero-image-wrapper {
    position: relative;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    border: 1px solid #e5e7eb;
}

.hero-image {
    width: 100%;
    height: auto;
}

.hero-image-placeholder {
    display: none;
    width: 100%;
    aspect-ratio: 16/9;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.2) 0%, rgba(139, 92, 246, 0.1) 100%);
    align-items: center;
    justify-content: center;
}

.placeholder-content {
    text-align: center;
}

.placeholder-icon {
    width: 6rem;
    height: 6rem;
    margin: 0 auto 1rem;
    color: rgba(99, 102, 241, 0.4);
}

.placeholder-text {
    color: #6b7280;
    font-weight: 500;
}

/* Responsive Hero */
@media (min-width: 640px) {
    .hero-cta {
        flex-direction: row;
    }
}

@media (min-width: 768px) {
    .hero-title {
        font-size: 3.75rem;
    }
}

@media (min-width: 1024px) {
    .hero-title {
        font-size: 4.5rem;
    }
}

/* ===========================
   SECTIONS
   =========================== */

.section {
    padding: 5rem 1rem;
}

.section-gray {
    background-color: #0A0A0A;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: 2.5rem;
    color: #ffffff;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

@media (min-width: 640px) {
    .section-title {
        font-size: 3rem;
    }
}

/* ===========================
   HOW IT WORKS - STEPS
   =========================== */

.steps-grid {
    display: grid;
    gap: 2rem;
}

.step-wrapper {
    position: relative;
}

.step-card {
    background-color: #121212;
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    height: 100%;
}

.step-card:hover {
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    transform: translateY(-4px);
}

.step-number {
    width: 3rem;
    height: 3rem;
    background-color: rgba(99, 102, 241, 0.1);
    color: #6366f1;
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.step-icon {
    width: 4rem;
    height: 4rem;
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.step-icon svg {
    width: 2rem;
    height: 2rem;
    color: white;
}

.step-icon-1 {
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
}

.step-icon-2 {
    background: linear-gradient(135deg, #8b5cf6 0%, #ec4899 100%);
}

.step-icon-3 {
    background: linear-gradient(135deg, #ec4899 0%, #ef4444 100%);
}

.step-title {
    font-size: 1.5rem;
    color: #ffffff;
    font-weight: 700;
    margin-bottom: 1rem;
}

.step-description {
    color: #E0E0E0;
    line-height: 1.75;
}

.step-arrow {
    display: none;
    position: absolute;
    top: 50%;
    right: -3rem;
    transform: translateY(-50%);
}

.step-arrow svg {
    width: 3rem;
    height: 3rem;
    color: rgba(99, 102, 241, 0.3);
}

@media (min-width: 768px) {
    .steps-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 3rem;
    }

    .step-arrow {
        display: block;
    }

    .step-wrapper:last-child .step-arrow {
        display: none;
    }
}

/* ===========================
   FEATURES GRID
   =========================== */

.features-grid {
    display: grid;
    gap: 2rem;
}

.feature-card {
    padding: 2rem;
    border-radius: 1rem;
    border: 2px solid #2A2A2A;
    transition: all 0.3s ease;
}

.feature-card:hover {
    border-color: #6366f1;
    box-shadow: 0 10px 25px rgba(99, 102, 241, 0.1);
}

.feature-icon {
    width: 3rem;
    height: 3rem;
    background-color: rgba(99, 102, 241, 0.1);
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
}

.feature-card:hover .feature-icon {
    background-color: #6366f1;
    transform: scale(1.1);
}

.feature-icon svg {
    width: 1.5rem;
    height: 1.5rem;
    color: #6366f1;
    transition: color 0.3s ease;
}

.feature-card:hover .feature-icon svg {
    color: white;
}

.feature-title {
    font-size: 1.25rem;
    color: #ffffff;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.feature-description {
    color: #E0E0E0;
    line-height: 1.75;
}

@media (min-width: 768px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .features-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* ===========================
   AUDIENCE CARDS
   =========================== */

.audience-grid {
    display: grid;
    gap: 2rem;
}

.audience-card {
    background-color: #121212;
    border-radius: 1rem;
    padding: 2.5rem;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.audience-card:hover {
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
    transform: translateY(-8px);
}

.audience-icon {
    width: 4rem;
    height: 4rem;
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.audience-icon svg {
    width: 2rem;
    height: 2rem;
    color: white;
}

.audience-icon-1 {
    background: linear-gradient(135deg, #3b82f6 0%, #6366f1 100%);
}

.audience-icon-2 {
    background: linear-gradient(135deg, #8b5cf6 0%, #ec4899 100%);
}

.audience-icon-3 {
    background: linear-gradient(135deg, #ec4899 0%, #ef4444 100%);
}

.audience-title {
    font-size: 1.5rem;
    color: #ffffff;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.audience-subtitle {
    font-size: 1.25rem;
    color: #E8E8E8;
    font-weight: 600;
    margin-bottom: 1rem;
}

.audience-description {
    color: #E0E0E0;
    line-height: 1.75;
}

@media (min-width: 1024px) {
    .audience-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* ===========================
   WHY CARDS
   =========================== */

.why-grid {
    display: grid;
    gap: 2rem;
    max-width: 64rem;
    margin: 0 auto;
}

.why-card {
    border-radius: 1rem;
    padding: 2rem;
    border: 1px solid;
}

.why-card-1 {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.05) 0%, rgba(139, 92, 246, 0.05) 100%);
    border-color: rgba(99, 102, 241, 0.2);
}

.why-card-2 {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.05) 0%, rgba(236, 72, 153, 0.05) 100%);
    border-color: rgba(139, 92, 246, 0.2);
}

.why-card-3 {
    background: linear-gradient(135deg, rgba(236, 72, 153, 0.05) 0%, rgba(239, 68, 68, 0.05) 100%);
    border-color: rgba(236, 72, 153, 0.2);
}

.why-card-4 {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.05) 0%, rgba(99, 102, 241, 0.1) 100%);
    border-color: rgba(59, 130, 246, 0.2);
}

.why-content {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.why-icon-container {
    flex-shrink: 0;
}

.why-icon {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.why-icon svg {
    width: 1.5rem;
    height: 1.5rem;
    color: white;
}

.why-icon-1 {
    background-color: #6366f1;
}

.why-icon-2 {
    background-color: #8b5cf6;
}

.why-icon-3 {
    background-color: #ec4899;
}

.why-icon-4 {
    background-color: #3b82f6;
}

.why-title {
    font-size: 1.25rem;
    color: #ffffff;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.why-description {
    color: #E0E0E0;
    line-height: 1.75;
}

@media (min-width: 768px) {
    .why-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ===========================
   FOOTER
   =========================== */

.footer {
    background-color: #121212;
    color: #9ca3af;
    padding: 3rem 1rem 2rem;
}

.footer-content {
    max-width: 64rem;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 2rem;
    align-items: center;
    text-align: center;
    margin-bottom: 2rem;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
}

.footer-logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
}

.footer-tagline {
    color: #9ca3af;
    line-height: 1.75;
    max-width: 28rem;
}

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

.footer-link {
    font-size: 0.875rem;
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: white;
}

.footer-social {
    display: flex;
    gap: 1rem;
}

.social-icon {
    width: 2.5rem;
    height: 2.5rem;
    background-color: #1e293b;
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.social-icon:hover {
    background-color: #6366f1;
    transform: translateY(-2px);
}

.social-icon svg {
    width: 1.25rem;
    height: 1.25rem;
    color: #9ca3af;
}

.social-icon:hover svg {
    color: white;
}

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid #1e293b;
    text-align: center;
}

.footer-copyright {
    font-size: 0.875rem;
    color: #9ca3af;
}

@media (min-width: 768px) {
    .footer-content {
        flex-direction: row;
        justify-content: space-between;
        text-align: left;
    }

    .footer-brand {
        align-items: flex-start;
    }

    .footer-links {
        justify-content: flex-start;
    }
}

/* ===========================
   RESPONSIVE UTILITIES
   =========================== */

@media (max-width: 767px) {
    .section {
        padding: 3rem 1rem;
    }

    .hero {
        padding-top: 6rem;
        padding-bottom: 3rem;
    }
    
    .hero-title {
        font-size: 2.25rem;
    }
    
    .hero-subtitle {
        font-size: 1.125rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
}

/* ===========================
   ACCESSIBILITY
   =========================== */

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    html {
        scroll-behavior: auto;
    }
}

/* Focus styles for keyboard navigation */
a:focus-visible,
button:focus-visible {
    outline: 2px solid #6366f1;
    outline-offset: 2px;
}

/* ===========================
   LOADING STATES
   =========================== */

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

.loading {
    animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

/* ===========================
   PRINT STYLES
   =========================== */

@media print {
    .nav,
    .footer,
    .hero-cta,
    button {
        display: none;
    }
    
    body {
        color: #000;
        background: #fff;
    }
    
    .section {
        page-break-inside: avoid;
    }
}

/* ===========================
   OTHER STYLES
   =========================== */
.stretch-container {
  width: 100vw;        /* full viewport width */
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;  /* pull it outward */
  margin-right: -50vw;
}