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

/* ============================================
   NEXUS AI - UNIFIED CSS
   ============================================ */

:root {
    --color-bg-primary: #0a0f0d;
    --color-bg-secondary: #0f1a14;
    --color-bg-elevated: #142018;
    --color-accent-primary: #65fcac;
    --color-accent-secondary: #4fd99a;
    --color-accent-tertiary: #2dd4bf;
    --color-text-primary: #ffffff;
    --color-text-secondary: #d1d5db;
    --color-text-muted: #9ca3af;
    --color-success: #10b981;
    --color-highlight: #f3f709;
    --gradient-primary: linear-gradient(135deg, #65fcac 0%, #2dd4bf 100%);
    --gradient-secondary: linear-gradient(135deg, #4fd99a 0%, #22c55e 100%);
    --gradient-accent: linear-gradient(135deg, #65fcac 0%, #34d399 100%);
    --font-display: 'Plus Jakarta Sans', 'Inter', sans-serif;
    --font-body: 'Inter', system-ui, sans-serif;
    --font-mono: 'Space Mono', monospace;
    --spacing-unit: 8px;
    --section-padding: 120px;
    --section-padding-mobile: 60px;
    --container-max-width: 1280px;
    --grid-gap: 32px;
    --border-radius-sm: 8px;
    --border-radius-md: 12px;
    --border-radius-lg: 16px;
    --blur-sm: 8px;
    --blur-md: 16px;
    --blur-lg: 24px;
    --transition-fast: 0.2s ease;
    --transition-base: 0.3s ease;
    --transition-slow: 0.5s ease;
}

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

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: var(--font-body);
    font-size: 18px;
    line-height: 1.7;
    color: var(--color-text-secondary);
    background-color: var(--color-bg-primary);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    min-height: 100vh;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    color: var(--color-text-primary);
    line-height: 1.2;
    font-weight: 700;
}

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

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

.header {
    top: 0;
    left: 0;
    right: 0;
    padding: 24px 0;
    z-index: 100;
    backdrop-filter: blur(12px);
}

.header-container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 24px;
}

.logo {
    height: 50px;
    width: auto;
    display: block;
    transition: opacity var(--transition-base);
}

.logo:hover {
    opacity: 0.8;
}

.container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 24px;
}

.gradient-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.glass-card {
    background: rgba(20, 32, 24, 0.6);
    backdrop-filter: blur(var(--blur-md));
    border: 1px solid rgba(101, 252, 172, 0.2);
    border-radius: var(--border-radius-md);
}

.highlight {
    color: var(--color-highlight);
    font-weight: 700;
    font-family: var(--font-mono);
}

/* Background Shapes */
.bg-shapes {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.15;
    animation: float 20s infinite ease-in-out;
}

.shape-1 {
    width: 600px;
    height: 600px;
    background: var(--gradient-primary);
    top: -200px;
    right: -200px;
    animation-delay: 0s;
}

.shape-2 {
    width: 500px;
    height: 500px;
    background: var(--gradient-secondary);
    bottom: -150px;
    left: -150px;
    animation-delay: 3s;
}

.shape-3 {
    width: 400px;
    height: 400px;
    background: var(--gradient-accent);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation-delay: 6s;
}

@keyframes float {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }

    33% {
        transform: translate(30px, -30px) scale(1.1);
    }

    66% {
        transform: translate(-30px, 30px) scale(0.9);
    }
}

/* Hero */
.hero {
    position: relative;
    min-height: 77vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 0;
    padding-bottom: 0;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: linear-gradient(rgba(101, 252, 172, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(101, 252, 172, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 1100px;
    margin: 0 auto;
}

.hero-title {
    font-size: 60px;
    font-weight: 800;
    margin-bottom: 24px;
    letter-spacing: -0.02em;
}

.hero-subtitle {
    font-size: 22px;
    color: var(--color-text-secondary);
    margin-bottom: 48px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.scroll-indicator {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 60px;
    background: rgba(101, 252, 172, 0.2);
    overflow: hidden;
}

.scroll-line {
    width: 100%;
    height: 30px;
    background: var(--gradient-primary);
    animation: scroll-down 2s infinite;
}

@keyframes scroll-down {
    0% {
        transform: translateY(-100%);
    }

    100% {
        transform: translateY(200%);
    }
}

/* Buttons */
.btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 18px 48px;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 0.5px;
    border-radius: var(--border-radius-sm);
    transition: all var(--transition-base);
    overflow: hidden;
    text-transform: uppercase;
    z-index: 1;
}

.btn-primary {
    background: var(--gradient-primary);
    color: #0a0f0d;
    box-shadow: 0 4px 20px rgba(101, 252, 172, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 8px 30px rgba(101, 252, 172, 0.6);
}

.btn-secondary {
    background: rgba(101, 252, 172, 0.1);
    color: var(--color-accent-primary);
    border: 2px solid var(--color-accent-primary);
}

.btn-secondary:hover {
    background: rgba(101, 252, 172, 0.2);
    transform: translateY(-2px);
}

.btn-large {
    padding: 24px 64px;
    font-size: 18px;
}

.btn-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(255,255,255,0.3) 0%, transparent 70%);
    transform: translate(-50%, -50%) scale(0);
    transition: transform var(--transition-base);
    border-radius: inherit;
    z-index: -1;
}

.btn:hover .btn-glow {
    transform: translate(-50%, -50%) scale(1.5);
}

/* Animations */
.animate-in {
    opacity: 0;
    animation: fadeInUp 0.3s ease forwards;
}

.hero-title.animate-in {
    animation-delay: 0.1s;
}

.hero-subtitle.animate-in {
    animation-delay: 0.3s;
}

.hero .btn.animate-in {
    animation-delay: 0.5s;
}

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

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Case Study */
.h3phone {
    font-size: 24px;
    margin-bottom: 12px;
}

.case-study {
    position: relative;
    padding-top: var(--section-padding);
    padding-bottom: 0;
    z-index: 1;
}

.section-header {
    text-align: center;
    margin-bottom: 80px;
}

.section-title {
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 16px;
}

.section-subtitle {
    font-size: 24px;
    color: var(--color-accent-primary);
    margin-bottom: 24px;
}

.section-subtitle-hero {
    font-size: 24px;
    color: var(--color-accent-primary);
    margin-bottom: 24px;
}

.case-intro {
    font-size: 20px;
    color: var(--color-text-secondary);
    max-width: 700px;
    margin: 0 auto;
}

.results-grid {
    display: flex;
    flex-direction: column;
    gap: var(--grid-gap);
    margin-bottom: 60px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.result-card {
    padding: 40px;
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
}

.result-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-primary);
    opacity: 0;
    transition: opacity var(--transition-base);
    z-index: -1;
}

.result-card:hover {
    transform: translateY(-8px);
    border-color: var(--color-accent-primary);
    box-shadow: 0 20px 40px rgba(101, 252, 172, 0.3);
}

.result-card:hover::before {
    opacity: 0.05;
}

.card-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 24px;
}

.card-icon {
    width: 64px;
    height: 64px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(101, 252, 172, 0.1);
    border-radius: var(--border-radius-md);
    color: var(--color-accent-primary);
}

.card-icon svg {
    width: 32px;
    height: 32px;
}

.card-title {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 0;
    color: var(--color-text-primary);
}

.card-text {
    font-size: 17px;
    line-height: 1.8;
    color: var(--color-text-secondary);
}

.stat-number {
    color: var(--color-highlight);
    font-family: var(--font-mono);
    font-weight: 700;
}

.cta-inline {
    text-align: center;
    padding: 60px 40px;
    background: rgba(101, 252, 172, 0.05);
    border-radius: var(--border-radius-md);
    border: 1px solid rgba(101, 252, 172, 0.1);
}

.cta-text {
    font-size: 20px;
    color: var(--color-text-secondary);
    margin-bottom: 32px;
    line-height: 1.6;
}

.cta-text1 {
    font-size: 15px;
    color: var(--color-text-secondary);
    margin-bottom: 5px;
    line-height: 1.6;
    font-style: italic;
}

.cta-bottom {
    text-align: center;
    margin-top: 40px;
}

/* Testimonial */
.testimonial {
    position: relative;
    padding-top: var(--section-padding);
    padding-bottom: 0;
    z-index: 1;
}

.testimonial-card {
    max-width: 900px;
    margin: 0 auto;
    padding: 0;
    text-align: center;
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
    border-radius: var(--border-radius-md);
}

.testimonial-card:hover {
    transform: scale(1.05);
    border-color: var(--color-accent-primary);
    box-shadow: 0 20px 40px rgba(101, 252, 172, 0.3);
}

.testimonial-image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: var(--border-radius-md);
    transition: transform 0.5s ease;
}

/* AI Systems Grid */
.ai-systems {
    position: relative;
    padding-top: var(--section-padding);
    padding-bottom: 0;
    z-index: 1;
}

.systems-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: var(--grid-gap);
}

.system-card {
    padding: 40px;
    background: rgba(20, 32, 24, 0.6);
    backdrop-filter: blur(var(--blur-md));
    border: 1px solid rgba(101, 252, 172, 0.2);
    border-radius: var(--border-radius-md);
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
}

.system-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-primary);
    opacity: 0;
    transition: opacity var(--transition-base);
    z-index: 0;
}

.system-card:hover {
    transform: translateY(-8px);
    border-color: var(--color-accent-primary);
    box-shadow: 0 20px 40px rgba(101, 252, 172, 0.3);
}

.system-card:hover::before {
    opacity: 0.1;
}

.system-card-highlighted {
    border: 2px solid var(--color-accent-primary);
    background: rgba(101, 252, 172, 0.1);
}

.system-card-highlighted::before {
    opacity: 0.05;
}

.system-icon {
    position: relative;
    z-index: 1;
    width: 64px;
    height: 64px;
    margin-bottom: 24px;
    color: var(--color-accent-primary);
    transition: all var(--transition-base);
}

.system-card:hover .system-icon {
    transform: scale(1.1) rotate(5deg);
    color: var(--color-accent-secondary);
}

.system-title {
    position: relative;
    z-index: 1;
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--color-text-primary);
}

.trusted {
    margin-top: 45px;
    font-size: 20px;
    margin-bottom: 110px;
}

.microsoft-logo {
    display: inline-block;
    width: 24px;
    height: 24px;
    margin-left: 6px;
    vertical-align: middle;
    margin-top: -3px;
}

.system-description {
    position: relative;
    z-index: 1;
    font-size: 16px;
    line-height: 1.7;
    color: var(--color-text-secondary);
}

.card-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    padding: 6px 16px;
    background: var(--gradient-primary);
    color: #0a0f0d;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    border-radius: 20px;
    letter-spacing: 0.5px;
    z-index: 2;
}

/* FAQ */
.faq {
    position: relative;
    padding-top: var(--section-padding);
    padding-bottom: 0;
    z-index: 1;
}

.faq-list {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 24px;
    background: rgba(20, 32, 24, 0.6);
    backdrop-filter: blur(var(--blur-md));
    border: 1px solid rgba(101, 252, 172, 0.2);
    border-radius: var(--border-radius-md);
    overflow: hidden;
    transition: all var(--transition-base);
}

.faq-item:hover {
    border-color: var(--color-accent-primary);
}

.faq-question {
    width: 100%;
    padding: 28px 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    text-align: left;
    color: var(--color-text-primary);
    font-size: 20px;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-base);
}

.faq-question:hover {
    color: var(--color-accent-primary);
}

.faq-question-text {
    flex: 1;
    padding-right: 24px;
}

.faq-icon {
    font-size: 28px;
    color: var(--color-accent-primary);
    transition: transform var(--transition-base);
    line-height: 1;
    flex-shrink: 0;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
}

.faq-answer-content {
    padding: 0 32px 32px 32px;
}

.faq-answer-content p {
    font-size: 17px;
    line-height: 1.8;
    color: var(--color-text-secondary);
}

/* Final CTA */
.final-cta {
    position: relative;
    padding-top: 160px;
    padding-bottom: 160px;
    overflow: hidden;
}

.gradient-bg-animated {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-primary);
    opacity: 0.1;
    animation: gradient-shift 8s ease infinite;
    background-size: 200% 200%;
}

@keyframes gradient-shift {
    0%, 100% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }
}

.final-cta-content {
    position: relative;
    z-index: 1;
    text-align: center;
}

.final-cta-title {
    font-size: 56px;
    font-weight: 800;
    margin-bottom: 48px;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Footer */
.footer {
    position: relative;
    padding: 60px 0;
    text-align: center;
    z-index: 1;
}

.footer-text {
    color: var(--color-text-muted);
    font-size: 14px;
}

.footer-text a {
    color: var(--color-accent-primary);
    transition: opacity var(--transition-base);
}

.footer-text a:hover {
    opacity: 0.8;
}

/* ============================================
   TABLET
   ============================================ */
@media (max-width: 1024px) {
    :root {
        --section-padding: 80px;
    }

    .hero-title {
        font-size: 48px;
    }

    .hero-subtitle {
        font-size: 20px;
    }

    .section-title {
        font-size: 40px;
    }

    .systems-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }
}

/* ============================================
   MOBILE
   ============================================ */
@media (max-width: 640px) {
    :root {
        --section-padding: 60px;
    }

    body {
        font-size: 15px;
    }

    .header {
        padding: 20px 0;
    }

    .header-container {
        padding: 0 20px;
    }

    .logo {
        height: 40px;
    }

    .container {
        padding: 0 20px;
    }

    .hero {
        min-height: 70vh;
        padding-top: 50px;
        padding-bottom: 20px;
    }

    .hero-title {
        font-size: 20px;
        line-height: 1.3;
        margin-bottom: 16px;
    }

    .hero-subtitle {
        font-size: 11px;
        margin-bottom: 28px;
        line-height: 1.5;
    }

    .section-title {
        font-size: 26px;
        font-weight: 800;
        margin-bottom: 8px;
    }

    .section-subtitle {
        font-size: 16px;
        margin-bottom: 12px;
    }

    .section-subtitle-hero {
        font-size: 16px;
        margin-bottom: 40px;
    }

    .section-header {
        margin-bottom: 32px;
    }

    .h3phone {
        font-size: 13px;
        margin-bottom: 8px;
    }

    .case-intro {
        font-size: 13px;
        line-height: 1.5;
    }

    .btn {
        padding: 14px 28px;
        font-size: 13px;
    }

    .btn-large {
        padding: 18px 40px;
        font-size: 16px;
    }

    .case-study {
        padding: 40px 0;
    }

    .results-grid {
        gap: 20px;
        margin-bottom: 32px;
    }

    .result-card {
        padding: 20px;
    }

    .card-header {
        gap: 12px;
        margin-bottom: 14px;
    }

    .card-icon {
        width: 40px;
        height: 40px;
    }

    .card-icon svg {
        width: 20px;
        height: 20px;
    }

    .card-title {
        font-size: 16px;
        line-height: 1.3;
    }

    .card-text {
        font-size: 14px;
        line-height: 1.6;
    }

    .cta-inline {
        padding: 24px 20px;
    }

    .cta-text {
        font-size: 12px;
        margin-bottom: 16px;
        line-height: 1.5;
    }

    .cta-text1 {
        font-size: 12px;
    }

    .cta-bottom {
        margin-top: 24px;
    }

    .trusted {
        padding-top: 135px;
        font-size: 18px;
        padding-bottom: 80px;
    }

    .microsoft-logo {
        width: 20px;
        height: 20px;
        margin-left: 4px;
        margin-top: -2px;
    }

    .testimonial {
        padding: 40px 0;
    }

    .testimonial-card {
        padding: 0;
    }

    .ai-systems {
        padding: 40px 0;
    }

    .systems-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .system-card {
        padding: 20px;
    }

    .system-icon {
        width: 40px;
        height: 40px;
        margin-bottom: 12px;
    }

    .system-title {
        font-size: 18px;
        margin-bottom: 8px;
    }

    .system-description {
        font-size: 14px;
        line-height: 1.6;
    }

    .card-badge {
        top: 12px;
        right: 12px;
        padding: 4px 12px;
        font-size: 10px;
        border-radius: 12px;
    }

    .faq {
        padding: 40px 0;
    }

    .faq-item {
        margin-bottom: 16px;
    }

    .faq-question {
        padding: 16px 18px;
        font-size: 15px;
    }

    .faq-question-text {
        padding-right: 12px;
        line-height: 1.4;
    }

    .faq-icon {
        font-size: 24px;
    }

    .faq-answer-content {
        padding: 0 18px 18px 18px;
    }

    .faq-answer-content p {
        font-size: 14px;
        line-height: 1.6;
    }

    .final-cta {
        padding: 60px 0;
    }

    .final-cta-title {
        font-size: 26px;
        margin-bottom: 24px;
    }

    .footer {
        padding: 40px 0;
    }

    .footer-text {
        font-size: 12px;
    }

    .shape {
        filter: blur(60px);
        opacity: 0.12;
    }

    .shape-1 {
        width: 300px;
        height: 300px;
        top: -100px;
        right: -100px;
    }

    .shape-2 {
        width: 250px;
        height: 250px;
        bottom: -80px;
        left: -80px;
    }
}

/* ============================================
   ACCESSIBILITY
   ============================================ */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

.btn:focus-visible, .faq-question:focus-visible {
    outline: 2px solid var(--color-accent-primary);
    outline-offset: 4px;
}

@media (prefers-contrast: high) {
    :root {
        --color-text-secondary: #e5e7eb;
    }
}

.ripple {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: scale(0);
    animation: ripple-animation 0.6s ease-out;
    pointer-events: none;
}

@keyframes ripple-animation {
    to {
        transform: scale(2);
        opacity: 0;
    }
}

/* ============================================
   THANK YOU PAGE
   ============================================ */

body.thankyou-page {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

body.thankyou-page .thankyou-section {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.thankyou-section {
    position: relative;
    padding: 80px 0;
    z-index: 1;
}

.thankyou-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 760px;
    margin: 0 auto;
}

.checkmark-wrapper {
    margin-bottom: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.checkmark-circle {
    width: 120px;
    height: 120px;
    background: rgba(101, 252, 172, 0.1);
    border: 3px solid var(--color-accent-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: scaleIn 0.6s ease forwards;
    box-shadow: 0 8px 30px rgba(101, 252, 172, 0.3);
}

.checkmark {
    width: 60px;
    height: 60px;
    color: var(--color-accent-primary);
}

@keyframes scaleIn {
    from {
        transform: scale(0);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

.thankyou-title {
    font-size: 52px;
    font-weight: 800;
    margin-bottom: 24px;
    letter-spacing: -0.02em;
    line-height: 1.15;
}

.thankyou-message {
    font-size: 20px;
    color: var(--color-text-secondary);
    margin-bottom: 48px;
    line-height: 1.6;
}

.thankyou-message-line {
    display: block;
    margin-top: 8px;
}

.info-card {
    padding: 40px;
    text-align: left;
    transition: all var(--transition-base);
}

.info-card:hover {
    transform: translateY(-4px);
    border-color: var(--color-accent-primary);
    box-shadow: 0 20px 40px rgba(101, 252, 172, 0.2);
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 28px;
}

.info-item:last-child {
    margin-bottom: 0;
}

.info-number {
    width: 44px;
    height: 44px;
    flex-shrink: 0;
    background: var(--gradient-primary);
    color: #0a0f0d;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 20px;
    line-height: 1;
    box-shadow: 0 4px 15px rgba(101, 252, 172, 0.3);
}

.info-text {
    flex: 1;
    font-size: 17px;
    line-height: 1.6;
    color: var(--color-text-secondary);
    align-self: center;
}

.emphasis {
    color: var(--color-accent-primary);
    font-weight: 600;
}

@media (max-width: 1024px) {
    .thankyou-title {
        font-size: 44px;
    }

    .thankyou-message {
        font-size: 18px;
    }

    .info-card {
        padding: 36px;
    }
}

@media (max-width: 640px) {
    .thankyou-section {
        padding: 40px 0;
    }

    .checkmark-wrapper {
        margin-bottom: 28px;
    }

    .checkmark-circle {
        width: 84px;
        height: 84px;
        border-width: 2px;
        box-shadow: 0 6px 20px rgba(101, 252, 172, 0.25);
    }

    .checkmark {
        width: 42px;
        height: 42px;
    }

    .thankyou-title {
        font-size: 28px;
        margin-bottom: 16px;
    }

    .thankyou-message {
        font-size: 15px;
        margin-bottom: 32px;
    }

    .info-card {
        padding: 24px 20px;
    }

    .info-item {
        gap: 14px;
        margin-bottom: 18px;
    }

    .info-number {
        width: 34px;
        height: 34px;
        font-size: 15px;
    }

    .info-text {
        font-size: 14px;
        line-height: 1.55;
    }

    .shape-3 {
        width: 220px;
        height: 220px;
    }
}

/* ============================================
   APPLY PAGE (3-step form, dark theme)
   ============================================ */

body.apply-page {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

body.apply-page .apply-section {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 0;
    position: relative;
    z-index: 1;
}

.apply-card {
    max-width: 640px;
    margin: 0 auto;
    padding: 48px 56px 40px;
    position: relative;
}

.apply-progress {
    width: 100%;
    height: 4px;
    background: rgba(101, 252, 172, 0.12);
    border-radius: 999px;
    overflow: hidden;
    margin-bottom: 12px;
}

.apply-progress-bar {
    height: 100%;
    width: 33.33%;
    background: var(--gradient-primary);
    border-radius: 999px;
    transition: width 0.4s ease;
}

.apply-progress-label {
    font-size: 13px;
    color: var(--color-text-muted);
    font-family: var(--font-mono);
    letter-spacing: 0.5px;
    margin-bottom: 32px;
}

.apply-form {
    position: relative;
}

.hp-field {
    position: absolute;
    left: -10000px;
    width: 1px;
    height: 1px;
    opacity: 0;
    pointer-events: none;
}

.apply-step {
    border: 0;
    padding: 0;
    margin: 0;
    display: none;
    animation: applyStepIn 0.35s ease;
}

.apply-step[data-active] {
    display: block;
}

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

.apply-question {
    font-family: var(--font-display);
    color: var(--color-text-primary);
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 28px;
    line-height: 1.25;
    letter-spacing: -0.01em;
}

.apply-input {
    width: 100%;
    padding: 18px 20px;
    background: rgba(10, 15, 13, 0.6);
    border: 2px solid rgba(101, 252, 172, 0.2);
    border-radius: var(--border-radius-sm);
    color: var(--color-text-primary);
    font-family: var(--font-body);
    font-size: 18px;
    transition: all var(--transition-base);
    outline: none;
}

.apply-input::placeholder {
    color: var(--color-text-muted);
}

.apply-input:focus {
    border-color: var(--color-accent-primary);
    box-shadow: 0 0 0 4px rgba(101, 252, 172, 0.15);
}

.apply-input-error {
    border-color: #ef4444;
}

.apply-input-error:focus {
    box-shadow: 0 0 0 4px rgba(239, 68, 68, 0.18);
}

.apply-error {
    min-height: 22px;
    font-size: 14px;
    color: #ef9a9a;
    margin-top: 8px;
    margin-bottom: 4px;
}

.apply-actions {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 16px;
    margin-top: 28px;
}

.apply-actions .btn {
    grid-column: 2;
    justify-self: center;
}

.apply-actions .apply-back {
    grid-column: 1;
    justify-self: start;
}

.apply-back {
    background: none;
    border: none;
    color: var(--color-text-muted);
    font-size: 15px;
    font-family: var(--font-body);
    cursor: pointer;
    padding: 12px 4px;
    transition: color var(--transition-base);
}

.apply-back:hover {
    color: var(--color-accent-primary);
}

@media (max-width: 640px) {
    body.apply-page .apply-section {
        padding: 28px 0 40px;
    }

    .apply-card {
        padding: 28px 22px 24px;
        max-width: 100%;
    }

    .apply-progress-label {
        margin-bottom: 22px;
    }

    .apply-question {
        font-size: 22px;
        margin-bottom: 20px;
    }

    .apply-input {
        font-size: 16px;
        padding: 14px 16px;
    }

    .apply-actions {
        margin-top: 18px;
    }
}

/* ============================================
   BOOKING PAGE (white card, two columns)
   ============================================ */

body.booking-page {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

body.booking-page .booking-section {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 0 60px;
    position: relative;
    z-index: 1;
}

body.booking-page .booking-section > .container {
    max-width: 1360px;
}

.booking-card {
    display: grid;
    grid-template-columns: minmax(300px, 400px) 1fr;
    background: #ffffff;
    color: #1f2937;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
    max-width: 1320px;
    margin: 0 auto;
}

.booking-info {
    padding: 40px 36px 32px;
    border-right: 1px solid #e5e7eb;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.booking-info-brand {
    margin-bottom: 8px;
}

.booking-info-logo {
    height: 36px;
    width: auto;
    display: block;
    /* The hosted logo has a transparent grey wordmark; this gives it
       enough contrast on the white card without re-uploading it. */
    filter: brightness(0.35) contrast(1.05);
}

.booking-meta {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.booking-meta-row {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #4b5563;
    font-size: 15px;
    font-weight: 500;
}

.booking-meta-icon {
    width: 20px;
    height: 20px;
    color: #6b7280;
    flex-shrink: 0;
}

.booking-info-title {
    font-family: var(--font-display);
    font-size: 18px;
    line-height: 1.45;
    color: #111827;
    font-weight: 700;
    margin: 0;
}

.booking-info-helper {
    font-size: 14px;
    line-height: 1.55;
    color: #6b7280;
    margin: 0;
}

.booking-widget {
    padding: 8px 12px;
    background: #ffffff;
    min-height: 720px;
}

.calendly-inline-widget {
    width: 100%;
    border-radius: 8px;
    overflow: hidden;
}

@media (max-width: 900px) {
    .booking-card {
        grid-template-columns: 1fr;
    }

    .booking-info {
        border-right: 0;
        border-bottom: 1px solid #e5e7eb;
        padding: 28px 24px 24px;
        gap: 16px;
    }

    .booking-info-title {
        font-size: 17px;
    }

    .booking-widget {
        padding: 8px;
        min-height: 700px;
    }

    body.booking-page .booking-section {
        padding: 24px 0 40px;
    }
}

@media (max-width: 640px) {
    .booking-info-logo {
        height: 30px;
    }

    .booking-info-title {
        font-size: 16px;
    }
}

/* ============================================
   ADMIN PAGE (/admin) — Google-Sheets-style
   password-gated view of /apply submissions
   ============================================ */

body.admin-page {
    min-height: 100vh;
    background-color: var(--color-bg-primary);
}

/* HTML hidden attribute must win over display:flex/grid on admin sections */
body.admin-page [hidden] {
    display: none !important;
}

/* HTML hidden attribute must win over display:flex/grid on admin sections */
body.admin-page [hidden] {
    display: none !important;
}

.admin-main {
    max-width: 1280px;
    margin: 0 auto;
    padding: 32px 24px 80px;
    position: relative;
    z-index: 1;
}

.visually-hidden {
    position: absolute;
    width: 1px; height: 1px;
    padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0,0,0,0);
    white-space: nowrap; border: 0;
}

/* ---- Lock screen ---- */
.admin-lock {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: calc(100vh - 200px);
}

.admin-lock-card {
    width: 100%;
    max-width: 420px;
    padding: 40px 36px;
    background: rgba(20, 32, 24, 0.6);
    border: 1px solid rgba(101, 252, 172, 0.16);
    border-radius: var(--border-radius-lg);
    backdrop-filter: blur(var(--blur-md));
    -webkit-backdrop-filter: blur(var(--blur-md));
    box-shadow: 0 24px 60px rgba(0,0,0,0.35);
    text-align: center;
}

.admin-lock-eyebrow {
    font-family: var(--font-mono);
    text-transform: uppercase;
    letter-spacing: 0.16em;
    font-size: 11px;
    color: var(--color-accent-primary);
    margin-bottom: 14px;
}

.admin-lock-title {
    font-family: var(--font-display);
    font-size: 30px;
    font-weight: 700;
    color: var(--color-text-primary);
    margin-bottom: 10px;
    letter-spacing: -0.01em;
}

.admin-lock-helper {
    font-size: 14px;
    color: var(--color-text-muted);
    margin-bottom: 28px;
}

.admin-lock-form {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.admin-lock-input {
    width: 100%;
    padding: 14px 16px;
    background: rgba(10, 15, 13, 0.7);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: var(--border-radius-sm);
    color: var(--color-text-primary);
    font-family: var(--font-body);
    font-size: 16px;
    transition: border-color var(--transition-fast), background var(--transition-fast);
}

.admin-lock-input::placeholder { color: var(--color-text-muted); }

.admin-lock-input:focus {
    outline: none;
    border-color: var(--color-accent-primary);
    background: rgba(10, 15, 13, 0.95);
}

.admin-lock-submit {
    width: 100%;
    justify-content: center;
}

.admin-lock-error {
    font-size: 13px;
    color: #ff6b6b;
    margin-top: 4px;
}

/* ---- Header actions (when unlocked) ---- */
.admin-header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-left: auto;
}

.admin-status {
    font-family: var(--font-mono);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: 4px 10px;
    border-radius: 999px;
    background: rgba(255,255,255,0.04);
    color: var(--color-text-muted);
    border: 1px solid rgba(255,255,255,0.06);
}
.admin-status[data-kind="ok"] {
    color: var(--color-accent-primary);
    border-color: rgba(101, 252, 172, 0.3);
    background: rgba(101, 252, 172, 0.06);
}
.admin-status[data-kind="err"] {
    color: #ff6b6b;
    border-color: rgba(255, 107, 107, 0.3);
    background: rgba(255, 107, 107, 0.06);
}

.admin-btn-ghost {
    appearance: none;
    border: 1px solid rgba(255,255,255,0.1);
    background: rgba(255,255,255,0.02);
    color: var(--color-text-secondary);
    padding: 8px 14px;
    border-radius: var(--border-radius-sm);
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: all var(--transition-fast);
}
.admin-btn-ghost:hover {
    border-color: var(--color-accent-primary);
    color: var(--color-text-primary);
}

/* ---- Data view ---- */
.admin-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.admin-title {
    font-family: var(--font-display);
    font-size: 26px;
    font-weight: 700;
    color: var(--color-text-primary);
    letter-spacing: -0.01em;
}

.admin-toolbar-controls {
    display: flex;
    align-items: center;
    gap: 12px;
}

.admin-search {
    width: 320px;
    max-width: 100%;
    padding: 10px 14px;
    background: rgba(10, 15, 13, 0.7);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: var(--border-radius-sm);
    color: var(--color-text-primary);
    font-family: var(--font-body);
    font-size: 14px;
    transition: border-color var(--transition-fast);
}
.admin-search::placeholder { color: var(--color-text-muted); }
.admin-search:focus {
    outline: none;
    border-color: var(--color-accent-primary);
}

.admin-count {
    font-family: var(--font-mono);
    font-size: 12px;
    color: var(--color-text-muted);
    white-space: nowrap;
}

/* ---- Sheet table ---- */
.admin-sheet {
    background: rgba(15, 26, 20, 0.6);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: var(--border-radius-md);
    overflow: hidden;
    backdrop-filter: blur(var(--blur-sm));
    -webkit-backdrop-filter: blur(var(--blur-sm));
}

.admin-sheet-loading,
.admin-sheet-empty,
.admin-sheet-error {
    padding: 56px 28px;
    text-align: center;
    color: var(--color-text-muted);
    font-size: 14px;
}
.admin-sheet-error {
    color: #ff8585;
    white-space: pre-wrap;
    line-height: 1.6;
}

.admin-sheet-scroll {
    overflow-x: auto;
    max-height: calc(100vh - 280px);
    overflow-y: auto;
}

.admin-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    font-family: var(--font-body);
    font-size: 13px;
    color: var(--color-text-secondary);
}

.admin-table thead th {
    position: sticky;
    top: 0;
    z-index: 2;
    background: rgba(10, 15, 13, 0.96);
    color: var(--color-text-primary);
    text-align: left;
    font-weight: 600;
    font-family: var(--font-display);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    padding: 12px 14px;
    border-bottom: 1px solid rgba(101, 252, 172, 0.18);
    user-select: none;
    cursor: pointer;
    white-space: nowrap;
}
.admin-table thead th:hover {
    color: var(--color-accent-primary);
}
.admin-table thead th[data-sort="asc"]::after { content: ' ▲'; opacity: 0.7; }
.admin-table thead th[data-sort="desc"]::after { content: ' ▼'; opacity: 0.7; }

.admin-th-row, .admin-td-row {
    width: 48px;
    text-align: center !important;
    color: var(--color-text-muted) !important;
    font-family: var(--font-mono) !important;
    font-size: 11px !important;
    background: rgba(10, 15, 13, 0.6) !important;
    border-right: 1px solid rgba(255,255,255,0.04);
    position: sticky;
    left: 0;
    z-index: 1;
    cursor: default !important;
}
.admin-table thead .admin-th-row {
    z-index: 3;
}

.admin-table tbody td {
    padding: 10px 14px;
    border-bottom: 1px solid rgba(255,255,255,0.04);
    max-width: 320px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    vertical-align: middle;
}

.admin-table tbody tr:hover td {
    background: rgba(101, 252, 172, 0.04);
}
.admin-table tbody tr:hover .admin-td-row {
    background: rgba(101, 252, 172, 0.08) !important;
    color: var(--color-accent-primary) !important;
}

.admin-table tbody tr:nth-child(even) td {
    background: rgba(255,255,255,0.015);
}

@media (max-width: 720px) {
    .admin-main { padding: 20px 14px 60px; }
    .admin-title { font-size: 20px; }
    .admin-search { width: 100%; }
    .admin-toolbar-controls { width: 100%; }
    .admin-header-actions .admin-status { display: none; }
    .admin-sheet-scroll { max-height: calc(100vh - 240px); }
}
