.hero {
    position: relative;
    min-height: 100vh;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: stretch;
    gap: 28px;
    padding: 116px 8% 48px;
    overflow: hidden;
    isolation: isolate;
    background:
        radial-gradient(ellipse at 10% 30%, rgba(207, 148, 80, 0.16), transparent 50%),
        radial-gradient(ellipse at 90% 80%, rgba(207, 148, 80, 0.08), transparent 40%);
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    background:
        linear-gradient(110deg, rgba(255, 255, 255, 0.6) 0%, rgba(255, 255, 255, 0.08) 38%, rgba(255, 255, 255, 0) 54%),
        radial-gradient(circle at 88% 24%, rgba(30, 33, 44, 0.12), transparent 30%);
}

.hero-spline {
    position: relative;
    z-index: 3;
    width: 100%;
    height: 100%;
    min-height: 480px;
    border-radius: 24px;
    overflow: hidden;
    background: linear-gradient(165deg, rgba(255, 255, 255, 0.98) 0%, rgba(249, 245, 238, 0.96) 100%);
    border: 1px solid rgba(207, 148, 80, 0.24);
    box-shadow:
        var(--shadow-lg),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.hero-spline::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    border-radius: 24px;
    background:
        radial-gradient(ellipse at 50% 80%, rgba(207, 148, 80, 0.18), transparent 55%),
        radial-gradient(ellipse at 70% 20%, rgba(180, 220, 255, 0.1), transparent 40%),
        radial-gradient(ellipse at 30% 30%, rgba(207, 148, 80, 0.08), transparent 45%);
}

.hero-spline::after {
    content: "";
    position: absolute;
    bottom: -1px;
    left: 10%;
    right: 10%;
    height: 2px;
    z-index: 6;
    border-radius: 2px;
    background: linear-gradient(90deg, transparent, rgba(207, 148, 80, 0.5), rgba(180, 210, 255, 0.3), rgba(207, 148, 80, 0.5), transparent);
    filter: blur(1px);
}

.hero-spline spline-viewer {
    width: 100%;
    height: 100%;
    display: block;
}

.watermark-cover {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 180px;
    height: 72px;
    background: linear-gradient(145deg, rgba(249, 245, 238, 0.96) 40%, rgba(249, 245, 238, 0) 100%);
    z-index: 5;
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 10;
    padding: 44px 40px;
    border-radius: 24px;
    background: linear-gradient(165deg, rgba(255, 255, 255, 0.98) 0%, rgba(249, 245, 238, 0.96) 100%);
    border: 1px solid rgba(207, 148, 80, 0.24);
    box-shadow:
        var(--shadow-lg),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.hero-kicker {
    display: inline-block;
    margin-bottom: 16px;
    padding: 6px 16px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--accent-strong);
    background: var(--accent-light);
    border: 1px solid rgba(207, 148, 80, 0.2);
    border-radius: 100px;
}

.hero-content h1 {
    font-size: clamp(38px, 3.8vw, 58px);
    font-weight: 700;
    line-height: 1.08;
    letter-spacing: -0.025em;
    text-wrap: balance;
}

.hero-content > p {
    margin-top: 20px;
    font-size: 16px;
    line-height: 1.7;
    color: var(--secondary);
    max-width: 520px;
}

.hero-buttons {
    margin-top: 28px;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    z-index: 10;
}

.primary-btn,
.secondary-btn {
    padding: 14px 32px;
    border-radius: 40px;
    font-weight: 600;
    font-size: 15px;
    min-width: 166px;
    text-align: center;
    cursor: pointer;
    transition: transform 0.25s ease, background-color 0.25s ease, color 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.primary-btn {
    background: linear-gradient(140deg, var(--dark) 0%, #2c2c34 100%);
    color: #fff;
    border: none;
    box-shadow: 0 10px 28px rgba(17, 17, 17, 0.22);
}

.primary-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 36px rgba(17, 17, 17, 0.28);
}

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

.secondary-btn {
    background: var(--surface);
    border: 1.5px solid rgba(29, 29, 32, 0.18);
    color: var(--primary);
}

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

.secondary-btn:active { transform: translateY(-1px); }

.hero-content,
.hero-buttons {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.7s ease, transform 0.7s ease;
    will-change: opacity, transform;
}

.hero-content.show,
.hero-buttons.show {
    opacity: 1;
    transform: translateY(0);
}


/* ================= DATA SECTION ================= */

.data-section {
    height: 100vh;
    display: flex;
    padding: 0;
    background: var(--surface);
}

.data-content {
    width: 50%;
    padding: 0 8%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.data-content.show { opacity: 1; transform: translateY(0); }

.data-content h1 {
    font-size: clamp(38px, 4vw, 55px);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 22px;
}

.data-content p {
    font-size: 17px;
    line-height: 1.75;
    max-width: 500px;
    color: var(--secondary);
}

.data-spline {
    width: 50%;
    height: 100%;
    background: linear-gradient(170deg, #1a1d28 0%, #10121a 100%);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    border-left: 1px solid rgba(207, 148, 80, 0.1);
}

.data-spline.show { opacity: 1; }

.data-spline spline-viewer {
    width: 100%;
    height: 100%;
    display: block;
}

/* ================= DATA CENTER SECTION ================= */

.datacenter-section {
    height: 100vh;
    display: flex;
    padding: 0;
    background: linear-gradient(180deg, var(--surface-soft) 0%, var(--surface) 100%);
}

.datacenter-spline {
    width: 50%;
    height: 100%;
    background: linear-gradient(170deg, #1c1f2a 0%, #12141c 100%);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.datacenter-spline img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-right: 1px solid rgba(207, 148, 80, 0.12);
    opacity: 0.9;
}

.datacenter-content {
    width: 50%;
    padding: 0 8%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.datacenter-content h1 {
    font-size: clamp(36px, 3.8vw, 54px);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 22px;
}

.datacenter-content p {
    font-size: 17px;
    line-height: 1.75;
    max-width: 500px;
    color: var(--secondary);
    margin-bottom: 6px;
}


/* ================= STATS SECTION ================= */

.stats-section {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0;
    padding: 76px 10%;
    background: var(--surface);
    border-top: 1px solid rgba(207, 148, 80, 0.1);
    border-bottom: 1px solid rgba(207, 148, 80, 0.1);
}

.stat-item {
    flex: 1;
    text-align: center;
    padding: 28px 18px;
    position: relative;
}

.stat-item + .stat-item::before {
    content: "";
    position: absolute;
    left: 0;
    top: 20%;
    bottom: 20%;
    width: 1px;
    background: linear-gradient(180deg, transparent, rgba(207, 148, 80, 0.3), transparent);
}

.stat-number {
    display: block;
    font-family: 'Playfair Display', serif;
    font-size: clamp(36px, 3.6vw, 54px);
    font-weight: 700;
    color: var(--accent-strong);
    line-height: 1;
    margin-bottom: 10px;
}

.stat-label {
    display: block;
    font-size: 12px;
    font-weight: 600;
    color: var(--secondary);
    letter-spacing: 0.1em;
    text-transform: uppercase;
}


/* ================= SOLUTIONS SECTION ================= */

.solutions-section {
    padding: 130px 8%;
    background:
        radial-gradient(ellipse at 50% 0%, rgba(207, 148, 80, 0.06), transparent 50%),
        linear-gradient(180deg, var(--surface) 0%, #fffcf8 100%);
}

.solutions-header {
    text-align: center;
    max-width: 760px;
    margin: 0 auto 72px;
}

.solutions-header h2 {
    font-size: clamp(34px, 4vw, 52px);
    font-weight: 700;
    margin-bottom: 18px;
    line-height: 1.1;
}

.solutions-header p {
    font-size: 17px;
    color: var(--secondary);
    line-height: 1.7;
}

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

.solution-card {
    background: var(--surface);
    padding: 28px 24px;
    border-radius: 18px;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    box-shadow: var(--shadow-sm);
    cursor: default;
    border: 1px solid rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
}

.solution-card::before {
    content: "";
    position: absolute;
    left: 20px;
    right: 20px;
    bottom: 0;
    height: 3px;
    border-radius: 4px;
    background: linear-gradient(90deg, var(--accent-strong), var(--accent));
    transform: scaleX(0.25);
    transform-origin: left;
    opacity: 0.2;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.solution-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-gold);
}

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

.solution-card img {
    width: 100%;
    height: 100px;
    object-fit: cover;
    border-radius: 14px;
    margin-bottom: 18px;
}

.solution-card img[src$=".svg"] {
    object-fit: contain;
    padding: 14px;
    background: linear-gradient(170deg, var(--surface-soft), #ede8df);
    border: 1px solid rgba(185, 124, 55, 0.14);
}

.solution-card img[data-fallback-applied="true"] {
    object-fit: contain;
    padding: 14px;
    background: var(--surface-soft);
}

.solution-card h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--primary);
}

.solution-card p {
    font-size: 14px;
    line-height: 1.7;
    color: var(--secondary);
}


/* ================= PROCESS SECTION ================= */

.process-section {
    padding: 130px 8%;
    background:
        radial-gradient(ellipse at 80% 20%, rgba(207, 148, 80, 0.07), transparent 42%),
        var(--surface);
}

.process-header {
    text-align: center;
    max-width: 660px;
    margin: 0 auto 72px;
}

.process-header h2 {
    font-size: clamp(34px, 4vw, 52px);
    font-weight: 700;
    margin-bottom: 16px;
    line-height: 1.1;
}

.process-header p {
    font-size: 17px;
    color: var(--secondary);
    line-height: 1.7;
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
    counter-reset: step;
}

.process-step {
    padding: 34px 26px 30px;
    border-radius: 20px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    background: linear-gradient(175deg, var(--surface) 0%, var(--surface-soft) 100%);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    position: relative;
}

.process-step::after {
    content: "";
    position: absolute;
    top: 16px;
    right: 16px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--accent);
    opacity: 0.3;
    transition: opacity 0.25s ease, transform 0.25s ease;
}

.process-step:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-gold);
}

.process-step:hover::after {
    opacity: 1;
    transform: scale(1.3);
}

.step-number {
    font-family: 'Playfair Display', serif;
    font-size: 44px;
    font-weight: 700;
    color: var(--accent);
    opacity: 0.28;
    line-height: 1;
    margin-bottom: 20px;
}

.process-step h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--primary);
}

.process-step p {
    font-size: 14px;
    line-height: 1.7;
    color: var(--secondary);
}

/* ================= TECH STRIP ================= */

.tech-strip {
    padding: 64px 8%;
    text-align: center;
    background: linear-gradient(180deg, var(--surface-soft) 0%, var(--background) 100%);
}

.tech-strip-label {
    font-size: 13px;
    font-weight: 600;
    color: var(--secondary);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 30px;
}

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

.tech-logos span {
    padding: 10px 24px;
    font-size: 13px;
    font-weight: 600;
    color: var(--primary);
    background: var(--surface);
    border: 1px solid rgba(0, 0, 0, 0.07);
    border-radius: 100px;
    letter-spacing: 0.02em;
    transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

.tech-logos span:hover {
    border-color: var(--accent);
    box-shadow: 0 6px 18px rgba(185, 124, 55, 0.14);
    transform: translateY(-2px);
}


/* ================= ABOUT SECTION ================= */

.about-section {
    min-height: 100vh;
    display: flex;
    padding: 0;
    background:
        radial-gradient(ellipse at 10% 60%, rgba(207, 148, 80, 0.08), transparent 40%),
        linear-gradient(180deg, #f9f8f5 0%, #f0ede6 100%);
}

.about-content {
    width: 50%;
    padding: 80px 8%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.about-content h2 {
    font-size: clamp(34px, 4vw, 52px);
    font-weight: 700;
    margin-bottom: 28px;
    position: relative;
    display: inline-block;
}

.about-content h2::after {
    content: "";
    display: block;
    width: 56px;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-strong), var(--accent));
    border-radius: 4px;
    margin-top: 16px;
}

.about-content p {
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 18px;
    color: var(--secondary);
    max-width: 520px;
}

.about-image {
    width: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 40px;
    background: rgba(207, 148, 80, 0.03);
}

.about-image img {
    width: 100%;
    max-width: 440px;
}

/* ================= CTA SECTION ================= */

.cta-section {
    padding: 120px 8%;
    background:
        radial-gradient(ellipse at 22% 50%, rgba(207, 148, 80, 0.2), transparent 44%),
        radial-gradient(ellipse at 80% 50%, rgba(185, 124, 55, 0.1), transparent 38%),
        linear-gradient(160deg, var(--dark) 0%, var(--dark-surface) 100%);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: "";
    position: absolute;
    top: -60%;
    left: 50%;
    transform: translateX(-50%);
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(207, 148, 80, 0.12), transparent 60%);
    pointer-events: none;
}

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

.cta-content h2 {
    font-size: clamp(34px, 4vw, 52px);
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 22px;
    line-height: 1.1;
}

.cta-content p {
    font-size: 17px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.55);
    margin-bottom: 38px;
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
}

.cta-btn {
    display: inline-block;
    padding: 16px 48px;
    font-size: 15px;
    font-weight: 700;
    color: var(--dark);
    background: linear-gradient(135deg, var(--accent) 0%, #e0a86a 100%);
    border-radius: 40px;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    box-shadow: 0 12px 32px rgba(207, 148, 80, 0.32);
}

.cta-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 42px rgba(207, 148, 80, 0.4);
}

.cta-btn:active { transform: translateY(-1px); }


/* ================= CONTACT SECTION ================= */

.contact-section {
    min-height: 100vh;
    display: flex;
    background: linear-gradient(180deg, var(--surface) 0%, #fff8f1 100%);
}

.contact-left {
    width: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background:
        radial-gradient(ellipse at 30% 40%, rgba(207, 148, 80, 0.12), transparent 50%),
        linear-gradient(160deg, var(--dark) 0%, var(--dark-surface) 100%);
    gap: 16px;
    position: relative;
    overflow: hidden;
}

.contact-left::before {
    content: "";
    position: absolute;
    bottom: -20%;
    right: -10%;
    width: 260px;
    height: 260px;
    border: 1px solid rgba(207, 148, 80, 0.15);
    border-radius: 50%;
    pointer-events: none;
}

.contact-left h1 {
    font-size: clamp(40px, 4vw, 55px);
    font-weight: 700;
    color: #ffffff;
}

.contact-subtitle {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.45);
    letter-spacing: 0.05em;
}

.contact-right {
    width: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 8%;
}

.contact-form {
    width: 100%;
    max-width: 440px;
}

.form-group {
    margin-bottom: 20px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 14px 18px;
    border: 1.5px solid rgba(0, 0, 0, 0.1);
    border-radius: 14px;
    font-size: 15px;
    outline: none;
    background: var(--surface);
    color: var(--primary);
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: #a0a0a6;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px var(--accent-light);
}

.contact-btn {
    width: 100%;
    padding: 15px;
    border: none;
    border-radius: 40px;
    background: linear-gradient(135deg, var(--accent-strong), var(--accent));
    color: #fff;
    font-weight: 700;
    font-size: 15px;
    cursor: pointer;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    box-shadow: 0 8px 24px rgba(185, 124, 55, 0.2);
}

.contact-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(185, 124, 55, 0.3);
}

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

.form-success {
    text-align: center;
    padding: 50px 20px;
}

.form-success h3 {
    font-size: 28px;
    margin-bottom: 12px;
    color: var(--accent-strong);
    font-family: 'Playfair Display', serif;
}

.form-success p {
    font-size: 16px;
    color: var(--secondary);
    line-height: 1.7;
}

/* ===== Floating Scroll Buttons ===== */

@keyframes hint-bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(6px); }
}

.scroll-btn {
    position: fixed;
    right: 40px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 1px solid rgba(207, 148, 80, 0.22);
    cursor: pointer;
    background: var(--surface);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    box-shadow: var(--shadow-sm);
    transition: transform 0.25s ease, box-shadow 0.25s ease, opacity 0.3s ease;
}

.scroll-btn svg {
    width: 16px;
    height: 16px;
    fill: var(--accent-strong);
}

.scroll-btn:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.scroll-up { top: 100px; }

.scroll-down {
    bottom: 40px;
    animation: hint-bounce 2.4s ease-in-out 6s 3;
}

.scroll-btn.is-hidden {
    opacity: 0;
    pointer-events: none;
}

.hero-spline,
.data-spline,
.datacenter-spline {
    contain: layout paint;
}

@media (prefers-reduced-motion: reduce) {
    .hero-content, .hero-buttons, .navbar,
    .primary-btn, .secondary-btn, .solution-card,
    .scroll-btn, .process-step, .tech-logos span,
    .datacenter-spline img {
        transition: none !important;
        animation: none !important;
    }
}
