/* ================================================
   ASSYSTAN — Brand Edition
   Font: Outfit (geometric, bold, modern)
   Brand: Rose #E8366D → Amber #F9A826 → Purple #8B45C6
   ================================================ */

:root {
    --navy: #0a0f1a;
    --dark: #0c1220;
    --rose: #E8366D;
    --teal: #E8366D; /* rose — legacy alias */
    --amber: #F9A826;
    --purple: #8B45C6;
    --violet: #6B35A8;
    --magenta: #D94090;
    --white: #ffffff;
    --off: #f7f8fc;
    --g50: #f1f5f9;
    --g100: #e2e8f0;
    --g200: #cbd5e1;
    --g300: #94a3b8;
    --g400: #64748b;
    --g500: #475569;
    --g800: #1e293b;
    --g900: #0f172a;
    --font: 'Outfit', sans-serif;
    --ease: cubic-bezier(0.16, 1, 0.3, 1);
    --spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
    font-family: var(--font);
    color: var(--g900);
    background: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    cursor: none;
}

body.menu-open { overflow: hidden; }
a, button { cursor: none; }

a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
button { font-family: inherit; }

.container { max-width: 1280px; margin: 0 auto; padding: 0 32px; }

/* ===== CUSTOM CURSOR ===== */
.cursor {
    position: fixed;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 9999;
    will-change: transform;
    mix-blend-mode: difference;
    width: 8px;
    height: 8px;
    margin: -4px 0 0 -4px;
    background: var(--white);
    border-radius: 50%;
    transition: width 0.3s, height 0.3s, margin 0.3s, background 0.3s;
}

.cursor-grow {
    width: 16px;
    height: 16px;
    margin: -8px 0 0 -8px;
    background: var(--teal);
}

/* ===== NAVBAR ===== */
.navbar { isolation: isolate; }
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 20px 0;
    transition: all 0.5s var(--ease);
}

.navbar.scrolled {
    padding: 10px 0;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(24px) saturate(180%);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    border-bottom: 1px solid rgba(0, 0, 0, 0.04);
}

.navbar.in-hero {
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border-bottom: none;
}

/* SSS ve diğer light sayfalar — navbar baştan koyu linkli */
.page-light .navbar:not(.scrolled) {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(24px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.04);
}
.page-light .navbar:not(.scrolled) .nav-links a:not(.nav-cta) { color: var(--g400); }
.page-light .navbar:not(.scrolled) .nav-links a:not(.nav-cta):hover { color: var(--g900); }
.page-light .navbar:not(.scrolled) .toggle-lines span { background: var(--g900); }

.navbar.hidden { transform: translateY(-100%); }

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

.nav-logo img { height: 120px; transition: height 0.4s var(--ease); }
.navbar.scrolled .nav-logo img { height: 56px; }

.nav-links {
    display: flex;
    align-items: center;
    gap: 36px;
}

.nav-links a:not(.nav-cta) {
    font-size: 0.875rem;
    font-weight: 500;
    color: rgba(255,255,255,0.6);
    transition: color 0.3s;
    position: relative;
}

.nav-links a:not(.nav-cta):hover { color: var(--white); }

.navbar.scrolled .nav-links a:not(.nav-cta) { color: var(--g400); }
.navbar.scrolled .nav-links a:not(.nav-cta):hover { color: var(--g900); }

/* ===== Nav Dropdown (Hizmetler) ===== */
.nav-dropdown {
    position: relative;
    display: inline-block;
}
/* Hide dropdown on mobile (mobile menu handles it) */
@media (max-width: 900px) {
    .nav-dropdown-trigger svg { display: none; }
    .nav-dropdown:hover .nav-dropdown-menu,
    .nav-dropdown.open .nav-dropdown-menu {
        display: none;
    }
}
.nav-dropdown-trigger {
    display: inline-flex !important;
    align-items: center;
    gap: 5px;
    cursor: pointer;
}
.nav-dropdown-trigger svg {
    transition: transform 0.25s var(--ease);
}
.nav-dropdown:hover .nav-dropdown-trigger svg,
.nav-dropdown.open .nav-dropdown-trigger svg {
    transform: rotate(180deg);
}
.nav-dropdown-menu {
    position: absolute;
    top: calc(100% + 14px);
    left: 50%;
    transform: translateX(-50%) translateY(8px);
    min-width: 280px;
    background: #ffffff;
    border-radius: 18px;
    padding: 10px;
    box-shadow: 0 24px 60px rgba(15,23,42,0.22), 0 0 0 1px rgba(15,23,42,0.06);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.25s var(--ease), transform 0.3s var(--ease), visibility 0s 0.25s;
    z-index: 9999;
    isolation: isolate;
}
.nav-dropdown-menu::before {
    content: "";
    position: absolute;
    top: -14px;
    left: 0; right: 0;
    height: 14px;
}
.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown.open .nav-dropdown-menu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
    transition: opacity 0.25s var(--ease), transform 0.3s var(--ease), visibility 0s;
}
.nav-dropdown-menu a {
    display: flex !important;
    flex-direction: column;
    padding: 12px 16px;
    border-radius: 12px;
    color: var(--g900) !important;
    font-weight: 600 !important;
    font-size: 14px;
    transition: background 0.2s var(--ease), color 0.2s var(--ease);
    text-align: left;
}
.nav-dropdown-menu a small {
    display: block;
    font-size: 12px;
    color: var(--g400);
    font-weight: 400;
    margin-top: 2px;
}
.nav-dropdown-menu a:hover {
    background: linear-gradient(135deg, rgba(232,54,109,0.08), rgba(249,168,38,0.06));
    color: var(--rose) !important;
}
.nav-dropdown-menu a:hover small {
    color: var(--g500);
}

/* ===== WhatsApp Sticky CTA ===== */
.wa-btn {
    position: fixed;
    right: 24px;
    bottom: 110px;
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: #25D366;
    color: #ffffff !important;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 199;
    box-shadow: 0 10px 28px rgba(37,211,102,0.45), 0 0 0 1px rgba(255,255,255,0.08);
    transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
    text-decoration: none;
}
.wa-btn::before,
.wa-btn::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 2px solid #25D366;
    animation: wa-pulse 2.4s cubic-bezier(0.4, 0, 0.2, 1) infinite;
    pointer-events: none;
    z-index: -1;
}
.wa-btn::after { animation-delay: 1.2s; }
@keyframes wa-pulse {
    0% { transform: scale(1); opacity: 0.85; }
    100% { transform: scale(1.85); opacity: 0; }
}
.wa-btn:hover {
    transform: scale(1.08);
    box-shadow: 0 14px 36px rgba(37,211,102,0.6);
    color: #ffffff !important;
}
.wa-btn svg { width: 30px; height: 30px; display: block; }

/* ===== Back to Top Button ===== */
.back-to-top {
    position: fixed;
    right: 24px;
    bottom: 182px;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--rose), var(--amber));
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border: none;
    z-index: 200;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px) scale(0.85);
    transition: opacity 0.3s var(--ease), transform 0.35s var(--spring), visibility 0s 0.3s, box-shadow 0.25s var(--ease);
    box-shadow: 0 10px 28px rgba(232,54,109,0.35), 0 0 0 1px rgba(255,255,255,0.06);
}
.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
    transition: opacity 0.3s var(--ease), transform 0.35s var(--spring), visibility 0s, box-shadow 0.25s var(--ease);
}
.back-to-top:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 16px 36px rgba(232,54,109,0.5);
}
.back-to-top svg {
    width: 22px;
    height: 22px;
}
@media (max-width: 640px) {
    .wa-btn {
        right: 16px;
        bottom: 100px;
        width: 52px;
        height: 52px;
    }
    .wa-btn svg { width: 26px; height: 26px; }
    .back-to-top {
        right: 16px;
        bottom: 162px;
        width: 44px;
        height: 44px;
    }
    .back-to-top svg { width: 20px; height: 20px; }
}

/* Mobile menu sublinks */
.mobile-link.mobile-sublink span {
    font-size: 0.55em !important;
    color: var(--g300) !important;
    font-weight: 500;
    padding-left: 28px;
    position: relative;
}
.mobile-link.mobile-sublink span::before {
    content: "→";
    position: absolute;
    left: 4px;
    color: var(--rose);
}

.nav-cta {
    padding: 10px 24px;
    border-radius: 50px;
    background: linear-gradient(135deg, var(--teal), var(--amber));
    color: var(--white);
    font-size: 0.85rem;
    font-weight: 600;
    transition: all 0.4s var(--ease);
    box-shadow: 0 4px 16px rgba(232, 54, 109, 0.3);
}

.nav-cta:hover {
    background: linear-gradient(135deg, var(--purple), var(--teal));
    box-shadow: 0 8px 32px rgba(139, 69, 198, 0.4);
}

/* ===== MOBILE TOGGLE ===== */
.mobile-toggle {
    display: none;
    background: none;
    border: none;
    padding: 8px;
    z-index: 101;
}

.toggle-lines {
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: 28px;
}

.toggle-lines span {
    display: block;
    height: 2px;
    background: var(--white);
}

.navbar.scrolled .toggle-lines span {
    background: var(--g900);
    border-radius: 2px;
    transition: all 0.4s var(--ease);
    transform-origin: center;
}

.mobile-toggle.active .toggle-lines span:first-child {
    transform: rotate(45deg) translate(3.5px, 3.5px);
}

.mobile-toggle.active .toggle-lines span:last-child {
    transform: rotate(-45deg) translate(3.5px, -3.5px);
}

/* ===== MOBILE MENU ===== */
.mobile-menu {
    position: fixed;
    inset: 0;
    z-index: 99;
    pointer-events: none;
}

.mobile-menu-bg {
    position: absolute;
    inset: 0;
    background: var(--navy);
    clip-path: circle(0% at calc(100% - 44px) 36px);
    transition: clip-path 0.7s var(--ease);
}

.mobile-menu.open .mobile-menu-bg {
    clip-path: circle(150% at calc(100% - 44px) 36px);
}

.mobile-menu.open { pointer-events: all; }

.mobile-menu-inner {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 4px;
}

.mobile-link {
    font-size: clamp(2.5rem, 10vw, 4rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    overflow: hidden;
    display: block;
}

.mobile-link span {
    display: block;
    transform: translateY(110%);
    transition: transform 0.6s var(--ease);
}

.mobile-menu.open .mobile-link span {
    transform: translateY(0);
}

.mobile-menu.open .mobile-link:nth-child(1) span { transition-delay: 0.15s; }
.mobile-menu.open .mobile-link:nth-child(2) span { transition-delay: 0.2s; }
.mobile-menu.open .mobile-link:nth-child(3) span { transition-delay: 0.25s; }
.mobile-menu.open .mobile-link:nth-child(4) span { transition-delay: 0.3s; }

/* ===== HERO ===== */
.hero {
    position: relative;
    min-height: calc(100vh - 72px);
    min-height: calc(100dvh - 72px);
    display: flex;
    align-items: center;
    overflow: hidden;
    background: var(--navy);
}

#heroCanvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.hero-noise {
    position: absolute;
    inset: 0;
    opacity: 0.03;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 512 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
    background-size: 256px;
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;
    padding: 80px 0 20px;
    color: var(--white);
}

.hero-eyebrow {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
    opacity: 0;
    animation: fadeIn 1s var(--ease) 0.3s forwards;
}

.eyebrow-line {
    width: 40px;
    height: 2px;
    background: linear-gradient(90deg, var(--amber), var(--purple));
    border-radius: 1px;
}

.hero-eyebrow span {
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: rgba(255,255,255,0.5);
}

.hero-title {
    margin-bottom: 32px;
}

.title-mask {
    overflow: hidden;
    padding: 4px 0;
}

.title-word {
    display: block;
    font-size: clamp(3.5rem, 9vw, 7rem);
    font-weight: 900;
    line-height: 1;
    letter-spacing: -0.04em;
    color: var(--white);
    transform: translateY(110%);
    animation: slideUp 1.2s var(--ease) calc(0.4s + var(--delay) * 0.15s) forwards;
}

.title-highlight {
    background: linear-gradient(135deg, var(--teal), var(--amber), var(--violet), var(--magenta));
    background-size: 300% 100%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: slideUp 1.2s var(--ease) calc(0.4s + var(--delay) * 0.15s) forwards,
               gradientShift 5s ease infinite;
}

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

.dot { -webkit-text-fill-color: var(--amber); }

@keyframes slideUp {
    to { transform: translateY(0); }
}

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

.hero-desc {
    font-size: 1.15rem;
    color: rgba(255,255,255,0.55);
    max-width: 480px;
    line-height: 1.7;
    margin-bottom: 40px;
    opacity: 0;
    animation: fadeUp 1s var(--ease) 0.9s forwards;
}

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

.hero-actions {
    opacity: 0;
    animation: fadeUp 1s var(--ease) 1.1s forwards;
}

/* Main button style */
.btn-main {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 18px 36px;
    border-radius: 60px;
    background: linear-gradient(135deg, var(--teal), var(--amber), var(--purple));
    color: var(--white);
    font-weight: 700;
    font-size: 0.95rem;
    position: relative;
    overflow: hidden;
    border: none;
    box-shadow: 0 8px 32px rgba(232, 54, 109, 0.3);
    transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}

.btn-main-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--purple), var(--amber), var(--teal));
    opacity: 0;
    transition: opacity 0.5s var(--ease);
}

.btn-main:hover .btn-main-bg { opacity: 1; }

.btn-main:hover {
    box-shadow: 0 16px 48px rgba(232, 54, 109, 0.45);
    transform: translateY(-2px);
}

.btn-main-text, .btn-main-arrow {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
}

.btn-main-arrow {
    transition: transform 0.4s var(--ease);
}

.btn-main:hover .btn-main-arrow {
    transform: translateX(4px);
}

.btn-main-light {
    background: var(--white);
    color: var(--g900);
    box-shadow: 0 8px 32px rgba(255, 255, 255, 0.15);
}

.btn-main-light .btn-main-bg {
    background: linear-gradient(135deg, var(--teal), var(--amber), var(--purple));
}

.btn-main-light:hover {
    color: var(--white);
    box-shadow: 0 16px 48px rgba(255, 255, 255, 0.25);
}

.btn-submit-main {
    width: 100%;
    justify-content: center;
    margin-top: 8px;
}

.btn-submit-main.sent .btn-main-bg { opacity: 1; }


/* Hero scroll indicator */
.hero-scroll {
    position: absolute;
    bottom: 120px;
    right: 48px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    z-index: 2;
}

.hero-scroll span {
    font-size: 0.65rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: rgba(255,255,255,0.3);
    writing-mode: vertical-lr;
}

.scroll-indicator {
    width: 20px;
    height: 36px;
    border: 1.5px solid rgba(255,255,255,0.15);
    border-radius: 12px;
    position: relative;
    display: flex;
    justify-content: center;
}

.scroll-dot {
    width: 3px;
    height: 8px;
    background: var(--amber);
    border-radius: 2px;
    margin-top: 6px;
    animation: scrollBounce 2s ease-in-out infinite;
}

@keyframes scrollBounce {
    0%, 100% { transform: translateY(0); opacity: 1; }
    50% { transform: translateY(12px); opacity: 0.3; }
}

/* ===== MARQUEE ===== */
.marquee {
    padding: 28px 0;
    border-top: none;
    border-bottom: none;
    overflow: hidden;
    background: linear-gradient(135deg, var(--teal), var(--amber), var(--purple));
    position: relative;
}

.marquee-inner { overflow: hidden; }

.marquee-track {
    display: flex;
    align-items: center;
    gap: 32px;
    width: max-content;
    animation: scroll 20s linear infinite;
}

.marquee-item {
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--white);
    white-space: nowrap;
    transition: opacity 0.3s;
}

.marquee-item:hover { opacity: 0.7; }

.marquee-star {
    font-size: 1rem;
    color: rgba(255,255,255,0.6);
    animation: spin 6s linear infinite;
}

@keyframes spin { to { transform: rotate(360deg); } }
@keyframes scroll { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

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

.tag-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.78rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: rgba(255,255,255,0.4);
    margin-bottom: 20px;
}

.tag-label.light {
    background: linear-gradient(90deg, var(--teal), var(--amber));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.big-title {
    font-size: clamp(2.5rem, 5.5vw, 4.2rem);
    font-weight: 900;
    line-height: 1.05;
    letter-spacing: -0.04em;
    margin-bottom: 64px;
    color: var(--white);
}

/* reveal text animation */
[data-reveal-text] {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.9s var(--ease);
}

[data-reveal-text].revealed {
    opacity: 1;
    transform: translateY(0);
}

[data-reveal] {
    opacity: 0;
    transform: translateY(32px);
    transition: all 0.8s var(--ease);
    transition-delay: calc(var(--i, 0) * 0.1s);
}

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

/* ===== LIGHT SECTIONS ===== */
.section-services,
.section-process,
.section-faq,
.section-contact {
    background: var(--white);
    color: var(--g900);
}

.section-services .tag-label,
.section-process .tag-label,
.section-faq .tag-label,
.section-contact .tag-label {
    color: var(--g400);
}

.section-services .big-title,
.section-process .big-title,
.section-faq .big-title {
    color: var(--g900);
}

.section-contact .big-title {
    color: var(--g900);
    margin-bottom: 18px;
}
.section-contact .tag-label {
    margin-bottom: 14px;
    display: inline-block;
}
.section-contact .contact-desc {
    margin-bottom: 36px;
    font-size: 17px;
    line-height: 1.5;
}

.section-services .split-right p,
.section-process .process-h-item p,
.section-contact .contact-desc {
    color: var(--g400);
}

/* ===== SERVICES ===== */
.split-header {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 64px;
    align-items: end;
    margin-bottom: 80px;
}

.split-right p {
    font-size: 1.05rem;
    color: var(--g300);
    line-height: 1.7;
}

.services-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}
@media (max-width: 1100px) {
    .services-cards { grid-template-columns: repeat(2, 1fr); gap: 20px; }
}

.s-card {
    position: relative;
    border-radius: 24px;
    background: var(--off);
    border: 1px solid var(--g100);
    border-top: 3px solid transparent;
    overflow: hidden;
    transition: all 0.5s var(--ease);
    --glow-x: 50%;
    --glow-y: 50%;
}

.s-card::before {
    content: '';
    position: absolute;
    top: -3px;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--teal), var(--amber), var(--purple));
    border-radius: 24px 24px 0 0;
}

.s-card.revealed {
    opacity: 1;
    transform: translateY(0);
}

.s-card:hover {
    border-color: rgba(249, 168, 38, 0.3);
    transform: translateY(-8px) !important;
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.08);
}

.s-card-glow {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.5s;
    background: radial-gradient(400px circle at var(--glow-x) var(--glow-y), rgba(249, 168, 38, 0.08), transparent 60%);
    pointer-events: none;
}

.s-card:hover .s-card-glow { opacity: 1; }

.s-card-inner {
    position: relative;
    z-index: 1;
    padding: 40px 32px;
    display: flex;
    flex-direction: column;
    min-height: 400px;
}

.s-card-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: var(--off);
    border: 1px solid var(--g100);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    transition: all 0.4s var(--ease);
}

.icon-pink { background: rgba(232, 54, 109, 0.12); border-color: rgba(232, 54, 109, 0.2); }
.icon-amber { background: rgba(249, 168, 38, 0.12); border-color: rgba(249, 168, 38, 0.2); }
.icon-purple { background: rgba(139, 69, 198, 0.12); border-color: rgba(139, 69, 198, 0.2); }

.s-card-icon img {
    width: 26px;
    height: 26px;
    object-fit: contain;
}

/* İkonlar: siyah PNG, kutu arka planı renkli */
.s-card-icon img {
    filter: brightness(0);
    opacity: 0.7;
}

.s-card:hover .s-card-icon {
    background: rgba(255,255,255,0.1);
    border-color: rgba(255,255,255,0.2);
    transform: scale(1.05);
}

.s-card-num {
    font-size: 4rem;
    font-weight: 900;
    line-height: 1;
    letter-spacing: -0.04em;
    background: linear-gradient(135deg, var(--teal), var(--amber), var(--purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    opacity: 0.35;
    margin-bottom: 24px;
}

.s-card-content {
    flex: 1;
}

.s-card-content h3 {
    font-size: 1.6rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.15;
    margin-bottom: 12px;
    color: var(--g900);
}

.s-card-content p {
    font-size: 0.9rem;
    color: var(--g400);
    line-height: 1.65;
    margin-bottom: 20px;
}

.s-card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.s-card-tags span {
    font-size: 0.72rem;
    font-weight: 600;
    padding: 6px 14px;
    border-radius: 50px;
    background: var(--white);
    color: var(--g500);
    border: 1px solid var(--g100);
    transition: all 0.3s;
}

.s-card:hover .s-card-tags span {
    background: linear-gradient(135deg, rgba(249, 168, 38, 0.06), rgba(139, 69, 198, 0.04));
    border-color: rgba(249, 168, 38, 0.2);
    color: var(--rose);
}

.s-card-arrow {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--g300);
    align-self: flex-end;
    transition: all 0.5s var(--ease);
    border: 1px solid var(--g100);
}

.s-card:hover .s-card-arrow {
    background: var(--g900);
    color: var(--white);
    border-color: var(--g900);
    transform: rotate(-45deg);
}

/* ===== WHY SECTION ===== */
.section-why {
    background: var(--navy);
    position: relative;
    overflow: hidden;
}

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

.bento-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: auto;
    gap: 16px;
}

.bento-item {
    padding: 36px 32px;
    border-radius: 20px;
    background: linear-gradient(145deg, rgba(232, 54, 109, 0.06), rgba(139, 69, 198, 0.04), rgba(249, 168, 38, 0.03));
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
    transition: all 0.5s var(--ease);
}

.bento-item:nth-child(even) {
    background: linear-gradient(145deg, rgba(139, 69, 198, 0.06), rgba(249, 168, 38, 0.04), rgba(232, 54, 109, 0.03));
}

.bento-item:hover {
    background: linear-gradient(145deg, rgba(232, 54, 109, 0.12), rgba(139, 69, 198, 0.08), rgba(249, 168, 38, 0.06));
    border-color: rgba(249, 168, 38, 0.3);
    transform: translateY(-4px);
    box-shadow: 0 16px 48px rgba(232, 54, 109, 0.15);
}

.bento-wide {
    /* span removed for uniform 3x2 grid */
}

.bento-tall {
    /* span removed for uniform 3x2 grid */
    grid-row: span 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.bento-accent {
    position: absolute;
    top: -40px;
    right: -40px;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(232, 54, 109, 0.25), rgba(249, 168, 38, 0.1) 50%, transparent 70%);
    pointer-events: none;
}

.accent-alt {
    background: radial-gradient(circle, rgba(139, 69, 198, 0.25), rgba(249, 168, 38, 0.1) 50%, transparent 70%);
    top: auto;
    bottom: 0;
    left: 0;
    right: auto;
}

.bento-num {
    font-size: 3.5rem;
    font-weight: 900;
    line-height: 1;
    margin-bottom: 12px;
    background: linear-gradient(135deg, var(--teal), var(--amber), var(--purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    opacity: 0.6;
}

.bento-item:nth-child(2)::after,
.bento-item:nth-child(3)::after,
.bento-item:nth-child(4)::after {
    content: '';
    position: absolute;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    pointer-events: none;
    opacity: 0.7;
}

.bento-item:nth-child(2)::after {
    bottom: -60px;
    left: -60px;
    background: radial-gradient(circle, rgba(249, 168, 38, 0.15), transparent 70%);
}

.bento-item:nth-child(3)::after {
    top: -60px;
    right: -60px;
    background: radial-gradient(circle, rgba(139, 69, 198, 0.2), transparent 70%);
}

.bento-item:nth-child(4)::after {
    bottom: -40px;
    right: -40px;
    background: radial-gradient(circle, rgba(232, 54, 109, 0.15), transparent 70%);
}

.bento-item h4 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 8px;
}

.bento-item p {
    font-size: 0.9rem;
    color: var(--g300);
    line-height: 1.6;
}

/* ===== PROCESS ===== */
.section-process {
    background: var(--off);
}

.process-horizontal {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    position: relative;
}

.process-horizontal::before {
    content: '';
    position: absolute;
    top: 26px;
    left: 26px;
    right: 26px;
    height: 2px;
    background: linear-gradient(90deg, var(--teal), var(--amber), var(--purple), var(--magenta));
    opacity: 0.3;
    z-index: 0;
}

.process-h-item {
    padding: 0;
    transition: all 0.5s var(--ease);
    position: relative;
    z-index: 1;
}

.process-h-item:hover { transform: translateY(-6px); }

.ph-top {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
}

.ph-number {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: var(--white);
    border: 2px solid rgba(232, 54, 109, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    font-weight: 800;
    color: var(--teal);
    flex-shrink: 0;
    transition: all 0.4s var(--ease);
}

.process-h-item:hover .ph-number {
    background: linear-gradient(135deg, var(--teal), var(--purple));
    border-color: transparent;
    color: var(--white);
    transform: scale(1.1);
}

.ph-line {
    display: none;
}

.process-h-item h4 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 8px;
    letter-spacing: -0.01em;
    color: var(--g900);
}

.process-h-item p {
    font-size: 0.9rem;
    color: var(--g400);
    line-height: 1.6;
}

.sss-main { padding-top: 180px; }

.gradient-highlight {
    background: linear-gradient(135deg, var(--teal), var(--amber), var(--purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ===== FAQ ===== */

.faq-list {
    max-width: 780px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid var(--g100);
}

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 24px 0;
    background: none;
    border: none;
    font-family: var(--font);
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--g900);
    text-align: left;
    cursor: pointer;
    transition: color 0.3s;
}

.faq-question:hover {
    color: var(--amber);
}

.faq-chevron {
    flex-shrink: 0;
    transition: transform 0.4s var(--ease);
    color: var(--g300);
}

.faq-item.open .faq-chevron {
    transform: rotate(180deg);
    color: var(--amber);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s var(--ease), padding 0.5s var(--ease);
}

.faq-item.open .faq-answer {
    max-height: 300px;
    padding-bottom: 24px;
}

.faq-answer p {
    font-size: 0.92rem;
    color: var(--g400);
    line-height: 1.7;
}

.faq-more {
    text-align: center;
    margin-top: 48px;
}

.faq-more-link {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--purple);
    transition: color 0.3s;
}

.faq-more-link:hover {
    color: var(--teal);
}

/* ===== CTA ===== */
.section-cta {
    position: relative;
    padding: 100px 0;
    overflow: hidden;
}

.cta-canvas-wrap {
    position: absolute;
    inset: 0;
}

#ctaCanvas {
    width: 100%;
    height: 100%;
}

.cta-content {
    position: relative;
    z-index: 1;
    text-align: center;
}

.cta-content h2 {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 900;
    color: var(--white);
    line-height: 1.05;
    letter-spacing: -0.04em;
    margin-bottom: 20px;
}

.cta-content p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.55);
    margin-bottom: 40px;
}

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

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 80px;
    align-items: start;
}

.contact-desc {
    font-size: 1.05rem;
    color: var(--g400);
    line-height: 1.7;
    margin-bottom: 40px;
}

.contact-info-stack {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.ci-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 20px;
    border-radius: 16px;
    border: 1px solid var(--g100);
    transition: all 0.4s var(--ease);
}

.ci-item:hover {
    border-color: rgba(249, 168, 38, 0.3);
    background: rgba(249, 168, 38, 0.03);
    transform: translateX(8px);
}

.ci-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: var(--off);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--amber);
    flex-shrink: 0;
    transition: all 0.4s var(--ease);
}

.ci-item:hover .ci-icon {
    background: linear-gradient(135deg, var(--teal), var(--purple));
    color: var(--white);
}

.ci-label {
    display: block;
    font-size: 0.68rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--g300);
    margin-bottom: 1px;
}

.ci-value {
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--g900);
}

/* Contact form */
.contact-form {
    padding: 48px;
    border-radius: 28px;
    background: var(--off);
    border: 1px solid var(--g100);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-field {
    position: relative;
    margin-bottom: 24px;
}

.form-field input,
.form-field select,
.form-field textarea {
    width: 100%;
    padding: 20px 0 8px;
    border: none;
    border-bottom: 1.5px solid var(--g200);
    font-family: var(--font);
    font-size: 0.95rem;
    color: var(--g900);
    background: transparent;
    outline: none;
    transition: border-color 0.3s;
    border-radius: 0;
}

.form-field label {
    position: absolute;
    top: 16px;
    left: 0;
    font-size: 0.9rem;
    color: var(--g300);
    pointer-events: none;
    transition: all 0.3s var(--ease);
    font-weight: 500;
}

.form-field input:focus ~ label,
.form-field input:not(:placeholder-shown) ~ label,
.form-field textarea:focus ~ label,
.form-field textarea:not(:placeholder-shown) ~ label,
.form-field select:focus ~ label,
.form-field select:valid ~ label {
    top: -2px;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--amber);
}

.field-line {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--amber), var(--purple));
    transition: width 0.5s var(--ease);
}

.form-field input:focus ~ .field-line,
.form-field select:focus ~ .field-line,
.form-field textarea:focus ~ .field-line {
    width: 100%;
}

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

.form-field select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2394a3b8' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0 center;
    background-color: transparent;
}

.form-field select option {
    background: var(--white);
    color: var(--g900);
}

/* ===== FORM CHECKBOX ===== */
.form-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 20px;
}

.form-checkbox input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin-top: 2px;
    accent-color: var(--teal);
    flex-shrink: 0;
    cursor: pointer;
}

.form-checkbox label {
    font-size: 0.82rem;
    color: var(--g400);
    line-height: 1.5;
    cursor: pointer;
}

.form-link {
    color: var(--teal) !important;
    font-weight: 600;
    text-decoration: underline !important;
    text-underline-offset: 2px;
    transition: color 0.3s;
}

.form-link:hover {
    color: var(--amber) !important;
}

/* ===== COOKIE BANNER ===== */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 999;
    transform: translateY(100%);
    transition: transform 0.6s var(--ease);
}

.cookie-banner.show {
    transform: translateY(0);
}

.cookie-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 20px 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    background: var(--navy);
    border-top: 1px solid rgba(255,255,255,0.08);
    backdrop-filter: blur(20px);
}

.cookie-inner p {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.6);
    line-height: 1.5;
    flex: 1;
}

.cookie-link {
    color: var(--amber) !important;
    font-weight: 600;
    text-decoration: underline !important;
}

.cookie-actions {
    display: flex;
    gap: 10px;
    flex-shrink: 0;
}

.cookie-btn {
    padding: 10px 24px;
    border-radius: 50px;
    font-size: 0.82rem;
    font-weight: 700;
    border: none;
    font-family: var(--font);
    transition: all 0.3s var(--ease);
}

.cookie-accept {
    background: linear-gradient(135deg, var(--teal), var(--amber));
    color: var(--white);
}

.cookie-accept:hover {
    box-shadow: 0 8px 24px rgba(232, 54, 109, 0.3);
}

.cookie-reject {
    background: transparent;
    color: rgba(255,255,255,0.5);
    border: 1px solid rgba(255,255,255,0.15);
}

.cookie-reject:hover {
    border-color: rgba(255,255,255,0.3);
    color: var(--white);
}

/* ===== LEGAL MODALS ===== */
.legal-modal {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s var(--ease);
}

.legal-modal.open {
    opacity: 1;
    pointer-events: all;
}

.legal-modal-overlay {
    position: absolute;
    inset: 0;
    background: rgba(10, 15, 26, 0.85);
    backdrop-filter: blur(8px);
}

.legal-modal-content {
    position: relative;
    width: 90%;
    max-width: 680px;
    max-height: 80vh;
    overflow-y: auto;
    background: var(--white);
    border-radius: 24px;
    padding: 48px;
    transform: translateY(24px);
    transition: transform 0.5s var(--ease);
}

.legal-modal.open .legal-modal-content {
    transform: translateY(0);
}

.legal-modal-close {
    position: absolute;
    top: 20px;
    right: 24px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid var(--g100);
    background: var(--white);
    font-size: 1.5rem;
    color: var(--g400);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    cursor: pointer;
}

.legal-modal-close:hover {
    background: var(--g50);
    color: var(--g900);
}

.legal-modal-content h2 {
    font-size: 1.8rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: 32px;
    padding-right: 48px;
    color: var(--g900);
}

.legal-text h3 {
    font-size: 1rem;
    font-weight: 700;
    margin: 24px 0 8px;
    color: var(--g900);
}

.legal-text p {
    font-size: 0.9rem;
    color: var(--g500);
    line-height: 1.7;
    margin-bottom: 8px;
}

.footer-legal-link {
    opacity: 0.6;
    transition: opacity 0.3s;
}

.footer-legal-link:hover {
    opacity: 1;
}

/* ===== FOOTER ===== */
.footer {
    padding: 64px 0 32px;
    border-top: 1px solid var(--g100);
    background: var(--white);
}

.footer-big {
    display: flex;
    align-items: center;
    gap: 32px;
    margin-bottom: 48px;
}

.footer-logo-wrap img { height: 88px; }

.footer-big p {
    font-size: 0.95rem;
    color: var(--g300);
}

.footer-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 24px;
    border-top: 1px solid var(--g100);
}

.footer-nav {
    display: flex;
    gap: 28px;
}

.footer-nav a {
    font-size: 0.85rem;
    color: var(--g400);
    font-weight: 500;
    transition: color 0.3s;
}

.footer-nav a:hover { color: var(--g900); }

.footer-meta {
    display: flex;
    gap: 24px;
}

.footer-meta span {
    font-size: 0.8rem;
    color: var(--g300);
}

/* ===== RESPONSIVE ===== */
/* ===== TABLET (1024px) ===== */
@media (max-width: 1024px) {
    .split-header {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .services-cards {
        grid-template-columns: 1fr;
        max-width: 500px;
    }

    .s-card-inner { min-height: auto; }

    .nav-logo img,
    .nav-logo picture img { height: 80px; }

    .bento-grid { grid-template-columns: repeat(2, 1fr); }
    .bento-wide { grid-column: span 2; }
    .bento-tall { grid-row: span 1; }

    .process-horizontal {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px 24px;
    }

    .process-horizontal::before {
        display: none;
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .cookie-inner { gap: 16px; }
}

/* ===== MOBILE (768px) ===== */
@media (max-width: 768px) {
    .cursor { display: none; }
    body { cursor: auto; }
    a, button { cursor: pointer; }

    .nav-links { display: none; }
    .mobile-toggle { display: block; }
    .nav-logo img,
    .nav-logo picture img { height: 64px; }

    .container { padding: 0 20px; }
    .section { padding: 72px 0; }

    .hero-content { padding: 120px 0 80px; }

    .title-word {
        font-size: clamp(2.5rem, 12vw, 4rem);
    }

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

    .hero-scroll { display: none; }

    .big-title {
        font-size: clamp(2rem, 8vw, 3rem);
        margin-bottom: 48px;
    }

    .services-cards { gap: 16px; }

    .bento-grid { grid-template-columns: 1fr; }
    .bento-wide { grid-column: span 1; }

    .process-horizontal { grid-template-columns: 1fr; }
    .process-horizontal::before { display: none; }

    .form-row { grid-template-columns: 1fr; }
    .contact-form { padding: 32px 24px; }

    .section-cta { padding: 72px 0; }
    .cta-content h2 { font-size: clamp(2rem, 8vw, 3.5rem); }

    .footer-big { flex-direction: column; align-items: flex-start; gap: 12px; }
    .footer-row { flex-direction: column; gap: 16px; align-items: flex-start; }
    .footer-nav { flex-wrap: wrap; gap: 16px; }
    .footer-meta { flex-direction: column; gap: 4px; }

    .cookie-inner { flex-direction: column; text-align: center; padding: 20px; }
    .cookie-actions { width: 100%; justify-content: center; }
    .legal-modal-content { padding: 32px 24px; }
    .legal-modal-content h2 { font-size: 1.4rem; }

    .marquee-item { font-size: 0.8rem; }

    .s-card-icon { width: 42px; height: 42px; }

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

/* ===== SMALL MOBILE (480px) ===== */
@media (max-width: 480px) {
    .nav-logo img,
    .nav-logo picture img { height: 52px; }
    .container { padding: 0 16px; }
    .section { padding: 56px 0; }
    .hero-content { padding: 100px 0 60px; }

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

    .hero-desc { font-size: 0.9rem; }

    .btn-main {
        padding: 14px 28px;
        font-size: 0.85rem;
    }

    .big-title {
        font-size: clamp(1.6rem, 7vw, 2.2rem);
        margin-bottom: 36px;
    }

    .bento-item { padding: 28px 24px; }
    .bento-num { font-size: 2.5rem; }

    .s-card-inner { padding: 32px 24px; }
    .s-card-content h3 { font-size: 1.3rem; }

    .contact-form { padding: 24px 20px; }

    .section-cta { padding: 56px 0; }
    .cta-content h2 { font-size: clamp(1.5rem, 7vw, 2.5rem); }
    .cta-content p { font-size: 0.95rem; }

    .footer-nav { gap: 12px; }

    .cookie-btn { padding: 10px 20px; font-size: 0.78rem; }
    .legal-modal-content { width: 95%; padding: 24px 16px; }

    .ph-number { width: 44px; height: 44px; font-size: 0.8rem; }
}
