/* ============================================
   renay — Creative Director Portfolio
   Premium CSS Design System
   ============================================ */

/* ─── CSS Custom Properties ─── */
:root {
    /* Colors */
    --bg-primary: #070b1a;
    --bg-secondary: #0a1128;
    --navy: #0d1b3e;
    --electric-blue: #2563eb;
    --electric-blue-bright: #3b82f6;
    --cyan: #06b6d4;
    --accent: #818cf8;
    --white: #ffffff;
    --white-90: rgba(255,255,255,0.9);
    --white-70: rgba(255,255,255,0.7);
    --white-50: rgba(255,255,255,0.5);
    --white-30: rgba(255,255,255,0.3);
    --white-15: rgba(255,255,255,0.15);
    --white-08: rgba(255,255,255,0.08);
    --white-05: rgba(255,255,255,0.05);

    /* Glass */
    --glass-bg: rgba(255,255,255,0.04);
    --glass-border: rgba(255,255,255,0.08);
    --glass-blur: 20px;

    /* Typography */
    --font-display: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;

    /* Spacing */
    --section-pad: 120px;
    --container-w: 1280px;

    /* Radius */
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-xl: 32px;

    /* Transitions */
    --ease-smooth: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
    --transition-fast: 0.3s var(--ease-smooth);
    --transition-medium: 0.6s var(--ease-smooth);
    --transition-slow: 1s var(--ease-smooth);
}

/* ─── Reset & Base ─── */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-body);
    background: var(--bg-primary);
    color: var(--white-90);
    line-height: 1.6;
    overflow-x: hidden;
    cursor: none;
}

::selection {
    background: var(--electric-blue);
    color: var(--white);
}

a {
    text-decoration: none;
    color: inherit;
    cursor: none;
}

button, input, textarea {
    cursor: none;
    font-family: var(--font-body);
}

img {
    display: block;
    max-width: 100%;
}

.container {
    max-width: var(--container-w);
    margin: 0 auto;
    padding: 0 40px;
}

/* ─── Custom Cursor ─── */
.cursor {
    position: fixed;
    top: 0;
    left: 0;
    width: 8px;
    height: 8px;
    background: var(--white);
    border-radius: 50%;
    pointer-events: none;
    z-index: 10001;
    mix-blend-mode: difference;
    transform: translate(-50%, -50%);
    transition: width 0.3s var(--ease-smooth), 
                height 0.3s var(--ease-smooth),
                background 0.3s var(--ease-smooth);
}

.cursor.hover {
    width: 48px;
    height: 48px;
    background: var(--electric-blue-bright);
    mix-blend-mode: normal;
    opacity: 0.5;
}

.cursor-follower {
    position: fixed;
    top: 0;
    left: 0;
    width: 36px;
    height: 36px;
    border: 1px solid var(--white-30);
    border-radius: 50%;
    pointer-events: none;
    z-index: 10000;
    transform: translate(-50%, -50%);
    transition: width 0.4s var(--ease-smooth), 
                height 0.4s var(--ease-smooth),
                border-color 0.4s var(--ease-smooth),
                opacity 0.4s var(--ease-smooth);
}

.cursor-follower.hover {
    width: 64px;
    height: 64px;
    border-color: var(--electric-blue-bright);
    opacity: 0.3;
}

/* ─── Navbar ─── */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 24px 48px;
    background: transparent;
    transition: background var(--transition-fast),
                padding var(--transition-fast),
                backdrop-filter var(--transition-fast);
}

.navbar.scrolled {
    padding: 16px 48px;
    background: rgba(7, 11, 26, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--glass-border);
}

.nav-logo {
    display: flex;
    align-items: center;
}

.nav-logo-img {
    height: 28px;
    width: auto;
    object-fit: contain;
}

.nav-links {
    display: flex;
    gap: 40px;
}

.nav-link {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--white-70);
    letter-spacing: 0.03em;
    text-transform: uppercase;
    position: relative;
    padding: 4px 0;
    transition: color var(--transition-fast);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0%;
    height: 2px;
    background: var(--electric-blue-bright);
    transition: width var(--transition-fast);
}

.nav-link:hover,
.nav-link.active {
    color: var(--white);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    padding: 8px;
    z-index: 10001;
}

.nav-menu-btn span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--white);
    border-radius: 2px;
    transition: var(--transition-fast);
}

.nav-menu-btn.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}
.nav-menu-btn.active span:nth-child(2) {
    opacity: 0;
}
.nav-menu-btn.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 9998;
    background: rgba(7, 11, 26, 0.97);
    backdrop-filter: blur(30px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 32px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s var(--ease-smooth), visibility 0.5s;
}

.mobile-menu.open {
    opacity: 1;
    visibility: visible;
}

.mobile-link {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 700;
    color: var(--white-70);
    transition: color var(--transition-fast);
}

.mobile-link:hover {
    color: var(--electric-blue-bright);
}

/* ─── Section Shared ─── */
.section-tag {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--electric-blue-bright);
    margin-bottom: 16px;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.03em;
    margin-bottom: 32px;
}

.section-header {
    text-align: center;
    margin-bottom: 64px;
}

.section-header .section-title {
    margin-bottom: 16px;
}

.title-light {
    font-weight: 300;
    font-style: italic;
}

/* ─── HERO ─── */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
}

.hero-gradient {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(ellipse 80% 50% at 20% 40%, rgba(37, 99, 235, 0.15) 0%, transparent 60%),
        radial-gradient(ellipse 60% 40% at 80% 60%, rgba(6, 182, 212, 0.08) 0%, transparent 50%),
        radial-gradient(ellipse 50% 50% at 50% 100%, rgba(37, 99, 235, 0.1) 0%, transparent 50%),
        linear-gradient(180deg, var(--bg-primary) 0%, var(--navy) 50%, var(--bg-secondary) 100%);
    animation: gradientShift 15s ease-in-out infinite alternate;
}

@keyframes gradientShift {
    0% { opacity: 1; }
    50% { opacity: 0.85; }
    100% { opacity: 1; }
}

.hero-particles {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
}

.hero-content {
    position: relative;
    z-index: 2;
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 80px;
    max-width: var(--container-w);
    margin: 0 auto;
    padding: 140px 40px 80px;
    width: 100%;
}

.hero-text {
    flex: 1;
    max-width: 600px;
}

.hero-tag {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--white-50);
    margin-bottom: 20px;
    letter-spacing: 0.02em;
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(3.5rem, 7vw, 7rem);
    font-weight: 900;
    line-height: 1.0;
    letter-spacing: -0.04em;
    margin-bottom: 28px;
}

.hero-line {
    display: block;
    overflow: hidden;
}

.hero-line-inner {
    display: inline-block;
    transform: translateY(120%);
}

.hero-line--light {
    font-weight: 300;
    font-style: italic;
    opacity: 0.7;
}

.hero-title .hero-line:nth-child(2) {
    color: var(--white);
}

.hero-subtitle {
    font-size: 1.15rem;
    color: var(--white-50);
    line-height: 1.7;
    margin-bottom: 40px;
    max-width: 460px;
}

.hero-cta {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 16px 36px;
    background: linear-gradient(135deg, var(--electric-blue), var(--electric-blue-bright));
    color: var(--white);
    font-weight: 600;
    font-size: 0.95rem;
    border-radius: 60px;
    position: relative;
    overflow: hidden;
    transition: transform var(--transition-fast),
                box-shadow var(--transition-fast);
}

.hero-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, var(--cyan), var(--electric-blue-bright));
    opacity: 0;
    transition: opacity var(--transition-fast);
    border-radius: inherit;
}

.hero-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(37, 99, 235, 0.4);
}

.hero-cta:hover::before {
    opacity: 1;
}

.hero-cta span,
.hero-cta svg {
    position: relative;
    z-index: 1;
}

.hero-visual {
    flex: 0 0 420px;
    position: relative;
}

.hero-image-wrapper {
    position: relative;
    width: 400px;
    height: 520px;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: 0 32px 80px rgba(0,0,0,0.5);
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: saturate(0.9) contrast(1.05);
}

.hero-image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, transparent 40%, rgba(7, 11, 26, 0.6) 100%);
    pointer-events: none;
}

.hero-floating-badge {
    position: absolute;
    bottom: -20px;
    left: -40px;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 20px 28px;
    background: rgba(255,255,255,0.06);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    animation: floatBadge 5s ease-in-out infinite;
}

@keyframes floatBadge {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

.badge-number {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--electric-blue-bright), var(--cyan));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.badge-text {
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--white-70);
    line-height: 1.3;
}

/* Scroll Indicator */
.hero-scroll-indicator {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding-bottom: 40px;
}

.hero-scroll-indicator span {
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--white-30);
}

.scroll-line {
    width: 1px;
    height: 48px;
    background: linear-gradient(180deg, var(--white-30), transparent);
    position: relative;
    overflow: hidden;
}

.scroll-line::after {
    content: '';
    position: absolute;
    top: -100%;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--electric-blue-bright);
    animation: scrollLine 2s ease-in-out infinite;
}

@keyframes scrollLine {
    0% { top: -100%; }
    50% { top: 100%; }
    100% { top: 100%; }
}

/* ─── Featured Projects ─── */
.featured-projects {
    position: relative;
    z-index: 2;
    padding: var(--section-pad) 0;
}

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

.featured-card {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
}

.featured-card-image {
    position: relative;
    width: 100%;
    padding-top: 120%;
    overflow: hidden;
}

.featured-card-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s var(--ease-smooth);
}

.featured-card:hover .featured-card-image img {
    transform: scale(1.08);
}

.featured-card-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 40px 28px 28px;
    background: linear-gradient(180deg, transparent 0%, rgba(7, 11, 26, 0.9) 100%);
    transform: translateY(20px);
    opacity: 0;
    transition: transform var(--transition-medium), opacity var(--transition-medium);
}

.featured-card:hover .featured-card-overlay {
    transform: translateY(0);
    opacity: 1;
}

.featured-card-category {
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--electric-blue-bright);
    margin-bottom: 8px;
    display: block;
}

.featured-card-title {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 6px;
}

.featured-card-desc {
    font-size: 0.8rem;
    color: var(--white-50);
    line-height: 1.5;
}

/* Blur non-Ceg featured cards */
.featured-card:nth-child(2) .featured-card-image img,
.featured-card:nth-child(3) .featured-card-image img {
    filter: blur(6px) saturate(0.5);
}

.featured-card:nth-child(2) .featured-card-overlay,
.featured-card:nth-child(3) .featured-card-overlay {
    opacity: 1;
    transform: translateY(0);
    background: linear-gradient(180deg, rgba(7, 11, 26, 0.5) 0%, rgba(7, 11, 26, 0.85) 100%);
}

.featured-card:nth-child(2) .featured-card-title,
.featured-card:nth-child(3) .featured-card-title {
    font-size: 1rem;
    color: var(--white-30);
}

.featured-card:nth-child(2) .featured-card-category,
.featured-card:nth-child(3) .featured-card-category {
    display: none;
}

.featured-card:nth-child(2) .featured-card-desc,
.featured-card:nth-child(3) .featured-card-desc {
    display: none;
}

/* ─── ABOUT ─── */
.about {
    position: relative;
    padding: var(--section-pad) 0;
    background: linear-gradient(180deg, var(--bg-secondary), var(--bg-primary));
}

.about-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-bio {
    margin-bottom: 48px;
}

.about-bio p {
    font-size: 1.05rem;
    color: var(--white-50);
    line-height: 1.8;
    margin-bottom: 16px;
}

.about-stats {
    display: flex;
    gap: 48px;
    margin-bottom: 40px;
    padding: 32px 0;
    border-top: 1px solid var(--glass-border);
    border-bottom: 1px solid var(--glass-border);
}

.stat {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.stat-number {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--white), var(--electric-blue-bright));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
}

.stat-plus {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--white), var(--electric-blue-bright));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
}

.stat-label {
    font-size: 0.8rem;
    color: var(--white-50);
    font-weight: 500;
}

.about-skills {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.skill-tag {
    padding: 8px 18px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 60px;
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--white-70);
    transition: var(--transition-fast);
}

.skill-tag:hover {
    background: rgba(37, 99, 235, 0.15);
    border-color: var(--electric-blue);
    color: var(--electric-blue-bright);
}

.about-image-wrapper {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: 0 32px 80px rgba(0,0,0,0.4);
}

.about-image-wrapper img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
    filter: saturate(0.85) contrast(1.05);
}

.about-image-frame {
    display: none;
}

/* ─── PROJECTS ─── */
.projects {
    position: relative;
    padding: var(--section-pad) 0;
    background: var(--bg-primary);
}

.project-filters {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 48px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 10px 24px;
    background: transparent;
    border: 1px solid var(--glass-border);
    border-radius: 60px;
    color: var(--white-50);
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.02em;
    transition: var(--transition-fast);
}

.filter-btn:hover {
    border-color: var(--white-30);
    color: var(--white-90);
}

.filter-btn.active {
    background: var(--electric-blue);
    border-color: var(--electric-blue);
    color: var(--white);
}

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

.project-card {
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    transition: transform var(--transition-medium), 
                box-shadow var(--transition-medium);
    perspective: 800px;
}

.project-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 24px 60px rgba(0,0,0,0.3);
}

.project-card-inner {
    position: relative;
    width: 100%;
    padding-top: 120%;
    overflow: hidden;
    transition: transform var(--transition-medium);
}

.project-card:hover .project-card-inner {
    /* subtle 3D tilt */
}

.project-card-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s var(--ease-smooth);
}

.project-card:hover .project-card-img {
    transform: scale(1.1);
}

.project-card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(7, 11, 26, 0.75);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity var(--transition-medium);
}

.project-card:hover .project-card-overlay {
    opacity: 1;
}

.project-card-cat {
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--electric-blue-bright);
    margin-bottom: 8px;
    transform: translateY(20px);
    transition: transform var(--transition-medium);
}

.project-card:hover .project-card-cat {
    transform: translateY(0);
}

.project-card-title {
    font-family: var(--font-display);
    font-size: 1.4rem;
    font-weight: 700;
    transform: translateY(20px);
    transition: transform var(--transition-medium) 0.05s;
}

.project-card:hover .project-card-title {
    transform: translateY(0);
}

/* Coming Soon Placeholder */
.project-card-placeholder {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(255,255,255,0.03), rgba(255,255,255,0.01));
    border: 1px dashed var(--white-15);
    border-radius: inherit;
}

.placeholder-text {
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 600;
    color: var(--white-30);
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.project-card--soon {
    pointer-events: none;
}

.project-card--soon .project-card-inner {
    border: none;
}

/* Filter animation for hiding/showing */
.project-card.hidden {
    display: none;
}

.project-card.fade-out {
    opacity: 0;
    transform: scale(0.9);
    pointer-events: none;
}

/* ─── CONTACT ─── */
.contact {
    position: relative;
    padding: var(--section-pad) 0;
    background: linear-gradient(180deg, var(--bg-primary), var(--bg-secondary));
}

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

.contact-desc {
    font-size: 1.05rem;
    color: var(--white-50);
    line-height: 1.8;
    margin-bottom: 40px;
    max-width: 400px;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 32px;
}

.contact-detail {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--white-70);
    font-size: 0.95rem;
}

.contact-detail svg {
    color: var(--electric-blue-bright);
    flex-shrink: 0;
}

.contact-socials {
    display: flex;
    gap: 12px;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    color: var(--white-70);
    transition: var(--transition-fast);
}

.social-link:hover {
    background: rgba(37, 99, 235, 0.2);
    border-color: var(--electric-blue);
    color: var(--electric-blue-bright);
    transform: translateY(-3px);
}

/* Contact Form */
.contact-form-wrapper {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-xl);
    padding: 48px;
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.form-group {
    position: relative;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 16px 0;
    background: transparent;
    border: none;
    border-bottom: 1px solid var(--white-15);
    color: var(--white-90);
    font-size: 1rem;
    outline: none;
    transition: border-color var(--transition-fast);
}

.form-group textarea {
    resize: none;
}

.form-group label {
    position: absolute;
    left: 0;
    top: 16px;
    font-size: 0.9rem;
    color: var(--white-30);
    pointer-events: none;
    transition: var(--transition-fast);
}

.form-group input:focus + label,
.form-group input:not(:placeholder-shown) + label,
.form-group textarea:focus + label,
.form-group textarea:not(:placeholder-shown) + label {
    top: -8px;
    font-size: 0.72rem;
    color: var(--electric-blue-bright);
    letter-spacing: 0.05em;
}

.form-line {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0%;
    height: 2px;
    background: linear-gradient(90deg, var(--electric-blue), var(--cyan));
    transition: width var(--transition-fast);
}

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

.form-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 18px 40px;
    background: linear-gradient(135deg, var(--electric-blue), var(--electric-blue-bright));
    color: var(--white);
    font-weight: 600;
    font-size: 0.95rem;
    border: none;
    border-radius: 60px;
    position: relative;
    overflow: hidden;
    transition: transform var(--transition-fast), box-shadow var(--transition-fast);
    align-self: flex-start;
}

.form-submit::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, var(--cyan), var(--accent));
    opacity: 0;
    transition: opacity var(--transition-fast);
    border-radius: inherit;
}

.form-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(37, 99, 235, 0.4);
}

.form-submit:hover::before {
    opacity: 1;
}

.form-submit span,
.form-submit svg {
    position: relative;
    z-index: 1;
}

/* ─── Footer ─── */
.footer {
    padding: 40px 0;
    border-top: 1px solid var(--glass-border);
    background: var(--bg-secondary);
}

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

.footer-logo {
    display: flex;
    align-items: center;
}

.footer-logo-img {
    height: 22px;
    width: auto;
    object-fit: contain;
}

.footer-copy {
    font-size: 0.8rem;
    color: var(--white-30);
}

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

.footer-links a {
    font-size: 0.8rem;
    color: var(--white-30);
    transition: color var(--transition-fast);
}

.footer-links a:hover {
    color: var(--electric-blue-bright);
}

/* ─── Particles ─── */
.particle {
    position: absolute;
    width: 2px;
    height: 2px;
    background: var(--white-15);
    border-radius: 50%;
    animation: particleFloat linear infinite;
}

@keyframes particleFloat {
    0% {
        transform: translateY(0) translateX(0);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateY(-100vh) translateX(50px);
        opacity: 0;
    }
}

/* ─── RESPONSIVE ─── */

/* Tablet */
@media (max-width: 1024px) {
    :root {
        --section-pad: 80px;
    }

    .container {
        padding: 0 24px;
    }

    .hero-content {
        flex-direction: column;
        text-align: center;
        padding: 120px 24px 60px;
        gap: 48px;
    }

    .hero-text {
        max-width: 100%;
    }

    .hero-subtitle {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-visual {
        flex: 0 0 auto;
    }

    .hero-image-wrapper {
        width: 320px;
        height: 420px;
        margin: 0 auto;
    }

    .hero-floating-badge {
        left: auto;
        right: -10px;
        bottom: -10px;
    }

    .featured-grid {
        grid-template-columns: 1fr 1fr;
    }

    .featured-card:nth-child(3) {
        grid-column: span 2;
    }

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

    .about-image {
        order: -1;
    }

    .about-image-wrapper img {
        height: 400px;
    }

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

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

/* Mobile */
@media (max-width: 768px) {
    :root {
        --section-pad: 64px;
    }

    .cursor,
    .cursor-follower {
        display: none !important;
    }

    body {
        cursor: auto;
    }

    a, button, input, textarea {
        cursor: auto;
    }

    .navbar {
        padding: 16px 20px;
    }

    .navbar.scrolled {
        padding: 12px 20px;
    }

    .nav-links {
        display: none;
    }

    .nav-menu-btn {
        display: flex;
    }

    .hero-title {
        font-size: clamp(2.8rem, 10vw, 4.5rem);
    }

    .hero-image-wrapper {
        width: 260px;
        height: 340px;
    }

    .featured-grid {
        grid-template-columns: 1fr;
    }

    .featured-card:nth-child(3) {
        grid-column: auto;
    }

    .about-stats {
        gap: 28px;
        flex-wrap: wrap;
    }

    .stat-number {
        font-size: 2rem;
    }

    .stat-plus {
        font-size: 2rem;
    }

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

    .contact-form-wrapper {
        padding: 28px;
    }

    .footer-inner {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }

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

/* Small Mobile */
@media (max-width: 480px) {
    .hero-content {
        padding: 100px 16px 40px;
    }

    .hero-image-wrapper {
        width: 220px;
        height: 290px;
    }

    .hero-floating-badge {
        padding: 14px 18px;
    }

    .badge-number {
        font-size: 1.5rem;
    }

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