/* ============================================
   NO.3 GROUP — Portfolio Website V2
   Premium Dark Theme + Advanced Effects
   ============================================ */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=Outfit:wght@300;400;500;600;700;800;900&display=swap');

:root {
    --bg-primary: #06060b;
    --bg-secondary: #0d0d18;
    --bg-card: rgba(255, 255, 255, 0.03);
    --bg-card-hover: rgba(255, 255, 255, 0.06);
    --border-subtle: rgba(255, 255, 255, 0.06);
    --border-glow: rgba(0, 212, 255, 0.2);
    --text-primary: #f0f0f5;
    --text-secondary: #8888a0;
    --text-muted: #55556a;
    --accent-blue: #00d4ff;
    --accent-violet: #7b2ff7;
    --accent-pink: #f72fff;
    --accent-green: #2fff96;
    --gradient-accent: linear-gradient(135deg, #00d4ff, #7b2ff7);
    --gradient-accent-2: linear-gradient(135deg, #7b2ff7, #f72fff);
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    --shadow-glow: 0 0 40px rgba(0, 212, 255, 0.08);
    --shadow-card: 0 4px 30px rgba(0, 0, 0, 0.4);
    --transition-smooth: 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --transition-bounce: 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    --container-max: 1240px;
    --section-pad: 120px;
}

/* ====== LIGHT MODE ====== */
[data-theme="light"] {
    --bg-primary: #f5f5fa;
    --bg-secondary: #e8e8f0;
    --bg-card: rgba(0, 0, 0, 0.03);
    --bg-card-hover: rgba(0, 0, 0, 0.06);
    --border-subtle: rgba(0, 0, 0, 0.08);
    --border-glow: rgba(0, 140, 200, 0.25);
    --text-primary: #1a1a2e;
    --text-secondary: #555570;
    --text-muted: #888898;
    --shadow-card: 0 4px 30px rgba(0, 0, 0, 0.08);
    --shadow-glow: 0 0 40px rgba(0, 140, 200, 0.06);
}

[data-theme="light"] .hero-bg .orb {
    opacity: 0.12;
}

[data-theme="light"] .navbar.scrolled {
    background: rgba(245, 245, 250, 0.9);
}

[data-theme="light"] .hero-marquee::before {
    background: linear-gradient(to right, var(--bg-primary), transparent);
}

[data-theme="light"] .hero-marquee::after {
    background: linear-gradient(to left, var(--bg-primary), transparent);
}

[data-theme="light"] .nav-cta {
    color: #fff !important;
}

[data-theme="light"] .nav-cta:hover {
    color: #fff !important;
}

[data-theme="light"] .btn-primary {
    color: #fff;
}

[data-theme="light"] .btn-primary:hover {
    color: #fff;
}

[data-theme="light"] .process-step-number {
    color: #fff;
}

[data-theme="light"] .team-avatar {
    color: #fff;
}

[data-theme="light"] .preloader {
    background: var(--bg-primary);
}

[data-theme="light"] .cursor-glow {
    background: radial-gradient(circle, rgba(0, 140, 200, 0.06) 0%, transparent 70%);
}

[data-theme="light"] .modal-content {
    background: #f0f0f5;
    border-color: rgba(0, 0, 0, 0.1);
}

/* ====== COLOR BLIND MODE (Deuteranopia-safe palette) ====== */
[data-cb="true"] {
    --accent-blue: #0077bb;
    --accent-violet: #ee7733;
    --accent-pink: #cc3311;
    --accent-green: #009988;
    --gradient-accent: linear-gradient(135deg, #0077bb, #ee7733);
    --gradient-accent-2: linear-gradient(135deg, #ee7733, #cc3311);
}

[data-cb="true"] .badge-startup {
    background: rgba(238, 119, 51, 0.12);
    color: #ee7733;
    border-color: rgba(238, 119, 51, 0.25);
}

[data-cb="true"] .badge-personal {
    background: rgba(204, 51, 17, 0.12);
    color: #cc3311;
    border-color: rgba(204, 51, 17, 0.25);
}

[data-cb="true"] .badge-hackathon {
    background: rgba(0, 153, 136, 0.12);
    color: #009988;
    border-color: rgba(0, 153, 136, 0.25);
}

[data-cb="true"] .badge-company {
    background: rgba(51, 119, 204, 0.12);
    color: #3377cc;
    border-color: rgba(51, 119, 204, 0.25);
}

/* ====== THEME TOGGLE BUTTONS ====== */
.theme-toggles {
    display: flex;
    gap: 6px;
    margin-left: 12px;
    align-items: center;
}

.lang-select {
    background: var(--bg-card);
    color: var(--text-primary);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-sm);
    padding: 6px 10px;
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    outline: none;
    transition: all var(--transition-smooth);
}

.option-select {
    background: var(--bg-primary);
    color: var(--text-primary);
    border-radius: var(--radius-sm);
    padding: 6px 10px;
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    outline: none;
    transition: all var(--transition-smooth);
}

.lang-select:hover,
.lang-select:focus,
.option-select:hover,
.option-select:focus {
    border-color: var(--accent-blue);
    color: var(--text-primary);
}

.theme-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid var(--border-subtle);
    background: var(--bg-card);
    color: var(--text-secondary);
    font-size: 0.9rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-smooth);
}

.theme-btn:hover {
    border-color: var(--accent-blue);
    background: rgba(0, 212, 255, 0.08);
    transform: scale(1.1);
}

.theme-btn.active {
    border-color: var(--accent-blue);
    background: rgba(0, 212, 255, 0.12);
    box-shadow: 0 0 12px rgba(0, 212, 255, 0.15);
}

*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
    overflow-x: hidden;
}

body {
    font-family: var(--font-body);
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

a {
    color: var(--accent-blue);
    text-decoration: none;
    transition: color var(--transition-smooth);
}

a:hover {
    color: var(--accent-violet);
}

img {
    max-width: 100%;
    display: block;
}

.container {
    max-width: var(--container-max);
    width: 100%;
    margin: 0 auto;
    padding: 0 24px;
}

.section {
    padding: var(--section-pad) 0;
    position: relative;
    overflow: hidden;
}

.section-header {
    text-align: center;
    margin-bottom: 64px;
}

.section-label {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--accent-blue);
    background: rgba(0, 212, 255, 0.08);
    border: 1px solid rgba(0, 212, 255, 0.15);
    padding: 6px 18px;
    border-radius: 50px;
    margin-bottom: 20px;
}

.section-title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 16px;
}

.gradient-text {
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section-subtitle {
    font-size: 1.05rem;
    color: var(--text-secondary);
    max-width: 560px;
    margin: 0 auto;
}

/* --- Preloader --- */
.preloader {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: var(--bg-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    transition: opacity 0.6s, visibility 0.6s;
}

.preloader.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.preloader-logo {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 24px;
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.preloader-bar {
    width: 200px;
    height: 3px;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 3px;
    overflow: hidden;
}

.preloader-bar-fill {
    height: 100%;
    width: 0%;
    background: var(--gradient-accent);
    border-radius: 3px;
    animation: preload 1.5s ease forwards;
}

@keyframes preload {
    to {
        width: 100%;
    }
}

/* --- Cursor Glow --- */
.cursor-glow {
    position: fixed;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0, 212, 255, 0.06) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
    transform: translate(-50%, -50%);
    transition: left 0.3s ease, top 0.3s ease;
}

/* --- Glass Card --- */
.glass-card {
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition: all var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.glass-card::before {
    content: '';
    position: absolute;
    inset: -1px;
    opacity: 0;
    transition: opacity var(--transition-smooth);
    z-index: -1;
}

.glass-card:hover {
    background: var(--bg-card-hover);
    transform: translateY(-6px);
    box-shadow: var(--shadow-glow);
}

.glass-card:hover::before {
    opacity: 1;
}

/* ====== NAVBAR ====== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 16px 0;
    transition: all var(--transition-smooth);
}

.navbar.scrolled {
    background: rgba(6, 6, 11, 0.88);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-subtle);
    padding: 10px 0;
}

.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.5rem;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-logo .logo-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--gradient-accent);
    box-shadow: 0 0 12px rgba(0, 212, 255, 0.5);
    animation: pulse 2s infinite;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
    list-style: none;
}

.nav-links a {
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--text-secondary);
    position: relative;
    padding: 4px 0;
    transition: color var(--transition-smooth);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0%;
    height: 2px;
    background: var(--gradient-accent);
    border-radius: 2px;
    transition: width var(--transition-smooth);
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--text-primary);
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.nav-cta {
    padding: 10px 24px !important;
    background: var(--gradient-accent);
    color: #06060b !important;
    font-weight: 700 !important;
    font-size: 0.85rem;
    border-radius: 50px;
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.2);
    transition: all var(--transition-smooth) !important;
}

.nav-cta::after {
    display: none !important;
}

.nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 30px rgba(0, 212, 255, 0.35);
    color: #06060b !important;
}

.nav-hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 4px;
    background: none;
    border: none;
}

.nav-hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: all 0.3s;
}

.nav-hamburger.active span:first-child {
    transform: translateY(7px) rotate(45deg);
}

.nav-hamburger.active span:nth-child(2) {
    opacity: 0;
}

.nav-hamburger.active span:last-child {
    transform: translateY(-7px) rotate(-45deg);
}

/* ====== HERO ====== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    max-width: 100vw;
    padding-top: 80px;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
}

.hero-bg .orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.35;
    animation: orbFloat 12s ease-in-out infinite alternate;
}

.hero-bg .orb-1 {
    width: 500px;
    height: 500px;
    background: var(--accent-blue);
    top: -120px;
    right: -100px;
}

.hero-bg .orb-2 {
    width: 400px;
    height: 400px;
    background: var(--accent-violet);
    bottom: -80px;
    left: -80px;
    animation-delay: -4s;
}

.hero-bg .orb-3 {
    width: 300px;
    height: 300px;
    background: var(--accent-pink);
    top: 40%;
    left: 50%;
    animation-delay: -8s;
}

#particles-canvas {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.hero-grid-overlay {
    position: absolute;
    inset: 0;
    background-image: linear-gradient(rgba(255, 255, 255, 0.015) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.015) 1px, transparent 1px);
    background-size: 80px 80px;
    mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
    -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
}

@keyframes orbFloat {
    0% {
        transform: translate(0, 0) scale(1);
    }

    50% {
        transform: translate(30px, -20px) scale(1.05);
    }

    100% {
        transform: translate(-20px, 30px) scale(0.95);
    }
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.82rem;
    font-weight: 500;
    color: var(--accent-blue);
    background: rgba(0, 212, 255, 0.06);
    border: 1px solid rgba(0, 212, 255, 0.12);
    padding: 8px 20px;
    border-radius: 50px;
    margin-bottom: 32px;
    animation: fadeInUp 0.8s ease forwards;
}

.hero-badge .pulse-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--accent-blue);
    animation: pulse 2s infinite;
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.5;
        transform: scale(1.5);
    }
}

.hero-title {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 6.5vw, 5rem);
    font-weight: 900;
    line-height: 1.05;
    margin-bottom: 24px;
    letter-spacing: -0.02em;
    animation: fadeInUp 0.8s ease 0.15s forwards;
    opacity: 0;
    max-width: 100%;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.hero-title .line {
    display: block;
}

.hero-title .typing-wrapper {
    display: inline-block;
}

.typing-cursor {
    display: inline-block;
    width: 3px;
    height: 0.9em;
    background: var(--accent-blue);
    margin-left: 4px;
    animation: blink 0.8s step-end infinite;
    vertical-align: text-bottom;
}

@keyframes blink {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0;
    }
}

.hero-description {
    font-size: 1.15rem;
    color: var(--text-secondary);
    max-width: 580px;
    margin: 0 auto 40px;
    line-height: 1.8;
    animation: fadeInUp 0.8s ease 0.3s forwards;
    opacity: 0;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s ease 0.45s forwards;
    opacity: 0;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 36px;
    background: var(--gradient-accent);
    color: #06060b;
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 0.95rem;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all var(--transition-smooth);
    box-shadow: 0 0 30px rgba(0, 212, 255, 0.2);
    position: relative;
    overflow: hidden;
}

.btn-primary::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transform: translateX(-100%);
    transition: transform 0.6s;
}

.btn-primary:hover::before {
    transform: translateX(100%);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 45px rgba(0, 212, 255, 0.35);
    color: #06060b;
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 36px;
    background: transparent;
    color: var(--text-primary);
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.95rem;
    border: 1px solid var(--border-subtle);
    border-radius: 50px;
    cursor: pointer;
    transition: all var(--transition-smooth);
}

.btn-secondary:hover {
    border-color: var(--accent-blue);
    background: rgba(0, 212, 255, 0.05);
    color: var(--text-primary);
    transform: translateY(-3px);
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 60px;
    margin-top: 72px;
    animation: fadeInUp 0.8s ease 0.6s forwards;
    opacity: 0;
}

.hero-stat {
    text-align: center;
}

.hero-stat-value {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 800;
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-stat-label {
    font-size: 0.8rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-top: 4px;
}

/* Scrolling tech marquee */
.hero-marquee {
    margin-top: 60px;
    animation: fadeInUp 0.8s ease 0.7s forwards;
    opacity: 0;
    overflow: hidden;
    position: relative;
}

.hero-marquee::before,
.hero-marquee::after {
    content: '';
    position: absolute;
    top: 0;
    width: 100px;
    height: 100%;
    z-index: 2;
}

.hero-marquee::before {
    left: 0;
    background: linear-gradient(to right, var(--bg-primary), transparent);
}

.hero-marquee::after {
    right: 0;
    background: linear-gradient(to left, var(--bg-primary), transparent);
}

.marquee-track {
    display: flex;
    gap: 40px;
    animation: marquee 25s linear infinite;
    width: max-content;
}

.marquee-item {
    font-size: 0.82rem;
    color: var(--text-muted);
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
}

.marquee-dot {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--accent-blue);
    opacity: 0.4;
}

@keyframes marquee {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ====== STATS BAR ====== */
.stats-bar {
    border-top: 1px solid var(--border-subtle);
    border-bottom: 1px solid var(--border-subtle);
    padding: 48px 0;
    background: rgba(255, 255, 255, 0.01);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    text-align: center;
}

.stat-item {
    position: relative;
}

.stat-item:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 10%;
    height: 80%;
    width: 1px;
    background: var(--border-subtle);
}

.stat-number {
    font-family: var(--font-heading);
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    font-weight: 800;
    color: var(--text-primary);
}

.stat-text {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-top: 4px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ====== OUR STORY ====== */
.story-content {
    max-width: 800px;
    margin: 0 auto;
}

.story-timeline {
    position: relative;
    padding-left: 48px;
}

.story-timeline::before {
    content: '';
    position: absolute;
    left: 18px;
    top: 0;
    bottom: 60px;
    width: 2px;
    background: linear-gradient(to bottom, var(--accent-blue), var(--accent-violet), var(--accent-pink));
    border-radius: 2px;
}

.story-chapter {
    position: relative;
    margin-bottom: 48px;
}

.story-chapter:last-child {
    margin-bottom: 0;
}

.story-chapter-icon {
    position: absolute;
    left: -48px;
    top: 0;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--bg-secondary);
    border: 2px solid var(--accent-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    box-shadow: 0 0 16px rgba(0, 212, 255, 0.15);
    z-index: 1;
}

.story-chapter-title {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.story-chapter-text {
    font-size: 0.92rem;
    color: var(--text-secondary);
    line-height: 1.85;
}

.story-quote {
    text-align: center;
    margin-top: 56px;
}

.story-quote blockquote {
    font-family: var(--font-heading);
    font-size: clamp(1.1rem, 2.5vw, 1.5rem);
    font-weight: 600;
    font-style: italic;
    color: var(--text-primary);
    line-height: 1.6;
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    max-width: 600px;
    margin: 0 auto;
    padding: 24px 0;
    border-top: 1px solid var(--border-subtle);
    border-bottom: 1px solid var(--border-subtle);
}

/* ====== SERVICES ====== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.service-card {
    padding: 40px 28px;
    text-align: center;
}

.service-icon {
    font-size: 2.5rem;
    margin-bottom: 20px;
    display: block;
}

.service-title {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.service-desc {
    font-size: 0.88rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

.service-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    justify-content: center;
    margin-top: 16px;
}

.service-tag {
    font-size: 0.7rem;
    font-weight: 500;
    color: var(--accent-blue);
    background: rgba(0, 212, 255, 0.06);
    border: 1px solid rgba(0, 212, 255, 0.12);
    padding: 3px 10px;
    border-radius: 50px;
}

/* ====== TEAM ====== */
.team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.team-card {
    padding: 40px 32px;
    text-align: center;
}

.team-card:hover .team-avatar {
    box-shadow: 0 0 50px rgba(0, 212, 255, 0.3);
    transform: scale(1.05);
}

.team-avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    margin: 0 auto 20px;
    background: var(--gradient-accent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 800;
    color: #06060b;
    box-shadow: 0 0 30px rgba(0, 212, 255, 0.15);
    transition: all var(--transition-smooth);
}

.team-name {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 6px;
}

.team-role {
    font-size: 0.88rem;
    color: var(--accent-blue);
    font-weight: 500;
    margin-bottom: 16px;
}

.team-exp {
    display: inline-block;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--text-secondary);
    background: rgba(123, 47, 247, 0.1);
    border: 1px solid rgba(123, 47, 247, 0.2);
    padding: 4px 14px;
    border-radius: 50px;
    margin-bottom: 20px;
}

.team-stacks {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    justify-content: center;
}

.team-stack-tag {
    font-size: 0.72rem;
    font-weight: 500;
    color: var(--text-secondary);
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-subtle);
    padding: 4px 12px;
    border-radius: 50px;
}

.team-contact {
    margin-top: 20px;
    display: flex;
    gap: 12px;
    justify-content: center;
}

.team-contact a {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-subtle);
    color: var(--text-secondary);
    font-size: 0.85rem;
    transition: all var(--transition-smooth);
}

.team-contact a:hover {
    background: rgba(0, 212, 255, 0.1);
    border-color: var(--accent-blue);
    color: var(--accent-blue);
    transform: translateY(-3px);
}

/* ====== PROCESS / HOW WE WORK ====== */
.process-timeline {
    display: flex;
    justify-content: space-between;
    position: relative;
    max-width: 900px;
    margin: 0 auto;
}

.process-timeline::before {
    content: '';
    position: absolute;
    top: 36px;
    left: 60px;
    right: 60px;
    height: 2px;
    background: var(--border-subtle);
}

.process-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    flex: 1;
    position: relative;
    z-index: 1;
}

.process-step-number {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 800;
    color: #06060b;
    background: var(--gradient-accent);
    margin-bottom: 20px;
    box-shadow: 0 0 25px rgba(0, 212, 255, 0.2);
    transition: all var(--transition-smooth);
}

.process-step:hover .process-step-number {
    transform: scale(1.1);
    box-shadow: 0 0 40px rgba(0, 212, 255, 0.35);
}

.process-step-title {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 6px;
}

.process-step-desc {
    font-size: 0.8rem;
    color: var(--text-secondary);
    max-width: 160px;
}

/* ====== PROJECTS ====== */
.project-filters {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 48px;
}

.filter-btn {
    padding: 8px 22px;
    font-family: var(--font-body);
    font-size: 0.82rem;
    font-weight: 500;
    color: var(--text-secondary);
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-subtle);
    border-radius: 50px;
    cursor: pointer;
    transition: all var(--transition-smooth);
}

.filter-btn:hover {
    border-color: rgba(0, 212, 255, 0.3);
    color: var(--text-primary);
}

.filter-btn.active {
    background: var(--gradient-accent);
    color: #06060b;
    font-weight: 700;
    border-color: transparent;
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.15);
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
    gap: 24px;
}

.project-card {
    padding: 32px;
    display: flex;
    flex-direction: column;
    cursor: pointer;
}

.project-card.hidden {
    display: none;
}

.project-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 16px;
}

.project-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-sm);
    background: var(--gradient-accent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    transition: transform var(--transition-smooth);
}

.project-card:hover .project-icon {
    transform: rotate(8deg) scale(1.05);
}

.project-type-badge {
    font-size: 0.68rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 4px 12px;
    border-radius: 50px;
}

.badge-client {
    background: rgba(0, 212, 255, 0.1);
    color: var(--accent-blue);
    border: 1px solid rgba(0, 212, 255, 0.2);
}

.badge-startup {
    background: rgba(123, 47, 247, 0.1);
    color: var(--accent-violet);
    border: 1px solid rgba(123, 47, 247, 0.2);
}

.badge-personal {
    background: rgba(247, 47, 255, 0.1);
    color: var(--accent-pink);
    border: 1px solid rgba(247, 47, 255, 0.2);
}

.badge-hackathon {
    background: rgba(255, 200, 47, 0.1);
    color: #ffc82f;
    border: 1px solid rgba(255, 200, 47, 0.2);
}

.badge-company {
    background: rgba(47, 255, 150, 0.1);
    color: #2fff96;
    border: 1px solid rgba(47, 255, 150, 0.2);
}

.project-name {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 10px;
    line-height: 1.3;
}

.project-meta {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 14px;
    font-size: 0.8rem;
    color: var(--text-muted);
}

.project-meta-item {
    display: flex;
    align-items: center;
    gap: 5px;
}

.project-description {
    font-size: 0.88rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 20px;
    flex: 1;
}

.project-tech-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 18px;
}

.tech-tag {
    font-size: 0.72rem;
    font-weight: 500;
    color: var(--accent-blue);
    background: rgba(0, 212, 255, 0.06);
    border: 1px solid rgba(0, 212, 255, 0.12);
    padding: 3px 10px;
    border-radius: 50px;
}

.project-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 16px;
    border-top: 1px solid var(--border-subtle);
}

.project-member {
    font-size: 0.8rem;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 8px;
}

.project-member-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--gradient-accent);
}

.project-link {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--accent-blue);
    display: flex;
    align-items: center;
    gap: 6px;
    transition: gap var(--transition-smooth);
}

.project-link:hover {
    gap: 10px;
}

.project-rating {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 0.78rem;
    color: #ffc82f;
}

/* ====== PROJECT MODAL ====== */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(8px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: var(--bg-secondary);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-xl);
    max-width: 640px;
    width: 100%;
    padding: 48px;
    position: relative;
    max-height: 90vh;
    overflow-y: auto;
    transform: translateY(30px) scale(0.95);
    transition: transform 0.3s;
}

.modal-overlay.active .modal-content {
    transform: translateY(0) scale(1);
}

.modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid var(--border-subtle);
    background: rgba(255, 255, 255, 0.04);
    color: var(--text-primary);
    font-size: 1.2rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-smooth);
}

.modal-close:hover {
    background: rgba(255, 255, 255, 0.1);
}

.modal-icon {
    font-size: 3rem;
    margin-bottom: 16px;
}

.modal-title {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 800;
    margin-bottom: 8px;
}

.modal-badge {
    margin-bottom: 16px;
    display: inline-block;
}

.modal-meta {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.modal-meta-item {
    font-size: 0.85rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 6px;
}

.modal-desc {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 24px;
}

.modal-members {
    font-size: 0.88rem;
    color: var(--text-secondary);
    margin-bottom: 16px;
    line-height: 1.7;
}

.modal-members strong {
    color: var(--text-primary);
}

.modal-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 24px;
}

.modal-tech .tech-tag {
    font-size: 0.8rem;
    padding: 5px 14px;
}

.modal-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

/* ====== SKILLS ====== */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.skill-card {
    padding: 36px 28px;
}

.skill-card-header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 28px;
}

.skill-card-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--gradient-accent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1rem;
    color: #06060b;
}

.skill-card-name {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
}

.skill-card-role {
    font-size: 0.78rem;
    color: var(--text-muted);
}

.skill-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.skill-item {
    display: flex;
    align-items: center;
    gap: 12px;
}

.skill-name {
    font-size: 0.84rem;
    color: var(--text-secondary);
    flex: 1;
    min-width: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.skill-bar-container {
    width: 100px;
    height: 4px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 4px;
    overflow: hidden;
    flex-shrink: 0;
}

.skill-bar {
    height: 100%;
    background: var(--gradient-accent);
    border-radius: 4px;
    width: 0%;
    transition: width 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.skill-level {
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--text-muted);
    width: 80px;
    text-align: right;
    flex-shrink: 0;
}

/* ====== TESTIMONIALS ====== */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 24px;
}

.testimonial-card {
    padding: 32px;
}

.testimonial-stars {
    margin-bottom: 16px;
    font-size: 1rem;
    letter-spacing: 2px;
}

.testimonial-text {
    font-size: 0.92rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 20px;
    font-style: italic;
}

.testimonial-project {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.95rem;
    margin-bottom: 4px;
}

.testimonial-member {
    font-size: 0.78rem;
    color: var(--text-muted);
}

.testimonial-quote {
    font-size: 3rem;
    line-height: 1;
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    opacity: 0.3;
    margin-bottom: 12px;
}

/* ====== CTA / CONTACT ====== */
.cta-section {
    position: relative;
    overflow: hidden;
}

.cta-box {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-xl);
    padding: 72px 48px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 40%;
    height: 1px;
    background: var(--gradient-accent);
}

.cta-title {
    font-family: var(--font-heading);
    font-size: clamp(1.8rem, 3.5vw, 2.8rem);
    font-weight: 800;
    margin-bottom: 16px;
}

.cta-description {
    font-size: 1.05rem;
    color: var(--text-secondary);
    max-width: 500px;
    margin: 0 auto 40px;
}

.cta-contacts {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: 900px;
    margin: 0 auto 40px;
}

.cta-contact-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: 24px;
    transition: all var(--transition-smooth);
}

.cta-contact-card:hover {
    border-color: var(--border-glow);
    background: rgba(0, 212, 255, 0.03);
    transform: translateY(-4px);
}

.cta-contact-name {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1rem;
    margin-bottom: 4px;
}

.cta-contact-role {
    font-size: 0.78rem;
    color: var(--accent-blue);
    margin-bottom: 12px;
}

.cta-contact-info {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.cta-contact-info a {
    font-size: 0.82rem;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 8px;
    transition: color var(--transition-smooth);
}

.cta-contact-info a:hover {
    color: var(--accent-blue);
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

/* ====== FOOTER ====== */
.footer {
    border-top: 1px solid var(--border-subtle);
    padding: 40px 0;
    text-align: center;
}

.footer-text {
    font-size: 0.82rem;
    color: var(--text-muted);
}

.footer-text span {
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 600;
}

/* ====== BACK TO TOP ====== */
.back-to-top {
    position: fixed;
    bottom: 32px;
    right: 32px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--gradient-accent);
    color: #06060b;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: 700;
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all var(--transition-smooth);
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.2);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    transform: translateY(-4px);
    box-shadow: 0 0 35px rgba(0, 212, 255, 0.4);
}

/* ====== SCROLL REVEAL ====== */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

.reveal-delay-1 {
    transition-delay: 0.1s;
}

.reveal-delay-2 {
    transition-delay: 0.2s;
}

.reveal-delay-3 {
    transition-delay: 0.3s;
}

.reveal-delay-4 {
    transition-delay: 0.4s;
}

/* ====== RESPONSIVE ====== */
@media (max-width:1024px) {

    .team-grid,
    .skills-grid,
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .cta-contacts {
        grid-template-columns: repeat(2, 1fr);
    }

    .hero-stats {
        gap: 40px;
    }

    .process-timeline {
        flex-wrap: wrap;
        gap: 32px;
        justify-content: center;
    }

    .process-timeline::before {
        display: none;
    }
}

@media (max-width:768px) {
    :root {
        --section-pad: 80px;
    }

    .nav-links {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: var(--bg-primary);
        flex-direction: column;
        justify-content: center;
        gap: 28px;
        z-index: 999;
        padding: 24px;
    }

    .nav-links.open {
        display: flex;
    }

    .nav-links a {
        font-size: 1.3rem;
    }

    .nav-hamburger {
        display: flex;
        z-index: 1001;
    }

    .navbar.menu-open {
        background: transparent !important;
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
        border-bottom: none !important;
    }

    .theme-toggles {
        margin-left: auto;
        margin-right: 12px;
    }

    .lang-select,
    .option-select {
        font-size: 0.75rem;
        padding: 4px 6px;
    }

    .theme-btn {
        width: 32px;
        height: 32px;
        font-size: 0.8rem;
    }

    .hero-title {
        font-size: clamp(1.8rem, 5vw, 3rem);
    }

    .hero-description {
        font-size: 0.95rem;
        padding: 0 12px;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 12px;
    }

    .hero-stats {
        flex-direction: row;
        gap: 24px;
        margin-top: 48px;
        flex-wrap: wrap;
        justify-content: center;
    }

    .hero-stat-value {
        font-size: 1.6rem;
    }

    .hero-stat-label {
        font-size: 0.7rem;
    }

    .team-grid,
    .skills-grid,
    .services-grid {
        grid-template-columns: 1fr;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .stat-item:nth-child(2)::after {
        display: none;
    }

    .projects-grid {
        grid-template-columns: 1fr;
    }

    .project-meta {
        flex-wrap: wrap;
        gap: 8px;
    }

    .cta-contacts {
        grid-template-columns: 1fr;
    }

    .cta-box {
        padding: 48px 24px;
    }

    .project-filters {
        gap: 6px;
    }

    .filter-btn {
        padding: 6px 14px;
        font-size: 0.75rem;
    }

    .cursor-glow {
        display: none;
    }

    .process-timeline {
        flex-direction: column;
        gap: 32px;
        align-items: flex-start;
        padding-left: 48px;
    }

    .process-timeline::before {
        left: 36px;
        top: 0;
        bottom: 0;
        width: 2px;
        height: auto;
        right: auto;
    }

    .process-step {
        flex-direction: row;
        gap: 16px;
        text-align: left;
    }

    .process-step-number {
        width: 56px;
        height: 56px;
        font-size: 1.1rem;
        flex-shrink: 0;
    }

    .process-step-desc {
        max-width: none;
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .story-timeline {
        padding-left: 40px;
    }

    .story-chapter-icon {
        left: -40px;
        width: 32px;
        height: 32px;
        font-size: 0.9rem;
    }

    .story-timeline::before {
        left: 15px;
    }

    .modal-content {
        width: 95%;
        max-height: 85vh;
        padding: 28px 20px;
    }

    .modal-meta {
        flex-wrap: wrap;
    }

    .section-title {
        font-size: clamp(1.5rem, 4vw, 2.2rem);
    }

    .section-subtitle {
        font-size: 0.88rem;
        padding: 0 8px;
    }

    .story-quote blockquote {
        font-size: 1rem;
    }
}

@media (max-width:480px) {
    :root {
        --section-pad: 60px;
    }

    .hero {
        padding-top: 70px;
    }

    .hero-title {
        font-size: 1.6rem;
    }

    .hero-title .line {
        margin-bottom: 2px;
    }

    .hero-description {
        font-size: 0.88rem;
        line-height: 1.7;
    }

    .hero-badge {
        font-size: 0.72rem;
        padding: 6px 14px;
    }

    .hero-stats {
        gap: 16px;
    }

    .hero-stat-value {
        font-size: 1.4rem;
    }

    .btn-primary,
    .btn-secondary {
        padding: 12px 28px;
        font-size: 0.88rem;
        width: 100%;
        justify-content: center;
    }

    .nav-logo {
        font-size: 0.6rem;
    }

    .theme-toggles {
        gap: 4px;
    }

    .theme-btn {
        width: 32px;
        height: 32px;
        font-size: 0.8rem;
    }

    .process-timeline {
        padding-left: 40px;
    }

    .process-step-number {
        width: 48px;
        height: 48px;
        font-size: 1rem;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .stat-number {
        font-size: 1.5rem;
    }

    .stat-text {
        font-size: 0.72rem;
    }

    .project-card {
        padding: 24px 18px;
    }

    .project-name {
        font-size: 1.05rem;
    }

    .team-avatar {
        width: 80px;
        height: 80px;
        font-size: 1.6rem;
    }

    .team-name {
        font-size: 1.1rem;
    }

    .cta-title {
        font-size: 1.5rem;
    }

    .cta-buttons {
        flex-direction: column;
        width: 100%;
    }

    .hero-marquee {
        margin-top: 36px;
    }

    .marquee-item {
        font-size: 0.72rem;
    }

    .skill-card {
        padding: 24px 18px;
    }
}