/* ============================================
   Corezene Technology - Modern Tech Website
   ============================================ */

:root {
    --bg-dark: #060b14;
    --bg-card: #0d1624;
    --bg-elevated: #141e2e;
    --accent: #00d4aa;
    --accent-dim: #00a88a;
    --accent-glow: rgba(0, 212, 170, 0.3);
    --text: #e8edf5;
    --text-muted: #8b9bb4;
    --border: rgba(255, 255, 255, 0.06);
    --font-main: 'Outfit', -apple-system, sans-serif;
    --font-mono: 'JetBrains Mono', monospace;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-premium: 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --radius: 12px;
    --radius-lg: 20px;
    --shadow-card: 0 4px 24px rgba(0, 0, 0, 0.2);
    --shadow-hover: 0 20px 48px rgba(0, 0, 0, 0.35), 0 0 0 1px rgba(0, 212, 170, 0.08);
    --shadow-glow: 0 0 40px rgba(0, 212, 170, 0.08);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    background: var(--bg-dark);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
}

/* ========== Cuberto-style Cursor Follower ========== */
.has-custom-cursor,
.has-custom-cursor * {
    cursor: none !important;
}

.cursor-follower {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 9999;
}

.cursor-dot,
.cursor-ring {
    position: absolute;
    top: 0;
    left: 0;
    border-radius: 50%;
    transition: transform 0.15s ease, width 0.2s ease, height 0.2s ease;
}

.cursor-dot {
    width: 8px;
    height: 8px;
    background: var(--accent);
    transform: translate(-50%, -50%);
}

.cursor-ring {
    width: 40px;
    height: 40px;
    border: 2px solid var(--accent);
    background: transparent;
    transform: translate(-50%, -50%);
}

.cursor-follower.cursor-hover .cursor-ring {
    width: 56px;
    height: 56px;
    border-color: var(--accent);
    opacity: 0.6;
}

.cursor-follower.cursor-hidden {
    opacity: 0;
    transition: opacity 0.2s ease;
}

.cursor-follower:not(.cursor-hidden) {
    opacity: 1;
}

/* Magnetic hover – uses CSS vars set by JS */
.btn,
.hero-cta a {
    transform: translate(var(--magnetic-x, 0), var(--magnetic-y, 0));
}

.btn-primary:hover {
    transform: translate(var(--magnetic-x, 0), calc(var(--magnetic-y, 0) - 3px));
}

.btn-outline:hover {
    transform: translate(var(--magnetic-x, 0), calc(var(--magnetic-y, 0) - 2px));
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Touch devices: use default cursor for better mobile/tablet UX */
@media (hover: none) and (pointer: coarse) {
    .cursor-follower {
        display: none !important;
    }
    .has-custom-cursor,
    .has-custom-cursor * {
        cursor: auto !important;
    }
}

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

/* ========== Header ========== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 20px 0;
    background: rgba(6, 11, 20, 0.8);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    transition: all var(--transition);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    transition: opacity var(--transition);
}

.logo:hover {
    opacity: 0.95;
}

.logo:hover .logo-img {
    filter: brightness(1.08) drop-shadow(0 0 12px rgba(0, 212, 170, 0.25));
}

.logo-img {
    height: 55px;
    width: auto;
    object-fit: contain;
    filter: brightness(1.05) drop-shadow(0 0 8px rgba(0, 212, 170, 0.15));
}

.logo-img-footer {
    height: 55px;
    filter: brightness(1.05);
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 32px;
}

.nav-list a {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-muted);
    position: relative;
    transition: color var(--transition-premium);
}

.nav-list a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: width var(--transition-premium);
}

.nav-list a:hover,
.nav-list a.nav-active {
    color: var(--accent);
}

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

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

.mobile-menu-btn span {
    width: 24px;
    height: 2px;
    background: var(--text);
    border-radius: 2px;
    transition: var(--transition);
}

.mobile-menu-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

body.menu-open {
    overflow: hidden;
}

/* ========== Page Hero (inner pages) ========== */
.page-hero {
    min-height: 40vh;
    display: flex;
    align-items: center;
    position: relative;
    padding: 140px 0 80px;
    overflow: hidden;
}

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

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

.page-hero-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    letter-spacing: -0.02em;
}

.page-hero-title .accent {
    color: #00d4aa;
    margin: 12px 0 16px;
}

.page-hero-desc {
    font-size: 1.1rem;
    color: var(--text-muted);
    max-width: 600px;
}

/* ========== Feature Images - Solutions That Scale ========== */
.solutions-section .feature-images-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.solutions-section .feature-img-block {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    aspect-ratio: 4/3;
    border: 1px solid var(--border);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.solutions-section .feature-img-block:hover {
    transform: translateY(-10px);
    border-color: rgba(0, 212, 170, 0.5);
    box-shadow: var(--shadow-hover), var(--shadow-glow);
    transition: all var(--transition-premium);
}

.solutions-section .feature-img-wrap {
    position: absolute;
    inset: 0;
}

.solutions-section .feature-img-block img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.solutions-section .feature-img-block:hover img {
    transform: scale(1.08);
}

.solutions-section .feature-img-accent {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--accent), transparent);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.solutions-section .feature-img-block:hover .feature-img-accent {
    transform: scaleX(1);
}

.solutions-section .feature-img-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(6, 11, 20, 0.98) 0%, rgba(6, 11, 20, 0.6) 40%, transparent 70%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 28px;
    transition: background 0.4s ease;
}

.solutions-section .feature-img-block:hover .feature-img-overlay {
    background: linear-gradient(to top, rgba(6, 11, 20, 0.95) 0%, rgba(6, 11, 20, 0.4) 50%, transparent);
}

.solutions-section .feature-icon {
    font-size: 1.75rem;
    margin-bottom: 12px;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1) 0.1s;
}

.solutions-section .feature-img-block:hover .feature-icon {
    opacity: 1;
    transform: translateY(0);
}

.solutions-section .feature-img-overlay h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 6px;
    transition: color 0.3s ease;
}

.solutions-section .feature-img-block:hover .feature-img-overlay h3 {
    color: var(--accent);
}

.solutions-section .feature-img-overlay p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 8px;
    transition: transform 0.3s ease;
}

.solutions-section .feature-arrow {
    font-size: 1.25rem;
    color: var(--accent);
    opacity: 0;
    transform: translateX(-10px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1) 0.15s;
}

.solutions-section .feature-img-block:hover .feature-arrow {
    opacity: 1;
    transform: translateX(0);
}

/* Staggered reveal animation for Solutions section */
.solutions-section .feature-img-block[data-aos] {
    transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1), transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.solutions-section .feature-img-block[data-aos].aos-visible {
    opacity: 1;
    transform: translateY(0);
}

.solutions-section .feature-img-block[data-aos]:nth-child(1) { transition-delay: 0.1s; }
.solutions-section .feature-img-block[data-aos]:nth-child(2) { transition-delay: 0.2s; }
.solutions-section .feature-img-block[data-aos]:nth-child(3) { transition-delay: 0.3s; }

.solutions-intro {
    margin-top: 24px;
    max-width: 720px;
}

.solutions-intro p {
    color: var(--text-muted);
    font-size: 1.05rem;
    line-height: 1.7;
}

/* ========== Why Corezene ========== */
.why-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    margin-top: 24px;
}

.why-card {
    padding: 32px 28px;
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    transition: all var(--transition-premium);
}

.why-card:hover {
    border-color: rgba(0, 212, 170, 0.4);
    transform: translateY(-6px);
    box-shadow: var(--shadow-hover);
    transition: all var(--transition-premium);
}

.why-num {
    display: block;
    font-family: var(--font-mono);
    font-size: 0.9rem;
    color: var(--accent);
    margin-bottom: 12px;
}

.why-card h3 {
    font-size: 1.2rem;
    margin-bottom: 12px;
}

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

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

.inline-link {
    color: var(--accent);
    text-decoration: none;
    font-weight: 500;
}

.inline-link:hover {
    text-decoration: underline;
    text-underline-offset: 3px;
}

/* ========== Impact Section (screenshot-style) ========== */
.impact-section {
    background: #0a0a0a;
}

.impact-container {
    max-width: 1280px;
}

.impact-top {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 64px;
    align-items: start;
    margin-bottom: 80px;
}

.impact-title {
    font-size: clamp(3rem, 6vw, 4.5rem);
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -0.04em;
    color: #fff;
}

.impact-line {
    display: block;
}

.impact-line.accent {
    color: var(--accent);
}

.impact-desc p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.05rem;
    line-height: 1.75;
}

/* 4-column grid */
.impact-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.impact-stat-1 { grid-column: 1; }
.impact-stat-2 { grid-column: 2; }
.impact-stat-3 { grid-column: 3; }
.impact-stat-4 { grid-column: 4; }

.impact-stat {
    position: relative;
    padding: 36px 32px;
    overflow: hidden;
    min-height: 140px;
}

.impact-stat-teal {
    background: #0f4c46;
}

.impact-stat-dark {
    background: #141414;
}

.impact-stat-bg {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 140px;
    height: 140px;
    pointer-events: none;
    opacity: 0.4;
}

.impact-stat-bg-graph {
    background: linear-gradient(135deg, rgba(0, 212, 170, 0.08) 0%, transparent 60%);
}

.impact-stat-graph .impact-stat-bg {
    bottom: 0;
    right: 0;
    left: auto;
}

.impact-stat-num {
    display: block;
    font-size: clamp(2.25rem, 4vw, 3rem);
    font-weight: 800;
    font-family: var(--font-mono);
    color: #fff;
    margin-bottom: 10px;
    position: relative;
    z-index: 1;
}

.impact-stat-teal .impact-stat-num {
    color: var(--accent);
}

.impact-stat-label {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.4;
    position: relative;
    z-index: 1;
}

.impact-stat-dark .impact-stat-label {
    color: rgba(255, 255, 255, 0.7);
}

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

    .impact-stat-1 { grid-column: 1; }
    .impact-stat-2 { grid-column: 2; }
    .impact-stat-3 { grid-column: 1; }
    .impact-stat-4 { grid-column: 2; }
}

@media (max-width: 768px) {
    .impact-top {
        grid-template-columns: 1fr;
        gap: 40px;
        margin-bottom: 48px;
    }

    .impact-stats {
        grid-template-columns: 1fr;
    }

    .impact-stat-1, .impact-stat-2, .impact-stat-3, .impact-stat-4 {
        grid-column: 1 !important;
    }
}

/* ========== Full Width Images Section ========== */
.fullwidth-images-section {
    padding: 0;
}

.fullwidth-img {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 500px;
    overflow: hidden;
}

.fullwidth-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.fullwidth-img-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(6, 11, 20, 0.85) 0%, rgba(6, 11, 20, 0.4) 50%, transparent);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 80px 48px;
}

.fullwidth-img-overlay .section-tag {
    color: var(--accent);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-bottom: 12px;
}

.fullwidth-img-overlay h2 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 12px;
}

.fullwidth-img-overlay p {
    font-size: 1.1rem;
    color: var(--text-muted);
}

@media (max-width: 768px) {
    .fullwidth-img {
        min-height: 400px;
    }

    .fullwidth-img-overlay {
        padding: 48px 24px;
    }
}

/* ========== Discover Corezene - Page Links ========== */
.discover-section .page-links-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.discover-section .page-link-card {
    position: relative;
    display: block;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border);
    min-height: 280px;
    transition: all var(--transition-premium);
}

.discover-section .page-link-card:hover {
    border-color: rgba(0, 212, 170, 0.5);
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover), var(--shadow-glow);
}

.discover-section .page-link-img {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.discover-section .page-link-card:hover .page-link-img {
    transform: scale(1.08);
}

.discover-section .page-link-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(6, 11, 20, 0.95) 0%, rgba(6, 11, 20, 0.4) 50%, transparent);
    pointer-events: none;
    transition: background 0.4s ease;
}

.discover-section .page-link-card:hover .page-link-overlay {
    background: linear-gradient(to top, rgba(6, 11, 20, 0.9) 0%, rgba(6, 11, 20, 0.3) 60%, transparent);
}

.discover-section .page-link-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 28px 24px;
}

.discover-section .page-link-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 8px;
    transition: color 0.3s ease;
}

.discover-section .page-link-card:hover h3 {
    color: var(--accent);
}

.discover-section .page-link-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* Stagger for discover cards */
.discover-section .page-link-card[data-aos]:nth-child(1) { transition-delay: 0.05s; }
.discover-section .page-link-card[data-aos]:nth-child(2) { transition-delay: 0.1s; }
.discover-section .page-link-card[data-aos]:nth-child(3) { transition-delay: 0.15s; }
.discover-section .page-link-card[data-aos]:nth-child(4) { transition-delay: 0.2s; }
.discover-section .page-link-card[data-aos]:nth-child(5) { transition-delay: 0.25s; }
.discover-section .page-link-card[data-aos]:nth-child(6) { transition-delay: 0.3s; }

@media (max-width: 768px) {
    .discover-section .page-links-grid {
        grid-template-columns: 1fr;
    }

    .discover-section .page-link-card {
        min-height: 240px;
    }
}

/* ========== Implementation Practices ========== */
.implementation-practices {
    background: var(--bg-dark);
    position: relative;
    overflow: hidden;
}

.implementation-practices::before {
    content: '';
    position: absolute;
    top: -50%;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(0, 212, 170, 0.06) 0%, transparent 70%);
    pointer-events: none;
}

.implementation-title {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 48px;
    position: relative;
}

.implementation-practices-accent {
    color: #00d4aa;
}

.implementation-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    align-items: stretch;
    position: relative;
}

.implementation-col {
    position: relative;
    transition: transform var(--transition);
    cursor: pointer;
    text-decoration: none;
    color: inherit;
}

.implementation-col[data-aos]:nth-child(1) { transition-delay: 0.05s; }
.implementation-col[data-aos]:nth-child(2) { transition-delay: 0.1s; }
.implementation-col[data-aos]:nth-child(3) { transition-delay: 0.15s; }

.implementation-card-inner {
    height: 100%;
    padding: 32px 28px;
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    gap: 20px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.implementation-card-inner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--accent);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.implementation-col:hover .implementation-card-inner {
    transform: translateY(-8px);
    border-color: rgba(0, 212, 170, 0.3);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3), 0 0 0 1px rgba(0, 212, 170, 0.1);
}

.implementation-col:hover .implementation-card-inner::before {
    transform: scaleX(1);
}

.implementation-col-shopify:hover .implementation-card-inner::before { background: #96bf48; }
.implementation-col-magento:hover .implementation-card-inner::before { background: #f26322; }
.implementation-col-woo:hover .implementation-card-inner::before { background: #7f54b3; }

.implementation-logo {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 12px 0;
}

.implementation-logo img {
    width: auto;
    height: 48px;
    max-width: 160px;
    object-fit: contain;
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.implementation-col:hover .implementation-logo img {
    transform: scale(1.05);
}

.implementation-col p {
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.7;
    flex: 1;
    transition: color 0.3s ease;
}

.implementation-col:hover p {
    color: var(--text);
}

.implementation-learn {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--accent);
    opacity: 0;
    transform: translateY(4px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.implementation-col:hover .implementation-learn {
    opacity: 1;
    transform: translateY(0);
}

/* ========== Testimonials ========== */
.testimonials-section {
    background: var(--bg-dark);
}

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

.testimonial-card {
    padding: 30px 26px;
    background: linear-gradient(180deg, rgba(20, 30, 46, 0.95), rgba(13, 22, 36, 0.95));
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    transition: all var(--transition-premium);
}

.testimonial-card:hover {
    transform: translateY(-6px);
    border-color: rgba(0, 212, 170, 0.45);
    box-shadow: var(--shadow-hover), var(--shadow-glow);
}

.testimonial-rating {
    color: var(--accent);
    letter-spacing: 0.12em;
    font-size: 1rem;
    margin-bottom: 14px;
}

.testimonial-text {
    color: var(--text);
    font-size: 0.98rem;
    line-height: 1.75;
    margin-bottom: 20px;
}

.testimonial-author strong {
    display: block;
    font-size: 1rem;
    margin-bottom: 2px;
}

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

/* ========== FAQ Section ========== */
.faq-section {
    position: relative;
}

.faq-list {
    max-width: 920px;
    margin: 0 auto;
    display: grid;
    gap: 14px;
}

.faq-item {
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    transition: border-color var(--transition-premium), box-shadow var(--transition-premium);
}

.faq-item:hover {
    border-color: rgba(0, 212, 170, 0.4);
    box-shadow: var(--shadow-card);
}

.faq-item summary {
    list-style: none;
    cursor: pointer;
    padding: 20px 22px;
    font-size: 1.02rem;
    font-weight: 600;
    color: var(--text);
    position: relative;
    padding-right: 54px;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary::after {
    content: '+';
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: rgba(0, 212, 170, 0.12);
    color: var(--accent);
    display: grid;
    place-items: center;
    font-size: 1rem;
    font-weight: 700;
    line-height: 1;
    transition: transform var(--transition), background var(--transition);
}

.faq-item[open] summary::after {
    content: '-';
    transform: translateY(-50%) rotate(180deg);
    background: rgba(0, 212, 170, 0.2);
}

.faq-item p {
    color: var(--text-muted);
    padding: 0 22px 20px;
    line-height: 1.7;
    font-size: 0.96rem;
}


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

    .implementation-col:hover .implementation-card-inner {
        transform: translateY(-4px);
    }
}

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

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

.hero-grid {
    position: absolute;
    inset: 0;
    background-image: 
        linear-gradient(rgba(0, 212, 170, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 212, 170, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse 80% 60% at 50% 50%, black, transparent);
}

.hero-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.4;
    animation: heroGlow 8s ease-in-out infinite;
}

.hero-glow-1 {
    width: 400px;
    height: 400px;
    background: var(--accent);
    top: -100px;
    right: -100px;
    animation-delay: 0s;
}

.hero-glow-2 {
    width: 300px;
    height: 300px;
    background: #0066ff;
    bottom: 20%;
    left: -80px;
    animation-delay: -3s;
}

.hero-glow-3 {
    width: 200px;
    height: 200px;
    background: var(--accent-dim);
    bottom: -50px;
    right: 30%;
    animation-delay: -5s;
}

@keyframes heroGlow {
    0%, 100% { transform: translate(0, 0) scale(1); opacity: 0.3; }
    50% { transform: translate(20px, -20px) scale(1.1); opacity: 0.5; }
}

.hero-particles {
    position: absolute;
    inset: 0;
}

.hero-inner {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.hero-content {
    position: relative;
}

.hero-visual {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border);
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.3);
}

.hero-img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: var(--radius-lg);
}

.hero-badge {
    display: inline-block;
    padding: 8px 16px;
    background: rgba(0, 212, 170, 0.1);
    border: 1px solid rgba(0, 212, 170, 0.3);
    border-radius: 50px;
    font-size: 0.85rem;
    color: var(--accent);
    font-weight: 500;
    margin-bottom: 24px;
    animation: fadeUp 0.8s ease-out;
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.03em;
    margin-bottom: 20px;
}

.hero-title-line {
    display: block;
    overflow: hidden;
    backface-visibility: hidden;
}

.hero-line-1 {
    animation: heroSlideHorizontal 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

.hero-line-2 {
    animation: heroSlideHorizontal 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.2s backwards;
    white-space: nowrap;
}

.hero-title-line.accent {
    background: linear-gradient(90deg, var(--accent), #00f5d4, var(--accent));
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: heroSlideHorizontal 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.2s backwards,
               heroShimmer 6s ease-in-out 2s infinite;
}

.hero-subtitle {
    font-size: 1.15rem;
    color: var(--text-muted);
    max-width: 540px;
    margin-bottom: 32px;
    overflow: hidden;
}

.hero-subtitle-inner {
    display: block;
    backface-visibility: hidden;
    animation: heroSubtitleHorizontal 1.4s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.4s backwards;
}

@keyframes heroSlideHorizontal {
    from {
        opacity: 0;
        transform: translateX(-48px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes heroShimmer {
    0%, 100% { background-position: 0% center; }
    50% { background-position: 100% center; }
}

@keyframes heroSubtitleHorizontal {
    from {
        opacity: 0;
        transform: translateX(-32px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.hero-cta {
    display: flex;
    gap: 16px;
    margin-bottom: 60px;
    animation: fadeUp 0.8s ease-out 0.3s backwards;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: var(--radius);
    transition: all var(--transition-premium);
    cursor: pointer;
    border: 2px solid transparent;
}

.btn-primary {
    background: var(--accent);
    color: var(--bg-dark);
    box-shadow: 0 0 30px var(--accent-glow);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 48px var(--accent-glow), 0 8px 24px rgba(0, 0, 0, 0.2);
}

.btn-outline {
    background: transparent;
    border-color: var(--text-muted);
    color: var(--text);
}

.btn-outline:hover {
    border-color: var(--accent);
    color: var(--accent);
    transform: translateY(-2px);
    box-shadow: 0 0 24px rgba(0, 212, 170, 0.15);
}

.btn-full { width: 100%; }

.hero-stats {
    display: flex;
    gap: 48px;
    animation: fadeUp 0.8s ease-out 0.4s backwards;
}

.hero-stat {
    display: flex;
    flex-direction: column;
}

.hero-stat-value {
    white-space: nowrap;
}

.hero-stat-num {
    font-size: 2rem;
    font-weight: 800;
    color: var(--accent);
    font-family: var(--font-mono);
}

.hero-stat-label {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.hero-scroll {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: var(--text-muted);
    font-size: 0.8rem;
    animation: fadeIn 1s ease-out 1s backwards;
}

.hero-scroll-line {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, var(--accent), transparent);
    animation: scrollLine 2s ease-in-out infinite;
}

@keyframes scrollLine {
    0%, 100% { opacity: 0.3; transform: scaleY(0.5); }
    50% { opacity: 1; transform: scaleY(1); }
}

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

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* ========== Sections ========== */
.section {
    padding: 100px 0;
}

.section-dark {
    background: var(--bg-card);
}

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

.section-tag {
    display: inline-block;
    font-size: 0.85rem;
    color: var(--accent);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-bottom: 12px;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 16px;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 60px;
    height: 3px;
    background: var(--accent);
    border-radius: 2px;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    transform-origin: center;
}

.section-header.aos-visible .section-title::after,
.section-revealed .section-title::after {
    transform: translateX(-50%) scaleX(1);
}

.section-title .accent {
    color: var(--accent);
}

.section-desc {
    font-size: 1.1rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
}

/* ========== About ========== */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-content p {
    margin-bottom: 20px;
    color: var(--text-muted);
}

.about-features {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 32px;
}

.about-feature {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 500;
}

.about-feature-icon {
    color: var(--accent);
    font-weight: 700;
}

.about-card {
    position: relative;
    padding: 40px;
    background: linear-gradient(135deg, var(--bg-elevated), var(--bg-card));
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all var(--transition-premium);
}

.about-card:hover {
    border-color: rgba(0, 212, 170, 0.35);
    transform: translateY(-4px);
    box-shadow: var(--shadow-card);
}

.about-card-shine {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--accent), transparent);
    animation: shine 3s ease-in-out infinite;
}

@keyframes shine {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.about-card-num {
    font-family: var(--font-mono);
    font-size: 0.9rem;
    color: var(--accent);
    margin-bottom: 8px;
}

.about-card h3 {
    font-size: 1.5rem;
    margin-bottom: 12px;
}

.about-card p {
    color: var(--text-muted);
}

/* ========== About Values ========== */
.about-values {
    margin-top: 64px;
}

.about-values-title {
    font-size: 1.5rem;
    margin-bottom: 28px;
}

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

.value-item {
    padding: 28px 24px;
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    transition: all var(--transition-premium);
}

.value-item:hover {
    border-color: rgba(0, 212, 170, 0.35);
    transform: translateY(-4px);
    box-shadow: var(--shadow-card);
}

.value-item strong {
    display: block;
    color: var(--accent);
    margin-bottom: 8px;
}

.value-item p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

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

/* About - Story, Mission/Vision, Expertise, Stats, CTA */
.about-section-title {
    font-size: 1.75rem;
    margin-bottom: 20px;
}

.about-section-title .accent {
    color: #00d4aa;
}

.about-story {
    padding: 48px 40px;
    margin: 64px 0;
    border-radius: var(--radius-lg);
}

.about-story-text {
    color: var(--text-muted);
    font-size: 1.1rem;
    line-height: 1.8;
    max-width: 800px;
}

.about-mission-vision {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
    margin-bottom: 64px;
}

.about-mission-card {
    padding: 36px 32px;
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    border-left: 3px solid var(--accent);
    transition: all var(--transition-premium);
}

.about-mission-card:hover {
    border-color: rgba(0, 212, 170, 0.4);
    transform: translateY(-4px);
    box-shadow: var(--shadow-card);
}

.about-mv-icon {
    font-size: 2rem;
    display: block;
    margin-bottom: 16px;
}

.about-mission-card h3 {
    font-size: 1.25rem;
    margin-bottom: 12px;
}

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

.about-expertise {
    padding: 64px 0;
    margin: 0 -24px 64px;
    padding-left: 24px;
    padding-right: 24px;
    border-radius: var(--radius-lg);
}

.about-section-desc {
    color: var(--text-muted);
    margin-bottom: 40px;
    max-width: 600px;
}

.about-expertise-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 24px;
}

.about-expertise-item {
    padding: 28px 24px;
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    transition: all var(--transition);
}

.about-expertise-item:hover {
    border-color: rgba(0, 212, 170, 0.4);
    transform: translateY(-4px);
    box-shadow: var(--shadow-card);
}

.about-expertise-item h4 {
    font-size: 1.1rem;
    margin-bottom: 10px;
}

.about-expertise-item p {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.5;
}

.about-stats {
    margin-bottom: 64px;
}

.about-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    margin-top: 40px;
}

.about-stat {
    text-align: center;
    padding: 32px 24px;
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
}

.about-stat-num {
    display: block;
    font-size: 2.5rem;
    font-weight: 800;
    font-family: var(--font-mono);
    color: var(--accent);
    margin-bottom: 8px;
}

.about-stat-label {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.about-cta {
    text-align: center;
    padding: 64px 48px;
    background: linear-gradient(135deg, var(--bg-elevated) 0%, rgba(0, 212, 170, 0.05) 100%);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
}

.about-cta h2 {
    font-size: 1.75rem;
    margin-bottom: 12px;
}

.about-cta p {
    color: var(--text-muted);
    margin-bottom: 24px;
}

@media (max-width: 1024px) {
    .about-mission-vision {
        grid-template-columns: 1fr;
    }
    .about-expertise-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .about-stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .about-story {
        margin: 48px 0;
        padding: 32px 24px;
    }
    .about-expertise {
        margin-left: 0;
        margin-right: 0;
        padding-left: 24px;
        padding-right: 24px;
    }
    .about-expertise-grid {
        grid-template-columns: 1fr;
    }
    .about-stats-grid {
        grid-template-columns: 1fr;
    }
}

/* ========== Services Intro ========== */
.services-intro {
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.services-intro p {
    color: var(--text-muted);
    font-size: 1.05rem;
    line-height: 1.7;
}

/* ========== Tech Intro ========== */
.tech-intro {
    margin-bottom: 40px;
    max-width: 800px;
}

.tech-intro p {
    color: var(--text-muted);
    font-size: 1.05rem;
    line-height: 1.7;
}

/* ========== Careers Intro ========== */
.careers-intro {
    margin-bottom: 40px;
    max-width: 800px;
}

.careers-intro p {
    color: var(--text-muted);
    font-size: 1.05rem;
    line-height: 1.7;
}

.careers-heading {
    font-size: 1.75rem;
    margin-bottom: 12px;
}

.careers-why {
    margin-bottom: 64px;
}

.careers-benefits {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-top: 32px;
}

.careers-benefit {
    padding: 28px 24px;
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    transition: all var(--transition-premium);
}

.careers-benefit:hover {
    border-color: rgba(0, 212, 170, 0.45);
    transform: translateY(-6px);
    box-shadow: var(--shadow-hover);
}

.careers-benefit-icon {
    font-size: 1.75rem;
    display: block;
    margin-bottom: 12px;
}

.careers-benefit h3 {
    font-size: 1.1rem;
    margin-bottom: 8px;
}

.careers-benefit p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.5;
}

.careers-roles {
    padding: 48px 0;
    margin: 0 -24px 64px;
    padding-left: 24px;
    padding-right: 24px;
    background: var(--bg-card);
    border-radius: var(--radius-lg);
}

.careers-sub {
    color: var(--text-muted);
    margin-bottom: 28px;
}

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

.careers-role-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 24px 28px;
    transition: all var(--transition-premium);
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    flex-wrap: wrap;
}

.careers-role-card:hover {
    border-color: rgba(0, 212, 170, 0.4);
    box-shadow: var(--shadow-card);
}

.careers-role-info h3 {
    font-size: 1.15rem;
    margin-bottom: 6px;
}

.careers-role-info p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 10px;
}

.careers-role-tag {
    display: inline-block;
    font-size: 0.75rem;
    padding: 4px 10px;
    background: rgba(0, 212, 170, 0.15);
    color: var(--accent);
    border-radius: 50px;
}

.careers-process {
    margin-bottom: 64px;
}

.careers-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-top: 32px;
}

.careers-step {
    padding: 24px;
    border-left: 3px solid var(--accent);
    background: var(--bg-elevated);
    border-radius: 0 var(--radius) var(--radius) 0;
}

.careers-step-num {
    display: block;
    font-family: var(--font-mono);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent);
    margin-bottom: 8px;
}

.careers-step h3 {
    font-size: 1.1rem;
    margin-bottom: 8px;
}

.careers-step p {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.5;
}

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

@media (max-width: 768px) {
    .careers-benefits {
        grid-template-columns: 1fr;
    }
    .careers-roles {
        margin-left: 0;
        margin-right: 0;
    }
    .careers-role-card {
        flex-direction: column;
        align-items: flex-start;
    }
    .careers-steps {
        grid-template-columns: 1fr;
    }
}

/* ========== Apply Modal ========== */
.apply-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.apply-modal[aria-hidden="false"] {
    opacity: 1;
    visibility: visible;
}

.apply-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(6, 11, 20, 0.85);
    backdrop-filter: blur(8px);
}

.apply-modal-content {
    position: relative;
    width: 100%;
    max-width: 480px;
    max-height: 90vh;
    overflow-y: auto;
    background: #fff;
    color: #1a1a1a;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: var(--radius-lg);
    padding: 32px;
    box-shadow: var(--shadow-hover);
}

.apply-modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 36px;
    height: 36px;
    font-size: 1.5rem;
    line-height: 1;
    color: #666;
    background: none;
    border: none;
    cursor: pointer;
    transition: color var(--transition);
}

.apply-modal-close:hover {
    color: #1a1a1a;
}

.apply-modal-title {
    font-size: 1.5rem;
    margin-bottom: 24px;
    padding-right: 40px;
    color: #1a1a1a;
}

.apply-form input,
.apply-form textarea {
    width: 100%;
    padding: 14px 16px;
    margin-bottom: 16px;
    font-size: 1rem;
    font-family: inherit;
    color: #1a1a1a;
    background: #f5f5f5;
    border: 1px solid rgba(0, 0, 0, 0.15);
    border-radius: var(--radius);
    transition: border-color var(--transition);
}

.apply-form input::placeholder,
.apply-form textarea::placeholder {
    color: #888;
}

.apply-form input:focus,
.apply-form textarea:focus {
    outline: none;
    border-color: var(--accent);
}

.apply-form textarea {
    resize: vertical;
    min-height: 100px;
}

.apply-file-label {
    display: block;
    margin-bottom: 20px;
    padding: 16px;
    border: 1px dashed rgba(0, 0, 0, 0.2);
    border-radius: var(--radius);
    cursor: pointer;
    transition: border-color var(--transition);
}

.apply-file-label:hover {
    border-color: var(--accent);
}

.apply-file-text {
    color: #666;
    font-size: 0.95rem;
}

.apply-file-input {
    display: none !important;
}

.apply-form-actions {
    display: flex;
    gap: 12px;
    margin-top: 24px;
}

.apply-form-actions .btn {
    flex: 1;
}

.apply-form-actions .btn-outline {
    color: #333;
    border-color: #999;
}

.apply-form-actions .btn-outline:hover {
    color: var(--accent);
    border-color: var(--accent);
}

.apply-thankyou,
.apply-error {
    display: none;
    text-align: center;
    padding: 32px 0;
    color: #1a1a1a;
}

.apply-thankyou p,
.apply-error p {
    color: #555;
}

.apply-error a {
    color: var(--accent);
}

.apply-form[aria-hidden="true"] {
    display: none !important;
}

.apply-thankyou[aria-hidden="false"],
.apply-error[aria-hidden="false"] {
    display: block !important;
}

.apply-thankyou .contact-thankyou-icon,
.apply-error .contact-error-icon {
    display: inline-flex;
    margin: 0 auto 16px;
}

/* ========== Services ========== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.service-card {
    padding: 32px;
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    transition: all var(--transition-premium);
    position: relative;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--accent);
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--transition);
}

.service-card:hover {
    transform: translateY(-8px);
    border-color: rgba(0, 212, 170, 0.4);
    box-shadow: var(--shadow-hover);
    transition: all var(--transition-premium);
}

.service-card:hover .service-icon {
    transform: scale(1.1);
}

.service-icon {
    font-size: 2rem;
    margin-bottom: 16px;
    display: inline-block;
    transition: transform var(--transition-premium);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card h3 {
    font-size: 1.2rem;
    margin-bottom: 12px;
}

.service-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* Services - Process, Why, Industries, CTA */
.services-section-title {
    font-size: 1.75rem;
    margin-bottom: 12px;
}

.services-section-title .accent {
    color: #00d4aa;
}

.services-section-desc {
    color: var(--text-muted);
    margin-bottom: 40px;
}

.services-process {
    padding: 64px 0;
    margin: 64px -24px 0;
    padding-left: 24px;
    padding-right: 24px;
    border-radius: var(--radius-lg);
}

.services-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.services-step {
    padding: 28px 24px;
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    transition: all var(--transition-premium);
}

.services-step:hover {
    border-color: rgba(0, 212, 170, 0.35);
    transform: translateY(-4px);
    box-shadow: var(--shadow-card);
}

.services-step-num {
    display: inline-block;
    width: 36px;
    height: 36px;
    line-height: 36px;
    text-align: center;
    font-family: var(--font-mono);
    font-weight: 700;
    background: var(--accent);
    color: var(--bg-dark);
    border-radius: 50%;
    margin-bottom: 16px;
}

.services-step h3 {
    font-size: 1.1rem;
    margin-bottom: 10px;
}

.services-step p {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.5;
}

.services-why {
    margin: 64px 0;
}

.services-why-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.services-why-item {
    padding: 28px 24px;
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    transition: all var(--transition-premium);
}

.services-why-item:hover {
    border-color: rgba(0, 212, 170, 0.4);
    transform: translateY(-4px);
    box-shadow: var(--shadow-card);
}

.services-why-icon {
    color: var(--accent);
    font-weight: 700;
    font-size: 1.25rem;
    margin-bottom: 12px;
}

.services-why-item h4 {
    font-size: 1.1rem;
    margin-bottom: 8px;
}

.services-why-item p {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.5;
}

.services-industries {
    padding: 48px 0;
    margin: 0 -24px 64px;
    padding-left: 24px;
    padding-right: 24px;
    border-radius: var(--radius-lg);
}

.services-industries-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.services-industry-tag {
    padding: 10px 20px;
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: 50px;
    font-size: 0.95rem;
    transition: all var(--transition-premium);
}

.services-industry-tag:hover {
    border-color: rgba(0, 212, 170, 0.5);
    color: var(--accent);
}

.services-cta {
    text-align: center;
    padding: 48px;
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
}

.services-cta h2 {
    font-size: 1.5rem;
    margin-bottom: 12px;
}

.services-cta p {
    color: var(--text-muted);
    margin-bottom: 24px;
}

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

@media (max-width: 768px) {
    .services-process,
    .services-industries {
        margin-left: 0;
        margin-right: 0;
    }
    .services-steps {
        grid-template-columns: 1fr;
    }
    .services-why-grid {
        grid-template-columns: 1fr;
    }
}

/* ========== Technology ========== */
.tech-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.tech-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 24px 36px;
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    transition: all var(--transition-premium);
}

.tech-item:hover {
    border-color: rgba(0, 212, 170, 0.5);
    transform: translateY(-6px);
    box-shadow: var(--shadow-hover);
}

.tech-logo {
    font-weight: 700;
    font-size: 1.2rem;
    color: var(--accent);
}

.tech-item span {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* Tech Categories - Enhanced */
.tech-categories {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
}

.tech-category {
    position: relative;
    padding: 32px 24px;
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
}

.tech-category::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(to bottom, var(--accent), var(--accent-dim));
    opacity: 0;
    transition: opacity 0.35s ease;
}

.tech-category:hover {
    border-color: rgba(0, 212, 170, 0.45);
    transform: translateY(-6px);
    box-shadow: var(--shadow-hover);
}

.tech-category:hover::before {
    opacity: 1;
}

.tech-category-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    font-size: 1.5rem;
    background: rgba(0, 212, 170, 0.1);
    border-radius: var(--radius);
    margin-bottom: 20px;
    color: var(--accent);
}

.tech-category h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--text);
}

.tech-category p {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.6;
}

/* Tech Approach - Enhanced */
.tech-approach {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.tech-approach-item {
    position: relative;
    padding: 32px 28px;
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.tech-approach-accent {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--accent), var(--accent-dim));
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.35s ease;
}

.tech-approach-item:hover {
    border-color: rgba(0, 212, 170, 0.45);
    transform: translateY(-6px);
    box-shadow: var(--shadow-hover);
}

.tech-approach-item:hover .tech-approach-accent {
    transform: scaleX(1);
}

.tech-approach-num {
    display: inline-block;
    font-family: var(--font-mono);
    font-size: 0.85rem;
    font-weight: 600;
    padding: 6px 12px;
    background: rgba(0, 212, 170, 0.12);
    color: var(--accent);
    border-radius: 6px;
    margin-bottom: 20px;
}

.tech-approach-item h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 12px;
}

.tech-approach-item p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Tech Why - Enhanced */
.tech-why {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.tech-why-item {
    position: relative;
    padding: 40px 32px;
    background: linear-gradient(135deg, var(--bg-elevated) 0%, rgba(0, 212, 170, 0.03) 100%);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    text-align: center;
}

.tech-why-item:hover {
    border-color: rgba(0, 212, 170, 0.45);
    transform: translateY(-6px);
    box-shadow: var(--shadow-hover);
}

.tech-why-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    font-size: 1.5rem;
    color: var(--accent);
    background: rgba(0, 212, 170, 0.1);
    border-radius: 50%;
    margin-bottom: 20px;
}

.tech-why-item h4 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 12px;
}

.tech-why-item p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.65;
}

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

@media (max-width: 768px) {
    .tech-categories {
        grid-template-columns: 1fr;
    }
    .tech-approach {
        grid-template-columns: 1fr;
    }
    .tech-why {
        grid-template-columns: 1fr;
    }
}

/* ========== Team ========== */
.team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.team-card {
    text-align: center;
    padding: 40px 24px;
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    transition: all var(--transition-premium);
}

.team-card:hover {
    border-color: rgba(0, 212, 170, 0.5);
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
}

.team-card:hover .team-avatar {
    box-shadow: 0 0 24px rgba(0, 212, 170, 0.3);
}

.team-avatar {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, var(--accent), var(--accent-dim));
    border-radius: 50%;
    transition: box-shadow var(--transition-premium);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--bg-dark);
}

.team-card h3 {
    margin-bottom: 8px;
}

.team-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* ========== Careers ========== */
.careers-cta {
    text-align: center;
    padding: 60px;
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
}

.careers-cta p {
    margin-bottom: 24px;
    color: var(--text-muted);
}

/* ========== Contact ========== */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 60px;
    align-items: start;
}

.contact-item {
    display: flex;
    gap: 20px;
    margin-bottom: 32px;
}

.contact-icon {
    font-size: 1.5rem;
}

.contact-item strong {
    display: block;
    margin-bottom: 4px;
}

.contact-item p {
    color: var(--text-muted);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-form input,
.contact-form textarea {
    padding: 16px 20px;
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    color: var(--text);
    font-family: var(--font-main);
    font-size: 1rem;
    transition: border-color var(--transition-premium), box-shadow var(--transition-premium);
    transition: border-color var(--transition);
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(0, 212, 170, 0.15);
}

.contact-form textarea {
    resize: vertical;
    min-height: 120px;
}

.contact-form-area {
    position: relative;
}

.contact-form-hidden {
    display: none !important;
}

.contact-thankyou,
.contact-error {
    display: none;
    padding: 40px 32px;
    background: var(--bg-elevated);
    border-radius: var(--radius);
    border: 1px solid var(--border);
    text-align: center;
    animation: contactMessageIn 0.5s ease-out;
}

.contact-thankyou-visible,
.contact-error-visible {
    display: block !important;
}

.contact-thankyou-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: rgba(0, 212, 170, 0.2);
    color: var(--accent);
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.contact-thankyou h3 {
    font-size: 1.5rem;
    margin-bottom: 12px;
}

.contact-thankyou p,
.contact-error p {
    color: var(--text-muted);
    font-size: 1.05rem;
    line-height: 1.6;
}

.contact-error-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(239, 68, 68, 0.2);
    color: #ef4444;
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 16px;
}

.contact-error a {
    color: var(--accent);
}

.contact-error .btn {
    margin-top: 16px;
    display: inline-block;
}

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

/* ========== Footer ========== */
.footer {
    padding: 48px 0 24px;
    border-top: 1px solid var(--border);
}

.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 32px;
}

.footer-links {
    display: flex;
    gap: 32px;
}

.footer-links a {
    color: var(--text-muted);
    position: relative;
    transition: color var(--transition-premium);
}

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

.footer-social {
    display: flex;
    align-items: center;
    gap: 12px;
}

.footer-social-link {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid var(--border);
    background: var(--bg-elevated);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    transition: all var(--transition-premium);
}

.footer-social-link svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
}

.footer-social-link:hover {
    color: var(--accent);
    border-color: rgba(0, 212, 170, 0.45);
    transform: translateY(-2px);
    box-shadow: 0 10px 18px rgba(0, 0, 0, 0.22);
}

.footer-bottom {
    text-align: center;
}

/* ========== Brand Guidelines Page ========== */
.brand-section {
    margin-bottom: 64px;
}

.brand-heading {
    font-size: 1.75rem;
    margin-bottom: 12px;
}

.brand-desc {
    color: var(--text-muted);
    margin-bottom: 32px;
    max-width: 640px;
}

.brand-logos {
    display: flex;
    gap: 48px;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.brand-logo-block {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    transition: transform var(--transition-premium);
}

.brand-logo-block:hover {
    transform: translateY(-4px);
}

.brand-logo-preview {
    padding: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 280px;
}

.brand-logo-primary {
    background: var(--bg-dark);
}

.brand-logo-primary img {
    height: 80px;
    width: auto;
}

.brand-logo-light {
    background: #f5f5f5;
    border: 1px solid var(--border);
}

.brand-logo-light img {
    height: 80px;
    width: auto;
    filter: none;
}

.brand-logo-label {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.brand-rules {
    padding: 24px 32px;
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: var(--radius);
}

.brand-rules h3 {
    font-size: 1.1rem;
    margin-bottom: 16px;
}

.brand-rules ul {
    list-style: none;
}

.brand-rules li {
    padding: 8px 0;
    color: var(--text-muted);
    font-size: 0.95rem;
}

.brand-rules li::before {
    content: '•';
    color: var(--accent);
    margin-right: 12px;
}

.brand-colors {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
}

.brand-color {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 24px;
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: var(--radius);
}

.brand-color-swatch {
    width: 48px;
    height: 48px;
    border-radius: 8px;
    flex-shrink: 0;
}

.brand-color strong {
    display: block;
    margin-bottom: 4px;
}

.brand-color code {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-family: var(--font-mono);
}

.brand-typography {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.brand-type-sample {
    padding: 24px 32px;
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: var(--radius);
}

.brand-type-heading {
    font-size: 0.9rem;
    color: var(--accent);
    margin-bottom: 12px;
}

.brand-type-body {
    font-family: var(--font-main);
    font-size: 1.1rem;
    line-height: 1.6;
}

.brand-type-mono {
    font-family: var(--font-mono);
    font-size: 1rem;
}

.footer-bottom p {
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* ========== Cuberto-style Section Reveal ========== */
[data-section-reveal] {
    clip-path: inset(0 0 0 0);
    opacity: 1;
    transform: translateY(0);
}

.js-animations-enabled [data-section-reveal] {
    clip-path: inset(0 0 100% 0);
    opacity: 0;
    transform: translateY(40px);
    transition: clip-path 1s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.js-animations-enabled [data-section-reveal].section-revealed {
    clip-path: inset(0 0 0 0);
    opacity: 1;
    transform: translateY(0);
}

/* ========== Cuberto-style Split Text Reveal ========== */
[data-split-text] {
    display: inline-block;
    overflow: hidden;
}

.split-word-inner,
.split-char {
    display: inline-block;
    opacity: 1;
    transform: translateY(0);
}

.js-animations-enabled .split-word-inner,
.js-animations-enabled .split-char {
    opacity: 0;
    transform: translateY(1em);
    transition: opacity 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    transition-delay: calc(var(--word-i, 0) * 0.04s);
}

.split-char {
    transition-delay: calc(var(--char-i, 0) * 0.02s);
}

[data-split-text].text-revealed .split-word-inner,
[data-split-text].text-revealed .split-char {
    opacity: 1;
    transform: translateY(0);
}

/* Hero title lines – override old animation when split */
.hero-title-line[data-split-text] {
    animation: none;
}

.hero-title-line[data-split-text] .split-word-inner {
    transition-delay: calc(0.2s + var(--word-i, 0) * 0.05s);
}

.hero-title-line.hero-line-2[data-split-text] .split-word-inner {
    transition-delay: calc(0.4s + var(--word-i, 0) * 0.05s);
}

/* ========== AOS-style animation ========== */
[data-aos] {
    opacity: 1;
    transform: translateY(0);
}

.js-aos-enabled [data-aos] {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.js-aos-enabled [data-aos].aos-visible {
    opacity: 1;
    transform: translateY(0);
}

/* ========== Responsive ========== */
@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .about-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }

    /* Solutions That Scale - 2 cols on tablet/notebook */
    .solutions-section .feature-images-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Why Corezene - 2 cols on tablet */
    .why-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Discover - 2 cols on tablet/notebook */
    .discover-section .page-links-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .nav {
        display: block;
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background: var(--bg-card);
        padding: 24px;
        border-bottom: 1px solid var(--border);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all var(--transition);
        z-index: 999;
    }

    .nav.nav-open {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    .nav-list {
        flex-direction: column;
        gap: 0;
    }

    .nav-list li {
        border-bottom: 1px solid var(--border);
    }

    .nav-list a {
        display: block;
        padding: 16px 0;
    }

    .mobile-menu-btn {
        display: flex;
    }

    .header {
        padding: 16px 0;
    }

    .logo-img {
        height: 55px;
    }

    .hero-inner {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .hero-visual {
        height: 260px;
    }

    .hero-visual .hero-img {
        object-fit: cover;
        height: 100%;
        width: 100%;
    }

    .hero-stats {
        flex-direction: row;
        gap: 24px;
        flex-wrap: wrap;
    }

    .hero-cta {
        flex-direction: column;
    }

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

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

    .faq-item summary {
        padding: 18px 18px;
        padding-right: 48px;
        font-size: 0.98rem;
    }

    .faq-item summary::after {
        right: 14px;
    }

    .faq-item p {
        padding: 0 18px 18px;
    }

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

    .footer-top {
        flex-direction: column;
        gap: 24px;
    }

    .footer-social {
        justify-content: center;
    }

    /* Solutions That Scale - 1 col on mobile */
    .solutions-section .feature-images-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    /* Why Corezene - full width on mobile so text isn't compressed */
    .why-grid {
        grid-template-columns: 1fr;
    }

    .section {
        padding: 64px 0;
    }

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

    .page-hero {
        padding: 120px 0 60px;
        min-height: 35vh;
    }

    .contact-grid {
        gap: 40px;
    }

    .contact-item {
        margin-bottom: 24px;
    }
}

/* Small phones */
@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

    .hero-inner {
        padding: 0 16px;
        gap: 24px;
    }

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

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

    .hero-visual {
        height: 220px;
    }

    .hero-stats {
        gap: 16px;
        justify-content: flex-start;
    }

    .hero-stat {
        font-size: 1rem;
        flex-shrink: 0;
    }

    .btn {
        padding: 12px 24px;
        font-size: 0.95rem;
    }

    .section {
        padding: 48px 0;
    }

    .section-title {
        font-size: clamp(1.5rem, 5vw, 2rem);
    }

    .section-desc {
        font-size: 1rem;
    }

    .page-hero {
        padding: 100px 0 48px;
    }

    .page-hero-title {
        font-size: clamp(1.5rem, 6vw, 2rem);
    }

    .footer-top {
        gap: 20px;
    }

    .footer-links {
        flex-wrap: wrap;
        justify-content: center;
        gap: 12px;
    }

    .apply-modal-content {
        margin: 16px;
        padding: 24px;
        max-height: calc(100vh - 32px);
    }

    .contact-form input,
    .contact-form textarea {
        padding: 14px 16px;
        font-size: 16px; /* Prevents zoom on iOS */
    }

    .brand-logos {
        flex-direction: column;
        gap: 32px;
    }

    .brand-logo-preview {
        min-width: 100%;
        padding: 32px 24px;
    }

    .brand-logo-block {
        width: 100%;
    }

    .fullwidth-img {
        min-height: 320px;
    }

    .fullwidth-img-overlay {
        padding: 32px 20px;
    }

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

    .header {
        padding: 12px 0;
    }

    .logo-img {
        height: 48px;
    }
}
