﻿/* ========================================
   CK DEV - Clean Minimalist Design
   ======================================== */

:root {
    --black: #000000;
    --gray-dark: #000000;
    --white: #ffffff;
    --gray-100: #ffffff;
    --gray-200: #fcfcfc;
    --gray-300: #f5f5f5;
    --gray-400: #eeeeee;
    --gray-500: #e0e0e0;
    --gray-600: #d1d1d1;
    --gray-700: #c0c0c0;
    --gray-800: #404040;
    --gray-900: #1a1a1a;
    --gray-950: #000000;

    --text-primary: #ffffff;
    --text-muted: #f5f5f5;

    --accent: #fff;
    --accent-glow: rgba(255, 255, 255, 0.4);

    --font: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-heading: 'Outfit', sans-serif;
    --font-mono: 'JetBrains Mono', monospace;
    --transition: 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    --radius: 12px;
}

*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font);
    font-size: 16px;
    line-height: 1.6;
    color: var(--white);
    background: var(--black);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    position: relative;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--black);
}

::-webkit-scrollbar-thumb {
    background: var(--gray-800);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--gray-700);
}

/* Background Effects */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--black);
    pointer-events: none;
    z-index: -1;
}

.noise {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.015;
    z-index: 9999;
    pointer-events: none;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
}

/* Cursor Spotlight Effect */
.cursor-spotlight {
    position: fixed;
    top: -400px;
    left: -400px;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.03) 0%, transparent 60%);
    pointer-events: none;
    z-index: 0;
    will-change: transform;
}

html {
    overflow-x: hidden;
    scroll-behavior: smooth;
}

a {
    color: inherit;
    text-decoration: none;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 16px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    font-family: var(--font);
    font-size: 14px;
    font-weight: 600;
    border: none;
    border-radius: var(--radius);
    cursor: pointer;
    transition: var(--transition);
}

.btn i {
    font-size: 12px;
}

.btn-primary {
    background: var(--white);
    color: var(--black);
}

.btn-primary:hover {
    background: var(--gray-200);
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: var(--white);
    border: 1px solid var(--gray-700);
}

.btn-outline:hover {
    border-color: var(--white);
    background: var(--white);
    color: var(--black);
}

.btn-full {
    width: 100%;
    justify-content: center;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 12px 0;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    font-family: var(--font-mono);
    font-size: 22px;
    font-weight: 700;
    letter-spacing: -1px;
}

.logo span {
    font-weight: 400;
    color: var(--gray-500);
}



/* ===== Floating Card Nav ===== */
.nav-menu {
    position: absolute;
    top: calc(100% + 12px);
    right: 16px;
    left: 16px;
    width: auto;
    z-index: 999;
    background: #050505;
    backdrop-filter: blur(40px);
    -webkit-backdrop-filter: blur(40px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 20px;
    padding: 10px;
    display: flex;
    flex-direction: column;
    gap: 2px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px) scale(0.96);
    transform-origin: top right;
    transition: opacity 0.35s cubic-bezier(0.16, 1, 0.3, 1),
        visibility 0.35s ease,
        transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8),
        0 0 0 0.5px rgba(255, 255, 255, 0.1);
}

.nav-menu.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.nav-menu li {
    opacity: 0;
    transform: translateY(6px);
    transition: opacity 0.3s ease, transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.nav-menu.active li {
    opacity: 1;
    transform: translateY(0);
}

.nav-menu.active li:nth-child(1) {
    transition-delay: 0.04s;
}

.nav-menu.active li:nth-child(2) {
    transition-delay: 0.08s;
}

.nav-menu.active li:nth-child(3) {
    transition-delay: 0.12s;
}

.nav-menu.active li:nth-child(4) {
    transition-delay: 0.16s;
}

.nav-menu.active li:nth-child(5) {
    transition-delay: 0.22s;
}

/* Nav Link */
.nav-link {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 16px;
    border-radius: 12px;
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 800;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    transition: all 0.3s ease;
    position: relative;
    text-decoration: none;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 8px;
    left: 16px;
    right: 16px;
    height: 2px;
    background: #fff;
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 0 8px rgba(255, 255, 255, 0.4);
}

.nav-link.active::after {
    transform: scaleX(1);
    transform-origin: left;
}

.nav-link:hover {
    color: #fff;
    opacity: 0.8;
}

/* Number prefix */
.nav-num {
    font-family: var(--font-mono);
    font-size: 10px;
    font-weight: 400;
    -webkit-text-stroke: 0.8px rgba(255, 255, 255, 0.5);
    -webkit-text-fill-color: transparent;
    letter-spacing: 0.5px;
    min-width: 18px;
}

.nav-link:hover .nav-num {
    color: rgba(255, 255, 255, 0.7);
}



/* Mobile CTA inside menu */
.nav-menu-cta {
    margin-top: 4px;
    padding-top: 6px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.nav-menu-cta .btn {
    width: 100%;
    justify-content: center;
    padding: 13px 20px;
    font-size: 13px;
    letter-spacing: 0.04em;
    border-radius: 12px;
}

.hide-mobile {
    display: none;
}

/* Hamburger Button */
.hamburger {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
    transition: all 0.3s ease;
}

.hamburger:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
}

.hamburger span {
    display: block;
    height: 1.5px;
    background: #fff;
    border-radius: 2px;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    transform-origin: center;
}

.hamburger span:first-child {
    width: 100%;
}

.hamburger span:last-child {
    width: 60%;
    margin-left: auto;
}

.hamburger.active {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.25);
}

.hamburger.active span:first-child {
    transform: translateY(3.25px) rotate(45deg);
    width: 100%;
}

.hamburger.active span:last-child {
    transform: translateY(-3.25px) rotate(-45deg);
    width: 100%;
}

/* Hero */
.hero {
    min-height: 70vh;
    display: flex;
    align-items: center;
    padding: 40px 0;
    position: relative;
    overflow: hidden;
}

.hero-content {
    position: relative;
    z-index: 10;
    max-width: 900px;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: clamp(48px, 12vw, 100px);
    font-weight: 800;
    line-height: 0.9;
    letter-spacing: -3px;
    margin-bottom: 12px;
}

.reveal-hidden {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-hidden.revealed {
    opacity: 1;
    transform: translateY(0);
}

@keyframes revealUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.text-outline {
    -webkit-text-stroke: 1.5px var(--white);
    -webkit-text-fill-color: transparent;
    opacity: 0.4;
    background: linear-gradient(90deg,
            transparent 0%,
            rgba(255, 255, 255, 0) 10%,
            rgba(255, 255, 255, 1) 50%,
            rgba(255, 255, 255, 0) 90%,
            transparent 100%);
    background-size: 200% auto;
    background-clip: text;
    -webkit-background-clip: text;
    transition: var(--transition);
    animation: textShimmer 3s linear infinite;
    filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.1));
}

@keyframes textShimmer {
    0% {
        background-position: -100% 0;
        opacity: 0.4;
    }

    30%,
    70% {
        opacity: 0.6;
    }

    50% {
        background-position: 100% 0;
        opacity: 1;
        filter: drop-shadow(0 0 20px rgba(255, 255, 255, 0.4));
    }

    100% {
        background-position: 100% 0;
        opacity: 0.4;
    }
}

.hero-title:hover .text-outline {
    opacity: 0.8;
}

.text-primary-fade {
    animation: textFade 4s ease-in-out infinite;
}

@keyframes textFade {

    0%,
    100% {
        opacity: 1;
        filter: brightness(1) drop-shadow(0 0 5px rgba(255, 255, 255, 0.1));
    }

    50% {
        opacity: 0.9;
        filter: brightness(1.6) drop-shadow(0 0 20px rgba(255, 255, 255, 0.4));
    }
}

.hero-desc {
    font-size: 18px;
    color: var(--text-primary);
    max-width: 500px;
    margin-bottom: 16px;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.btn-primary {
    background: var(--white);
    color: var(--black);
    box-shadow: 0 10px 30px rgba(255, 255, 255, 0.1);
}

.btn-outline {
    background: rgba(255, 255, 255, 0.03);
    border-color: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.btn-outline:hover {
    background: var(--white);
    border-color: var(--white);
}

.hero-stats {
    display: flex;
    gap: 48px;
    padding-top: 48px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.stat-num {
    display: block;
    font-size: 36px;
    font-weight: 800;
    letter-spacing: -1px;
}

.stat-text {
    font-size: 12px;
    color: var(--gray-500);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Sections */
section {
    padding: 32px 0;
    position: relative;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

section::after {
    content: '';
    position: absolute;
    top: -1px;
    left: 50%;
    transform: translateX(-50%);
    width: 30%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    pointer-events: none;
}

.section-label {
    display: block;
    font-family: var(--font-mono);
    font-size: 13px;
    font-weight: 400;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--white);
    margin-bottom: 16px;
    opacity: 0.6;
}

.section-title {
    font-family: var(--font-heading);
    font-size: clamp(28px, 5vw, 40px);
    font-weight: 700;
    letter-spacing: -1px;
    margin-bottom: 8px;
}

.section-header {
    text-align: center;
    margin-bottom: 20px;
}

/* About */
.about {
    background: var(--gray-950);
}

.about-grid {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.about-content {
    width: 100%;
    max-width: 800px;
    text-align: center;
}

.about-content p.about-lead {
    font-size: 20px;
    color: var(--white);
    margin-bottom: 16px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.about-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-top: 20px;
}

.about-feature {
    padding: 20px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    transition: var(--transition);
}

.about-feature:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-5px);
    border-color: rgba(255, 255, 255, 0.3);
    box-shadow: 0 0 30px rgba(255, 255, 255, 0.05);
}

.feature-title {
    display: block;
    font-family: var(--font-mono);
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--white);
}

.about-feature p {
    font-size: 14px;
    color: var(--text-muted);
}

.skills {
    display: grid;
    gap: 0;
}

.skill {
    display: flex;
    justify-content: space-between;
    padding: 16px 0;
    border-bottom: 1px solid var(--gray-800);
    font-size: 14px;
}

.skill span:first-child {
    font-weight: 600;
}

.skill span:last-child {
    color: var(--gray-500);
}

/* Services */
.services-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.service-card {
    flex: 1 1 300px;
    max-width: 380px;
    padding: 24px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 28px;
    transition: var(--transition);
    text-align: left;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: inset 0 0 20px rgba(255, 255, 255, 0.01);
}

.service-card:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-8px);
    box-shadow:
        0 30px 60px rgba(0, 0, 0, 0.8),
        inset 0 0 30px rgba(255, 255, 255, 0.02);
}

.service-icon {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    font-size: 24px;
    color: var(--white);
    transition: var(--transition);
}

.service-card:hover .service-icon {
    background: var(--white);
    color: var(--black);
    transform: rotate(10deg);
}

.service-card h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 16px;
}

.service-card p {
    font-size: 15px;
    color: var(--text-muted);
    line-height: 1.6;
}

/* ==============================================
   PROJECTS CAROUSEL
   ============================================== */
.projects {
    background: #000;
    padding: 50px 0 40px;
    overflow: hidden;
    position: relative;
}

/* Carousel Wrapper */
.projects-carousel {
    position: relative;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 60px;
}

.carousel-inner {
    overflow: hidden;
    border-radius: 20px;
}

.carousel-strip {
    display: flex;
    transition: transform 0.85s cubic-bezier(0.25, 1, 0.5, 1);
    will-change: transform;
}

.carousel-strip.dragging {
    transition: none;
}

/* Single Card */
.carousel-card {
    flex: 0 0 100%;
    min-width: 100%;
    padding: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-sizing: border-box;
}

/* --- Device Mockups Container --- */
.card-devices {
    position: relative;
    width: 100%;
    max-width: 560px;
    margin: 0 auto 30px;
    perspective: 1200px;
}

/* Laptop */
.laptop {
    position: relative;
    width: 100%;
    transition: transform 0.6s ease;
}

.carousel-card:hover .laptop {
    transform: translateY(-6px);
}

.laptop-lid {
    position: relative;
    background: #111;
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-bottom: none;
    border-radius: 14px 14px 0 0;
    padding: 8px 8px 0;
    overflow: hidden;
}

/* Glass Shine */
.laptop-lid::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.06) 0%, transparent 50%);
    pointer-events: none;
    z-index: 5;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.carousel-card:hover .laptop-lid::after {
    opacity: 1;
}

.laptop-lid img {
    width: 100%;
    display: block;
    border-radius: 8px 8px 0 0;
    aspect-ratio: 16/10;
    object-fit: cover;
    object-position: top center;
    transition: object-position 3s ease;
}

.carousel-card:hover .laptop-lid img {
    object-position: bottom center;
}

.laptop-bottom {
    width: 108%;
    height: 14px;
    margin-left: -4%;
    background: linear-gradient(180deg, #222 0%, #111 100%);
    border-radius: 0 0 12px 12px;
    border: 2px solid rgba(255, 255, 255, 0.08);
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    position: relative;
}

.laptop-bottom::before {
    content: '';
    position: absolute;
    top: 3px;
    left: 42%;
    width: 16%;
    height: 4px;
    background: rgba(255, 255, 255, 0.04);
    border-radius: 4px;
}

/* Phone */
.phone {
    position: absolute;
    right: -20px;
    bottom: 10px;
    width: 22%;
    min-width: 70px;
    max-width: 110px;
    background: #111;
    border: 2px solid rgba(255, 255, 255, 0.12);
    border-radius: 16px;
    padding: 4px;
    z-index: 10;
    transform: rotate(-6deg);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8);
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
    overflow: hidden;
}

.carousel-card:hover .phone {
    transform: rotate(-2deg) translate(-8px, -12px) scale(1.08);
}

.phone img {
    width: 100%;
    display: block;
    border-radius: 12px;
    aspect-ratio: 9/19;
    object-fit: cover;
    object-position: top center;
    transition: object-position 3s ease;
}

.carousel-card:hover .phone img {
    object-position: bottom center;
}

/* Phone Glass Shine */
.phone::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0%, transparent 60%);
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.4s ease;
    border-radius: 14px;
    z-index: 5;
}

.carousel-card:hover .phone::after {
    opacity: 1;
}

/* --- Card Info --- */
.card-info {
    text-align: center;
}

.card-badge {
    display: inline-block;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: rgba(255, 255, 255, 0.35);
    margin-bottom: 8px;
}

.card-info h3 {
    font-family: var(--font-heading);
    font-size: 26px;
    font-weight: 800;
    color: #fff;
    margin: 0 0 14px;
    letter-spacing: -0.5px;
}

.card-tech {
    display: flex;
    gap: 8px;
    justify-content: center;
    flex-wrap: wrap;
}

.card-tech span {
    font-size: 11px;
    font-weight: 600;
    padding: 5px 14px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    color: rgba(255, 255, 255, 0.5);
    transition: all 0.3s ease;
}

.carousel-card:hover .card-tech span {
    background: rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.75);
    border-color: rgba(255, 255, 255, 0.18);
}

/* --- Navigation Arrows --- */
.car-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 20;
    backdrop-filter: blur(8px);
}

.car-prev {
    left: 4px;
}

.car-next {
    right: 4px;
}

.car-arrow:hover {
    background: #fff;
    color: #000;
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 0 25px rgba(255, 255, 255, 0.2);
}

/* --- Dots --- */
.car-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 24px;
}

.car-dots button {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.15);
    cursor: pointer;
    padding: 0;
    transition: all 0.35s ease;
}

.car-dots button.active {
    background: #fff;
    transform: scale(1.4);
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.4);
}

.car-dots button:hover:not(.active) {
    background: rgba(255, 255, 255, 0.35);
}

/* --- Responsive --- */
@media (max-width: 768px) {
    .projects {
        padding: 40px 0 20px;
    }

    .projects-carousel {
        padding: 0 16px;
    }

    .carousel-card {
        padding: 24px 12px;
    }

    .card-devices {
        max-width: 400px;
    }

    .card-info h3 {
        font-size: 22px;
    }

    .car-arrow {
        display: none;
    }

    .phone {
        right: -10px;
        width: 20%;
        min-width: 55px;
        border-radius: 12px;
    }

    .laptop-lid {
        border-radius: 10px 10px 0 0;
        padding: 5px 5px 0;
    }

    .laptop-bottom {
        height: 10px;
        border-radius: 0 0 8px 8px;
    }
}

@media (max-width: 480px) {
    .projects-carousel {
        padding: 0 8px;
    }

    .carousel-card {
        padding: 16px 8px;
    }

    .card-info h3 {
        font-size: 19px;
    }

    .car-arrow {
        width: 32px;
        height: 32px;
        font-size: 11px;
    }
}


/* ==============================================
   PROJECT PLANNER — FROM SCRATCH
   ============================================== */

.planner {
    padding: 120px 0;
    background: #000;
}

.planner .section-header {
    text-align: center;
    margin-bottom: 60px;
}

/* Main Box */
.planner-box {
    max-width: 640px;
    margin: 0 auto;
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 20px;
    padding: 48px 40px;
    background: rgba(255, 255, 255, 0.02);
}

/* Progress */
.planner-progress {
    margin-bottom: 40px;
}

.progress-steps {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.progress-label {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.4);
}

.progress-track {
    width: 100%;
    max-width: 260px;
    height: 2px;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 2px;
    overflow: hidden;
}

.progress-bar-fill {
    height: 100%;
    background: #fff;
    width: 0%;
    transition: width 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Planner Container */
.planner-container {
    position: relative;
    min-height: 200px;
}

/* Steps */
.planner-step {
    display: none;
}

.planner-step.active {
    display: block;
    animation: plannerFadeIn 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes plannerFadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.step-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 28px;
    text-align: center;
    color: #fff;
    letter-spacing: -0.02em;
}

/* === Step 0: Start === */
.planner-start {
    text-align: center;
    padding: 32px 0;
}

.start-icon {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 28px;
    background: rgba(255, 255, 255, 0.03);
}

.start-icon i {
    font-size: 24px;
    color: #fff;
}

.planner-start h3 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 10px;
    color: #fff;
}

.planner-start p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.4);
    margin-bottom: 32px;
    line-height: 1.6;
}

.planner-intro-btn {
    padding: 16px 36px;
    background: #fff;
    color: #000;
    font-weight: 700;
    border-radius: 12px;
    font-size: 14px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.planner-intro-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(255, 255, 255, 0.15);
}

/* === Step 1: Category Cards === */
.planner-grid {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.planner-card {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px 24px;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 14px;
    cursor: pointer;
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.planner-card .card-icon {
    width: 48px;
    height: 48px;
    min-width: 48px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.35s ease;
    background: rgba(255, 255, 255, 0.02);
}

.planner-card .card-icon i {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.4);
    transition: all 0.35s ease;
}

.planner-card .card-text h4 {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 3px;
    color: #fff;
}

.planner-card .card-text p {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.35);
    line-height: 1.4;
}

.planner-card:hover {
    border-color: rgba(255, 255, 255, 0.15);
    background: rgba(255, 255, 255, 0.03);
}

.planner-card:hover .card-icon {
    border-color: rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.05);
}

.planner-card:hover .card-icon i {
    color: #fff;
}

.planner-card.active {
    border-color: #fff;
    background: rgba(255, 255, 255, 0.05);
}

.planner-card.active .card-icon {
    background: #fff;
    border-color: #fff;
}

.planner-card.active .card-icon i {
    color: #000;
}

/* === Form Elements === */
.form-stack {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.form-field label {
    display: block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 10px;
    color: rgba(255, 255, 255, 0.35);
}

.form-field input,
.form-field textarea {
    width: 100%;
    padding: 16px 20px;
    font-family: inherit;
    font-size: 14px;
    color: #fff;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    transition: all 0.35s ease;
    outline: none;
}

.form-field input::placeholder,
.form-field textarea::placeholder {
    color: rgba(255, 255, 255, 0.2);
}

.form-field input:focus,
.form-field textarea:focus {
    border-color: rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.05);
}

.form-field textarea {
    resize: none;
    min-height: 120px;
    line-height: 1.6;
}

/* Budget Field */
.budget-field {
    position: relative;
}

.budget-symbol {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 16px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.3);
    pointer-events: none;
}

.budget-field input {
    width: 100%;
    padding: 16px 20px 16px 44px;
    font-family: inherit;
    font-size: 14px;
    color: #fff;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    transition: all 0.35s ease;
    outline: none;
}

.budget-field input:focus {
    border-color: rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.05);
}

/* Form Row */
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

/* Navigation */
.planner-navigation {
    display: flex;
    justify-content: center;
    gap: 14px;
    margin-top: 36px;
    padding-top: 28px;
    border-top: 1px solid rgba(255, 255, 255, 0.04);
}

.planner-navigation .btn {
    min-width: 150px;
}

/* Submit Button */
.planner-submit-btn {
    padding: 16px 36px;
    background: #fff;
    color: #000;
    font-weight: 700;
    border-radius: 12px;
    font-size: 14px;
    letter-spacing: 0.02em;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.planner-submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(255, 255, 255, 0.15);
}

/* === Planner Responsive === */
@media (max-width: 768px) {
    .planner {
        padding: 80px 0;
    }

    .planner-box {
        padding: 32px 20px;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .planner-navigation {
        gap: 10px;
    }

    .planner-navigation .btn {
        min-width: 0;
        flex: 1;
        padding: 14px 10px;
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .planner {
        padding: 60px 0;
    }

    .planner-box {
        padding: 16px;
        border-radius: 16px;
    }

    .step-title {
        font-size: 18px;
    }

    .planner-card {
        padding: 16px 18px;
        gap: 16px;
    }
}


/* Footer */
.footer {
    padding: 20px 0 16px;
    background: #000;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-contact-elite {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-bottom: 12px;
    flex-wrap: wrap;
}

.footer-contact-elite a {
    font-family: 'Space Mono', monospace;
    font-size: 13px;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 10px;
    opacity: 1;
    text-decoration: none;
}

.footer-contact-elite a i {
    font-size: 16px;
    color: #fff;
}

.footer-contact-elite a:hover {
    color: #fff;
    opacity: 1;
}

.lang-switcher {
    position: fixed;
    top: 24px;
    right: 24px;
    z-index: 1100;
}

.lang-btn {
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 0.8);
    font-family: 'Space Mono', monospace;
    font-size: 11px;
    padding: 6px 10px;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.lang-btn:hover,
.lang-btn.active {
    border-color: var(--white);
    color: var(--white);
    background: rgba(255, 255, 255, 0.1);
}

@media (max-width: 768px) {
    .lang-switcher {
        top: 15px;
        right: 60px;
        /* Hamburger menu ile Ã§akÄ±ÅŸmamasÄ± iÃ§in */
    }
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.footer p {
    font-size: 14px;
    color: var(--white);
}

/* Back to Top */
.back-to-top {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--white);
    color: var(--black);
    border: none;
    border-radius: var(--radius);
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: var(--transition);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    transform: translateY(-4px);
}


/* ==============================================
   RESPONSIVE DESIGN — ALL SECTIONS
   ============================================== */

/* ===== Desktop (768px+) ===== */
@media (min-width: 768px) {
    .container {
        padding: 0 48px;
    }

    /* Nav: horizontal on desktop */
    .nav-menu {
        display: flex;
        position: static;
        width: auto;
        height: auto;
        background: none;
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
        padding: 0;
        border: none;
        border-left: none;
        gap: 32px;
        flex-direction: row;
        align-items: center;
        justify-content: flex-start;
        opacity: 1;
        visibility: visible;
        transition: none;
        transform: none;
        box-shadow: none;
        border-radius: 0;
    }

    .nav-menu::before {
        display: none;
    }

    .nav-menu li {
        margin: 0;
        opacity: 1;
        transform: none;
        transition: none;
        border: none;
    }

    .nav-link {
        font-family: var(--font-heading);
        font-size: 14px;
        font-weight: 800;
        color: #fff;
        text-transform: uppercase;
        letter-spacing: 0.12em;
        padding: 8px 0;
        gap: 0;
        border-radius: 0;
        position: relative;
    }

    .nav-link::after {
        content: '';
        position: absolute;
        bottom: 0px;
        left: 0;
        right: 0;
        height: 2px;
        background: #fff;
        transform: scaleX(0);
        transform-origin: right;
        transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
        box-shadow: 0 0 8px rgba(255, 255, 255, 0.4);
    }

    .nav-link.active::after {
        transform: scaleX(1);
        transform-origin: left;
    }

    .nav-link:hover {
        color: #fff;
        opacity: 0.8;
    }

    .nav-link::after {
        display: block;
        /* Ensure it shows in desktop override */
    }

    .nav-num {
        display: none;
    }

    .nav-menu-cta {
        display: none;
    }

    .hamburger {
        display: none;
    }

    .hide-mobile {
        display: inline-flex;
    }

    /* Hero */
    .hero {
        padding: 140px 0 80px;
        min-height: 85vh;
    }

    .hero-desc {
        font-size: 18px;
    }

    /* Sections */
    section {
        padding: 80px 0;
    }

    /* About */
    .about-grid {
        gap: 40px;
    }

    .about-content p.about-lead {
        font-size: 20px;
    }

    /* Footer */
    .footer-content {
        flex-direction: row;
        justify-content: space-between;
    }

    /* Form Row */
    .form-row {
        grid-template-columns: 1fr 1fr;
    }
}

/* ===== Large Desktop (1024px+) ===== */
@media (min-width: 1024px) {
    .hero-title {
        font-size: 100px;
    }
}

/* ===== Tablet & Small (max 768px) ===== */
@media (max-width: 768px) {

    /* Header */
    .header {
        padding: 10px 0;
    }

    /* Hero */
    .hero {
        min-height: 60vh;
        padding: 100px 0 40px;
    }

    .hero-title {
        font-size: clamp(36px, 10vw, 60px);
        letter-spacing: -2px;
    }

    .hero-desc {
        font-size: 15px;
        max-width: 100%;
    }

    .hero-buttons {
        gap: 12px;
    }

    .hero-buttons .btn {
        padding: 12px 20px;
        font-size: 13px;
    }

    .hero-stats {
        gap: 24px;
        flex-wrap: wrap;
    }

    .stat-num {
        font-size: 28px;
    }

    /* Sections */
    section {
        padding: 48px 0;
    }

    .section-title {
        font-size: clamp(24px, 6vw, 32px);
    }

    .section-header {
        margin-bottom: 24px;
    }

    /* About */
    .about-content p.about-lead {
        font-size: 16px;
    }

    .about-features {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .about-feature {
        padding: 18px;
        border-radius: 16px;
    }

    .feature-title {
        font-size: 14px;
    }

    .about-feature p {
        font-size: 13px;
    }

    /* Services */
    .services-grid {
        flex-direction: column;
        align-items: stretch;
        gap: 14px;
    }

    .service-card {
        max-width: 100%;
        padding: 24px;
        border-radius: 20px;
    }

    .service-card h3 {
        font-size: 17px;
    }

    .service-card p {
        font-size: 14px;
    }

    .service-icon {
        width: 48px;
        height: 48px;
        font-size: 20px;
        margin-bottom: 18px;
    }

    /* Lang Switcher */
    .lang-switcher {
        top: 15px;
        right: 60px;
    }

    /* Planner */
    .planner {
        padding: 60px 0;
    }

    .planner-box {
        padding: 28px 18px;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .planner-navigation {
        gap: 10px;
    }

    .planner-navigation .btn {
        min-width: 0;
        flex: 1;
        padding: 14px 10px;
        font-size: 13px;
    }

    /* Footer */
    .footer {
        padding: 40px 0 30px;
    }

    .footer-contact-elite {
        gap: 20px;
        margin-bottom: 24px;
    }

    .footer-contact-elite a {
        font-size: 12px;
    }

    .footer-content {
        gap: 14px;
    }

    .footer p {
        font-size: 12px;
    }

    /* Back to Top */
    .back-to-top {
        width: 40px;
        height: 40px;
        bottom: 16px;
        right: 16px;
    }
}

/* ===== Small Mobile (max 480px) ===== */
@media (max-width: 480px) {
    .container {
        padding: 0 12px;
    }

    .hero {
        min-height: 50vh;
        padding: 90px 0 32px;
    }

    .hero-title {
        font-size: clamp(32px, 9vw, 48px);
        margin-bottom: 14px;
    }

    .hero-desc {
        font-size: 14px;
        margin-bottom: 18px;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 10px;
    }

    .hero-buttons .btn {
        width: 100%;
        justify-content: center;
    }

    section {
        padding: 36px 0;
    }

    .section-label {
        font-size: 11px;
    }

    /* Planner */
    .planner {
        padding: 40px 0;
    }

    .planner-box {
        padding: 20px 14px;
        border-radius: 14px;
    }

    .step-title {
        font-size: 17px;
        margin-bottom: 20px;
    }

    .planner-card {
        padding: 14px 16px;
        gap: 14px;
    }

    .planner-card .card-icon {
        width: 40px;
        height: 40px;
        min-width: 40px;
    }

    .planner-card .card-text h4 {
        font-size: 14px;
    }

    .planner-card .card-text p {
        font-size: 12px;
    }

    .planner-start h3 {
        font-size: 18px;
    }

    .planner-start p {
        font-size: 13px;
    }

    .planner-intro-btn {
        padding: 14px 28px;
        font-size: 13px;
    }

    .planner-submit-btn {
        padding: 14px 28px;
        font-size: 13px;
    }

    /* Footer */
    .footer {
        padding: 30px 0 20px;
    }

    .footer-contact-elite {
        flex-direction: column;
        gap: 12px;
        align-items: center;
    }
}


/* Toast Notifications */
.toast-container {
    position: fixed;
    top: 24px;
    right: 24px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 12px;
    pointer-events: none;
}

.toast {
    background: rgba(18, 18, 18, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
    padding: 16px 20px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    min-width: 300px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    opacity: 0;
    transform: translateX(100%);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    pointer-events: auto;
}

.toast.show {
    opacity: 1;
    transform: translateX(0);
}

.toast-success {
    border-left: 4px solid #4CAF50;
}

.toast-success i {
    color: #4CAF50;
}

.toast-error {
    border-left: 4px solid #f44336;
}

.toast-error i {
    color: #f44336;
}

.toast-info {
    border-left: 4px solid #2196F3;
}

.toast-info i {
    color: #2196F3;
}

@media (max-width: 640px) {
    .toast-container {
        left: 20px;
        right: 20px;
        top: 20px;
    }

    .toast {
        min-width: unset;
        width: 100%;
    }
}

/* ========================================
   Intl-Tel-Input Overrides
   ======================================== */
.iti {
    width: 100%;
}

/* Body-level dropdown fix */
.iti--container {
    z-index: 999999999 !important;
}

.iti__country-list {
    background-color: #0d1117 !important;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
    border-radius: 12px !important;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.8) !important;
    color: #fff !important;
    padding: 8px !important;
    backdrop-filter: blur(25px) !important;
    margin-top: 5px !important;
    z-index: 1000000000 !important;
    overscroll-behavior: contain !important;
    /* Prevents background scroll chaining */
}

/* Body lock when country dropdown is open on mobile */
body.iti-mobile-lock {
    overflow: hidden !important;
    touch-action: none;
}

/* Individual Country Item */
.iti__country {
    padding: 10px 14px !important;
    border-radius: 8px !important;
    transition: background 0.2s ease !important;
}

.iti__country:hover,
.iti__country--highlight {
    background: rgba(0, 212, 255, 0.1) !important;
    color: #fff !important;
}

.iti__dial-code {
    color: #00d4ff !important;
    font-weight: 600 !important;
    margin-left: 8px !important;
}

.iti__country-name {
    color: rgba(255, 255, 255, 0.9) !important;
}

.iti__selected-flag {
    padding: 0 15px !important;
    border-radius: 12px 0 0 12px;
}

.iti__selected-dial-code {
    color: #fff !important;
    font-weight: 700 !important;
    margin-left: 6px !important;
}

.iti--separate-dial-code .iti__selected-flag {
    background: transparent !important;
    border-right: 1px solid rgba(255, 255, 255, 0.1) !important;
}

/* Search Area Fixes */
.iti__dropdown-content {
    background-color: transparent !important;
    box-shadow: none !important;
    border: none !important;
    padding: 0 !important;
}

.iti__search-input {
    background: rgba(255, 255, 255, 0.05) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    color: #fff !important;
    border-radius: 8px !important;
    margin: 4px 6px 12px 6px !important;
    padding: 12px 14px !important;
    width: calc(100% - 12px) !important;
    outline: none !important;
    font-family: inherit !important;
}

.iti__search-input::placeholder {
    color: rgba(255, 255, 255, 0.25) !important;
}