/* Home Page Specific Styles - Reforge-inspired Dark Theme */

/* ========================================
   HERO SECTION - DARK STYLE
   ======================================== */
.hero {
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 160px 0 120px;
    overflow: hidden;
    background: #080a0a;
}

/* Grid Background Effect */
.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
    background-image:
        linear-gradient(rgba(139, 137, 220, 0.4) 1px, transparent 1px),
        linear-gradient(90deg, rgba(139, 137, 220, 0.4) 1px, transparent 1px);
    background-size: 50px 50px;
    pointer-events: none;
    mask-image: radial-gradient(ellipse 70% 50% at 50% 50%, black 30%, transparent 80%);
    -webkit-mask-image: radial-gradient(ellipse 70% 50% at 50% 50%, black 30%, transparent 80%);
}

/* Dark Hero Theme */
.hero.hero-dark {
    background: #080a0a;
    color: #fff;
}

.hero.hero-dark::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(ellipse 80% 50% at 50% -20%, rgba(120, 119, 198, 0.15), transparent),
        radial-gradient(ellipse 60% 40% at 80% 0%, rgba(78, 78, 108, 0.1), transparent);
    pointer-events: none;
}

.hero.hero-dark .hero-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

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

/* Badge */
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 100px;
    font-size: 0.8rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 32px;
    animation: slideDown 0.6s ease-out;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.hero.hero-dark .hero-badge {
    color: rgba(255, 255, 255, 0.7);
}

.hero-badge .badge-dot {
    width: 6px;
    height: 6px;
    background: #22c55e;
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}

/* Title */
.hero-title {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.03em;
    margin-bottom: 24px;
    animation: slideUp 0.8s ease-out;
}

.hero.hero-dark .hero-title {
    color: #fff;
}

/* Subtitle */
.hero-subtitle {
    font-size: 1.25rem;
    line-height: 1.6;
    max-width: 600px;
    margin: 0 auto 40px;
    animation: slideUp 0.8s ease-out 0.1s backwards;
}

.hero.hero-dark .hero-subtitle {
    color: rgba(255, 255, 255, 0.6);
}

/* CTA Buttons */
.hero-cta {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    animation: slideUp 0.8s ease-out 0.2s backwards;
}

.hero.hero-dark .btn-primary {
    background: #fff;
    color: #080a0a;
    border: none;
}

.hero.hero-dark .btn-primary:hover {
    background: #f0f0f0;
    transform: translateY(-2px);
}

.btn-ghost {
    background: transparent;
    color: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

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

/* Dark Navbar on Hero */
.hero.hero-dark ~ .navbar,
body:has(.hero.hero-dark) .navbar {
    background: transparent;
}

body:has(.hero.hero-dark) .navbar.scrolled {
    background: rgba(8, 10, 10, 0.95);
    backdrop-filter: blur(10px);
}

body:has(.hero.hero-dark) .navbar .nav-link {
    color: rgba(255, 255, 255, 0.8);
}

body:has(.hero.hero-dark) .navbar .logo {
    color: #fff;
}

body:has(.hero.hero-dark) .navbar .lang-switch {
    color: rgba(255, 255, 255, 0.8);
    border-color: rgba(255, 255, 255, 0.2);
}

/* ========================================
   FEATURES STRIP SECTION
   ======================================== */
.features-strip {
    background: #080a0a;
    padding: 60px 0 80px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.features-strip-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 48px;
    max-width: 900px;
    margin: 0 auto;
}

.feature-strip-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.feature-strip-icon {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #22c55e;
}

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

.feature-strip-content {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.feature-strip-title {
    font-size: 0.95rem;
    font-weight: 600;
    color: #fff;
}

.feature-strip-desc {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.5;
}

@media (max-width: 768px) {
    .features-strip-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

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

    .hero-subtitle {
        font-size: 1.1rem;
    }
}

/* ========================================
   LEGACY HERO STYLES (for non-dark pages)
   ======================================== */
.hero:not(.hero-dark) {
    background-color: var(--warm-bg);
}

/* Hero Visual / Screenshot */
.hero-visual {
    position: relative;
    margin-top: 60px;
    perspective: 2000px;
    animation: float 6s ease-in-out infinite;
    z-index: 2;
}

.hero-screenshot-wrapper {
    border-radius: var(--radius-2xl);
    background: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 12px;
    border: 1px solid rgba(255, 255, 255, 0.8);
    box-shadow:
        0 50px 100px -20px rgba(0, 0, 0, 0.12),
        0 30px 60px -30px rgba(0, 0, 0, 0.15),
        inset 0 0 0 1px rgba(255, 255, 255, 0.5);
    transform: rotateX(15deg) rotateY(-10deg) rotateZ(2deg);
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-visual:hover .hero-screenshot-wrapper {
    transform: rotateX(5deg) rotateY(-5deg) rotateZ(0deg) scale(1.02);
}

.hero-screenshot {
    width: 100%;
    height: auto;
    display: block;
    border-radius: var(--radius-xl);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Code Preview Component */
.showcase-code-preview {
    background: #1a1a1a;
    border-radius: var(--radius-2xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.code-preview-header {
    background: rgba(255, 255, 255, 0.05);
    padding: 12px 16px;
    display: flex;
    align-items: center;
    gap: 8px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.code-preview-header .dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.code-preview-header .dot.red {
    background: #ff5f56;
}

.code-preview-header .dot.yellow {
    background: #ffbd2e;
}

.code-preview-header .dot.green {
    background: #27ca40;
}

.code-preview-header .code-title {
    margin-left: auto;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.5);
}

.code-preview-body {
    padding: 24px;
    font-family: 'SF Mono', 'Monaco', 'Consolas', monospace;
    font-size: 0.9rem;
    line-height: 1.8;
}

.code-line {
    color: #e5e5e5;
    min-height: 1.8em;
}

.code-comment {
    color: #6a737d;
}

.code-prompt {
    color: #8be9fd;
    margin-right: 8px;
}

.code-success {
    color: #50fa7b;
}

/* ========================================
   LOGOS / TRUSTED BY SECTION
   ======================================== */
.logos-section {
    padding: 60px 0;
    border-top: 1px solid var(--glass-border);
    border-bottom: 1px solid var(--glass-border);
    background: var(--warm-bg-darker);
}

.logos-title {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    text-align: center;
    margin-bottom: 40px;
}

.logos-grid {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 64px;
    flex-wrap: wrap;
}

.logo-item {
    opacity: 0.6;
    transition: var(--transition-base);
    filter: grayscale(100%);
}

.logo-item:hover {
    opacity: 1;
    filter: grayscale(0%);
}

.logo-item svg,
.logo-item img {
    height: 32px;
    width: auto;
}

/* Text-based logos */
.logo-text {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: -0.02em;
}

/* ========================================
   FEATURES SECTION
   ======================================== */
.features-section {
    background: var(--warm-bg);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.feature-card-lg {
    background: var(--warm-bg);
    border-radius: var(--radius-2xl);
    padding: 48px;
    position: relative;
    overflow: hidden;
    transition: var(--transition-base);
}

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

.feature-card-lg.featured {
    grid-column: span 2;
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    color: white;
}

.feature-card-lg.featured .feature-description {
    color: rgba(255, 255, 255, 0.7);
}

.feature-number {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--primary-purple);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 16px;
}

.feature-card-lg.featured .feature-number {
    color: var(--primary-purple);
}

.feature-card-lg .feature-title {
    font-size: 1.75rem;
    margin-bottom: 16px;
}

.feature-card-lg .feature-description {
    font-size: 1.125rem;
    line-height: 1.7;
    max-width: 500px;
}

.feature-card-lg .feature-visual {
    position: absolute;
    right: 48px;
    bottom: 48px;
    width: 280px;
    height: 200px;
    background: rgba(92, 128, 255, 0.1);
    border-radius: var(--radius-xl);
}

@media (max-width: 1024px) {
    .features-grid {
        grid-template-columns: 1fr;
    }

    .feature-card-lg.featured {
        grid-column: span 1;
    }

    .feature-card-lg .feature-visual {
        display: none;
    }
}

/* ========================================
   WORKFLOW SECTION
   ======================================== */
.workflow-section {
    background: var(--warm-bg);
}

.workflow-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    position: relative;
    margin-bottom: 60px;
}

.workflow-container::before {
    content: '';
    position: absolute;
    top: 24px;
    left: 10%;
    right: 10%;
    height: 1px;
    background: linear-gradient(90deg,
            rgba(0, 0, 0, 0) 0%,
            var(--border-strong) 20%,
            var(--border-strong) 80%,
            rgba(0, 0, 0, 0) 100%);
    z-index: 0;
}

.workflow-step {
    position: relative;
    z-index: 1;
    text-align: center;
}

.step-number {
    width: 48px;
    height: 48px;
    background: transparent;
    border: 2px solid var(--glass-border);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.125rem;
    color: var(--text-primary);
    margin: 0 auto 20px;
    transition: var(--transition-base);
}

.workflow-step:hover .step-number {
    background: var(--text-primary);
    color: white;
    border-color: var(--text-primary);
    transform: scale(1.1);
}

.step-icon {
    width: 80px;
    height: 80px;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    transition: var(--transition-base);
}

.workflow-step:hover .step-icon {
    transform: translateY(-8px) scale(1.05);
}

.step-icon svg {
    width: 28px;
    height: 28px;
    stroke: var(--primary-purple);
}

.step-icon img {
    width: 64px;
    height: 64px;
    object-fit: contain;
    filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.1));
}

.workflow-step h3 {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.workflow-step p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.6;
    max-width: 260px;
    margin: 0 auto;
}

.workflow-step.highlight {
    background: var(--warm-bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-xl);
    padding: 32px 20px;
    box-shadow: var(--shadow-lg);
    transform: translateY(-8px);
}

.workflow-step.highlight .step-number {
    background: var(--text-primary);
    color: white;
    border-color: var(--text-primary);
    box-shadow: 0 0 0 4px rgba(0, 0, 0, 0.05);
}

.workflow-insight {
    background: var(--warm-bg-darker);
    border-radius: var(--radius-xl);
    padding: 32px;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    border: 1px dashed var(--border-strong);
}

.workflow-insight p {
    margin-bottom: 8px;
    font-size: 1.125rem;
    color: var(--text-secondary);
}

.workflow-insight p:last-child {
    margin-bottom: 0;
}

.workflow-insight strong {
    color: var(--text-primary);
    font-weight: 700;
}

@media (max-width: 1024px) {
    .workflow-container {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 0 auto;
    }

    .workflow-container::before {
        display: none;
    }
}

/* ========================================
   CAPABILITIES SECTION
   ======================================== */
.capabilities-section {
    background: var(--warm-bg-darker);
}

.capabilities-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.capability-card {
    background: var(--warm-bg-card);
    border-radius: var(--radius-xl);
    padding: 32px;
    transition: var(--transition-base);
    border: 1px solid var(--border-subtle);
    display: flex;
    flex-direction: column;
}

.capability-card:hover {
    border-color: var(--text-primary);
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
}

.capability-icon {
    width: 64px;
    height: 64px;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
}

.capability-icon svg {
    width: 24px;
    height: 24px;
    stroke: var(--primary-purple);
}

.capability-icon img {
    width: 56px;
    height: 56px;
    object-fit: contain;
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.08));
}

.capability-card h3 {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.capability-card p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 16px;
}

.capability-detail {
    display: block;
    font-size: 0.85rem;
    color: var(--text-muted);
    padding-top: 16px;
    border-top: 1px solid var(--border-subtle);
    font-style: italic;
}

@media (max-width: 1024px) {
    .capabilities-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .capabilities-grid {
        grid-template-columns: 1fr;
    }
}

/* ========================================
   ROLES / USE CASES SECTION
   ======================================== */
.roles-section {
    background: var(--warm-bg);
}

.roles-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
    max-width: 1000px;
    margin: 0 auto;
}

.role-card {
    background: var(--warm-bg-card);
    border-radius: var(--radius-lg);
    padding: 24px;
    text-align: center;
    transition: var(--transition-base);
    border: 1px solid var(--border-subtle);
}

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

.role-avatar {
    width: 72px;
    height: 72px;
    background: linear-gradient(135deg, rgba(23, 23, 23, 0.08) 0%, rgba(64, 64, 64, 0.08) 100%);
    /* Monochrome gradient */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 1.5rem;
    transition: var(--transition-base);
}

.role-card:hover .role-avatar {
    transform: scale(1.1) rotate(5deg);
    background: linear-gradient(135deg, rgba(23, 23, 23, 0.15) 0%, rgba(64, 64, 64, 0.15) 100%);
}

.role-avatar img {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
}

.role-card h3 {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.role-card p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.role-card.large {
    text-align: left;
    padding: 40px;
}

.role-list {
    list-style: none;
    margin-bottom: 24px;
}

.role-list li {
    position: relative;
    padding-left: 24px;
    margin-bottom: 12px;
    color: var(--text-secondary);
    font-size: 1rem;
}

.role-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--text-primary);
    font-weight: 700;
}

.role-highlight {
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
    padding: 12px;
    background: var(--warm-bg-darker);
    border-radius: var(--radius-md);
    font-size: 0.95rem !important;
}

.role-value {
    color: var(--text-tertiary);
    font-size: 0.9rem !important;
}

@media (max-width: 1024px) {
    .roles-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .roles-grid {
        grid-template-columns: 1fr;
    }
}

/* Real World Capabilities Demo */
.capabilities-demo-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-top: 48px;
}

.demo-card {
    background: var(--warm-bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-xl);
    padding: 32px;
    transition: var(--transition-base);
    display: flex;
    flex-direction: column;
    gap: 16px;
}

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

.demo-icon {
    width: 64px;
    height: 64px;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
}

.demo-icon img {
    width: 56px;
    height: 56px;
    object-fit: contain;
    filter: drop-shadow(0 12px 24px rgba(0, 0, 0, 0.1));
}

.demo-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
}

.demo-card p {
    color: var(--text-secondary);
    line-height: 1.6;
}

@media (max-width: 768px) {
    .capabilities-demo-grid {
        grid-template-columns: 1fr;
    }
}

/* ========================================
   PRODUCT SHOWCASE SECTION
   ======================================== */
.showcase-section {
    background: var(--warm-bg);
    overflow: hidden;
}

.showcase-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.showcase-content {
    max-width: 500px;
}

.showcase-content .badge {
    margin-bottom: 20px;
}

.showcase-content h2 {
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 800;
    margin-bottom: 20px;
    color: var(--text-primary);
}

.showcase-content p {
    font-size: 1.125rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 32px;
}

.showcase-features {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.showcase-feature {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.showcase-feature-icon {
    width: 24px;
    height: 24px;
    background: rgba(68, 168, 19, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.showcase-feature-icon svg {
    width: 14px;
    height: 14px;
    stroke: var(--accent-green);
}

.showcase-feature-icon img {
    width: 16px;
    height: 16px;
    object-fit: contain;
}

.showcase-feature span {
    font-size: 1rem;
    color: var(--text-secondary);
}

.showcase-visual {
    position: relative;
}

.showcase-image {
    width: 100%;
    border-radius: var(--radius-2xl);
    box-shadow: var(--shadow-xl);
}

.showcase-float-card {
    position: absolute;
    background: var(--warm-bg-card);
    border-radius: var(--radius-lg);
    padding: 16px 20px;
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 12px;
    animation: float 6s ease-in-out infinite;
}

.showcase-float-card.top-right {
    top: -20px;
    right: -20px;
}

.showcase-float-card.bottom-left {
    bottom: -20px;
    left: -20px;
    animation-delay: -3s;
}

.float-card-icon {
    width: 40px;
    height: 40px;
    background: var(--accent-gradient);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
}

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

.float-card-icon img {
    width: 24px;
    height: 24px;
    object-fit: contain;
    filter: brightness(0) invert(1);
}

.float-card-text {
    font-size: 0.875rem;
}

.float-card-text strong {
    display: block;
    color: var(--text-primary);
}

.float-card-text span {
    color: var(--text-muted);
}

@media (max-width: 1024px) {
    .showcase-container {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .showcase-content {
        max-width: 100%;
    }

    .showcase-float-card {
        display: none;
    }
}

/* ========================================
   CTA SECTION
   ======================================== */
.cta-section {
    background: transparent;
    padding: 100px 0;
}

.cta-section .container {
    background: #0a0a0a;
    border-radius: var(--radius-2xl);
    padding: var(--section-padding) 40px;
    position: relative;
    overflow: hidden;
}

.cta-section::before,
.cta-section::after {
    display: none;
}

.cta-section .container::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.05) 0%, transparent 70%);
    border-radius: 50%;
}

.cta-content {
    position: relative;
    z-index: 1;
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
    color: white;
}

.cta-content h2 {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.1;
}

.cta-content p {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 40px;
    line-height: 1.7;
}

.cta-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-section .btn-primary {
    background: white;
    color: var(--text-primary);
}

.cta-section .btn-primary:hover {
    background: var(--warm-bg);
}

.cta-section .btn-secondary {
    background: transparent;
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.cta-section .btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
}

/* ========================================
   STATS SECTION
   ======================================== */
.stats-section {
    background: var(--warm-bg);
    padding: 80px 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 48px;
    max-width: 800px;
    margin: 0 auto;
}

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

.stat-number {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 800;
    color: var(--text-primary);
    line-height: 1;
    margin-bottom: 8px;
}

.stat-number .suffix {
    font-size: 0.6em;
    color: var(--primary-purple);
}

.stat-label {
    font-size: 1rem;
    color: var(--text-secondary);
}

@media (max-width: 768px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 32px;
    }
}

/* ========================================
   TESTIMONIALS SECTION
   ======================================== */
.testimonials-section {
    background: white;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.testimonial-card {
    background: var(--warm-bg);
    border-radius: var(--radius-xl);
    padding: 32px;
    transition: var(--transition-base);
}

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

.testimonial-quote {
    font-size: 1.125rem;
    color: var(--text-primary);
    line-height: 1.7;
    margin-bottom: 24px;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.testimonial-avatar {
    width: 48px;
    height: 48px;
    background: var(--accent-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    color: white;
}

.testimonial-info strong {
    display: block;
    color: var(--text-primary);
    font-size: 0.95rem;
}

.testimonial-info span {
    font-size: 0.875rem;
    color: var(--text-muted);
}

@media (max-width: 1024px) {
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
}

/* ========================================
   ANIMATIONS
   ======================================== */
@keyframes typing {
    from {
        width: 0;
    }

    to {
        width: 100%;
    }
}

@keyframes blink {
    50% {
        border-color: transparent;
    }
}

.typing-animation {
    overflow: hidden;
    white-space: nowrap;
    border-right: 2px solid white;
    animation: typing 3s steps(40) 1s forwards, blink 0.7s step-end infinite;
}

/* Scroll Triggered Animations */
[data-scroll] {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

[data-scroll].is-visible {
    opacity: 1;
    transform: translateY(0);
}

[data-scroll-delay="1"] {
    transition-delay: 0.1s;
}

[data-scroll-delay="2"] {
    transition-delay: 0.2s;
}

[data-scroll-delay="3"] {
    transition-delay: 0.3s;
}

[data-scroll-delay="4"] {
    transition-delay: 0.4s;
}

/* ========================================
   APPLY FORM SECTION
   ======================================== */
.apply-form-wrapper {
    margin-top: 48px;
    animation: slideUp 0.8s ease-out 0.3s backwards;
}

.apply-form-hint {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 16px;
    text-align: center;
}

.apply-form {
    display: flex;
    gap: 12px;
    max-width: 480px;
    margin: 0 auto;
    justify-content: center;
}

.apply-input {
    flex: 1;
    max-width: 280px;
    padding: 14px 20px;
    font-size: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    outline: none;
    transition: all 0.3s ease;
}

.apply-input::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.apply-input:focus {
    border-color: rgba(255, 255, 255, 0.5);
    background: rgba(255, 255, 255, 0.12);
}

.apply-btn {
    padding: 14px 28px;
    font-size: 1rem;
    font-weight: 600;
    white-space: nowrap;
}

/* CTA Section Apply Form */
.apply-form-cta {
    margin-top: 32px;
}

.apply-form-cta .apply-form-hint {
    color: rgba(255, 255, 255, 0.6);
}

@media (max-width: 640px) {
    .apply-form {
        flex-direction: column;
        align-items: center;
    }

    .apply-input {
        max-width: 100%;
        width: 100%;
    }

    .apply-btn {
        width: 100%;
    }
}