﻿/* ============================================
   DESIGN SYSTEM & ROOT VARIABLES
   ============================================ */

:root {
    /* Colors */
    --bg-primary: #f4f7fb;
    --bg-secondary: #ffffff;
    --bg-soft: #ecf2f8;
    --text-primary: #0f172a;
    --text-secondary: #475569;
    --text-tertiary: #64748b;
    --accent-teal: #14b8a6;
    --accent-sky: #0ea5e9;
    --accent-warm: #f97316;
    --gradient-main: linear-gradient(135deg, #14b8a6 0%, #0ea5e9 60%, #f97316 120%);
    --gradient-soft: linear-gradient(135deg, rgba(20, 184, 166, 0.12), rgba(14, 165, 233, 0.08));
    --gradient-premium: linear-gradient(135deg, #D4EEEF 0%, #ffffff 100%);
    --white: #ffffff;

    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(15, 23, 42, 0.06);
    --shadow-md: 0 12px 28px rgba(15, 23, 42, 0.12);
    --shadow-lg: 0 24px 50px rgba(15, 23, 42, 0.16);

    /* Typography */
    --font-primary: "DM Sans", "Segoe UI", sans-serif;
    --font-heading: "Space Grotesk", "Segoe UI", sans-serif;
    --font-size-small: 14px;
    --font-size-base: 16px;
    --font-size-lg: 20px;
    --font-size-xl: 28px;
    --font-size-2xl: 36px;
    --font-size-3xl: 48px;
    --font-size-4xl: 64px;

    /* Spacing */
    --spacing-xs: 4px;
    --spacing-sm: 8px;
    --spacing-md: 16px;
    --spacing-lg: 24px;
    --spacing-xl: 32px;
    --spacing-2xl: 48px;
    --spacing-3xl: 64px;
    --spacing-4xl: 90px;

    /* Container */
    --container-max-width: 1180px;
    --container-padding: 20px;

    /* Transitions */
    --transition-base: 0.3s ease;
    --transition-slow: 0.6s ease;
}

/* ============================================
   RESET & BASE STYLES
   ============================================ */

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    background: linear-gradient(135deg, #D4EEEF 0%, #ffffff 100%);
    background-attachment: fixed;
    color: var(--text-primary);
    line-height: 1.65;
    overflow-x: hidden;
}

body.intro-active {
    overflow: hidden;
}

/* ============================================
   INTRO SPLASH
   ============================================ */

.intro-splash {
    position: fixed;
    inset: 0;
    z-index: 4000;
    display: grid;
    place-items: center;
    padding: var(--spacing-lg);
    background: linear-gradient(135deg, #D4EEEF 0%, #ffffff 70%);
    opacity: 1;
    visibility: visible;
    transition: opacity 0.6s ease, visibility 0.6s ease;
}

.intro-splash.intro-done {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.intro-content {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    max-width: min(92vw, 860px);
    text-align: center;
    font-family: var(--font-heading);
    font-size: clamp(34px, 6vw, 70px);
    font-weight: 700;
    line-height: 1.12;
    letter-spacing: -0.02em;
    color: var(--text-primary);
    animation: introFadeSlideUp 0.6s ease both;
}

.intro-typing {
    word-break: break-word;
}

.intro-cursor {
    display: inline-block;
    width: 0.08em;
    height: 1.08em;
    border-radius: 999px;
    background: currentColor;
    transform: translateY(2px);
    animation: introCursorBlink 1s steps(2, end) infinite;
}

body.intro-active .whatsapp-button {
    opacity: 0;
    pointer-events: none;
}

.container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

.section-header {
    text-align: center;
    margin-bottom: var(--spacing-3xl);
}

.section-header h2 {
    font-family: var(--font-heading);
    font-size: var(--font-size-3xl);
    font-weight: 700;
    letter-spacing: -1px;
}

.section-subtitle {
    margin-top: var(--spacing-md);
    color: var(--text-secondary);
    font-size: var(--font-size-lg);
}

/* ============================================
   NAVBAR STYLES
   ============================================ */

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 76px;
    display: flex;
    align-items: center;
    background: transparent;
    backdrop-filter: blur(0px);
    z-index: 1000;
    transition: all var(--transition-base);
}

.navbar.navbar-premium {
    height: 76px;
    background: transparent;
    backdrop-filter: blur(0px);
    border-bottom: none;
    box-shadow: none;
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(148, 163, 184, 0.2);
    box-shadow: var(--shadow-sm);
}

.nav-content-premium {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.navbar-left {
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.06em;
    color: var(--text-secondary);
    text-transform: uppercase;
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: var(--spacing-lg);
}

.logo {
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 800;
    letter-spacing: 0.5px;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--gradient-main);
    color: var(--white);
    box-shadow: 0 4px 12px rgba(14, 165, 233, 0.25);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.logo:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(14, 165, 233, 0.35);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: var(--spacing-xl);
}

.lang-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: 999px;
    background: linear-gradient(135deg, rgba(20, 184, 166, 0.08) 0%, rgba(14, 165, 233, 0.08) 100%);
    border: 2px solid rgba(14, 165, 233, 0.3);
    backdrop-filter: blur(12px);
    cursor: pointer;
    transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
    overflow: hidden;
}

.lang-toggle::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(20, 184, 166, 0.15) 0%, rgba(14, 165, 233, 0.15) 100%);
    opacity: 0;
    transition: opacity 0.35s ease;
    border-radius: 999px;
}

.lang-toggle:hover {
    background: linear-gradient(135deg, rgba(20, 184, 166, 0.12) 0%, rgba(14, 165, 233, 0.12) 100%);
    border-color: rgba(14, 165, 233, 0.5);
    box-shadow: 0 8px 24px rgba(14, 165, 233, 0.15);
    transform: translateY(-2px);
}

.lang-toggle:active {
    transform: translateY(1px) scale(0.98);
    box-shadow: 0 4px 12px rgba(14, 165, 233, 0.1);
}

.lang-option {
    font-weight: 600;
    font-size: 13px;
    letter-spacing: 0.05em;
    color: var(--text-tertiary);
    cursor: pointer;
    transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
    user-select: none;
    display: inline-block;
    position: relative;
}

.lang-option:hover {
    color: var(--accent-sky);
    transform: translateY(-1px);
}

.lang-option.active {
    color: var(--accent-teal);
    font-weight: 700;
    transform: scale(1.08);
    text-shadow: 0 0 12px rgba(20, 184, 166, 0.2);
}

.lang-option.active::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 50%;
    width: 80%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--accent-teal), transparent);
    transform: translateX(-50%);
    animation: slideUnderline 0.5s ease-out;
}

@keyframes slideUnderline {
    from {
        width: 0;
        opacity: 0;
    }
    to {
        width: 80%;
        opacity: 1;
    }
}

.lang-divider {
    color: rgba(14, 165, 233, 0.4);
    font-size: 12px;
    user-select: none;
    transition: color 0.35s ease;
}

.lang-toggle:hover .lang-divider {
    color: rgba(14, 165, 233, 0.6);
}

.lang-btn {
    border: 0;
    background: transparent;
    color: var(--text-secondary);
    font-weight: 700;
    font-size: 12px;
    letter-spacing: 0.08em;
    padding: 6px 12px;
    border-radius: 999px;
    cursor: pointer;
    transition: transform 0.2s ease, color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.lang-btn:hover,
.lang-btn:focus-visible {
    color: var(--text-primary);
    outline: none;
}

.lang-btn.active {
    color: var(--white);
    background: var(--gradient-main);
    box-shadow: 0 10px 18px rgba(14, 165, 233, 0.22);
    transform: translateY(-1px);
}

.nav-link {
    text-decoration: none;
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 15px;
    transition: color var(--transition-base);
    cursor: pointer;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-teal);
    transition: width 0.3s ease;
}

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

.nav-link:hover,
.nav-link.active {
    color: var(--accent-teal);
}

/* ============================================
   HERO SECTION - PREMIUM DESIGN
   ============================================ */

.hero {
    --hero-scroll-progress: 0;
    --hero-orbit-opacity: 1;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 76px;
    padding-bottom: 0;
    position: relative;
    isolation: isolate;
    overflow: hidden;
}

/* ============================================
   HERO - SIMPLE DESIGN
   ============================================ */

.hero.hero-simple {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    position: relative;
    overflow: hidden;
    padding: var(--spacing-4xl) var(--spacing-lg);
}

.hero-shapes {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 1;
}

.hero-container {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 2;
}

.hero-heading {
    font-size: clamp(48px, 8vw, 72px);
    font-weight: 600;
    color: #333333;
    margin: 0 0 var(--spacing-lg) 0;
    line-height: 1.2;
    animation: fadeInUp 0.8s ease-out 0.1s both;
}

.hero-location {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 16px;
    color: #666666;
    margin-bottom: var(--spacing-xl);
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.hero-location svg {
    flex-shrink: 0;
    opacity: 0.8;
}

.hero-text {
    font-size: clamp(17px, 2vw, 19px);
    line-height: 1.6;
    color: #666666;
    max-width: 550px;
    margin: 0 auto;
    animation: fadeInUp 0.8s ease-out 0.3s both;
}

.shape {
    position: absolute;
    background: #d4d4d4;
    opacity: 0.4;
    border-radius: 8px;
}


.shape-1 {
    width: 80px;
    height: 80px;
    top: 15%;
    left: 10%;
    transform: rotate(25deg);
    animation: floatShape 8s ease-in-out infinite;
}

.shape-2 {
    width: 60px;
    height: 60px;
    top: 10%;
    left: 50%;
    border-radius: 50%;
    animation: floatShape 10s ease-in-out infinite 1s;
}

.shape-3 {
    width: 40px;
    height: 40px;
    top: 20%;
    right: 15%;
    transform: rotate(-15deg);
    animation: floatShape 7s ease-in-out infinite 2s;
}

.shape-4 {
    width: 50px;
    height: 50px;
    bottom: 25%;
    right: 10%;
    border-radius: 50%;
    animation: floatShape 9s ease-in-out infinite 1.5s;
}

.shape-5 {
    width: 35px;
    height: 35px;
    top: 8%;
    right: 8%;
    transform: rotate(45deg);
    animation: floatShape 11s ease-in-out infinite 0.5s;
}

/* Animations */
@keyframes imageReveal {
    from {
        opacity: 0;
        transform: scale(0.98) translateY(20px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

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

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

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

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

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

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

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

@keyframes dotPulse {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.6;
        transform: scale(0.9);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-20px) rotate(3deg);
    }
}

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

@keyframes floatShape {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-30px) rotate(10deg);
    }
}

/* Hero Clip (old style - keep for compatibility) */
.hero.hero-clip {
    background: linear-gradient(155deg, rgba(237, 245, 251, 0.94) 0%, rgba(228, 239, 248, 0.96) 54%, rgba(224, 236, 246, 0.92) 100%);
    clip-path: ellipse(168% 92% at 50% 0%);
    -webkit-clip-path: ellipse(168% 92% at 50% 0%);
}

.hero.hero-clip::before {
    content: "";
    position: absolute;
    width: clamp(320px, 42vw, 620px);
    height: clamp(320px, 42vw, 620px);
    right: clamp(-160px, -10vw, -50px);
    top: clamp(-190px, -10vw, -120px);
    border-radius: 50%;
    background: radial-gradient(circle, rgba(14, 165, 233, 0.2), rgba(14, 165, 233, 0.04) 62%, transparent 74%);
    pointer-events: none;
}

.hero.hero-clip::after {
    content: "";
    position: absolute;
    width: clamp(220px, 32vw, 430px);
    height: clamp(220px, 32vw, 430px);
    left: clamp(-110px, -8vw, -30px);
    bottom: clamp(-150px, -11vw, -90px);
    border-radius: 50%;
    background: radial-gradient(circle, rgba(20, 184, 166, 0.18), rgba(20, 184, 166, 0.02) 65%, transparent 76%);
    pointer-events: none;
}

.hero .container {
    width: 100%;
    position: relative;
    z-index: 2;
}

.hero-parallax {
    transform: translate3d(0, 0, 0);
    transition: transform 0.18s linear;
    will-change: transform;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: var(--spacing-4xl);
    align-items: center;
}

.hero-text {
    opacity: 0;
}

.hero.hero-revealed .hero-text {
    animation: heroCaptionReveal 0.92s cubic-bezier(0.22, 1, 0.36, 1) 0.08s both;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: var(--font-size-4xl);
    font-weight: 800;
    line-height: 1.08;
    margin-bottom: var(--spacing-lg);
    letter-spacing: -2px;
}

.hero-title .accent {
    background: var(--gradient-main);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: var(--font-size-lg);
    color: var(--text-secondary);
    margin-bottom: var(--spacing-2xl);
    max-width: 640px;
}

.hero-buttons {
    display: flex;
    gap: var(--spacing-md);
    align-items: center;
}

.btn {
    padding: 14px 28px;
    font-size: var(--font-size-base);
    font-weight: 700;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: all var(--transition-base);
    font-family: var(--font-primary);
}

.btn-primary {
    background: var(--gradient-main);
    color: var(--white);
    box-shadow: 0 12px 22px rgba(14, 165, 233, 0.25);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 30px rgba(14, 165, 233, 0.32);
}

.btn-secondary {
    background: var(--white);
    color: var(--text-primary);
    border: 1px solid rgba(148, 163, 184, 0.35);
    box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
    border-color: rgba(20, 184, 166, 0.7);
    color: var(--accent-teal);
}

.btn-large {
    padding: var(--spacing-md) var(--spacing-2xl);
    font-size: var(--font-size-lg);
}

.hero-image-wrapper {
    position: relative;
    isolation: isolate;
    opacity: 0;
}

.hero.hero-revealed .hero-image-wrapper {
    animation: heroVisualReveal 1.02s cubic-bezier(0.22, 1, 0.36, 1) 0.2s both;
}

.gradient-shape {
    position: absolute;
    inset: -6%;
    background: var(--gradient-main);
    border-radius: 62% 38% 26% 74% / 62% 35% 65% 38%;
    opacity: 0.2;
    animation: float 7s ease-in-out infinite;
}

.hero-orbit {
    position: absolute;
    right: -30px;
    bottom: -24px;
    width: 96px;
    height: 96px;
    border-radius: 50%;
    border: 1.5px solid rgba(15, 23, 42, 0.22);
    background: radial-gradient(circle at 35% 30%, rgba(20, 184, 166, 0.32), rgba(14, 165, 233, 0.12) 56%, rgba(15, 23, 42, 0.02) 100%);
    box-shadow: 0 10px 22px rgba(15, 23, 42, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: var(--hero-orbit-opacity);
    transition: opacity 0.25s ease, transform 0.25s ease;
    pointer-events: none;
    z-index: 3;
}

.hero-orbit::before {
    content: "Scroll";
    font-family: var(--font-heading);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: rgba(15, 23, 42, 0.8);
}

.hero-orbit::after {
    content: "\2198";
    position: absolute;
    right: 18px;
    bottom: 16px;
    color: rgba(15, 23, 42, 0.62);
    font-size: 15px;
}

.hero-image {
    position: relative;
    z-index: 2;
    width: 100%;
    background: rgba(255, 255, 255, 0.52);
    border-radius: 28px;
    padding: var(--spacing-md);
    border: 1px solid rgba(148, 163, 184, 0.25);
    backdrop-filter: blur(8px);
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.hero-image svg {
    width: 100%;
    height: auto;
    filter: drop-shadow(0 12px 28px rgba(15, 23, 42, 0.18));
}

.hero-photo {
    width: 100%;
    height: auto;
    max-height: 450px;
    display: block;
    object-fit: contain;
    object-position: center;
    /* Styling untuk menyesuaikan warna dengan background website */
    filter: 
        saturate(1.15)           /* Tingkatkan saturasi */
        brightness(1.05)         /* Sedikit lebih terang */
        contrast(1.1)            /* Contrast tajam */
        hue-rotate(-6deg);       /* Shift warna ke arah teal website */
    box-shadow: 0 16px 32px rgba(15, 23, 42, 0.2);
    transition: filter 0.3s ease, transform 0.3s ease;
}

.hero-image-wrapper:hover .hero-photo {
    filter: 
        saturate(1.25)           /* Saturasi lebih tinggi saat hover */
        brightness(1.08)
        contrast(1.12)
        hue-rotate(-6deg);
    transform: scale(1.03) translateY(-4px);
}

.hero-image-wrapper:hover .hero-image {
    transform: translateY(-8px);
    border-color: rgba(14, 165, 233, 0.4);
    box-shadow: 0 24px 40px rgba(15, 23, 42, 0.18);
}

.hero-image-wrapper:hover .hero-orbit {
    transform: scale(1.04);
    opacity: 1;
    animation-duration: 8s;
}

.hero .btn,
.scroll-indicator {
    position: relative;
    overflow: hidden;
}

.hero .btn::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(115deg, transparent, rgba(255, 255, 255, 0.34), transparent);
    transform: translateX(-115%);
    transition: transform 0.45s ease;
}

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

.hero .btn::after,
.scroll-indicator::after {
    content: "";
    position: absolute;
    width: 14px;
    height: 14px;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%) scale(0);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.5);
    opacity: 0;
    pointer-events: none;
}

.hero .btn.is-clicked::after,
.scroll-indicator.is-clicked::after {
    animation: heroClickPulse 0.42s ease-out forwards;
}

.scroll-indicator {
    position: absolute;
    bottom: clamp(24px, 4vw, 40px);
    left: 50%;
    transform: translateX(-50%) translateY(0);
    width: 110px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    border: 0;
    background: transparent;
    animation: bounce 2s ease-in-out infinite;
    cursor: pointer;
    transition: opacity 0.3s ease, transform 0.3s ease;
    z-index: 3;
}

.hero-centered .scroll-indicator {
    display: none;
}

.scroll-indicator:focus-visible {
    outline: none;
    box-shadow: 0 0 0 4px rgba(14, 165, 233, 0.2);
}

.scroll-down,
.scroll-down::before {
    position: absolute;
    left: 50%;
}

.scroll-down {
    width: 30px;
    height: 50px;
    margin-left: -15px;
    top: 3px;
    box-shadow: inset 0 0 0 1.5px rgba(15, 23, 42, 0.72);
    border-radius: 25px;
}

.scroll-down::before {
    content: "";
    width: 6px;
    height: 6px;
    margin-left: -3px;
    top: 7px;
    border-radius: 50%;
    background: rgba(15, 23, 42, 0.84);
    animation: scrollDot 1.5s infinite;
}

.scroll-orbit {
    width: 84px;
    height: 84px;
    border-radius: 50%;
    border: 1px dashed rgba(15, 23, 42, 0.27);
    opacity: 0.58;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.scroll-indicator:hover {
    transform: translateX(-50%) translateY(2px);
}

.scroll-indicator:hover .scroll-orbit {
    opacity: 0.95;
    animation-duration: 7s;
}

.scroll-indicator:active {
    transform: translateX(-50%) translateY(6px);
}

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

.stats {
    padding: var(--spacing-4xl) 0;
}

.about-section {
    position: relative;
    overflow: hidden;
}

.about-section::before {
    content: "";
    position: absolute;
    width: clamp(320px, 38vw, 520px);
    height: clamp(320px, 38vw, 520px);
    left: -150px;
    top: 50%;
    transform: translateY(-50%);
    border-radius: 50%;
    background: radial-gradient(circle, rgba(20, 184, 166, 0.2) 0%, rgba(14, 165, 233, 0.08) 52%, transparent 72%);
    pointer-events: none;
}

.about-section::after {
    content: "ABOUT";
    position: absolute;
    left: clamp(20px, 6vw, 100px);
    top: 50%;
    transform: translateY(-50%);
    font-family: var(--font-heading);
    font-size: clamp(92px, 14vw, 180px);
    font-weight: 800;
    letter-spacing: 0.08em;
    color: rgba(15, 23, 42, 0.06);
    line-height: 1;
    pointer-events: none;
}

.about-section .container {
    position: relative;
    z-index: 1;
    min-height: clamp(430px, 42vw, 610px);
    display: block;
}

.about-grid {
    display: grid;
    grid-template-columns: minmax(340px, 560px) minmax(0, 1fr);
    align-items: center;
    gap: var(--spacing-3xl);
}

.about-visual {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-lg);
    width: 100%;
}

.about-card {
    position: relative;
    padding: clamp(22px, 2.1vw, 30px);
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(148, 163, 184, 0.22);
    box-shadow: var(--shadow-md);
    backdrop-filter: blur(10px);
    z-index: 1;
}

.about-card::before {
    content: "";
    position: absolute;
    inset: -12px;
    border-radius: 30px;
    background: var(--gradient-soft);
    opacity: 0.75;
    z-index: -1;
}

.about-avatar {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
}

.about-avatar-circle {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 22px;
    color: var(--white);
    background: var(--gradient-main);
    box-shadow: 0 12px 26px rgba(14, 165, 233, 0.25);
}

.about-role {
    font-weight: 700;
    font-size: 18px;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.about-location {
    font-size: 14px;
    color: var(--text-tertiary);
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

.about-highlights {
    list-style: none;
    margin-top: var(--spacing-lg);
    display: grid;
    gap: var(--spacing-sm);
    color: var(--text-secondary);
    font-weight: 600;
}

.about-highlights li {
    display: flex;
    align-items: center;
    gap: 10px;
}

.about-highlights li::before {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--accent-teal);
    box-shadow: 0 0 0 4px rgba(20, 184, 166, 0.15);
}

.about-focus {
    margin-top: var(--spacing-lg);
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(155px, 1fr));
    gap: var(--spacing-md);
}

.about-focus-card {
    padding: 16px 18px;
    border-radius: 18px;
    background: #f8fbff;
    border: 1px solid rgba(148, 163, 184, 0.18);
    box-shadow: 0 10px 20px rgba(15, 23, 42, 0.06);
}

.about-focus-card h3 {
    font-family: var(--font-heading);
    font-size: 17px;
    margin-bottom: 8px;
    letter-spacing: -0.2px;
}

.about-focus-card p {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.52;
}

.about-stack {
    padding: 16px 20px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.5);
    border: 1px solid rgba(148, 163, 184, 0.12);
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.04);
}

.about-stack-title {
    font-weight: 600;
    letter-spacing: 0.02em;
    text-transform: none;
    font-size: 13px;
    color: var(--text-tertiary);
    margin-bottom: var(--spacing-sm);
    opacity: 0.8;
}

.about-stack-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.about-stack-list span {
    padding: 7px 12px;
    border-radius: 999px;
    font-weight: 600;
    font-size: 13px;
    color: var(--text-secondary);
    background: rgba(14, 165, 233, 0.08);
    border: 1px solid rgba(14, 165, 233, 0.12);
}

.about-content {
    max-width: 760px;
    margin-left: auto;
    margin-right: clamp(0px, 1.8vw, 20px);
    text-align: left;
    padding: 0;
}

.about-kicker {
    color: #6b7280;
    font-size: clamp(16px, 1.2vw, 22px);
    font-weight: 600;
    letter-spacing: 0.08em;
    margin-bottom: var(--spacing-sm);
}

.wave-hand {
    display: inline-block;
    transform-origin: 70% 70%;
    animation: handWave 2.2s ease-in-out infinite;
}

.about-name {
    font-family: var(--font-heading);
    font-size: clamp(38px, 4.4vw, 66px);
    font-weight: 800;
    letter-spacing: -2px;
    line-height: 0.95;
    margin-bottom: var(--spacing-lg);
    color: var(--text-primary);
}

.about-description {
    max-width: 100%;
    font-size: clamp(18px, 1.7vw, 30px);
    line-height: 1.5;
    color: #1f2937;
    margin-left: 0;
    margin-right: 0;
    margin-bottom: var(--spacing-xl);
}

.about-cta {
    display: flex;
    gap: var(--spacing-md);
    flex-wrap: wrap;
    margin-bottom: var(--spacing-xl);
}

.about-cta .btn {
    flex: 0 1 auto;
}

.about-socials {
    display: flex;
    gap: var(--spacing-md);
    flex-wrap: wrap;
    justify-content: flex-start;
}

.about-social-btn {
    position: relative;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    padding: 12px 18px;
    border-radius: 999px;
    font-weight: 700;
    letter-spacing: 0.01em;
    border: 1px solid rgba(15, 23, 42, 0.22);
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.88);
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.08);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.about-social-btn::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, transparent, rgba(14, 165, 233, 0.2), transparent);
    transform: translateX(-120%);
    transition: transform 0.55s ease;
}

.about-social-btn:hover::before,
.about-social-btn:focus-visible::before {
    transform: translateX(120%);
}

.social-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
    color: var(--white);
    background: var(--gradient-main);
    transition: transform 0.25s ease;
}

.about-social-btn:hover,
.about-social-btn:focus-visible {
    transform: translateY(-4px);
    border-color: rgba(20, 184, 166, 0.65);
    box-shadow: 0 16px 26px rgba(14, 165, 233, 0.18);
    outline: none;
}

.about-social-btn:hover .social-pill,
.about-social-btn:focus-visible .social-pill {
    transform: scale(1.08);
}

.linkedin-btn:hover,
.linkedin-btn:focus-visible {
    color: #0a66c2;
}

.instagram-btn:hover,
.instagram-btn:focus-visible {
    color: #d946ef;
}

.about-content.scroll-reveal.visible .about-kicker {
    animation: fadeInUpSoft 0.5s ease-out both;
}

.about-content.scroll-reveal.visible .about-name {
    animation: fadeInUpSoft 0.7s ease-out both;
}

.about-content.scroll-reveal.visible .about-description {
    animation: fadeInUpSoft 0.7s ease-out 0.14s both;
}

.about-content.scroll-reveal.visible .about-cta {
    animation: fadeInUpSoft 0.65s ease-out 0.2s both;
}

.about-content.scroll-reveal.visible .about-socials {
    animation: fadeInUpSoft 0.6s ease-out 0.3s both;
}

.about-visual.scroll-reveal.visible .about-card {
    animation: fadeInUpSoft 0.6s ease-out both;
}

.about-visual.scroll-reveal.visible .about-stack {
    animation: fadeInUpSoft 0.6s ease-out 0.12s both;
}

/* ============================================
   PROJECT SHOWCASE SECTION
   ============================================ */

.project-showcase {
    padding: var(--spacing-4xl) 0 var(--spacing-3xl);
}

.project-stack-wrapper {
    max-width: 1320px;
    margin: 0 auto;
}

.project-stack {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: clamp(16px, 2vw, 24px);
    max-width: 1240px;
    margin: 0 auto;
}

.project-link-card {
    --stack-offset-y: 0px;
    position: relative;
    width: 100%;
    min-height: 240px;
    aspect-ratio: 3 / 4;
    border-radius: 24px;
    border: none;
    background: transparent;
    color: var(--text-primary);
    text-decoration: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    gap: var(--spacing-xs);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
    overflow: hidden;
    transform: translateY(var(--stack-offset-y));
}

/* Gradient background for cards without images */
.project-bg-gradient {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    transition: transform 0.6s ease;
}

.project-link-card.card-a .project-bg-gradient {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.project-link-card.card-b .project-bg-gradient {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.project-link-card:hover .project-bg-gradient {
    transform: scale(1.06);
}

/* Gradient overlay for all cards */
.project-link-card::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 45%;
    background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.15) 50%, rgba(0, 0, 0, 0.5) 100%);
    z-index: 2;
    pointer-events: none;
}

/* Content positioning for all cards */
.project-link-card .project-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px 24px;
    z-index: 3;
    color: white;
}

.project-link-card .project-index {
    color: white;
    opacity: 0.9;
}

.project-link-card .project-content h3 {
    color: white;
    margin: 0 0 4px 0;
    font-size: 20px;
}

.project-link-card .project-content p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 13px;
    margin: 0;
}

/* Featured visual style for rich cards */
.project-link-card.card-rich {
    aspect-ratio: 3 / 4;
    min-height: 240px;
    background: #0b1220;
}

.project-link-card.card-rich::before {
    top: 0;
    height: 100%;
    background: linear-gradient(
        180deg,
        rgba(5, 10, 18, 0.1) 0%,
        rgba(5, 10, 18, 0.52) 48%,
        rgba(5, 10, 18, 0.92) 100%
    );
    bottom: auto;
}

.project-link-card.card-rich .project-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    z-index: 1;
    transition: transform 0.7s ease, filter 0.45s ease;
    filter: saturate(1.05) contrast(1.05);
}

.project-link-card.card-rich:hover .project-image,
.project-link-card.card-rich:focus-visible .project-image {
    transform: scale(1.08);
    filter: saturate(1.1) contrast(1.08);
}

.project-link-card.card-rich .project-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    top: auto;
    padding: 22px;
    z-index: 3;
    color: var(--white);
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.project-link-card.card-rich .project-index {
    align-self: flex-start;
    width: 38px;
    height: 38px;
    margin-bottom: 2px;
    border: 1px solid rgba(255, 255, 255, 0.5);
    background: rgba(255, 255, 255, 0.18);
    color: var(--white);
    font-size: 14px;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.project-link-card.card-rich .project-content h3 {
    color: var(--white);
    margin: 0;
    font-size: clamp(26px, 2.1vw, 34px);
    font-weight: 700;
    line-height: 1.14;
    letter-spacing: -0.01em;
}

.project-link-card.card-rich .project-meta {
    color: rgba(255, 255, 255, 0.86);
    font-size: 15px;
    margin: 0;
    font-weight: 500;
}

.project-link-card.card-rich .project-description {
    color: rgba(241, 245, 249, 0.92);
    font-size: 14px;
    margin: 0;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.project-link-card.card-a .project-image {
    object-position: center 28%;
}

.project-link-card.card-b .project-image {
    object-position: center 40%;
}

.project-link-card.card-d .project-image {
    object-position: center;
}

.project-link-card.card-e .project-image {
    object-position: center;
}

.project-chip-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.project-chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 34px;
    padding: 0 13px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.35);
    background: rgba(255, 255, 255, 0.16);
    color: rgba(248, 250, 252, 0.98);
    font-size: 13px;
    font-weight: 600;
    line-height: 1;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}

.project-card-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 52px;
    padding: 0 18px;
    margin-top: 4px;
    border-radius: 999px;
    background: rgba(248, 250, 252, 0.98);
    color: #0f172a;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.01em;
    box-shadow: 0 10px 24px rgba(5, 10, 18, 0.28);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.project-link-card.card-rich:hover .project-card-cta,
.project-link-card.card-rich:focus-visible .project-card-cta {
    transform: translateY(-2px);
    box-shadow: 0 14px 28px rgba(5, 10, 18, 0.34);
}

.project-link-card h3 {
    font-family: var(--font-heading);
    font-size: 20px;
    line-height: 1.2;
}

.project-link-card p {
    font-size: 14px;
}

.project-index {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 999px;
    background: var(--gradient-main);
    color: var(--white);
    font-size: 13px;
    font-weight: 700;
    margin-bottom: var(--spacing-sm);
}

.project-link-card:hover,
.project-link-card:focus-visible {
    transform: translateY(calc(var(--stack-offset-y) - 18px));
    box-shadow: 0 18px 28px rgba(14, 165, 233, 0.24);
    z-index: 10;
}

.project-link-card:focus-visible {
    outline: none;
}

@media (max-width: 900px) {
    .project-link-card.card-rich .project-content {
        padding: 20px;
        gap: 9px;
    }

    .project-link-card.card-rich .project-content h3 {
        font-size: clamp(24px, 5.8vw, 30px);
    }
}

@media (max-width: 640px) {
    .project-link-card.card-rich .project-content {
        padding: 16px;
        gap: 8px;
    }

    .project-link-card.card-rich .project-content h3 {
        font-size: clamp(22px, 8vw, 28px);
    }

    .project-link-card.card-rich .project-meta {
        font-size: 14px;
    }

    .project-link-card.card-rich .project-description {
        font-size: 13px;
        -webkit-line-clamp: 2;
    }

    .project-chip {
        min-height: 32px;
        padding: 0 11px;
        font-size: 12px;
    }

    .project-card-cta {
        min-height: 46px;
        font-size: 14px;
    }
}

@media (min-width: 1025px) {
    .project-showcase {
        padding-bottom: calc(var(--spacing-3xl) + 140px);
    }

    .project-stack-wrapper {
        max-width: 1360px;
    }

    .project-stack {
        display: flex;
        justify-content: center;
        align-items: flex-start;
        gap: 0;
        max-width: none;
        padding: 20px 0 74px;
    }

    .project-link-card {
        flex: 0 0 clamp(250px, 19.5vw, 300px);
        width: clamp(250px, 19.5vw, 300px);
        min-height: clamp(390px, 33vw, 520px);
        aspect-ratio: 3 / 4.2;
        margin-left: clamp(-56px, -3.9vw, -34px);
    }

    .project-link-card:first-child {
        margin-left: 0;
    }

    .project-link-card.card-rich .project-content {
        padding: 18px;
        gap: 8px;
    }

    .project-link-card.card-rich .project-index {
        width: 34px;
        height: 34px;
        font-size: 13px;
    }

    .project-link-card.card-rich .project-content h3 {
        font-size: clamp(22px, 1.9vw, 32px);
        line-height: 1.08;
    }

    .project-link-card.card-rich .project-meta {
        font-size: 13px;
    }

    .project-link-card.card-rich .project-card-cta {
        min-height: 46px;
        font-size: 13px;
        margin-top: 6px;
    }

    .project-link-card:not(:nth-child(3)).card-rich .project-description,
    .project-link-card:not(:nth-child(3)).card-rich .project-chip-list {
        display: none;
    }

    .project-link-card:nth-child(3).card-rich .project-content {
        padding: 22px;
        gap: 10px;
    }

    .project-link-card:nth-child(3).card-rich .project-content h3 {
        font-size: clamp(30px, 2.6vw, 44px);
    }

    .project-link-card:nth-child(3).card-rich .project-meta {
        font-size: 15px;
    }

    .project-link-card:nth-child(3).card-rich .project-card-cta {
        min-height: 54px;
        font-size: 16px;
    }

    .project-link-card:nth-child(1),
    .project-link-card:nth-child(5) {
        --stack-offset-y: 96px;
        z-index: 1;
    }

    .project-link-card:nth-child(2),
    .project-link-card:nth-child(4) {
        --stack-offset-y: 46px;
        z-index: 2;
    }

    .project-link-card:nth-child(3) {
        --stack-offset-y: 0px;
        z-index: 3;
    }
}

.project-hint {
    margin-top: var(--spacing-lg);
    text-align: center;
    color: var(--text-tertiary);
    font-size: var(--font-size-small);
}

/* ============================================
   SERVICES SECTION
   ============================================ */

.offerings {
    padding: var(--spacing-4xl) 0;
}

.offerings-shell {
    position: relative;
    display: grid;
    grid-template-columns: minmax(260px, 0.9fr) minmax(420px, 1.1fr);
    gap: clamp(20px, 3vw, 42px);
    padding: clamp(24px, 4vw, 46px);
    border-radius: 28px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.68) 0%, rgba(242, 250, 253, 0.92) 56%, rgba(233, 246, 252, 0.95) 100%);
    border: 1px solid rgba(148, 163, 184, 0.26);
    box-shadow: 0 18px 34px rgba(15, 23, 42, 0.1);
    backdrop-filter: blur(6px);
    overflow: hidden;
}

.offerings-shell::before {
    content: "";
    position: absolute;
    width: clamp(200px, 30vw, 380px);
    height: clamp(200px, 30vw, 380px);
    border-radius: 50%;
    background: radial-gradient(circle, rgba(20, 184, 166, 0.16), rgba(56, 189, 248, 0.08) 52%, transparent 72%);
    top: -130px;
    right: -120px;
    pointer-events: none;
}

.offerings-shell::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(115deg, transparent 18%, rgba(56, 189, 248, 0.06) 58%, transparent 86%);
    pointer-events: none;
}

.offerings-intro,
.offerings-list {
    position: relative;
    z-index: 1;
}

.offerings-kicker {
    font-family: var(--font-heading);
    color: #64748b;
    font-size: clamp(15px, 1.1vw, 18px);
    letter-spacing: 0.1em;
    margin-bottom: 8px;
}

.offerings-title {
    font-family: var(--font-heading);
    color: #0f172a;
    font-size: clamp(34px, 4.2vw, 56px);
    line-height: 1;
    letter-spacing: -1px;
    margin-bottom: var(--spacing-md);
}

.offerings-text {
    color: #334155;
    max-width: 32ch;
    font-size: clamp(15px, 1.3vw, 19px);
    line-height: 1.65;
}

.offerings-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 12px;
}

.offering-item {
    display: flex;
    align-items: center;
    gap: 14px;
    min-height: 74px;
    padding: 14px 18px;
    border-radius: 14px;
    border: 1px solid rgba(148, 163, 184, 0.3);
    background: linear-gradient(120deg, rgba(255, 255, 255, 0.78), rgba(241, 247, 252, 0.84));
    color: #0f172a;
    font-weight: 600;
    font-size: clamp(16px, 1.4vw, 21px);
    letter-spacing: 0.01em;
    transition: transform 0.25s ease, border-color 0.25s ease, background-color 0.25s ease;
}

.offering-item:hover {
    transform: translateX(4px);
    border-color: rgba(20, 184, 166, 0.48);
    background: linear-gradient(120deg, rgba(233, 249, 247, 0.92), rgba(225, 243, 251, 0.94));
}

.offering-index {
    flex: 0 0 auto;
    width: 36px;
    height: 36px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 700;
    color: #ffffff;
    background: linear-gradient(135deg, #14b8a6, #0ea5e9);
}

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

.contact {
    padding: var(--spacing-4xl) 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.contact-decoration {
    position: absolute;
    width: 320px;
    height: 320px;
    border-radius: 50%;
    pointer-events: none;
}

.contact-decoration.left {
    top: -120px;
    left: -100px;
    background: radial-gradient(circle, rgba(20, 184, 166, 0.2), transparent 68%);
}

.contact-decoration.right {
    right: -120px;
    bottom: -120px;
    background: radial-gradient(circle, rgba(249, 115, 22, 0.18), transparent 68%);
}

.contact-content {
    position: relative;
    z-index: 2;
    animation: fadeIn 0.8s ease-out forwards;
    opacity: 0;
    max-width: 700px;
    margin: 0 auto;
    padding: var(--spacing-3xl) var(--spacing-xl);
    background: rgba(255, 255, 255, 0.78);
    border: 1px solid rgba(148, 163, 184, 0.24);
    border-radius: 24px;
    backdrop-filter: blur(8px);
    box-shadow: var(--shadow-md);
}

.contact-content h2 {
    font-family: var(--font-heading);
    font-size: var(--font-size-3xl);
    font-weight: 800;
    margin-bottom: var(--spacing-md);
    letter-spacing: -1px;
}

.contact-content > p {
    font-size: var(--font-size-base);
    color: var(--text-secondary);
    margin-bottom: var(--spacing-xl);
}

.contact-form {
    display: grid;
    gap: var(--spacing-md);
}

.form-group {
    text-align: left;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid rgba(148, 163, 184, 0.45);
    border-radius: 10px;
    font-family: var(--font-primary);
    font-size: var(--font-size-base);
    color: var(--text-primary);
    background: var(--white);
    transition: all var(--transition-base);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-teal);
    box-shadow: 0 0 0 4px rgba(20, 184, 166, 0.15);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-tertiary);
}

.contact-form .btn-primary {
    width: 100%;
    margin-top: var(--spacing-sm);
}

/* ============================================
   FOOTER
   ============================================ */

.footer {
    background: #0f172a;
    color: var(--white);
    padding: var(--spacing-xl) 0;
    text-align: center;
}

.footer p {
    font-size: var(--font-size-small);
    opacity: 0.8;
}

/* ============================================
   WHATSAPP FLOATING BUTTON
   ============================================ */

.whatsapp-button {
    position: fixed;
    bottom: 26px;
    right: 26px;
    width: 58px;
    height: 58px;
    background: #25d366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 12px 22px rgba(37, 211, 102, 0.35);
    transition: all var(--transition-base);
    z-index: 999;
    text-decoration: none;
    animation: floatUp 0.6s ease-out forwards, pulse 2s ease-in-out infinite;
    animation-delay: 0s, 0.6s;
}

.whatsapp-button svg {
    width: 30px;
    height: 30px;
}

.whatsapp-button:hover {
    transform: translateY(-5px);
    box-shadow: 0 14px 28px rgba(37, 211, 102, 0.48);
}

/* ============================================
   ACCESSIBILITY
   ============================================ */

.keyboard-nav button:focus,
.keyboard-nav a:focus,
.keyboard-nav input:focus,
.keyboard-nav select:focus,
.keyboard-nav textarea:focus {
    outline: 2px solid var(--accent-sky);
    outline-offset: 2px;
}

/* ============================================
   ANIMATIONS
   ============================================ */

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

@keyframes introCursorBlink {
    0%,
    49% {
        opacity: 1;
    }
    50%,
    100% {
        opacity: 0;
    }
}

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

@keyframes heroCaptionReveal {
    from {
        opacity: 0;
        transform: translateY(26px);
        filter: blur(3px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
        filter: blur(0);
    }
}

@keyframes heroVisualReveal {
    from {
        opacity: 0;
        transform: scale(0.95) translateY(14px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

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

@keyframes handWave {
    0%,
    50%,
    100% {
        transform: rotate(0deg);
    }
    8% {
        transform: rotate(14deg);
    }
    16% {
        transform: rotate(-8deg);
    }
    24% {
        transform: rotate(10deg);
    }
    32% {
        transform: rotate(-4deg);
    }
    40% {
        transform: rotate(6deg);
    }
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.96);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes float {
    0%,
    100% {
        transform: translateY(0) rotate(0deg);
    }
    33% {
        transform: translateY(-18px) rotate(4deg);
    }
    66% {
        transform: translateY(-10px) rotate(-3deg);
    }
}

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

@keyframes scrollDot {
    0% {
        opacity: 1;
        transform: translateY(0);
    }
    100% {
        opacity: 0;
        transform: translateY(34px);
    }
}

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

@keyframes heroClickPulse {
    0% {
        opacity: 0.55;
        transform: translate(-50%, -50%) scale(0);
    }
    100% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(15);
    }
}

@keyframes pulse {
    0%,
    100% {
        box-shadow: 0 8px 18px rgba(37, 211, 102, 0.34);
    }
    50% {
        box-shadow: 0 8px 28px rgba(37, 211, 102, 0.56);
    }
}

.effect-spin {
    animation: efSpin 12s linear infinite;
}

@keyframes efSpin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

/* ============================================
   SCROLL REVEAL ANIMATION
   ============================================ */

.scroll-reveal {
    opacity: 0;
    transform: translateY(26px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

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

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

@media (max-width: 1024px) {
    :root {
        --font-size-4xl: 54px;
        --font-size-3xl: 42px;
    }

    .hero.hero-clip {
        clip-path: ellipse(196% 94% at 50% 0%);
        -webkit-clip-path: ellipse(196% 94% at 50% 0%);
    }

    .hero-parallax {
        transform: none !important;
    }

    .hero-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-2xl);
    }

    .hero-image-wrapper {
        order: -1;
        max-width: 560px;
        margin: 0 auto;
    }

    .hero-orbit {
        right: -6px;
        bottom: -10px;
        width: 84px;
        height: 84px;
    }

    .offerings-shell {
        grid-template-columns: 1fr;
        gap: var(--spacing-xl);
    }

    .offerings-text {
        max-width: 60ch;
    }

    .project-stack {
        min-height: auto;
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: var(--spacing-md);
    }

    .project-link-card {
        position: relative;
        width: 100%;
        height: auto;
        min-height: 240px;
        aspect-ratio: 3 / 4;
        top: auto;
        left: auto;
        transform: none;
    }

    .about-name {
        font-size: clamp(35px, 7.2vw, 56px);
    }

    .about-description {
        font-size: clamp(18px, 2.9vw, 28px);
    }

    .about-section::after {
        font-size: clamp(72px, 12vw, 130px);
        left: 14px;
        opacity: 0.8;
    }

    .about-section .container {
        min-height: auto;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-2xl);
    }

    .about-visual {
        order: -1;
    }

    .about-focus {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .about-content {
        margin-right: 0;
        max-width: 720px;
    }
}

@media (max-width: 768px) {
    :root {
        --font-size-4xl: 42px;
        --font-size-3xl: 36px;
        --font-size-2xl: 30px;
        --spacing-4xl: 64px;
        --container-padding: 16px;
    }

    .navbar {
        height: 72px;
    }

    .nav-links {
        gap: var(--spacing-lg);
    }

    .hero {
        padding-top: 84px;
    }

    .hero.hero-clip {
        clip-path: none;
        -webkit-clip-path: none;
        border-bottom-left-radius: 34px;
        border-bottom-right-radius: 34px;
    }

    .hero-premium {
        padding-top: 84px;
    }

    .hero-premium-grid {
        grid-template-columns: 1fr;
        gap: clamp(30px, 6vw, 50px);
        min-height: auto;
        padding-top: 40px;
        padding-bottom: 40px;
    }

    .hero-image-wrapper {
        max-width: 350px;
    }

    .intro-title {
        font-size: clamp(28px, 5vw, 42px);
    }

    .intro-label {
        font-size: 12px;
    }

    .hero-floating-badge {
        left: 16px;
        font-size: 12px;
        padding: 10px 16px;
    }

    .hero-background-name {
        font-size: clamp(80px, 18vw, 200px);
        bottom: -20px;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .btn {
        width: 100%;
    }

    .scroll-indicator {
        display: none;
    }

    .offerings {
        padding-top: var(--spacing-3xl);
        padding-bottom: var(--spacing-3xl);
    }

    .offerings-shell {
        border-radius: 22px;
        padding: var(--spacing-xl) var(--spacing-lg);
    }

    .offerings-title {
        font-size: clamp(30px, 9vw, 44px);
    }

    .offering-item {
        min-height: 66px;
        font-size: clamp(15px, 4.1vw, 18px);
        padding: 12px 14px;
    }

    .project-stack {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .project-link-card {
        height: auto;
        min-height: 220px;
        aspect-ratio: 3 / 4;
    }

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

    .about-section .container {
        display: block;
        min-height: auto;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-2xl);
    }

    .about-visual {
        order: -1;
    }

    .about-focus {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .about-content {
        max-width: 100%;
        margin-left: 0;
        margin-right: 0;
        text-align: left;
    }

    .about-kicker {
        letter-spacing: 0.05em;
    }

    .about-name {
        font-size: clamp(38px, 9vw, 58px);
    }

    .about-description {
        font-size: clamp(19px, 5.2vw, 30px);
        margin-bottom: var(--spacing-xl);
    }

    .about-social-btn {
        flex: 0 1 auto;
        max-width: 100%;
        justify-content: center;
    }

    .contact-content {
        padding: var(--spacing-2xl) var(--spacing-lg);
    }

    .contact-content h2 {
        font-size: var(--font-size-2xl);
    }

    .section-header h2 {
        font-size: var(--font-size-2xl);
    }
}

@media (max-width: 520px) {
    :root {
        --font-size-4xl: 34px;
        --font-size-3xl: 30px;
        --spacing-4xl: 52px;
    }

    .nav-links {
        display: none;
    }

    .nav-right {
        gap: var(--spacing-sm);
    }

    .lang-toggle {
        padding: 6px 12px;
        gap: 6px;
        border: 1.5px solid rgba(14, 165, 233, 0.3);
    }

    .lang-option {
        font-size: 12px;
    }

    .lang-divider {
        font-size: 11px;
    }

    .lang-btn {
        padding: 5px 10px;
        font-size: 11px;
    }

    .hero-title {
        letter-spacing: -1px;
    }

    .hero-orbit {
        width: 74px;
        height: 74px;
        right: -2px;
        bottom: -4px;
    }

    .hero-premium-grid {
        grid-template-columns: 1fr;
        gap: 24px;
        padding: 30px clamp(16px, 5%, 24px);
    }

    .hero-image-wrapper {
        max-width: 280px;
        aspect-ratio: 3 / 4;
    }

    .intro-title {
        font-size: clamp(24px, 6vw, 36px);
    }

    .intro-arrow {
        font-size: 20px;
    }

    .hero-floating-badge {
        left: 12px;
        font-size: 11px;
        padding: 8px 12px;
        top: clamp(20%, 80px, 50%);
    }

    .badge-icon {
        width: 14px;
        height: 14px;
    }

    .hero-background-name {
        font-size: clamp(60px, 15vw, 140px);
        bottom: -15px;
        letter-spacing: -2px;
    }

    .section-subtitle {
        font-size: var(--font-size-base);
    }

    .offerings-shell {
        border-radius: 18px;
        padding: var(--spacing-lg);
    }

    .offerings-kicker {
        font-size: 14px;
    }

    .offerings-title {
        font-size: clamp(28px, 10.5vw, 38px);
    }

    .offerings-text {
        font-size: 15px;
        line-height: 1.6;
    }

    .offering-item {
        gap: 10px;
        min-height: 62px;
        font-size: 15px;
    }

    .offering-index {
        width: 32px;
        height: 32px;
        font-size: 11px;
    }

    .project-stack {
        grid-template-columns: 1fr;
    }

    .project-link-card {
        height: auto;
        min-height: 210px;
        aspect-ratio: 3 / 4;
    }

    .about-name {
        font-size: clamp(34px, 12vw, 46px);
        margin-bottom: var(--spacing-lg);
    }

    .about-description {
        font-size: clamp(18px, 6vw, 24px);
    }

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

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

    .about-cta .btn {
        width: 100%;
    }

    .about-socials {
        flex-direction: row;
        align-items: center;
        justify-content: flex-start;
    }

    .about-card {
        padding: var(--spacing-lg);
    }

    .about-stack {
        padding: var(--spacing-md);
    }

    .about-social-btn {
        width: auto;
        flex: 0 1 auto;
        padding: 10px 16px;
    }

    .whatsapp-button {
        width: 54px;
        height: 54px;
        right: 18px;
        bottom: 18px;
    }

    .whatsapp-button svg {
        width: 27px;
        height: 27px;
    }
}
