
:root {
    --pink: #F0399B;
    --purple: #8B2FE0;
    --blue: #2E5CF0;
    --gradient: linear-gradient(135deg, var(--pink) 0%, var(--purple) 50%, var(--blue) 100%);
    --gradient-shimmer: linear-gradient(110deg, var(--pink) 0%, var(--purple) 30%, var(--blue) 55%, var(--purple) 75%, var(--pink) 100%);

    --bg: #050510;
    --bg-alt: #0B0C1B;
    --surface: #12132a;
    --surface-hover: #1A1C38;
    --border: rgba(255, 255, 255, 0.08);
    --border-hover: rgba(255, 255, 255, 0.18);

    --text: #F5F5FB;
    --text-muted: #9CA0B8;
    --text-dim: #676B85;

    --radius-sm: 10px;
    --radius: 16px;
    --radius-lg: 24px;

    --shadow: 0 20px 60px -20px rgba(0, 0, 0, 0.7);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html { scroll-behavior: smooth; }

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

h1, h2, h3, h4, .logo, .btn, .nav-links a {
    font-family: 'Plus Jakarta Sans', sans-serif;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; display: block; }

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

.gradient-bg {
    position: fixed;
    inset: 0;
    z-index: -3;
    overflow: hidden;
    background: var(--bg);
}

.gradient-bg::before {
    content: '';
    position: absolute;
    inset: -10%;
    background:
        radial-gradient(ellipse 900px 620px at 12% -8%, rgba(240, 57, 155, 0.24), transparent 60%),
        radial-gradient(ellipse 820px 720px at 108% 18%, rgba(46, 92, 240, 0.26), transparent 60%),
        radial-gradient(ellipse 760px 640px at 48% 106%, rgba(139, 47, 224, 0.22), transparent 60%),
        radial-gradient(ellipse 500px 500px at 60% 40%, rgba(240, 57, 155, 0.08), transparent 65%);
    animation: bg-drift 22s ease-in-out infinite alternate;
    filter: blur(4px);
}

.gradient-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    opacity: 0.05;
    mix-blend-mode: overlay;
    pointer-events: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

@keyframes bg-drift {
    0%   { transform: translate3d(0, 0, 0) scale(1); }
    50%  { transform: translate3d(-2%, 1.5%, 0) scale(1.04); }
    100% { transform: translate3d(2%, -1%, 0) scale(1.02); }
}

#fx-canvas {
    position: fixed;
    inset: 0;
    z-index: -2;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

@media (prefers-reduced-motion: reduce) {
    .gradient-bg::before { animation: none; }
}

.navbar {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(10, 11, 20, 0.72);
    backdrop-filter: blur(16px) saturate(140%);
    -webkit-backdrop-filter: blur(16px) saturate(140%);
    border-bottom: 1px solid var(--border);
}

.nav-container {
    max-width: 1180px;
    margin: 0 auto;
    padding: 18px 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    font-weight: 700;
    font-size: 1.25rem;
    display: flex;
    align-items: center;
    gap: 9px;
    letter-spacing: -0.02em;
}

.logo-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--gradient);
    box-shadow: 0 0 14px rgba(236, 72, 153, 0.7);
}

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

.nav-links a {
    font-size: 0.94rem;
    font-weight: 500;
    color: var(--text-muted);
    transition: var(--transition);
    position: relative;
    padding: 6px 0;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--text);
}

.nav-links a.active::after {
    content: '';
    position: absolute;
    left: 0; right: 0; bottom: -3px;
    height: 2px;
    background: var(--gradient);
    border-radius: 2px;
}

.nav-links a.cta-link {
    color: var(--text);
    background: var(--gradient);
    padding: 9px 20px;
    border-radius: 999px;
    font-weight: 600;
}

.nav-links a.cta-link::after { display: none; }

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.hamburger span {
    width: 22px;
    height: 2px;
    background: var(--text);
    border-radius: 2px;
    transition: var(--transition);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 30px;
    border-radius: 999px;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    border: none;
    transition: var(--transition);
    white-space: nowrap;
    position: relative;
    overflow: hidden;
    isolation: isolate;
}

.btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(115deg, transparent 20%, rgba(255, 255, 255, 0.35) 42%, rgba(255, 255, 255, 0.35) 46%, transparent 65%);
    transform: translateX(-120%);
    transition: transform 0.65s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1;
    pointer-events: none;
}

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

.btn-primary {
    background: var(--gradient-shimmer);
    background-size: 220% 220%;
    color: #fff;
    box-shadow: 0 10px 30px -8px rgba(240, 57, 155, 0.5);
    animation: btn-shift 6s ease infinite;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 40px -8px rgba(240, 57, 155, 0.7);
}

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

.btn-secondary {
    background: transparent;
    color: var(--text);
    border: 1px solid var(--border-hover);
}

.btn-secondary:hover {
    background: var(--surface-hover);
    border-color: rgba(255, 255, 255, 0.28);
    transform: translateY(-2px);
}

.page-hero {
    padding: 100px 0 60px;
    text-align: center;
}

.eyebrow {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--pink);
    background: rgba(236, 72, 153, 0.1);
    border: 1px solid rgba(236, 72, 153, 0.25);
    padding: 6px 16px;
    border-radius: 999px;
    margin-bottom: 20px;
}

.page-hero h1 {
    font-size: clamp(2.2rem, 5vw, 3.2rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: 14px;
}

.page-hero p {
    color: var(--text-muted);
    font-size: 1.05rem;
    max-width: 560px;
    margin: 0 auto;
}

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

.hero {
    padding: 90px 0 70px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-video-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
}

.hero-video-bg video,
.hero-video-bg img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.5;
}

.hero-video-bg canvas {
    display: block;
    width: 100%;
    height: 100%;
}

.space-scene { background: #05060f; }

.hero-video-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, var(--bg) 0%, rgba(5, 5, 16, 0.55) 30%, rgba(5, 5, 16, 0.75) 70%, var(--bg) 100%),
        radial-gradient(ellipse 700px 500px at 50% 35%, rgba(240, 57, 155, 0.12), transparent 65%);
}

.hero-content {
    max-width: 720px;
    margin: 0 auto;
    padding: 0 32px;
    position: relative;
    z-index: 1;
}

.hero-content > * {
    opacity: 0;
    animation: hero-rise 0.9s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.hero-content > *:nth-child(1) { animation-delay: 0.05s; }
.hero-content > *:nth-child(2) { animation-delay: 0.18s; }
.hero-content > *:nth-child(3) { animation-delay: 0.28s; }
.hero-content > *:nth-child(4) { animation-delay: 0.38s; }
.hero-content > *:nth-child(5) { animation-delay: 0.48s; }
.hero-content > *:nth-child(6) { animation-delay: 0.58s; }
.hero-content > *:nth-child(7) { animation-delay: 0.68s; }

@keyframes hero-rise {
    from { opacity: 0; transform: translateY(22px); }
    to   { opacity: 1; transform: translateY(0); }
}

.orb-container {
    position: relative;
    width: 116px;
    height: 116px;
    margin: 0 auto 32px;
}

.orb-ring {
    position: absolute;
    inset: -18px;
    border-radius: 50%;
    border: 1px solid transparent;
    background: conic-gradient(from 0deg, var(--pink), var(--purple), var(--blue), var(--pink)) border-box;
    -webkit-mask: linear-gradient(#000 0 0) padding-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    padding: 1px;
    opacity: 0.55;
    animation: spin-slow 10s linear infinite;
}

@keyframes spin-slow {
    to { transform: rotate(360deg); }
}

.gradient-orb {
    width: 100%;
    height: 100%;
    position: relative;
    z-index: 2;
    animation: float 6s ease-in-out infinite;
}

.orb-glow {
    position: absolute;
    inset: -20px;
    background: var(--gradient);
    filter: blur(30px);
    opacity: 0.45;
    border-radius: 50%;
    z-index: 1;
    animation: pulse-glow 4s ease-in-out infinite;
}

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

@keyframes pulse-glow {
    0%, 100% { opacity: 0.35; transform: scale(1); }
    50% { opacity: 0.55; transform: scale(1.1); }
}

.hero-title {
    font-size: clamp(2.6rem, 6vw, 4rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    margin-bottom: 10px;
}

.hero-subtitle {
    font-size: 1.25rem;
    font-weight: 600;
    background: var(--gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 14px;
}

.hero-role-line {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 1.05rem;
    font-weight: 500;
    color: var(--text-muted);
    margin-bottom: 22px;
    min-height: 1.4em;
}

.hero-role-line .type-target {
    color: var(--text);
    font-weight: 600;
}

.hero-role-line .cursor {
    display: inline-block;
    width: 2px;
    margin-left: 2px;
    background: var(--pink);
    animation: blink 1s step-end 6;
}

.hero-role-line .cursor.done { animation: none; opacity: 0; }

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

.hero-description {
    color: var(--text-muted);
    font-size: 1.05rem;
    max-width: 520px;
    margin: 0 auto 30px;
}

.skill-badges {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-bottom: 36px;
}

.badge {
    font-size: 0.86rem;
    font-weight: 500;
    color: var(--text-muted);
    background: var(--surface);
    border: 1px solid var(--border);
    padding: 8px 16px;
    border-radius: 999px;
    transition: var(--transition);
}

.badge:hover {
    border-color: var(--border-hover);
    transform: translateY(-2px);
    color: var(--text);
}

.cta-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px;
}

.section-title {
    font-size: clamp(1.8rem, 3.6vw, 2.4rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    text-align: center;
    margin-bottom: 10px;
}

.section-subtitle {
    text-align: center;
    color: var(--text-muted);
    max-width: 480px;
    margin: 0 auto 48px;
}

section { padding: 70px 0; }

.projects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.project-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 34px 28px;
    transition: var(--transition);
}

.project-card:hover {
    transform: translateY(-6px);
    border-color: var(--border-hover);
    box-shadow: var(--shadow);
    background: var(--surface-hover);
}

.project-icon {
    font-size: 1.8rem;
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(236, 72, 153, 0.1);
    border-radius: var(--radius-sm);
    margin-bottom: 20px;
}

.project-card h3 {
    font-size: 1.15rem;
    margin-bottom: 10px;
    letter-spacing: -0.01em;
}

.project-card p {
    color: var(--text-muted);
    font-size: 0.92rem;
    margin-bottom: 16px;
}

.link-arrow {
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--pink);
    transition: var(--transition);
}

.link-arrow:hover { gap: 10px; }

.view-all { text-align: center; margin-top: 44px; }

.stats-section {
    background: var(--bg-alt);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    text-align: center;
}

.stat-number {
    font-size: clamp(2rem, 4vw, 2.6rem);
    font-weight: 800;
    background: var(--gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 6px;
}

.stat-label {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.testimonial-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 30px 26px;
}

.testimonial-stars { color: var(--pink); margin-bottom: 14px; letter-spacing: 2px; }

.testimonial-card p {
    color: var(--text-muted);
    font-size: 0.94rem;
    margin-bottom: 20px;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.author-avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.85rem;
    flex-shrink: 0;
    overflow: hidden;
    border: 1px solid var(--border-hover);
}

.author-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.author-name { font-weight: 600; font-size: 0.9rem; }
.author-role { color: var(--text-dim); font-size: 0.8rem; }

.cta-section {
    text-align: center;
    background: var(--surface);
    margin: 0 32px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    padding: 70px 32px;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 500px 300px at 50% 0%, rgba(123, 44, 191, 0.25), transparent 70%);
    pointer-events: none;
}

.cta-section h2 {
    font-size: clamp(1.6rem, 3.4vw, 2.2rem);
    font-weight: 800;
    margin-bottom: 12px;
    position: relative;
}

.cta-section p {
    color: var(--text-muted);
    margin-bottom: 30px;
    position: relative;
}

.cta-section .btn { position: relative; }

.about-grid {
    display: grid;
    grid-template-columns: 340px 1fr;
    gap: 56px;
    align-items: start;
}

.about-photo {
    aspect-ratio: 1;
    border-radius: var(--radius-lg);
    background: var(--surface);
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.about-photo .avatar-glow {
    position: absolute;
    inset: -40%;
    background: var(--gradient);
    filter: blur(60px);
    opacity: 0.35;
}

.about-photo img {
    position: relative;
    z-index: 1;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-photo::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 2;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06);
    background: linear-gradient(180deg, transparent 55%, rgba(5, 5, 16, 0.55) 100%);
    pointer-events: none;
}

.about-photo-meta {
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.meta-row {
    display: flex;
    justify-content: space-between;
    font-size: 0.88rem;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border);
    color: var(--text-muted);
}

.meta-row span:last-child { color: var(--text); font-weight: 500; }

.about-body h2 {
    font-size: 1.9rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: 18px;
}

.about-body p {
    color: var(--text-muted);
    margin-bottom: 16px;
    font-size: 1rem;
}

.about-icons {
    display: flex;
    gap: 10px;
    margin: 24px 0 8px;
    flex-wrap: wrap;
}

.skills-block { margin-top: 40px; }

.skill-row { margin-bottom: 20px; }

.skill-row-top {
    display: flex;
    justify-content: space-between;
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 8px;
}

.skill-row-top span:last-child { color: var(--text-dim); }

.skill-track {
    height: 8px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 999px;
    overflow: hidden;
}

.skill-fill {
    height: 100%;
    border-radius: 999px;
    background: var(--gradient);
    width: 0;
    transition: width 1.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.timeline-wrap {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 56px;
    margin-top: 20px;
}

.timeline-col h3 {
    font-size: 1.2rem;
    margin-bottom: 28px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.timeline-col h3::before {
    content: '';
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--gradient);
}

.timeline-item {
    position: relative;
    padding-left: 26px;
    padding-bottom: 30px;
    border-left: 2px solid var(--border);
}

.timeline-item:last-child { padding-bottom: 0; border-left-color: transparent; }

.timeline-item::before {
    content: '';
    position: absolute;
    left: -6px;
    top: 2px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--gradient);
    box-shadow: 0 0 0 4px var(--bg);
}

.timeline-date {
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--pink);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.timeline-item h4 {
    font-size: 1rem;
    margin: 6px 0 6px;
}

.timeline-item p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.filter-bar {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 44px;
}

.filter-btn {
    padding: 9px 20px;
    border-radius: 999px;
    border: 1px solid var(--border);
    background: var(--surface);
    color: var(--text-muted);
    font-size: 0.88rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
}

.filter-btn:hover { color: var(--text); border-color: var(--border-hover); }

.filter-btn.active {
    background: var(--gradient);
    color: #fff;
    border-color: transparent;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 26px;
}

.portfolio-item {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    transition: var(--transition);
}

.portfolio-item.hidden { display: none; }

.portfolio-item:hover {
    transform: translateY(-6px);
    border-color: var(--border-hover);
    box-shadow: var(--shadow);
}

.portfolio-thumb {
    aspect-ratio: 16/10;
    background: var(--gradient);
    position: relative;
    overflow: hidden;
}

.portfolio-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.portfolio-item:hover .portfolio-thumb img {
    transform: scale(1.08);
}

.portfolio-thumb::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(5,5,16,0) 40%, rgba(5,5,16,0.65) 100%);
}

.portfolio-tag {
    position: absolute;
    top: 14px;
    left: 14px;
    background: rgba(10, 11, 20, 0.55);
    backdrop-filter: blur(6px);
    padding: 5px 13px;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 600;
    z-index: 2;
    letter-spacing: 0.02em;
}

.portfolio-body { padding: 22px 24px 26px; }

.portfolio-body h3 { font-size: 1.05rem; margin-bottom: 8px; }

.portfolio-body p {
    color: var(--text-muted);
    font-size: 0.88rem;
    margin-bottom: 14px;
}

.portfolio-stack {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}

.stack-chip {
    font-size: 0.72rem;
    color: var(--text-dim);
    background: var(--bg-alt);
    border: 1px solid var(--border);
    padding: 3px 10px;
    border-radius: 999px;
}

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

.contact-info-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 30px;
    display: flex;
    gap: 16px;
    align-items: flex-start;
    margin-bottom: 16px;
}

.contact-info-icon {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-sm);
    background: rgba(236, 72, 153, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    flex-shrink: 0;
}

.contact-info-card h4 { font-size: 0.98rem; margin-bottom: 4px; }
.contact-info-card p { color: var(--text-muted); font-size: 0.88rem; }

.contact-form {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 38px;
}

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

.form-group { margin-bottom: 20px; }

.form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 8px;
    color: var(--text-muted);
}

.form-group input,
.form-group textarea {
    width: 100%;
    background: var(--bg-alt);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 13px 16px;
    color: var(--text);
    font-family: inherit;
    font-size: 0.94rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--pink);
    background: var(--bg);
}

.form-group textarea { resize: vertical; min-height: 130px; }

.form-note {
    font-size: 0.82rem;
    color: var(--text-dim);
    margin-top: 14px;
}

.form-success {
    display: none;
    background: rgba(37, 99, 235, 0.1);
    border: 1px solid rgba(37, 99, 235, 0.3);
    color: #93c5fd;
    padding: 14px 18px;
    border-radius: var(--radius-sm);
    font-size: 0.88rem;
    margin-bottom: 20px;
}

.form-success.show { display: block; }

.footer {
    border-top: 1px solid var(--border);
    padding: 60px 0 26px;
    margin-top: 40px;
}

.footer-content {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h4 {
    font-size: 1rem;
    margin-bottom: 16px;
}

.footer-section p { color: var(--text-muted); font-size: 0.9rem; }

.footer-section ul li { margin-bottom: 10px; }

.footer-section ul a {
    color: var(--text-muted);
    font-size: 0.9rem;
    transition: var(--transition);
}

.footer-section ul a:hover { color: var(--text); }

.footer-bottom {
    text-align: center;
    padding-top: 26px;
    border-top: 1px solid var(--border);
    color: var(--text-dim);
    font-size: 0.85rem;
}

.scroll-cue {
    position: absolute;
    left: 50%;
    bottom: 18px;
    z-index: 2;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: var(--text-dim);
    font-size: 0.72rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    opacity: 0;
    animation: hero-rise 0.8s ease forwards;
    animation-delay: 0.85s;
}

.scroll-cue .scroll-line {
    width: 1px;
    height: 30px;
    background: linear-gradient(to bottom, var(--pink), transparent);
    position: relative;
    overflow: hidden;
}

.scroll-cue .scroll-line::after {
    content: '';
    position: absolute;
    left: 0; top: -100%;
    width: 100%; height: 100%;
    background: linear-gradient(to bottom, transparent, var(--text));
    animation: scroll-dot 1.8s ease-in-out infinite;
}

@keyframes scroll-dot {
    0% { top: -100%; }
    60%, 100% { top: 100%; }
}

.marquee-section {
    padding: 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    background: var(--bg-alt);
    overflow: hidden;
}

.marquee-track {
    display: flex;
    width: max-content;
    animation: marquee-scroll 28s linear infinite;
}

.marquee-track:hover { animation-play-state: paused; }

.marquee-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 26px 40px;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--text-dim);
    white-space: nowrap;
}

.marquee-item span.dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--gradient);
    flex-shrink: 0;
}

@keyframes marquee-scroll {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}

.slider-section { padding: 80px 0 90px; }

.slider {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    height: 520px;
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
    background: var(--surface);
}

.slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    visibility: hidden;
    transform: scale(1.05);
    transition: opacity 1s cubic-bezier(0.4, 0, 0.2, 1), transform 1.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.slide.is-active {
    opacity: 1;
    visibility: visible;
    transform: scale(1);
    z-index: 2;
}

.slide-media {
    display: block;
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slide::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(5, 5, 16, 0.92) 0%, rgba(5, 5, 16, 0.35) 45%, rgba(5, 5, 16, 0.15) 100%);
    z-index: 1;
}

.slide-caption {
    position: absolute;
    left: 0; right: 0; bottom: 0;
    z-index: 2;
    padding: 40px 48px;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
}

.slide-caption-text .slide-tag {
    display: inline-block;
    font-size: 0.76rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--pink);
    background: rgba(240, 57, 155, 0.14);
    border: 1px solid rgba(240, 57, 155, 0.3);
    padding: 5px 14px;
    border-radius: 999px;
    margin-bottom: 14px;
}

.slide-caption-text h3 {
    font-size: clamp(1.4rem, 3vw, 2rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: 8px;
}

.slide-caption-text p {
    color: var(--text-muted);
    max-width: 460px;
    font-size: 0.95rem;
}

.slide-video-badge {
    display: none;
    align-items: center;
    gap: 8px;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--text);
    background: rgba(5, 5, 16, 0.55);
    border: 1px solid var(--border-hover);
    padding: 7px 14px 7px 10px;
    border-radius: 999px;
    backdrop-filter: blur(8px);
    flex-shrink: 0;
}

.slide[data-type="video"] .slide-video-badge { display: inline-flex; }

.slide-video-badge .rec-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #ff4d4d;
    box-shadow: 0 0 8px rgba(255, 77, 77, 0.8);
    animation: blink 1.2s ease-in-out infinite;
}

.slider-controls {
    position: absolute;
    top: 50%;
    left: 0; right: 0;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    padding: 0 18px;
    z-index: 3;
    pointer-events: none;
}

.slider-arrow {
    pointer-events: all;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(5, 5, 16, 0.5);
    border: 1px solid var(--border-hover);
    backdrop-filter: blur(8px);
    color: var(--text);
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
}

.slider-arrow:hover {
    background: var(--gradient);
    border-color: transparent;
    transform: scale(1.08);
}

.slider-dots {
    position: absolute;
    top: 24px;
    right: 28px;
    z-index: 3;
    display: flex;
    gap: 8px;
}

.slider-dot {
    width: 26px;
    height: 4px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.25);
    border: none;
    cursor: pointer;
    padding: 0;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.slider-dot.is-active { background: rgba(255, 255, 255, 0.3); }

.slider-dot.is-active::after {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--gradient);
    animation: dot-progress 5s linear forwards;
    transform-origin: left;
}

@keyframes dot-progress {
    from { transform: scaleX(0); }
    to   { transform: scaleX(1); }
}

@media (max-width: 680px) {
    .slider { height: 420px; }
    .slide-caption { padding: 26px 22px; flex-direction: column; align-items: flex-start; gap: 12px; }
    .slider-dots { top: auto; bottom: 100px; right: 22px; }
}

@media (prefers-reduced-motion: reduce) {
    .marquee-track { animation: none; }
    .hero-content > *,
    .scroll-cue { animation: none; opacity: 1; }
}

.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.in-view {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 900px) {
    .projects-grid,
    .testimonials-grid,
    .portfolio-grid { grid-template-columns: repeat(2, 1fr); }

    .about-grid,
    .timeline-wrap,
    .contact-grid { grid-template-columns: 1fr; }

    .stats-grid { grid-template-columns: repeat(2, 1fr); }

    .footer-content { grid-template-columns: 1fr; gap: 30px; }
}

@media (max-width: 680px) {
    .nav-links {
        position: fixed;
        top: 65px;
        left: 0; right: 0;
        background: rgba(10, 11, 20, 0.97);
        backdrop-filter: blur(16px);
        flex-direction: column;
        padding: 24px 32px;
        gap: 20px;
        border-bottom: 1px solid var(--border);
        transform: translateY(-130%);
        transition: var(--transition);
    }

    .nav-links.open { transform: translateY(0); }

    .hamburger { display: flex; }

    .projects-grid,
    .testimonials-grid,
    .portfolio-grid { grid-template-columns: 1fr; }

    .form-row { grid-template-columns: 1fr; }

    .container { padding: 0 20px; }

    .cta-section { margin: 0 20px; padding: 50px 24px; }
}
