:root {
    --accent: #00d4aa;
    --accent-dim: rgba(0, 212, 170, 0.15);
    --dark-950: #050508;
    --dark-900: #0a0a0f;
    --dark-800: #111118;
    --dark-700: #1a1a24;
    --text-primary: #f0f0f5;
    --text-secondary: #b0b0c0;
    --text-muted: #7a7a90;
    --radius: 1.25rem;
}

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

body {
    background: var(--dark-950);
    color: var(--text-primary);
    overflow-x: hidden;
}

::selection {
    background: rgba(0, 212, 170, 0.3);
    color: #fff;
}

::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: rgba(0, 212, 170, 0.3); border-radius: 2px; }

.grain-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 9998;
    opacity: 0.03;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
}

.brand-logo {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    position: relative;
}
.brand-logo-text {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    background: linear-gradient(135deg, var(--accent), #06ffa5);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 0 12px rgba(0, 212, 170, 0.3));
}
.brand-logo-dot {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.5rem;
    font-weight: 800;
    color: #fff;
    -webkit-text-fill-color: #fff;
}
.brand-logo:hover .brand-logo-text {
    filter: drop-shadow(0 0 20px rgba(0, 212, 170, 0.5));
}

nav#navbar {
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}
.navbar-3d {
    background: linear-gradient(180deg, #0f0f18 0%, #0a0a12 100%);
    border-bottom: 2px solid rgba(0, 212, 170, 0.2);
    box-shadow:
        0 4px 20px rgba(0, 0, 0, 0.6),
        0 8px 40px rgba(0, 212, 170, 0.06),
        inset 0 1px 0 rgba(255, 255, 255, 0.05),
        inset 0 -1px 0 rgba(0, 0, 0, 0.3);
}
.navbar-scrolled {
    background: linear-gradient(180deg, #0f0f18 0%, #0a0a12 100%) !important;
    backdrop-filter: blur(30px) saturate(1.5);
    border-bottom: 2px solid rgba(0, 212, 170, 0.25);
    box-shadow:
        0 8px 40px rgba(0, 0, 0, 0.7),
        0 12px 50px rgba(0, 212, 170, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.nav-link {
    position: relative;
    color: var(--text-secondary);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    transition: color 0.4s;
    padding: 0.5rem 0.75rem;
    border-radius: 8px;
}
.nav-link:hover {
    color: var(--text-primary);
    background: rgba(0, 212, 170, 0.06);
}
.nav-link.active {
    color: var(--accent);
    background: rgba(0, 212, 170, 0.08);
}
.nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    transform: translateX(-50%);
    border-radius: 2px;
}
.nav-link:hover::after, .nav-link.active::after { width: 60%; }

.hero-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.reveal-text {
    overflow: hidden;
    display: inline-block;
}
.reveal-text span {
    display: inline-block;
    transform: translateY(120%);
    transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal-text.visible span {
    transform: translateY(0);
}

.fade-up {
    opacity: 0;
    transform: translateY(60px);
    transition: all 1s cubic-bezier(0.16, 1, 0.3, 1);
}
.fade-up.visible, .hero-section .fade-up {
    opacity: 1;
    transform: translateY(0);
}
.hero-section .fade-up {
    animation: heroFadeIn 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
@keyframes heroFadeIn {
    from { opacity: 0; transform: translateY(60px); }
    to { opacity: 1; transform: translateY(0); }
}

.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.fade-in-left {
    opacity: 0;
    transform: translateX(-40px);
    transition: all 1s cubic-bezier(0.16, 1, 0.3, 1);
}
.fade-in-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.fade-in-right {
    opacity: 0;
    transform: translateX(40px);
    transition: all 1s cubic-bezier(0.16, 1, 0.3, 1);
}
.fade-in-right.visible {
    opacity: 1;
    transform: translateX(0);
}

.scale-in {
    opacity: 0;
    transform: scale(0.9);
    transition: all 1s cubic-bezier(0.16, 1, 0.3, 1);
}
.scale-in.visible {
    opacity: 1;
    transform: scale(1);
}

.stagger-item {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.stagger-item.visible {
    opacity: 1;
    transform: translateY(0);
}

.magnetic-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2.5rem;
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    border: none;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    overflow: hidden;
}
.magnetic-btn-primary {
    background: var(--accent);
    color: var(--dark-950);
    border-radius: 100px;
}
.magnetic-btn-primary:hover {
    box-shadow: 0 0 40px rgba(0, 212, 170, 0.4);
}
.magnetic-btn-secondary {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 100px;
}
.magnetic-btn-secondary:hover {
    border-color: var(--accent);
    color: var(--accent);
}

.glass-card {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.01));
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: var(--radius);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    transform-style: preserve-3d;
    perspective: 1000px;
    box-shadow:
        0 4px 16px rgba(0, 0, 0, 0.2),
        0 8px 32px rgba(0, 0, 0, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.04);
}
.glass-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 1px;
    background: linear-gradient(135deg, rgba(0,212,170,0.08), rgba(0,212,170,0.15), rgba(0,212,170,0));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.5s;
    pointer-events: none;
}
.glass-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.08), transparent);
    border-radius: inherit;
    pointer-events: none;
}
.glass-card:hover::before { opacity: 1; }
.glass-card:hover {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
    border-color: rgba(0, 212, 170, 0.15);
    box-shadow:
        0 20px 50px rgba(0, 0, 0, 0.4),
        0 8px 24px rgba(0, 212, 170, 0.06),
        inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.card-3d {
    perspective: 1000px;
}
.card-3d-inner {
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    transform-style: preserve-3d;
}

.floating-shapes {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}
.float-shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0;
    animation: floatShape 20s ease-in-out infinite;
}
.float-shape:nth-child(1) {
    width: 300px;
    height: 300px;
    top: 10%;
    right: -5%;
    background: radial-gradient(circle, rgba(0,212,170,0.04), transparent 70%);
    animation-delay: 0s;
    animation-duration: 25s;
}
.float-shape:nth-child(2) {
    width: 200px;
    height: 200px;
    top: 60%;
    left: -3%;
    background: radial-gradient(circle, rgba(0,212,170,0.03), transparent 70%);
    animation-delay: -5s;
    animation-duration: 20s;
}
.float-shape:nth-child(3) {
    width: 150px;
    height: 150px;
    top: 30%;
    left: 70%;
    background: radial-gradient(circle, rgba(0,212,170,0.035), transparent 70%);
    animation-delay: -10s;
    animation-duration: 22s;
}
.float-shape:nth-child(4) {
    width: 100px;
    height: 100px;
    top: 80%;
    right: 20%;
    background: radial-gradient(circle, rgba(0,212,170,0.04), transparent 70%);
    animation-delay: -15s;
    animation-duration: 18s;
}
@keyframes floatShape {
    0%, 100% { opacity: 0.4; transform: translate(0, 0) scale(1); }
    25% { opacity: 0.7; transform: translate(30px, -40px) scale(1.1); }
    50% { opacity: 0.5; transform: translate(-20px, -60px) scale(0.95); }
    75% { opacity: 0.8; transform: translate(40px, -20px) scale(1.05); }
}

.depth-section {
    position: relative;
    transform-style: preserve-3d;
}
.depth-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(0,212,170,0.08), transparent);
}

.parallax-float {
    transition: transform 0.3s ease-out;
    will-change: transform;
}

.tilt-card {
    transform-style: preserve-3d;
    perspective: 800px;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.tilt-card:hover {
    box-shadow:
        0 25px 60px rgba(0, 0, 0, 0.4),
        0 10px 30px rgba(0, 212, 170, 0.08);
}
.tilt-card .tilt-card-shine,
.stat-card-3d .tilt-card-shine {
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: radial-gradient(circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(0,212,170,0.06), transparent 60%);
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.4s;
    z-index: 1;
}
.tilt-card:hover .tilt-card-shine,
.stat-card-3d:hover .tilt-card-shine { opacity: 1; }

.glow-dot {
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 10px rgba(0,212,170,0.5), 0 0 20px rgba(0,212,170,0.3);
    position: absolute;
    animation: glowDotFloat 6s ease-in-out infinite;
}
@keyframes glowDotFloat {
    0%, 100% { opacity: 0.3; transform: translateY(0); }
    50% { opacity: 0.8; transform: translateY(-15px); }
}

.section-3d-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}
.section-3d-bg .geo-line {
    position: absolute;
    background: linear-gradient(180deg, transparent, rgba(0,212,170,0.04), transparent);
    width: 1px;
}
.section-3d-bg .geo-ring {
    position: absolute;
    border: 1px solid rgba(0,212,170,0.04);
    border-radius: 50%;
    animation: geoRingSpin 40s linear infinite;
}
@keyframes geoRingSpin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.hero-floating-geo {
    position: absolute;
    pointer-events: none;
    z-index: 1;
}
.hero-geo-cube {
    width: 40px;
    height: 40px;
    border: 1px solid rgba(0, 212, 170, 0.1);
    position: absolute;
    animation: geoCubeFloat 12s ease-in-out infinite;
    transform-style: preserve-3d;
}
@keyframes geoCubeFloat {
    0%, 100% { transform: rotate(0deg) translateY(0); opacity: 0.3; }
    50% { transform: rotate(180deg) translateY(-30px); opacity: 0.6; }
}
.hero-geo-triangle {
    width: 0;
    height: 0;
    border-left: 15px solid transparent;
    border-right: 15px solid transparent;
    border-bottom: 26px solid rgba(0, 212, 170, 0.06);
    position: absolute;
    animation: geoTriFloat 15s ease-in-out infinite;
}
@keyframes geoTriFloat {
    0%, 100% { transform: rotate(0deg) translateY(0); opacity: 0.2; }
    33% { transform: rotate(120deg) translateY(-25px); opacity: 0.5; }
    66% { transform: rotate(240deg) translateY(-10px); opacity: 0.3; }
}
.hero-geo-circle {
    border: 1px solid rgba(0, 212, 170, 0.08);
    border-radius: 50%;
    position: absolute;
    animation: geoCircleFloat 18s ease-in-out infinite;
}
@keyframes geoCircleFloat {
    0%, 100% { transform: scale(1) translateY(0); opacity: 0.2; }
    50% { transform: scale(1.15) translateY(-20px); opacity: 0.4; }
}

.magnetic-btn-primary {
    box-shadow: 0 4px 15px rgba(0, 212, 170, 0.2), 0 0 0 0 rgba(0, 212, 170, 0);
    transform: translateZ(0);
}
.magnetic-btn-primary:hover {
    box-shadow: 0 8px 40px rgba(0, 212, 170, 0.4), 0 0 60px rgba(0, 212, 170, 0.1);
    transform: translateY(-2px) translateZ(10px);
}
.magnetic-btn-secondary {
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}
.magnetic-btn-secondary:hover {
    box-shadow: 0 8px 30px rgba(0, 212, 170, 0.15);
    transform: translateY(-2px);
}

.stat-card-3d {
    position: relative;
    transform-style: preserve-3d;
    perspective: 600px;
}
.stat-card-3d::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 10%;
    right: 10%;
    height: 20px;
    background: rgba(0, 212, 170, 0.05);
    filter: blur(15px);
    border-radius: 50%;
    transition: all 0.4s;
}
.stat-card-3d:hover::after {
    bottom: -12px;
    left: 5%;
    right: 5%;
    background: rgba(0, 212, 170, 0.1);
    filter: blur(20px);
}

.icon-minimal {
    transform: translateZ(20px);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}
.glass-card:hover .icon-minimal {
    transform: translateZ(30px) scale(1.05);
}

.section-label {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 1rem;
}
.section-label::before {
    content: '';
    width: 30px;
    height: 1px;
    background: var(--accent);
}

.section-heading {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.02em;
    margin-bottom: 1.25rem;
}

.accent-text {
    color: var(--accent);
}

.text-gradient {
    background: linear-gradient(135deg, #ffffff 30%, var(--accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.text-gradient-hero {
    background: linear-gradient(135deg, #ffffff 20%, var(--accent) 80%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 0 40px rgba(0, 212, 170, 0.15));
}

.divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.06), transparent);
    margin: 0;
    border: none;
}

.counter-number {
    font-variant-numeric: tabular-nums;
}

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

.marquee-track {
    display: flex;
    animation: marquee 30s linear infinite;
    width: max-content;
}
@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.portfolio-item {
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.portfolio-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 40%, rgba(5,5,8,0.95));
    opacity: 0;
    transition: opacity 0.5s;
    display: flex;
    align-items: flex-end;
    padding: 2rem;
}
.portfolio-item:hover .portfolio-overlay { opacity: 1; }

.filter-btn {
    padding: 0.5rem 1.5rem;
    border-radius: 100px;
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    border: 1px solid rgba(255,255,255,0.08);
    background: transparent;
    color: var(--text-muted);
    cursor: pointer;
    transition: all 0.4s;
}
.filter-btn:hover, .filter-btn.active {
    background: var(--accent);
    border-color: var(--accent);
    color: var(--dark-950);
}

.timeline-line {
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 1px;
    background: linear-gradient(180deg, transparent, rgba(0,212,170,0.3), transparent);
    transform: translateX(-50%);
}
@media (max-width: 768px) {
    .timeline-line { left: 1rem; }
}

.timeline-dot {
    width: 10px;
    height: 10px;
    background: var(--accent);
    border-radius: 50%;
    box-shadow: 0 0 20px rgba(0, 212, 170, 0.5);
    z-index: 2;
    position: relative;
}

.skill-bar-fill {
    height: 100%;
    border-radius: 100px;
    background: linear-gradient(90deg, var(--accent), #06ffa5);
    transition: width 1.8s cubic-bezier(0.16, 1, 0.3, 1);
    width: 0;
}
.skill-bar-fill.animated { width: var(--target-width); }

.meeting-form-card {
    position: relative;
    border-radius: 1.5rem;
    overflow: hidden;
}
.meeting-form-glow {
    position: absolute;
    top: -1px; left: -1px; right: -1px; bottom: -1px;
    border-radius: inherit;
    background: linear-gradient(135deg, rgba(0, 212, 170, 0.15), rgba(0, 212, 170, 0.02) 40%, rgba(0, 212, 170, 0.02) 60%, rgba(0, 212, 170, 0.08));
    z-index: 0;
}
.meeting-form-inner {
    position: relative;
    z-index: 1;
    background: linear-gradient(180deg, rgba(17, 17, 24, 0.97), rgba(10, 10, 15, 0.99));
    border-radius: calc(1.5rem - 1px);
    margin: 1.5px;
    padding: 2.5rem;
}
@media (max-width: 768px) {
    .meeting-form-inner { padding: 1.5rem; }
}

.form-label {
    display: block;
    font-size: 0.875rem;
    color: #d1d5db;
    margin-bottom: 0.5rem;
    font-weight: 500;
    letter-spacing: 0.02em;
}

.form-input-wrapper {
    position: relative;
}
.form-input-icon {
    position: absolute;
    left: 1.1rem;
    top: 50%;
    transform: translateY(-50%);
    color: #555;
    font-size: 0.8rem;
    pointer-events: none;
    transition: color 0.3s;
}
.form-input-wrapper:focus-within .form-input-icon {
    color: var(--accent);
}

.contact-form input,
.contact-form textarea,
.contact-form select {
    background: rgba(255, 255, 255, 0.03);
    border: 1.5px solid rgba(255, 255, 255, 0.08);
    border-radius: 0.875rem;
    padding: 0.95rem 1.15rem 0.95rem 3rem;
    color: #f0f0f5;
    font-size: 0.95rem;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    width: 100%;
    outline: none;
    font-family: inherit;
}
.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
    border-color: rgba(0, 212, 170, 0.6);
    background: rgba(0, 212, 170, 0.03);
    box-shadow: 0 0 0 4px rgba(0, 212, 170, 0.06), 0 4px 20px rgba(0, 212, 170, 0.08);
}
.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: #555;
    font-size: 0.9rem;
}

.meeting-select-wrapper {
    position: relative;
}
.meeting-select-wrapper select {
    appearance: none;
    -webkit-appearance: none;
    cursor: pointer;
    padding-right: 3rem;
}
.meeting-select-wrapper select option {
    background: #111118;
    color: #f0f0f5;
    padding: 0.5rem;
}
.meeting-select-icon {
    position: absolute;
    right: 1.25rem;
    top: 50%;
    transform: translateY(-50%);
    color: #555;
    font-size: 0.7rem;
    pointer-events: none;
    transition: color 0.3s;
}
.meeting-select-wrapper:focus-within .meeting-select-icon {
    color: var(--accent);
}

.meeting-submit-btn {
    position: relative;
    width: 100%;
    padding: 1.1rem 2rem;
    border: none;
    border-radius: 0.875rem;
    background: linear-gradient(135deg, #00d4aa, #00b894);
    color: #050508;
    font-family: inherit;
    font-size: 0.95rem;
    font-weight: 700;
    cursor: pointer;
    overflow: hidden;
    transition: all 0.35s;
    letter-spacing: 0.02em;
}
.meeting-submit-btn-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #00e6b8, #00d4aa);
    opacity: 0;
    transition: opacity 0.35s;
}
.meeting-submit-btn:hover .meeting-submit-btn-bg { opacity: 1; }
.meeting-submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0, 212, 170, 0.3), 0 0 0 1px rgba(0, 212, 170, 0.2);
}
.meeting-submit-btn:disabled {
    opacity: 0.7;
    transform: none;
    cursor: not-allowed;
}

.success-check-anim {
    animation: successPulse 2s ease-in-out infinite;
}
@keyframes successPulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(0, 212, 170, 0.2); }
    50% { box-shadow: 0 0 0 15px rgba(0, 212, 170, 0); }
}

.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.95);
    z-index: 100;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    backdrop-filter: blur(20px);
}
.lightbox.active { display: flex; }
.lightbox img { max-width: 90%; max-height: 90vh; border-radius: var(--radius); }
.lightbox-close {
    position: absolute;
    top: 2rem;
    right: 2rem;
    color: white;
    font-size: 1.25rem;
    cursor: pointer;
    background: rgba(255,255,255,0.05);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255,255,255,0.1);
    transition: all 0.3s;
}
.lightbox-close:hover { background: rgba(255,255,255,0.1); border-color: var(--accent); }

.toast {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    padding: 1rem 1.75rem;
    border-radius: 100px;
    font-size: 0.85rem;
    z-index: 200;
    transform: translateY(100px);
    opacity: 0;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}
.toast.show { transform: translateY(0); opacity: 1; }
.toast.success { background: rgba(0, 212, 170, 0.9); color: var(--dark-950); }
.toast.error { background: rgba(239, 68, 68, 0.9); color: #fff; }

.glow-line {
    position: absolute;
    width: 1px;
    height: 100%;
    background: linear-gradient(180deg, transparent, var(--accent), transparent);
    opacity: 0.1;
}

.hero-glow {
    position: absolute;
    width: 800px;
    height: 800px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0,212,170,0.12), transparent 70%);
    pointer-events: none;
    filter: blur(80px);
    animation: glowPulse 6s ease-in-out infinite;
}
@keyframes glowPulse {
    0%, 100% { opacity: 0.6; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.1); }
}

.mobile-menu-toggle {
    width: 36px;
    height: 36px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    padding: 6px;
    border-radius: 8px;
    border: 1px solid rgba(255,255,255,0.08);
    background: rgba(255,255,255,0.03);
    cursor: pointer;
    transition: all 0.3s;
    display: none;
}
@media (max-width: 767px) {
    .mobile-menu-toggle { display: flex; }
}
.mobile-menu-toggle:hover {
    border-color: rgba(0,212,170,0.3);
    background: rgba(0,212,170,0.05);
}
.hamburger-line {
    display: block;
    width: 18px;
    height: 2px;
    background: var(--accent);
    border-radius: 2px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.mobile-menu-toggle.menu-open .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}
.mobile-menu-toggle.menu-open .hamburger-line:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}
.mobile-menu-toggle.menu-open .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

.social-icon-btn {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.06);
    border: 1.5px solid rgba(255, 255, 255, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.75);
    font-size: 1rem;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}
.social-icon-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: linear-gradient(135deg, rgba(0, 212, 170, 0.15), rgba(0, 212, 170, 0.05));
    opacity: 0;
    transition: opacity 0.35s;
}
.social-icon-btn:hover {
    border-color: rgba(0, 212, 170, 0.5);
    color: var(--accent);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 212, 170, 0.2), 0 0 0 1px rgba(0, 212, 170, 0.1);
}
.social-icon-btn:hover::before { opacity: 1; }
.social-icon-btn i, .social-icon-btn svg { position: relative; z-index: 1; }

.social-icon-btn-lg {
    width: 48px;
    height: 48px;
    border-radius: 16px;
    font-size: 1.1rem;
}
.social-icon-btn-sm {
    width: 38px;
    height: 38px;
    border-radius: 12px;
    font-size: 0.85rem;
    flex-shrink: 0;
}

.social-link-row {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.6rem 0.75rem;
    border-radius: 14px;
    transition: all 0.3s;
    text-decoration: none;
}
.social-link-row:hover {
    background: rgba(255, 255, 255, 0.04);
}

.badge {
    display: inline-flex;
    align-items: center;
    padding: 0.25rem 0.75rem;
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--accent);
    background: rgba(0, 212, 170, 0.08);
    border: 1px solid rgba(0, 212, 170, 0.15);
    border-radius: 100px;
    letter-spacing: 0.05em;
}

.icon-minimal {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    background: rgba(0, 212, 170, 0.08);
    border: 1px solid rgba(0, 212, 170, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    font-size: 1.25rem;
    transition: all 0.4s;
}
.glass-card:hover .icon-minimal {
    background: rgba(0, 212, 170, 0.15);
    border-color: rgba(0, 212, 170, 0.3);
    box-shadow: 0 0 30px rgba(0, 212, 170, 0.15);
}

.page-hero {
    padding-top: 8rem;
    padding-bottom: 3.5rem;
    position: relative;
    overflow: hidden;
}
.page-hero::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(0,212,170,0.06), transparent 70%);
    border-radius: 50%;
    filter: blur(60px);
    pointer-events: none;
    animation: glowPulse 8s ease-in-out infinite;
}
.page-hero::after {
    content: '';
    position: absolute;
    bottom: -50px;
    left: -100px;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(0,212,170,0.04), transparent 70%);
    border-radius: 50%;
    filter: blur(50px);
    pointer-events: none;
    animation: glowPulse 10s ease-in-out infinite;
    animation-delay: -3s;
}

.horizontal-scroll-wrapper {
    display: flex;
    gap: 1.5rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: 1rem;
}
.horizontal-scroll-wrapper::-webkit-scrollbar { display: none; }
.horizontal-scroll-wrapper > * {
    scroll-snap-align: start;
    flex-shrink: 0;
}

.glow-text {
    background: linear-gradient(135deg, var(--accent), #06ffa5);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-number {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    letter-spacing: -0.04em;
    line-height: 1;
    color: var(--accent);
}

.profile-3d-wrapper {
    display: inline-block;
}
.profile-3d {
    position: relative;
    width: 280px;
    height: 280px;
    border-radius: 50%;
}
.profile-3d img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    position: relative;
    z-index: 2;
}
.profile-3d::before {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent), #06ffa5, var(--accent));
    z-index: 1;
}
.profile-3d::after {
    content: '';
    position: absolute;
    inset: -15px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0, 212, 170, 0.25), transparent 70%);
    z-index: 0;
    filter: blur(20px);
}

.profile-3d-lg {
    width: 280px;
    height: 280px;
}

@media (max-width: 768px) {
    .section-heading { font-size: 1.5rem; }
    .magnetic-btn { padding: 0.875rem 2rem; font-size: 0.8rem; width: 100%; text-align: center; justify-content: center; }
    .profile-3d { width: 200px; height: 200px; }
    .profile-3d-lg { width: 220px; height: 220px; }
    .page-hero { padding-top: 6rem; padding-bottom: 2rem; }
    .section-label { font-size: 0.7rem; }
    .stat-number { font-size: 1.75rem; }
    .glass-card { padding: 1.25rem; }
    .navbar-3d .max-w-6xl { padding-left: 1rem; padding-right: 1rem; }
    .prompt-category-card { padding: 1.5rem; }
    .social-icon-btn-lg { width: 40px; height: 40px; }
    .card-3d { perspective: none; }
    .card-3d-inner { transform: none !important; }
    .floating-shapes, .grain-overlay, .hero-floating-geo, .section-3d-bg, .hero-canvas { display: none !important; }
    .tilt-card-shine { display: none; }
    .glass-card::before { display: none; }
    .stat-card-3d::after { display: none; }
    .float-shape { animation: none !important; }
    .geo-ring { animation: none !important; }
    .glow-dot { display: none; }
    .hero-glow { display: none; }
}
@media (max-width: 480px) {
    .section-heading { font-size: 1.35rem; }
    .profile-3d { width: 160px; height: 160px; }
    .profile-3d-lg { width: 180px; height: 180px; }
    .stat-number { font-size: 1.5rem; }
}
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}

.prompt-grid-bg {
    background-image:
        linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
    background-size: 60px 60px;
}

.prompt-stat-card {
    padding: 1.5rem;
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.prompt-category-card {
    padding: 2rem;
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.prompt-category-card:hover {
    border-color: rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.04);
    transform: translateY(-4px);
}

.prompt-category-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    border: 1.5px solid;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    margin-bottom: 1.25rem;
    transition: all 0.4s;
}
.prompt-category-card:hover .prompt-category-icon {
    transform: scale(1.08);
}

.prompt-cta-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(0, 212, 170, 0.06) 0%, transparent 70%);
    pointer-events: none;
}

.phone-gallery {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 3rem;
}
.phone-frame {
    width: 100%;
    max-width: 380px;
    background: #111118;
    border-radius: 2.5rem;
    border: 3px solid rgba(255,255,255,0.08);
    padding: 0.75rem;
    position: relative;
    box-shadow: 0 25px 80px rgba(0,0,0,0.5), 0 0 60px rgba(0,212,170,0.04), 0 0 0 1px rgba(255,255,255,0.03), inset 0 1px 0 rgba(255,255,255,0.04);
}
.phone-notch {
    width: 100px;
    height: 6px;
    background: rgba(255,255,255,0.08);
    border-radius: 3px;
    margin: 0.4rem auto 0.6rem;
}
.phone-screen {
    border-radius: 1.75rem;
    overflow: hidden;
    position: relative;
    background: #0a0a0f;
    aspect-ratio: 3/4;
}
.phone-track {
    display: flex;
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    height: 100%;
}
.phone-slide {
    min-width: 100%;
    height: 100%;
    position: relative;
}
.phone-slide figure {
    width: 100%;
    height: 100%;
    margin: 0;
}
.phone-slide-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.phone-slide-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 2.5rem 1rem 1rem;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}
.phone-slide-title {
    color: #fff;
    font-size: 0.8rem;
    font-weight: 600;
    font-family: 'Space Grotesk', sans-serif;
}
.phone-slide-desc {
    color: rgba(255,255,255,0.6);
    font-size: 0.65rem;
}
.phone-counter {
    position: absolute;
    top: 0.75rem;
    right: 0.875rem;
    background: rgba(0,0,0,0.5);
    backdrop-filter: blur(8px);
    padding: 0.2rem 0.5rem;
    border-radius: 0.5rem;
    font-size: 0.65rem;
    color: rgba(255,255,255,0.7);
    font-family: 'Space Grotesk', sans-serif;
    letter-spacing: 0.05em;
    z-index: 3;
}
.phone-home-bar {
    width: 100px;
    height: 4px;
    background: rgba(255,255,255,0.12);
    border-radius: 2px;
    margin: 0.6rem auto 0.3rem;
}
.phone-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255,255,255,0.04);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255,255,255,0.08);
    color: rgba(255,255,255,0.6);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.25s;
    z-index: 5;
}
.phone-nav:hover {
    background: rgba(0,212,170,0.1);
    border-color: rgba(0,212,170,0.3);
    color: var(--accent);
}
.phone-nav-prev { left: 0; }
.phone-nav-next { right: 0; }

.thumb-strip {
    margin-top: 1.5rem;
    display: flex;
    justify-content: center;
}
.thumb-strip-inner {
    display: flex;
    gap: 0.5rem;
    overflow-x: auto;
    padding: 0.5rem 1rem;
    scrollbar-width: none;
    scroll-behavior: smooth;
    max-width: 500px;
}
.thumb-strip-inner::-webkit-scrollbar { display: none; }
.thumb-item {
    flex-shrink: 0;
    width: 56px;
    height: 56px;
    border-radius: 0.625rem;
    overflow: hidden;
    border: 2px solid transparent;
    cursor: pointer;
    transition: all 0.25s;
    padding: 0;
    background: none;
    opacity: 0.5;
}
.thumb-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.thumb-item:hover {
    opacity: 0.8;
    border-color: rgba(255,255,255,0.15);
}
.thumb-active {
    opacity: 1;
    border-color: var(--accent);
    box-shadow: 0 0 12px rgba(0,212,170,0.2);
}

@media (max-width: 768px) {
    .phone-gallery { padding: 0 2.5rem; }
    .phone-frame { max-width: 320px; border-radius: 2rem; padding: 0.5rem; }
    .phone-screen { border-radius: 1.5rem; }
    .phone-notch { width: 80px; height: 5px; margin: 0.3rem auto 0.4rem; }
    .phone-home-bar { width: 80px; margin: 0.4rem auto 0.2rem; }
    .phone-nav { width: 32px; height: 32px; }
    .phone-nav svg { width: 14px; height: 14px; }
    .thumb-item { width: 48px; height: 48px; }
}
@media (max-width: 480px) {
    .phone-gallery { padding: 0 2rem; }
    .phone-frame { max-width: 280px; border-width: 2px; border-radius: 1.75rem; }
    .phone-screen { border-radius: 1.25rem; }
    .phone-nav { width: 28px; height: 28px; }
    .phone-nav svg { width: 12px; height: 12px; }
    .thumb-item { width: 42px; height: 42px; border-radius: 0.5rem; }
}
