/* ===========================
   ENGAGEMENT MODELS PAGE STYLES
   =========================== */

/* Aurora Animations */
@keyframes aurora-a {
    0%, 100% {
        transform: translate3d(0, 0, 0) scale(1);
    }
    50% {
        transform: translate3d(8%, -6%, 0) scale(1.15);
    }
}

@keyframes aurora-b {
    0%, 100% {
        transform: translate3d(0, 0, 0) scale(1.1);
    }
    50% {
        transform: translate3d(-7%, 5%, 0) scale(0.95);
    }
}

@keyframes aurora-c {
    0%, 100% {
        transform: translate3d(0, 0, 0) scale(0.95);
    }
    50% {
        transform: translate3d(4%, 8%, 0) scale(1.2);
    }
}

@media (prefers-reduced-motion: reduce) {
    .aurora-blob {
        animation: none !important;
    }
}

/* Light Mode Aurora - Softer Colors */
body.light .aurora-blob-1 {
    background: radial-gradient(circle, rgba(255, 107, 26, 0.15), transparent 60%);
}

body.light .aurora-blob-2 {
    background: radial-gradient(circle, rgba(124, 58, 237, 0.12), transparent 60%);
}

body.light .aurora-blob-3 {
    background: radial-gradient(circle, rgba(6, 182, 212, 0.1), transparent 60%);
}

/* Hero Section */
.hero-section {
    position: relative;
    overflow: hidden;
    padding-top: 140px;
    padding-bottom: 64px;
    border-bottom: 1px solid rgba(10, 10, 10, 0.08);
    background: #fdf8f2;
}

body:not(.light) .hero-section {
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    background: #0a0a0a;
}

@media (min-width: 768px) {
    .hero-section {
        padding-top: 160px;
        padding-bottom: 128px;
    }
}

.aurora-container {
    position: absolute;
    inset: 0;
    pointer-events: none;
    mix-blend-mode: screen;
    opacity: 1;
}

body.light .aurora-container {
    mix-blend-mode: normal;
    opacity: 0.8;
}

.aurora-blob {
    position: absolute;
    filter: blur(90px);
}

.aurora-blob-1 {
    left: 8%;
    top: 10%;
    width: 55%;
    height: 70%;
    background: radial-gradient(circle, rgba(255, 107, 26, 0.55), transparent 60%);
    animation: 18s ease-in-out infinite aurora-a;
}

.aurora-blob-2 {
    right: 5%;
    top: 15%;
    width: 50%;
    height: 65%;
    background: radial-gradient(circle, rgba(124, 58, 237, 0.5), transparent 60%);
    filter: blur(100px);
    animation: 22s ease-in-out infinite aurora-b;
}

.aurora-blob-3 {
    left: 25%;
    bottom: -10%;
    width: 60%;
    height: 55%;
    background: radial-gradient(circle, rgba(6, 182, 212, 0.42), transparent 60%);
    filter: blur(110px);
    animation: 26s ease-in-out infinite aurora-c;
}

.mesh-grid {
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: 0.6;
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
}

body.light .mesh-grid {
    background-image: 
        linear-gradient(rgba(10, 10, 10, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(10, 10, 10, 0.02) 1px, transparent 1px);
    opacity: 0.3;
}

.noise-texture {
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: 0.04;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence baseFrequency='0.9' numOctaves='2' /%3E%3C/filter%3E%3Crect width='100' height='100' filter='url(%23n)' /%3E%3C/svg%3E");
}

/* Typography Classes */
.mono {
    font-family: var(--font-mono, monospace);
}

.font-display {
    font-family: 'Inter', sans-serif;
    font-weight: 700;
}

.font-display-alt {
    font-family: 'Inter', sans-serif;
    font-weight: 800;
}

.serif-i {
    font-family: 'Playfair Display', serif;
    font-style: italic;
}

.text-flame {
    color: #ff6b1a;
}

/* Engagement Models Container */
.models-container {
    position: relative;
    border-top: 1px solid rgba(10, 10, 10, 0.08);
    padding: 48px 0;
    background: #fbf9f5;
}

body:not(.light) .models-container {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    background: #0a0a0a;
}

@media (min-width: 640px) {
    .models-container {
        padding: 80px 0;
    }
}

.model-card {
    border-radius: 20px;
    border: 1px solid rgba(10, 10, 10, 0.1);
    background: #ffffff;
    padding: 32px;
}

body:not(.light) .model-card {
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.01));
}

@media (min-width: 768px) {
    .model-card {
        padding: 48px;
    }
}

.model-card-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
}

@media (min-width: 768px) {
    .model-card-grid {
        grid-template-columns: 1fr 1fr;
        gap: 48px;
    }
}

/* Link Underline Effect */
.link-underline {
    position: relative;
    text-decoration: none;
}

.link-underline::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 1px;
    background: currentColor;
    opacity: 0.3;
    transition: opacity 0.2s;
}

.link-underline:hover::after {
    opacity: 1;
}

/* Button Styles */
.btn-flame {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 24px;
    border-radius: 9999px;
    background: #ff6b1a;
    color: #fff;
    font-weight: 500;
    font-size: 14px;
    border: none;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-flame:hover {
    background: #e85c0d;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(255, 107, 26, 0.4);
}

/* Section Backgrounds */
.section-gradient-1 {
    position: absolute;
    inset: -20%;
    background: 
        radial-gradient(55% 45% at 50% 100%, rgba(255, 107, 26, 0.06), transparent 65%),
        radial-gradient(40% 35% at 80% 10%, rgba(124, 58, 237, 0.05), transparent 70%);
    opacity: 0.5;
    transform: translateY(80px);
}

body:not(.light) .section-gradient-1 {
    background: 
        radial-gradient(55% 45% at 50% 100%, rgba(239, 68, 68, 0.05), transparent 65%),
        radial-gradient(40% 35% at 80% 10%, rgba(124, 58, 237, 0.07), transparent 70%);
}

.section-gradient-2 {
    position: absolute;
    inset: -20%;
    background: 
        radial-gradient(55% 45% at 10% 10%, rgba(124, 58, 237, 0.06), transparent 65%),
        radial-gradient(50% 40% at 90% 90%, rgba(6, 182, 212, 0.05), transparent 70%);
    opacity: 0.5;
    transform: translateY(-80px);
}

body:not(.light) .section-gradient-2 {
    background: 
        radial-gradient(55% 45% at 10% 10%, rgba(124, 58, 237, 0.09), transparent 65%),
        radial-gradient(50% 40% at 90% 90%, rgba(6, 182, 212, 0.07), transparent 70%);
}

/* Table Styles */
.comparison-table {
    width: 100%;
    text-align: left;
    font-size: 14px;
}

.comparison-table thead tr {
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.comparison-table th {
    padding-bottom: 16px;
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    color: #fff;
    min-width: 200px;
}

@media (min-width: 768px) {
    .comparison-table th {
        min-width: 0;
    }
}

.comparison-table tbody {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.comparison-table td {
    padding: 24px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.comparison-table tbody tr:last-child td {
    border-bottom: none;
}

/* Process Cards */
.process-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}

@media (min-width: 768px) {
    .process-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.process-card {
    border-radius: 16px;
    border: 1px solid rgba(10, 10, 10, 0.1);
    background: #ffffff;
    padding: 32px;
}

body:not(.light) .process-card {
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: #0d0d0d;
}

.process-card h3 {
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 18px;
    color: #0a0a0a;
    margin-bottom: 12px;
}

body:not(.light) .process-card h3 {
    color: #fff;
}

.process-card p {
    color: rgba(10, 10, 10, 0.6);
    font-size: 14px;
    line-height: 1.6;
}

body:not(.light) .process-card p {
    color: rgba(255, 255, 255, 0.7);
}

/* FAQ Section */
.faq {
    border-bottom: 1px solid rgba(10, 10, 10, 0.1);
    padding: 24px 0;
}

body:not(.light) .faq {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.faq summary {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    cursor: pointer;
    list-style: none;
}

.faq summary::-webkit-details-marker {
    display: none;
}

.faq .plus {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s;
}

.faq[open] .plus {
    transform: rotate(45deg);
}

.faq[open] .plus svg line {
    stroke: #ff6b1a;
}

.faq .ans {
    padding-top: 16px;
}

/* Contact Section */
.contact-section {
    padding: 64px 0;
    position: relative;
    border-top: 1px solid rgba(10, 10, 10, 0.08);
    overflow: hidden;
    background: #fdf8f2;
}

body:not(.light) .contact-section {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    background: #0a0a0a;
}

@media (min-width: 640px) {
    .contact-section {
        padding: 160px 0;
    }
}

.contact-gradient {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: 
        radial-gradient(70% 50% at 30% 40%, rgba(255, 107, 26, 0.08), transparent 60%),
        radial-gradient(50% 50% at 80% 70%, rgba(124, 58, 237, 0.06), transparent 60%);
    transform: translateY(-60px) scale(1.05);
}

body:not(.light) .contact-gradient {
    background: 
        radial-gradient(70% 50% at 30% 40%, rgba(255, 107, 26, 0.2), transparent 60%),
        radial-gradient(50% 50% at 80% 70%, rgba(124, 58, 237, 0.15), transparent 60%);
}

.stage-cards {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}

@media (min-width: 640px) {
    .stage-cards {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .stage-cards {
        grid-template-columns: repeat(4, 1fr);
    }
}

.stage-card {
    border-radius: 16px;
    border: 1px solid rgba(10, 10, 10, 0.1);
    background: rgba(255, 255, 255, 0.7);
    padding: 24px;
    text-align: left;
    cursor: pointer;
    transition: all 0.3s;
}

body:not(.light) .stage-card {
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.02);
}

.stage-card:hover {
    border-color: rgba(255, 107, 26, 0.6);
    background: rgba(255, 107, 26, 0.05);
    box-shadow: 0 12px 40px -14px rgba(255, 107, 26, 0.45);
}

body.light .stage-card:hover {
    background: rgba(255, 255, 255, 1);
}

.stage-card h3 {
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 20px;
    color: #0a0a0a;
}

body:not(.light) .stage-card h3 {
    color: #fff;
}

.stage-card p {
    margin-top: 12px;
    font-size: 14px;
    color: rgba(10, 10, 10, 0.6);
    line-height: 1.6;
}

body:not(.light) .stage-card p {
    color: rgba(255, 255, 255, 0.6);
}

/* Contact Stats */
.contact-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-top: 40px;
    padding-top: 40px;
    border-top: 1px solid rgba(10, 10, 10, 0.1);
}

body:not(.light) .contact-stats {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

@media (min-width: 640px) {
    .contact-stats {
        grid-template-columns: repeat(3, 1fr);
        margin-top: 96px;
    }
}

/* Utility Classes */
.text-white\/60 {
    color: rgba(255, 255, 255, 0.6);
}

.text-white\/75 {
    color: rgba(255, 255, 255, 0.75);
}

.text-white\/40 {
    color: rgba(255, 255, 255, 0.4);
}

.text-white\/50 {
    color: rgba(255, 255, 255, 0.5);
}

.text-white\/65 {
    color: rgba(255, 255, 255, 0.65);
}

.text-white\/80 {
    color: rgba(255, 255, 255, 0.8);
}

.text-white\/20 {
    color: rgba(255, 255, 255, 0.2);
}

.text-white\/45 {
    color: rgba(255, 255, 255, 0.45);
}

.border-white\/5 {
    border-color: rgba(255, 255, 255, 0.05);
}

.border-white\/08 {
    border-color: rgba(255, 255, 255, 0.08);
}

.border-white\/10 {
    border-color: rgba(255, 255, 255, 0.1);
}

/* Responsive Typography */
@media (max-width: 768px) {
    .hero-section {
        padding-top: 120px;
    }
    
    .model-card {
        padding: 24px;
    }
}

/* Scroll behavior */
html {
    scroll-behavior: smooth;
}

/* Focus styles for accessibility */
button:focus-visible,
a:focus-visible {
    outline: 2px solid #ff6b1a;
    outline-offset: 4px;
}


/* ===========================
   TEXT COLOR UTILITIES FOR LIGHT/DARK MODE
   =========================== */

/* Primary Text Colors */
.text-primary {
    color: #0a0a0a;
}

body:not(.light) .text-primary {
    color: #fff;
}

/* Muted Text Colors */
.text-muted {
    color: rgba(10, 10, 10, 0.65);
}

body:not(.light) .text-muted {
    color: rgba(255, 255, 255, 0.75);
}

/* Dim Text Colors */
.text-dim {
    color: rgba(10, 10, 10, 0.55);
}

body:not(.light) .text-dim {
    color: rgba(255, 255, 255, 0.6);
}

/* Faint Text Colors */
.text-faint {
    color: rgba(10, 10, 10, 0.4);
}

body:not(.light) .text-faint {
    color: rgba(255, 255, 255, 0.4);
}

/* Separator Colors */
.separator {
    color: rgba(10, 10, 10, 0.3);
}

body:not(.light) .separator {
    color: rgba(255, 255, 255, 0.4);
}

/* Border Colors */
.border-subtle {
    border-color: rgba(10, 10, 10, 0.08);
}

body:not(.light) .border-subtle {
    border-color: rgba(255, 255, 255, 0.08);
}

/* Section Backgrounds */
section {
    background: #fbf9f5;
}

body:not(.light) section {
    background: #0a0a0a;
}

/* Table Styles for Light Mode */
body.light .comparison-table thead tr {
    border-bottom: 1px solid rgba(10, 10, 10, 0.08);
}

body.light .comparison-table th {
    color: #0a0a0a;
}

body.light .comparison-table td {
    border-bottom: 1px solid rgba(10, 10, 10, 0.08);
}

body.light .comparison-table tbody tr:last-child td {
    border-bottom: none;
}
