/* ========================================
   CSS Variables & Reset
   ======================================== */
:root {
    /* Colors - Business Blue Theme */
    --primary-500: #0099ff;
    --primary-600: #0088ee;
    --primary-700: #0077dd;
    --primary-400: #33aaff;
    --secondary-500: #1a3a5c;
    --secondary-600: #152e47;
    --accent-500: #0099ff;
    --accent-600: #0088ee;
    --accent-rose: #0099ff;

    /* Gradients - Subtle Business */
    --gradient-primary: linear-gradient(135deg, #0099ff 0%, #0077dd 100%);
    --gradient-secondary: linear-gradient(135deg, #33aaff 0%, #0099ff 100%);
    --gradient-accent: linear-gradient(135deg, #0099ff 0%, #0077dd 100%);
    --gradient-bg: linear-gradient(180deg, #ffffff 0%, #f5f5f5 100%);

    /* Neutrals - Light Theme */
    --slate-50: #ffffff;
    --slate-100: #f8f9fa;
    --slate-200: #e9ecef;
    --slate-300: #dee2e6;
    --slate-400: #ced4da;
    --slate-500: #adb5bd;
    --slate-600: #6c757d;
    --slate-700: #495057;
    --slate-800: #343a40;
    --slate-900: #212529;
    --slate-950: #1a1a1a;

    /* Spacing */
    --container-max-width: 1200px;
    --section-padding: 120px;
    --section-padding-mobile: 60px;

    /* Typography */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-display: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

    /* Transitions */
    --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-base: 250ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 350ms cubic-bezier(0.4, 0, 0.2, 1);

    /* Effects - Light Theme */
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow: 0 2px 8px 0 rgb(0 0 0 / 0.1);
    --shadow-md: 0 4px 16px 0 rgb(0 0 0 / 0.08);
    --shadow-lg: 0 8px 24px 0 rgb(0 0 0 / 0.12);
    --shadow-xl: 0 16px 48px 0 rgb(0 0 0 / 0.15);
    --shadow-glow: 0 0 20px rgba(0, 153, 255, 0.15);
}

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

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

body {
    font-family: var(--font-primary);
    background: var(--gradient-bg);
    color: var(--slate-900);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

/* ========================================
   Typography
   ======================================== */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: 700;
    line-height: 1.2;
}

a {
    color: inherit;
    text-decoration: none;
    transition: all var(--transition-base);
}

.text-link {
    color: var(--primary-500);
    border-bottom: 2px solid transparent;
    transition: border-color var(--transition-base);
}

.text-link:hover {
    border-bottom-color: var(--primary-500);
}

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

@media (min-width: 768px) {
    .container {
        padding: 0 48px;
    }
}

.gradient-text {
    color: var(--primary-500);
}

.glass-card {
    background: #ffffff;
    border: 1px solid var(--slate-200);
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-base);
}

.glass-card:hover {
    border-color: var(--primary-500);
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

/* ========================================
   Buttons
   ======================================== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 32px;
    font-size: 16px;
    font-weight: 600;
    font-family: var(--font-display);
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: all var(--transition-base);
    text-decoration: none;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transform: translateX(-100%);
    transition: transform 0.6s;
}

.btn:hover::before {
    transform: translateX(100%);
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: 0 10px 30px rgba(99, 102, 241, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 40px rgba(99, 102, 241, 0.5);
}

.btn-secondary {
    background: transparent;
    color: var(--primary-500);
    border: 2px solid var(--primary-500);
}

.btn-secondary:hover {
    background: var(--primary-500);
    color: #ffffff;
    border-color: var(--primary-500);
}

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

.btn-block {
    width: 100%;
    justify-content: center;
}

/* ========================================
   Navigation
   ======================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--slate-200);
    transition: all var(--transition-base);
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 1);
    box-shadow: var(--shadow-md);
}

.nav-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 0;
    position: relative;
}

.nav-brand {
    font-family: var(--font-display);
    font-size: 24px;
    font-weight: 900;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-menu {
    display: none;
    gap: 40px;
}

/* Mobile menu active state */
@media (max-width: 767px) {
    .nav-menu.active {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(10px);
        padding: 20px;
        gap: 20px;
        box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
        border-top: 1px solid var(--slate-200);
        z-index: 1000;
    }

    .nav-menu.active .nav-link {
        padding: 12px 0;
        border-bottom: 1px solid var(--slate-100);
    }

    .nav-menu.active .nav-cta {
        text-align: center;
    }
}

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

.nav-link {
    font-size: 15px;
    font-weight: 500;
    color: var(--slate-700);
    position: relative;
    transition: color var(--transition-base);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-500);
    transition: width var(--transition-base);
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-500);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-cta {
    padding: 8px 20px;
    background: var(--gradient-primary);
    border-radius: 8px;
    color: white !important;
}

.nav-cta::after {
    display: none;
}

.nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(99, 102, 241, 0.4);
}

.nav-toggle {
    display: flex;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

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

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--slate-900);
    transition: all var(--transition-base);
}

.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(7px, -6px);
}

/* ========================================
   Hero Section
   ======================================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 80px;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
    overflow: hidden;
}

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

.orb-1 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, #0099ff 0%, transparent 70%);
    top: -200px;
    right: -200px;
    animation-delay: 0s;
}

.orb-2 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, #33aaff 0%, transparent 70%);
    bottom: -150px;
    left: -150px;
    animation-delay: -7s;
}

.orb-3 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, #0077dd 0%, transparent 70%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation-delay: -14s;
}

@keyframes float {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    33% {
        transform: translate(30px, -30px) scale(1.1);
    }
    66% {
        transform: translate(-20px, 20px) scale(0.9);
    }
}

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

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 24px;
    background: rgba(0, 153, 255, 0.1);
    backdrop-filter: blur(12px);
    border: 1px solid var(--primary-500);
    border-radius: 50px;
    font-size: 14px;
    font-weight: 500;
    color: var(--primary-500);
    margin-bottom: 32px;
    opacity: 0;
    animation: fadeInUp 0.8s forwards;
}

.badge-icon {
    font-size: 18px;
}

.hero-title {
    font-size: clamp(48px, 8vw, 96px);
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 24px;
}

.title-line {
    display: block;
    opacity: 0;
    animation: fadeInUp 0.8s forwards;
}

.title-line:nth-child(1) {
    animation-delay: 0.2s;
}

.title-line:nth-child(2) {
    animation-delay: 0.4s;
}

.hero-subtitle {
    font-size: clamp(20px, 3vw, 28px);
    color: var(--slate-700);
    margin-bottom: 48px;
    opacity: 0;
    animation: fadeInUp 0.8s 0.6s forwards;
}

.highlight {
    background: var(--gradient-secondary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
}

.hero-cta {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 80px;
    opacity: 0;
    animation: fadeInUp 0.8s 0.8s forwards;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 48px;
    max-width: 600px;
    margin: 0 auto;
    opacity: 0;
    animation: fadeInUp 0.8s 1s forwards;
}

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

.stat-number {
    font-size: 48px;
    font-weight: 900;
    font-family: var(--font-display);
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 8px;
}

.stat-label {
    font-size: 14px;
    color: var(--slate-700);
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    font-size: 12px;
    color: var(--slate-700);
    opacity: 0;
    animation: fadeInUp 0.8s 1.2s forwards;
}

.scroll-line {
    width: 1px;
    height: 60px;
    background: linear-gradient(to bottom, var(--primary-500), transparent);
    animation: scrollDown 2s infinite;
}

@keyframes scrollDown {
    0% {
        transform: translateY(0);
        opacity: 0;
    }
    50% {
        opacity: 1;
    }
    100% {
        transform: translateY(20px);
        opacity: 0;
    }
}

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

/* ========================================
   Section Styles
   ======================================== */
section {
    padding: var(--section-padding-mobile) 0;
    position: relative;
}

@media (min-width: 768px) {
    section {
        padding: var(--section-padding) 0;
    }
}

.section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 80px;
}

.section-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 24px;
    background: rgba(99, 102, 241, 0.1);
    border: 1px solid rgba(99, 102, 241, 0.3);
    border-radius: 50px;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 24px;
}

.section-title {
    font-size: clamp(32px, 5vw, 56px);
    font-weight: 800;
    margin-bottom: 24px;
    line-height: 1.2;
}

.section-description {
    font-size: 18px;
    color: var(--slate-600);
    line-height: 1.8;
}

/* ========================================
   Problems Section
   ======================================== */
.problems {
    background: linear-gradient(180deg, transparent 0%, rgba(0, 153, 255, 0.03) 100%);
}

.problems-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 24px;
}

.problem-card {
    padding: 32px 24px;
    text-align: center;
    transition: all var(--transition-base);
}

.problem-icon {
    font-size: 32px;
    margin-bottom: 16px;
    display: block;
}

.problem-card p {
    font-size: 16px;
    color: var(--slate-600);
    line-height: 1.6;
}

/* ========================================
   Services Section
   ======================================== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 32px;
}

.service-card {
    padding: 40px 32px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.service-header {
    display: flex;
    align-items: center;
    gap: 16px;
}

.service-icon {
    font-size: 48px;
    line-height: 1;
}

.service-title {
    font-size: 24px;
    font-weight: 700;
}

.price-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.price-item {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 16px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--slate-200);
}

.price-label {
    font-size: 15px;
    color: var(--slate-700);
    flex: 1;
}

.price-value {
    font-size: 18px;
    font-weight: 700;
    color: var(--primary-500);
    white-space: nowrap;
}

.price-unit {
    font-size: 13px;
    font-weight: 400;
    color: var(--slate-600);
}

.service-note {
    font-size: 13px;
    color: var(--slate-600);
    font-style: italic;
}

.service-description {
    font-size: 16px;
    color: var(--slate-600);
    line-height: 1.6;
}

.service-cta {
    margin-top: auto;
    padding: 12px 24px;
    background: var(--gradient-primary);
    color: white;
    text-align: center;
    border-radius: 8px;
    font-weight: 600;
    transition: all var(--transition-base);
}

.service-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(99, 102, 241, 0.4);
}

/* ========================================
   Industrial UI Review Guide
   ======================================== */
.ui-review-guide {
    padding: 0 0 80px;
}

.ui-review-guide__card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    padding: 36px 40px;
    background: var(--slate-100);
    border: 1px solid var(--slate-200);
    border-radius: 16px;
    box-shadow: var(--shadow-sm);
}

.ui-review-guide__content {
    max-width: 720px;
}

.ui-review-guide__label {
    margin-bottom: 8px;
    color: var(--primary-600);
    font-size: 13px;
    font-weight: 700;
}

.ui-review-guide h2 {
    margin-bottom: 12px;
    color: var(--secondary-500);
    font-size: 24px;
}

.ui-review-guide__content > p:last-child {
    color: var(--slate-600);
    font-size: 15px;
}

.ui-review-guide__button {
    flex: 0 0 auto;
    min-height: 48px;
    padding: 13px 24px;
    border: 1px solid var(--primary-500);
    border-radius: 8px;
    color: var(--primary-600);
    font-weight: 600;
}

.ui-review-guide__button:hover {
    background: var(--primary-500);
    color: #fff;
}

/* ========================================
   Solutions Showcase
   ======================================== */
.solutions-showcase {
    margin-top: 64px;
}

.showcase-image-wrapper {
    max-width: 960px;
    margin: 0 auto;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.showcase-image {
    width: 100%;
    height: auto;
    display: block;
}

/* ========================================
   Process Section
   ======================================== */
.process {
    background: linear-gradient(180deg, rgba(0, 153, 255, 0.03) 0%, transparent 100%);
}

.process-timeline {
    display: grid;
    gap: 48px;
    max-width: 800px;
    margin: 0 auto 80px;
}

@media (min-width: 768px) {
    .process-timeline {
        gap: 32px;
    }
}

.timeline-item {
    display: grid;
    grid-template-columns: 80px 1fr;
    gap: 32px;
    align-items: start;
}

.timeline-number {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-primary);
    border-radius: 50%;
    font-size: 32px;
    font-weight: 900;
    font-family: var(--font-display);
    box-shadow: var(--shadow-glow);
}

.timeline-content {
    padding: 32px;
}

.timeline-image {
    margin-bottom: 24px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.timeline-image img {
    width: 100%;
    height: auto;
    display: block;
}

.timeline-content h3 {
    font-size: 24px;
    margin-bottom: 12px;
}

.timeline-content p {
    color: var(--slate-600);
    line-height: 1.6;
}

.process-details {
    padding: 48px;
    max-width: 900px;
    margin: 0 auto;
}

.process-details-title {
    font-size: 32px;
    text-align: center;
    margin-bottom: 48px;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.process-steps {
    display: grid;
    gap: 32px;
}

.step-item {
    display: grid;
    grid-template-columns: 60px 1fr;
    gap: 24px;
    align-items: start;
}

.step-number {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(99, 102, 241, 0.2);
    border: 2px solid rgba(99, 102, 241, 0.4);
    border-radius: 50%;
    font-size: 24px;
    font-weight: 700;
}

.step-item.special .step-number {
    background: var(--gradient-accent);
    border: none;
}

.step-content h4 {
    font-size: 20px;
    margin-bottom: 8px;
}

.step-content p {
    color: var(--slate-600);
    line-height: 1.6;
}

/* ========================================
   Process Bifurcation
   ======================================== */
.process-bifurcation {
    margin: 80px 0;
}

.bifurcation-header {
    text-align: center;
    padding: 40px;
    margin-bottom: 64px;
}

.bifurcation-header h3 {
    font-size: 32px;
    margin-bottom: 16px;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.bifurcation-header p {
    font-size: 18px;
    color: var(--slate-600);
}

.bifurcation-diagram {
    position: relative;
}

.bifurcation-center {
    text-align: center;
    margin-bottom: 64px;
}

.bifurcation-point {
    display: inline-block;
    padding: 32px 48px;
    margin-bottom: 32px;
}

.bifurcation-icon {
    font-size: 48px;
    margin-bottom: 16px;
}

.bifurcation-point h4 {
    font-size: 24px;
    margin: 0;
}

.bifurcation-arrows {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 120px;
    position: relative;
    height: 60px;
}

.arrow-line {
    width: 2px;
    height: 60px;
    background: linear-gradient(180deg, var(--primary-500), transparent);
    position: relative;
}

.arrow-line::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-top: 12px solid var(--primary-500);
}

.bifurcation-paths {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 48px;
    margin-bottom: 48px;
}

.path-card {
    padding: 40px;
}

.path-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 32px;
    padding-bottom: 24px;
    border-bottom: 2px solid rgba(99, 102, 241, 0.2);
}

.path-icon {
    font-size: 48px;
}

.path-header h4 {
    font-size: 24px;
    margin: 0;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.path-steps {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 24px;
}

.path-steps li {
    display: grid;
    gap: 8px;
    padding-left: 32px;
    position: relative;
}

.path-steps li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--primary-500);
    font-size: 20px;
}

.path-steps strong {
    font-size: 18px;
    color: var(--slate-900);
    display: block;
}

.path-steps span {
    font-size: 14px;
    color: var(--slate-600);
    line-height: 1.6;
}

.bifurcation-note {
    padding: 32px;
    text-align: center;
    background: linear-gradient(135deg, rgba(0, 153, 255, 0.05), rgba(51, 170, 255, 0.05));
}

.bifurcation-note p {
    font-size: 16px;
    line-height: 1.8;
    margin: 0;
}

.bifurcation-note strong {
    font-size: 18px;
    color: var(--primary-400);
}

/* Responsive */
@media (max-width: 1023px) {
    .bifurcation-paths {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .bifurcation-arrows {
        gap: 80px;
    }
}

@media (max-width: 767px) {
    .ui-review-guide {
        padding-bottom: 60px;
    }

    .ui-review-guide__card {
        flex-direction: column;
        align-items: stretch;
        gap: 24px;
        padding: 24px 20px;
    }

    .ui-review-guide h2 {
        font-size: 22px;
    }

    .ui-review-guide__button {
        width: 100%;
    }

    .bifurcation-header h3 {
        font-size: 24px;
    }

    .bifurcation-header p {
        font-size: 16px;
    }

    .bifurcation-point {
        padding: 24px 32px;
    }

    .bifurcation-icon {
        font-size: 36px;
    }

    .bifurcation-point h4 {
        font-size: 20px;
    }

    .bifurcation-arrows {
        gap: 40px;
    }

    .path-card {
        padding: 24px;
    }

    .path-icon {
        font-size: 36px;
    }

    .path-header h4 {
        font-size: 20px;
    }

    .bifurcation-note {
        padding: 24px;
    }

    .bifurcation-note strong {
        font-size: 16px;
    }

    .bifurcation-note br {
        display: none;
    }
}

/* ========================================
   FAQ Section
   ======================================== */
.faq-list {
    max-width: 900px;
    margin: 0 auto;
    display: grid;
    gap: 24px;
}

.faq-item {
    padding: 32px;
    cursor: pointer;
}

.faq-question {
    display: flex;
    align-items: center;
    gap: 16px;
}

.faq-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-primary);
    border-radius: 50%;
    font-size: 20px;
    font-weight: 900;
    flex-shrink: 0;
}

.faq-question h3 {
    flex: 1;
    font-size: 20px;
    font-weight: 700;
}

.faq-toggle {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    transition: all var(--transition-base);
}

.faq-toggle svg {
    transition: transform var(--transition-base);
}

.faq-item.active .faq-toggle {
    background: var(--primary-500);
}

.faq-item.active .faq-toggle svg {
    transform: rotate(180deg);
}

.faq-answer {
    display: none;
    margin-top: 24px;
    padding-left: 64px;
    gap: 16px;
}

.faq-item.active .faq-answer {
    display: flex;
}

.faq-content {
    flex: 1;
}

.faq-content p {
    color: var(--slate-600);
    line-height: 1.8;
    margin-bottom: 8px;
}

/* ========================================
   Contact Form
   ======================================== */
.contact {
    background: linear-gradient(180deg, transparent 0%, rgba(99, 102, 241, 0.05) 50%, transparent 100%);
}

.contact-wrapper {
    max-width: 800px;
    margin: 0 auto;
}

.contact-form {
    padding: 48px;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    margin-bottom: 24px;
}

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

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-label {
    font-size: 14px;
    font-weight: 600;
    color: var(--slate-900);
}

.required {
    color: #f43f5e;
}

.form-input,
.form-textarea {
    padding: 16px;
    background: #ffffff;
    border: 2px solid var(--slate-300);
    border-radius: 8px;
    color: var(--slate-900);
    font-family: var(--font-primary);
    font-size: 16px;
    transition: all var(--transition-base);
}

.form-input:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--primary-500);
    background: #ffffff;
    box-shadow: 0 0 0 4px rgba(0, 153, 255, 0.1);
}

.radio-group {
    display: flex;
    gap: 32px;
}

.radio-label {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    font-size: 16px;
}

.radio-label input[type="radio"] {
    display: none;
}

.radio-custom {
    width: 24px;
    height: 24px;
    border: 2px solid var(--slate-400);
    border-radius: 50%;
    position: relative;
    transition: all var(--transition-base);
}

.radio-label input[type="radio"]:checked + .radio-custom {
    border-color: var(--primary-500);
}

.radio-label input[type="radio"]:checked + .radio-custom::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 12px;
    height: 12px;
    background: var(--gradient-primary);
    border-radius: 50%;
}

.form-messages {
    margin: 24px 0;
}

.form-message {
    display: none;
    align-items: center;
    gap: 12px;
    padding: 16px;
    border-radius: 12px;
    font-weight: 500;
}

.form-message.active {
    display: flex;
}

.form-message-loading {
    background: rgba(6, 182, 212, 0.1);
    border: 1px solid rgba(6, 182, 212, 0.3);
    color: var(--secondary-500);
}

.form-message-success {
    background: rgba(34, 197, 94, 0.1);
    border: 1px solid rgba(34, 197, 94, 0.3);
    color: #22c55e;
}

.form-message-error {
    background: rgba(244, 63, 94, 0.1);
    border: 1px solid rgba(244, 63, 94, 0.3);
    color: #f43f5e;
}

.spinner {
    width: 20px;
    height: 20px;
    border: 3px solid rgba(6, 182, 212, 0.3);
    border-top-color: var(--secondary-500);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* reCAPTCHA v2 Styling */
.g-recaptcha {
    margin: 24px 0;
    display: flex;
    justify-content: center;
}

/* ========================================
   Footer
   ======================================== */
.footer {
    background: var(--secondary-500);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 60px 0 32px;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 48px;
    margin-bottom: 48px;
}

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

.footer-brand h3 {
    font-size: 28px;
    font-weight: 900;
    color: #ffffff;
    margin-bottom: 8px;
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.8);
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

@media (min-width: 768px) {
    .footer-links {
        align-items: flex-end;
    }
}

.footer-links a {
    color: rgba(255, 255, 255, 0.9);
    transition: color var(--transition-base);
}

.footer-links a:hover {
    color: #ffffff;
}

.footer-bottom {
    text-align: center;
    padding-top: 32px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
}

/* ========================================
   Animations & Scroll Effects
   ======================================== */
[data-animate] {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

[data-animate].animate-in {
    opacity: 1;
    transform: translateY(0);
}

/* ========================================
   Responsive Adjustments
   ======================================== */
@media (max-width: 767px) {
    /* Hero section adjustments */
    .hero {
        padding-top: 100px;
        min-height: auto;
        padding-bottom: 60px;
    }

    .hero-content {
        padding: 0;
    }

    .hero-title {
        font-size: 32px;
        line-height: 1.3;
    }

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

    .hero-cta {
        flex-direction: column;
        width: 100%;
        padding: 0;
        margin-bottom: 40px;
    }

    .hero-cta .btn {
        width: 100%;
        justify-content: center;
    }

    /* Make buttons smaller on mobile */
    .btn-lg {
        padding: 12px 24px;
        font-size: 16px;
    }

    .btn span {
        font-size: 16px;
    }

    /* Hero stats */
    .hero-stats {
        display: flex;
        flex-direction: column;
        gap: 20px;
    }

    .stat-item {
        min-width: 100%;
    }

    /* Scroll hint isn't needed on mobile and collides with the stats above it */
    .scroll-indicator {
        display: none;
    }

    /* Section titles */
    .section-title {
        font-size: 32px;
    }

    .section-description {
        font-size: 16px;
    }

    /* Container padding */
    .container {
        padding-left: 20px;
        padding-right: 20px;
    }

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

    .timeline-number {
        width: 60px;
        height: 60px;
        font-size: 24px;
    }

    .timeline-content,
    .process-details,
    .contact-form {
        padding: 24px;
    }

    .step-item {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .faq-answer {
        padding-left: 0;
    }
}

/* Short viewports (e.g. phones in landscape) - hero shrinks to 100vh
   and the scroll hint collides with the CTA/stats above it */
@media (max-height: 600px) {
    .scroll-indicator {
        display: none;
    }
}
