/* ===================================
   DayReady Marketing Site
   Warm Indigo + Sunrise Amber
   Outfit + DM Sans
   =================================== */

/* --- Reset & Base --- */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Brand */
    --indigo: #5B4FC7;
    --indigo-deep: #3D2E8C;
    --indigo-light: #7B6FE0;
    --indigo-pale: #F0EEFA;
    --indigo-glow: rgba(91, 79, 199, 0.15);

    --amber: #E8913A;
    --amber-deep: #C47320;
    --amber-light: #F5B06A;
    --amber-pale: #FEF3E6;
    --amber-glow: rgba(232, 145, 58, 0.15);

    /* Neutrals */
    --ink: #1A1730;
    --text: #2D2B3D;
    --text-body: #4A4862;
    --text-muted: #7D7A94;
    --border: #E4E2F0;
    --bg: #FAFAFE;
    --bg-warm: #FBF9F7;
    --white: #FFFFFF;

    /* Semantic */
    --success: #2D9B5A;
    --warning: #D4940A;
    --danger: #D94452;
    --info: #3B82F6;

    /* Spacing */
    --section-pad: clamp(4rem, 8vw, 8rem);
    --container-max: 1200px;

    /* Radius */
    --r-sm: 8px;
    --r-md: 12px;
    --r-lg: 20px;
    --r-xl: 28px;
    --r-full: 9999px;

    /* Shadows */
    --shadow-sm: 0 1px 3px rgba(26, 23, 48, 0.06);
    --shadow-md: 0 4px 16px rgba(26, 23, 48, 0.08);
    --shadow-lg: 0 12px 40px rgba(26, 23, 48, 0.12);
    --shadow-xl: 0 24px 64px rgba(26, 23, 48, 0.16);
    --shadow-glow: 0 0 40px var(--indigo-glow);

    /* Transitions */
    --ease: cubic-bezier(0.4, 0, 0.2, 1);
    --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
    scroll-padding-top: 80px;
}

body {
    font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 16px;
    line-height: 1.65;
    color: var(--text-body);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Outfit', sans-serif;
    color: var(--text);
    line-height: 1.15;
    font-weight: 700;
}

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

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

ul, ol {
    list-style: none;
}

.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 clamp(1.25rem, 4vw, 2rem);
}

/* --- Reveal Animations --- */
.reveal {
    opacity: 0;
    transform: translateY(32px);
    transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

.reveal:nth-child(2) { transition-delay: 0.08s; }
.reveal:nth-child(3) { transition-delay: 0.16s; }

/* --- Section Labels --- */
.section-label {
    display: inline-block;
    font-family: 'Outfit', sans-serif;
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--indigo);
    background: var(--indigo-pale);
    padding: 0.375rem 1rem;
    border-radius: var(--r-full);
    margin-bottom: 1.25rem;
}

.section-label--light {
    color: var(--indigo-pale);
    background: rgba(255, 255, 255, 0.12);
}

.section-label--amber {
    color: var(--amber-deep);
    background: var(--amber-pale);
}

.section-title {
    font-size: clamp(2rem, 4.5vw, 3.25rem);
    font-weight: 800;
    color: var(--ink);
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--text-muted);
    max-width: 560px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: clamp(3rem, 6vw, 5rem);
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    font-size: 1rem;
    border: none;
    border-radius: var(--r-full);
    cursor: pointer;
    transition: all 0.25s var(--ease);
    padding: 0.75rem 1.75rem;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
}

.btn-lg {
    padding: 1rem 2.25rem;
    font-size: 1.0625rem;
}

.btn-block {
    width: 100%;
}

.btn-primary {
    background: var(--indigo);
    color: var(--white);
    box-shadow: 0 4px 16px rgba(91, 79, 199, 0.3);
}

.btn-primary:hover {
    background: var(--indigo-deep);
    box-shadow: 0 6px 24px rgba(91, 79, 199, 0.4);
    transform: translateY(-2px);
}

.btn-primary:active {
    transform: translateY(0);
}

.btn-amber {
    background: var(--amber);
    color: var(--white);
    box-shadow: 0 4px 16px rgba(232, 145, 58, 0.3);
}

.btn-amber:hover {
    background: var(--amber-deep);
    box-shadow: 0 6px 24px rgba(232, 145, 58, 0.4);
    transform: translateY(-2px);
}

.btn-ghost {
    background: rgba(255, 255, 255, 0.12);
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(8px);
}

.btn-ghost:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.4);
}

.btn-outline {
    background: transparent;
    color: var(--indigo);
    border: 2px solid var(--border);
}

.btn-outline:hover {
    border-color: var(--indigo);
    background: var(--indigo-pale);
}

/* --- Navigation --- */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 1rem 0;
    transition: all 0.35s var(--ease);
}

.nav.scrolled {
    background: rgba(255, 255, 254, 0.92);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    box-shadow: 0 1px 0 var(--border);
    padding: 0.625rem 0;
}

.nav-inner {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 clamp(1.25rem, 4vw, 2rem);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo img {
    height: 72px;
    width: auto;
    transition: opacity 0.2s;
}

.nav-logo:hover img {
    opacity: 0.8;
}

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

.nav-links a {
    font-family: 'Outfit', sans-serif;
    font-weight: 500;
    font-size: 0.9375rem;
    color: rgba(255, 255, 255, 0.85);
    transition: color 0.2s;
}

.nav.scrolled .nav-links a {
    color: var(--text-body);
}

.nav-links a:hover {
    color: var(--white);
}

.nav.scrolled .nav-links a:hover {
    color: var(--indigo);
}

.nav-cta {
    background: var(--amber) !important;
    color: var(--white) !important;
    padding: 0.5625rem 1.375rem !important;
    border-radius: var(--r-full) !important;
    font-weight: 600 !important;
    transition: all 0.25s var(--ease) !important;
}

.nav-cta:hover {
    background: var(--amber-deep) !important;
    transform: translateY(-1px);
}

/* Mobile toggle */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    -webkit-tap-highlight-color: transparent;
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--white);
    border-radius: 2px;
    transition: all 0.3s var(--ease);
}

.nav.scrolled .nav-toggle span {
    background: var(--text);
}

.nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}
.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}
.nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* --- Hero --- */
.hero {
    position: relative;
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 6rem 0 4rem;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    filter: brightness(0.7) saturate(0.9);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(135deg,
            rgba(61, 46, 140, 0.55) 0%,
            rgba(91, 79, 199, 0.4) 40%,
            rgba(123, 111, 224, 0.3) 70%,
            rgba(232, 145, 58, 0.1) 100%
        );
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 clamp(1.25rem, 4vw, 2rem);
}

.hero-badge {
    display: inline-block;
    font-family: 'Outfit', sans-serif;
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--amber-light);
    background: rgba(232, 145, 58, 0.15);
    border: 1px solid rgba(232, 145, 58, 0.25);
    padding: 0.5rem 1.25rem;
    border-radius: var(--r-full);
    margin-bottom: 2rem;
    backdrop-filter: blur(8px);
}

.hero-title {
    font-size: clamp(2.75rem, 7vw, 5rem);
    font-weight: 900;
    color: var(--white);
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}

.hero-title-line {
    display: block;
}

.hero-title-accent {
    display: block;
    white-space: nowrap;
    background: linear-gradient(135deg, var(--amber-light), var(--amber));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: clamp(1.0625rem, 2vw, 1.25rem);
    color: rgba(255, 255, 255, 0.8);
    max-width: 600px;
    margin: 0 auto 2.5rem;
    line-height: 1.7;
}

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

.hero-stats {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
}

.hero-stat {
    text-align: center;
}

.hero-stat-number {
    display: block;
    font-family: 'Outfit', sans-serif;
    font-size: 2rem;
    font-weight: 800;
    color: var(--white);
}

.hero-stat-label {
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 500;
}

.hero-stat-divider {
    width: 1px;
    height: 40px;
    background: rgba(255, 255, 255, 0.15);
}

.hero-scroll {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255, 255, 255, 0.4);
    animation: float 2.5s ease-in-out infinite;
    z-index: 1;
}

@keyframes float {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(8px); }
}

/* --- Problem --- */
.problem {
    padding: var(--section-pad) 0;
    background: var(--white);
}

.problem-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.problem-text .section-title {
    margin-bottom: 1.5rem;
}

.problem-description {
    font-size: 1.0625rem;
    margin-bottom: 1rem;
    line-height: 1.75;
}

.problem-cards {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.problem-card {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.25rem 1.5rem;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--r-md);
    transition: all 0.3s var(--ease);
}

.problem-card:hover {
    border-color: var(--indigo-light);
    box-shadow: var(--shadow-md);
    transform: translateX(4px);
}

.problem-card-icon {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    border-radius: var(--r-sm);
    background: var(--indigo-pale);
    color: var(--indigo);
    display: flex;
    align-items: center;
    justify-content: center;
}

.problem-card h3 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.problem-card p {
    font-size: 0.9375rem;
    color: var(--text-muted);
    line-height: 1.55;
}

/* --- Solution Banner --- */
.solution {
    padding: 0 0 var(--section-pad);
    background: var(--white);
}

.solution-banner {
    background: linear-gradient(135deg, var(--indigo-deep) 0%, var(--indigo) 50%, var(--indigo-light) 100%);
    border-radius: var(--r-xl);
    padding: clamp(3rem, 6vw, 5rem);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.solution-banner::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 60%;
    height: 200%;
    background: radial-gradient(circle, rgba(232, 145, 58, 0.15), transparent 60%);
    pointer-events: none;
}

.solution-banner-content {
    position: relative;
    z-index: 1;
}

.solution-title {
    font-size: clamp(1.5rem, 3.5vw, 2.5rem);
    color: var(--white);
    font-weight: 700;
    margin-bottom: 1rem;
}

.solution-title em {
    font-style: italic;
    opacity: 0.7;
}

.solution-title strong {
    color: var(--amber-light);
}

.solution-subtitle {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.7);
    font-family: 'Outfit', sans-serif;
    font-weight: 500;
}

/* --- Features --- */
.features {
    padding: var(--section-pad) 0;
    background: var(--bg);
}

.feature-list {
    display: flex;
    flex-direction: column;
    gap: clamp(4rem, 8vw, 6rem);
}

.feature-item {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    position: relative;
}

.feature-item--reverse {
    direction: rtl;
}

.feature-item--reverse > * {
    direction: ltr;
}

.feature-number {
    position: absolute;
    top: -1rem;
    left: -0.5rem;
    font-family: 'Outfit', sans-serif;
    font-size: 5rem;
    font-weight: 900;
    color: var(--indigo-pale);
    line-height: 1;
    pointer-events: none;
    user-select: none;
}

.feature-item--reverse .feature-number {
    left: auto;
    right: -0.5rem;
}

.feature-content {
    position: relative;
    z-index: 1;
}

.feature-title {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 800;
    margin-bottom: 1rem;
}

.feature-desc {
    font-size: 1.0625rem;
    line-height: 1.75;
    color: var(--text-body);
    margin-bottom: 1.5rem;
}

.feature-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.feature-tags li {
    font-family: 'Outfit', sans-serif;
    font-size: 0.8125rem;
    font-weight: 500;
    padding: 0.375rem 0.875rem;
    background: var(--indigo-pale);
    color: var(--indigo);
    border-radius: var(--r-full);
}

/* Feature Mockups */
.feature-mockup {
    border-radius: var(--r-lg);
    overflow: hidden;
    background: var(--white);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border);
}

.mockup-header {
    display: flex;
    gap: 6px;
    padding: 12px 16px;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
}

.mockup-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--border);
}

.mockup-body {
    padding: 1.5rem;
}

.mockup-line {
    height: 8px;
    background: var(--indigo-pale);
    border-radius: 4px;
    margin-bottom: 6px;
}

.mockup-line.light { background: var(--border); opacity: 0.6; }
.mockup-line.w25 { width: 25%; }
.mockup-line.w30 { width: 30%; }
.mockup-line.w35 { width: 35%; }
.mockup-line.w40 { width: 40%; }
.mockup-line.w50 { width: 50%; }
.mockup-line.w60 { width: 60%; }
.mockup-line.w70 { width: 70%; }
.mockup-line.w80 { width: 80%; }

/* Snapshot mockup */
.mockup-snapshot .mockup-body {
    display: flex;
    gap: 1rem;
}

.mockup-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
    flex: 1;
}

.mockup-seat {
    aspect-ratio: 1;
    background: var(--indigo-pale);
    border-radius: 6px;
    transition: all 0.3s;
}

.mockup-seat.active {
    background: var(--indigo);
}

.mockup-sidebar-mini {
    width: 80px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding-top: 4px;
}

/* Lesson mockup */
.mockup-steps {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.mockup-step {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    border-radius: var(--r-sm);
    background: var(--bg);
    border: 1px solid var(--border);
}

.mockup-step.active {
    border-color: var(--indigo-light);
    background: var(--indigo-pale);
}

.mockup-step.done {
    opacity: 0.5;
}

.mockup-step-check {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    border: 2px solid var(--border);
    flex-shrink: 0;
}

.mockup-step.done .mockup-step-check {
    background: var(--success);
    border-color: var(--success);
}

.mockup-step.active .mockup-step-check {
    border-color: var(--indigo);
    box-shadow: 0 0 0 3px var(--indigo-glow);
}

.mockup-step-content {
    flex: 1;
}

.mockup-time {
    font-family: 'Outfit', sans-serif;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-muted);
    padding: 2px 8px;
    background: var(--white);
    border-radius: var(--r-full);
}

/* Accommodations mockup */
.mockup-alert-cards {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.mockup-alert {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    border-radius: var(--r-sm);
    border-left: 3px solid;
}

.mockup-alert--warning {
    background: var(--amber-pale);
    border-color: var(--amber);
}

.mockup-alert--info {
    background: #EFF6FF;
    border-color: var(--info);
}

.mockup-alert--danger {
    background: #FDE8EB;
    border-color: var(--danger);
}

.mockup-alert-icon {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: 0.875rem;
    flex-shrink: 0;
}

.mockup-alert--warning .mockup-alert-icon {
    background: var(--amber);
    color: var(--white);
}

.mockup-alert--info .mockup-alert-icon {
    background: var(--info);
    color: var(--white);
}

.mockup-alert--danger .mockup-alert-icon {
    background: var(--danger);
    color: var(--white);
}

.mockup-alert-text {
    flex: 1;
}

/* Feedback mockup */
.mockup-report-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
}

.mockup-badge {
    font-family: 'Outfit', sans-serif;
    font-size: 0.6875rem;
    font-weight: 600;
    padding: 3px 10px;
    background: #EAFAF1;
    color: var(--success);
    border-radius: var(--r-full);
}

.mockup-report-row {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 10px;
}

.mockup-bar-track {
    flex: 1;
    height: 10px;
    background: var(--bg);
    border-radius: 5px;
    overflow: hidden;
}

.mockup-bar-fill {
    height: 100%;
    background: var(--indigo);
    border-radius: 5px;
    transition: width 1.2s var(--ease);
}

.mockup-bar-fill.amber {
    background: var(--amber);
}

/* Dashboard mockup */
.mockup-chart {
    display: flex;
    align-items: flex-end;
    gap: 10px;
    height: 120px;
    padding-top: 8px;
}

.mockup-chart-bar {
    flex: 1;
    background: var(--indigo-pale);
    border-radius: 6px 6px 0 0;
    transition: height 0.8s var(--ease-spring);
}

.mockup-chart-bar.accent {
    background: var(--indigo);
}

/* --- How It Works --- */
.how-it-works {
    padding: var(--section-pad) 0;
    background: var(--white);
}

.roles-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.role-card {
    padding: 2.5rem 2rem;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    transition: all 0.3s var(--ease);
}

.role-card:hover {
    border-color: var(--indigo-light);
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}

.role-icon {
    width: 56px;
    height: 56px;
    border-radius: var(--r-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.role-icon--teacher {
    background: var(--indigo-pale);
    color: var(--indigo);
}

.role-icon--sub {
    background: var(--amber-pale);
    color: var(--amber);
}

.role-icon--admin {
    background: #EAFAF1;
    color: var(--success);
}

.role-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.role-desc {
    font-size: 0.9375rem;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    line-height: 1.65;
}

.role-steps {
    counter-reset: step;
}

.role-steps li {
    counter-increment: step;
    position: relative;
    padding-left: 2.25rem;
    margin-bottom: 0.75rem;
    font-size: 0.9375rem;
    color: var(--text-body);
    line-height: 1.5;
}

.role-steps li::before {
    content: counter(step);
    position: absolute;
    left: 0;
    top: 1px;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--indigo-pale);
    color: var(--indigo);
    font-family: 'Outfit', sans-serif;
    font-size: 0.75rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* --- Integration --- */
.integration {
    padding: 0 0 var(--section-pad);
    background: var(--white);
}

.integration-card {
    background: linear-gradient(135deg, var(--ink) 0%, var(--indigo-deep) 100%);
    border-radius: var(--r-xl);
    padding: clamp(3rem, 6vw, 5rem);
    position: relative;
    overflow: hidden;
}

.integration-card::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 50%;
    height: 100%;
    background: radial-gradient(circle, rgba(91, 79, 199, 0.2), transparent 60%);
    pointer-events: none;
}

.integration-content {
    position: relative;
    z-index: 1;
}

.integration-title {
    font-size: clamp(1.75rem, 3.5vw, 2.75rem);
    color: var(--white);
    margin-bottom: 1.25rem;
}

.integration-desc {
    font-size: 1.0625rem;
    color: rgba(255, 255, 255, 0.7);
    max-width: 680px;
    line-height: 1.75;
    margin-bottom: 2.5rem;
}

.integration-desc em { opacity: 0.6; font-style: italic; }

.integration-comparison {
    display: flex;
    align-items: flex-start;
    gap: 2rem;
}

.integration-col {
    flex: 1;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--r-md);
    backdrop-filter: blur(8px);
}

.integration-col h4 {
    font-size: 0.9375rem;
    color: rgba(255, 255, 255, 0.5);
    font-weight: 600;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.integration-col ul li {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9375rem;
    padding: 0.375rem 0;
    padding-left: 1.25rem;
    position: relative;
}

.integration-col ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    transform: translateY(-50%);
}

.integration-col:first-child ul li::before {
    background: rgba(255, 255, 255, 0.3);
}

.integration-col:last-child ul li::before {
    background: var(--amber);
}

.integration-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    color: var(--amber-light);
    flex-shrink: 0;
    align-self: center;
}

/* --- Pricing --- */
.pricing {
    padding: var(--section-pad) 0;
    background: var(--bg);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    align-items: start;
}

.pricing-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    padding: 2.5rem 2rem 2rem;
    position: relative;
    transition: all 0.3s var(--ease);
}

.pricing-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}

.pricing-card--featured {
    border-color: var(--indigo);
    box-shadow: var(--shadow-glow);
}

.pricing-card--featured:hover {
    box-shadow: var(--shadow-glow), var(--shadow-xl);
}

.pricing-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    font-family: 'Outfit', sans-serif;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 0.375rem 1.25rem;
    background: var(--indigo);
    color: var(--white);
    border-radius: var(--r-full);
    white-space: nowrap;
}

.pricing-name {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.pricing-amount {
    display: flex;
    align-items: baseline;
    gap: 0.25rem;
    margin-bottom: 2rem;
}

.pricing-currency {
    font-family: 'Outfit', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--ink);
}

.pricing-number {
    font-family: 'Outfit', sans-serif;
    font-size: 3rem;
    font-weight: 800;
    color: var(--ink);
    letter-spacing: -0.02em;
    line-height: 1;
}

.pricing-number--custom {
    font-size: 2.25rem;
}

.pricing-period {
    font-size: 0.875rem;
    color: var(--text-muted);
    margin-left: 0.25rem;
}

.pricing-features {
    margin-bottom: 2rem;
}

.pricing-features li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem 0;
    font-size: 0.9375rem;
    color: var(--text-body);
    border-bottom: 1px solid var(--border);
}

.pricing-features li:last-child {
    border-bottom: none;
}

.pricing-features li svg {
    color: var(--success);
    flex-shrink: 0;
}

.pricing-note {
    text-align: center;
    color: var(--text-muted);
    font-size: 0.9375rem;
    margin-top: 2.5rem;
}

/* --- Pilot CTA --- */
.pilot {
    padding: var(--section-pad) 0;
    background: var(--white);
}

.pilot-card {
    background: linear-gradient(135deg, var(--bg-warm), var(--amber-pale));
    border: 1px solid rgba(232, 145, 58, 0.15);
    border-radius: var(--r-xl);
    padding: clamp(3rem, 6vw, 5rem);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.pilot-card::before {
    content: '';
    position: absolute;
    top: -40%;
    right: -20%;
    width: 50%;
    height: 140%;
    background: radial-gradient(circle, rgba(232, 145, 58, 0.08), transparent 60%);
    pointer-events: none;
}

.pilot-content {
    position: relative;
    z-index: 1;
    max-width: 600px;
    margin: 0 auto;
}

.pilot-title {
    font-size: clamp(1.75rem, 4vw, 2.75rem);
    color: var(--ink);
    margin-bottom: 1rem;
}

.pilot-desc {
    font-size: 1.0625rem;
    color: var(--text-body);
    margin-bottom: 2.5rem;
    line-height: 1.7;
}

.pilot-form {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.pilot-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
}

.pilot-input {
    font-family: 'DM Sans', sans-serif;
    font-size: 1rem;
    padding: 0.875rem 1.25rem;
    border: 1px solid var(--border);
    border-radius: var(--r-md);
    background: var(--white);
    color: var(--text);
    transition: all 0.2s var(--ease);
    outline: none;
    -webkit-appearance: none;
}

.pilot-input:focus {
    border-color: var(--amber);
    box-shadow: 0 0 0 3px var(--amber-glow);
}

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

select.pilot-input {
    cursor: pointer;
}

.pilot-fine-print {
    font-size: 0.8125rem;
    color: var(--text-muted);
}

/* --- Footer --- */
.footer {
    background: var(--ink);
    padding: 4rem 0 2rem;
    color: rgba(255, 255, 255, 0.6);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-logo {
    margin-bottom: 1rem;
    opacity: 0.9;
}

.footer-tagline {
    font-size: 0.9375rem;
    line-height: 1.6;
    margin-bottom: 0.75rem;
}

.footer-company {
    font-size: 0.8125rem;
}

.footer-company strong {
    color: rgba(255, 255, 255, 0.8);
}

.footer-logicloft-logo {
    display: inline-block;
    margin-top: 0.5rem;
    opacity: 0.7;
    transition: opacity 0.2s;
}

.logicloft-logo-img {
    height: 39px;
    width: auto;
}

.footer-logicloft-logo:hover {
    opacity: 1;
}

.footer-links h4 {
    font-size: 0.875rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.4);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 1.25rem;
}

.footer-links a {
    display: block;
    font-size: 0.9375rem;
    padding: 0.375rem 0;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: var(--amber-light);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 1.5rem;
    text-align: center;
    font-size: 0.8125rem;
}

/* ===================================
   Responsive
   =================================== */

@media (max-width: 1024px) {
    .feature-item,
    .feature-item--reverse {
        grid-template-columns: 1fr;
        direction: ltr;
    }

    .feature-item--reverse > * {
        direction: ltr;
    }

    .feature-number {
        left: -0.5rem !important;
        right: auto !important;
    }

    .feature-visual {
        order: -1;
    }

    .pricing-grid {
        grid-template-columns: 1fr;
        max-width: 480px;
        margin: 0 auto;
    }

    .roles-grid {
        grid-template-columns: 1fr;
        max-width: 520px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .nav-toggle {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        height: 100dvh;
        background: var(--white);
        flex-direction: column;
        padding: 5rem 2rem 2rem;
        gap: 0;
        box-shadow: var(--shadow-xl);
        transition: right 0.35s var(--ease);
    }

    .nav-links.open {
        right: 0;
    }

    .nav-links a {
        color: var(--text-body) !important;
        padding: 0.875rem 0;
        border-bottom: 1px solid var(--border);
        font-size: 1.0625rem;
        width: 100%;
    }

    .nav-cta {
        margin-top: 1rem;
        text-align: center !important;
        width: 100%;
        display: block !important;
    }

    .hero-title {
        font-size: clamp(2.25rem, 8vw, 3.5rem);
    }

    .hero-stats {
        gap: 1.25rem;
    }

    .hero-stat-number {
        font-size: 1.5rem;
    }

    .problem-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .integration-comparison {
        flex-direction: column;
    }

    .integration-divider {
        align-self: center;
        transform: rotate(90deg);
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }

    .pilot-form-row {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .hero-actions {
        flex-direction: column;
        align-items: center;
    }

    .hero-actions .btn {
        width: 100%;
        max-width: 300px;
    }

    .hero-stats {
        flex-wrap: wrap;
        gap: 1rem;
    }

    .hero-stat-divider {
        display: none;
    }

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

    .pricing-card {
        padding: 2rem 1.5rem 1.5rem;
    }
}

/* --- Utility: Reduced Motion --- */
@media (prefers-reduced-motion: reduce) {
    .reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }

    .hero-scroll {
        animation: none;
    }

    html {
        scroll-behavior: auto;
    }
}

/* --- Print --- */
@media print {
    .nav, .hero-scroll, .btn, .pilot-form {
        display: none !important;
    }

    .hero {
        min-height: auto;
        padding: 2rem 0;
    }

    .hero-bg {
        display: none;
    }

    .hero-content {
        color: #000;
    }

    body {
        background: white;
        color: #000;
    }
}
