/* ============================
   CSS RESET & VARIABLES
============================ */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --bg-primary: #080b14;
    --bg-secondary: #0d1120;
    --bg-card: rgba(255, 255, 255, 0.04);
    --bg-card-hover: rgba(255, 255, 255, 0.08);

    --accent-blue: #6366f1;
    --accent-purple: #a855f7;
    --accent-cyan: #06b6d4;
    --accent-green: #10b981;
    --accent-pink: #ec4899;

    --gradient-main: linear-gradient(135deg, #6366f1 0%, #a855f7 50%, #ec4899 100%);
    --gradient-blue-cyan: linear-gradient(135deg, #6366f1 0%, #06b6d4 100%);
    --gradient-purple: linear-gradient(135deg, #a855f7 0%, #6366f1 100%);
    --gradient-green: linear-gradient(135deg, #10b981 0%, #06b6d4 100%);

    --text-primary: #f1f5f9;
    --text-secondary: #94a3b8;
    --text-muted: #475569;
    --text-accent: #818cf8;

    --border: rgba(255, 255, 255, 0.08);
    --border-hover: rgba(99, 102, 241, 0.5);

    --glass: rgba(255, 255, 255, 0.04);
    --glass-border: rgba(255, 255, 255, 0.1);

    --shadow-glow: 0 0 60px rgba(99, 102, 241, 0.3);
    --shadow-card: 0 25px 50px rgba(0, 0, 0, 0.5);

    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-xl: 32px;
    --radius-full: 9999px;

    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);

    --font-primary: 'Outfit', sans-serif;
    --font-secondary: 'Inter', sans-serif;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: var(--font-secondary);
    background-color: var(--bg-primary);
    color: var(--text-primary);
    overflow-x: hidden;
    line-height: 1.6;
}

/* ============================
   BACKGROUND PARTICLES
============================ */
.bg-particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.bg-particles::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background:
        radial-gradient(ellipse at 20% 20%, rgba(99, 102, 241, 0.08) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 80%, rgba(168, 85, 247, 0.08) 0%, transparent 50%),
        radial-gradient(ellipse at 50% 50%, rgba(6, 182, 212, 0.04) 0%, transparent 60%);
    animation: bgPulse 12s ease-in-out infinite alternate;
}

@keyframes bgPulse {
    0% {
        transform: scale(1) rotate(0deg);
    }

    100% {
        transform: scale(1.1) rotate(5deg);
    }
}

.particle {
    position: absolute;
    border-radius: 50%;
    background: var(--accent-blue);
    opacity: 0;
    animation: floatParticle linear infinite;
}

@keyframes floatParticle {
    0% {
        transform: translateY(100vh) scale(0);
        opacity: 0;
    }

    10% {
        opacity: 0.4;
    }

    90% {
        opacity: 0.1;
    }

    100% {
        transform: translateY(-20vh) scale(1);
        opacity: 0;
    }
}

/* ============================
   NAVBAR
============================ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 2rem;
    height: 72px;
    background: rgba(8, 11, 20, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    transition: var(--transition);
}

.navbar.scrolled {
    background: rgba(8, 11, 20, 0.95);
    border-bottom-color: rgba(99, 102, 241, 0.2);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-primary);
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--text-primary);
    letter-spacing: -0.5px;
    cursor: pointer;
}

.logo-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--gradient-main);
    animation: logoPulse 2s ease-in-out infinite;
}

@keyframes logoPulse {

    0%,
    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(99, 102, 241, 0.5);
    }

    50% {
        transform: scale(1.2);
        box-shadow: 0 0 0 8px rgba(99, 102, 241, 0);
    }
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2px;
}

.nav-link {
    display: block;
    padding: 8px 16px;
    font-family: var(--font-secondary);
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-secondary);
    text-decoration: none;
    border-radius: var(--radius-full);
    transition: var(--transition);
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: var(--text-primary);
    background: rgba(99, 102, 241, 0.1);
}

.nav-link.active {
    color: #818cf8;
}

.nav-cta {
    padding: 8px 20px;
    background: var(--gradient-main);
    border: none;
    border-radius: var(--radius-full);
    font-family: var(--font-secondary);
    font-size: 0.9rem;
    font-weight: 600;
    color: white;
    cursor: pointer;
    transition: var(--transition);
}

.nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(99, 102, 241, 0.5);
}

/* ============================
   SECTION CONTAINER & HEADER
============================ */
.section-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    z-index: 1;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-tag {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(99, 102, 241, 0.15);
    border: 1px solid rgba(99, 102, 241, 0.3);
    border-radius: var(--radius-full);
    font-family: var(--font-secondary);
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-accent);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 1rem;
}

.section-title {
    font-family: var(--font-primary);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 1rem;
    letter-spacing: -1px;
}

.section-subtitle {
    font-size: 1.05rem;
    color: var(--text-secondary);
    max-width: 500px;
    margin: 0 auto;
}

/* ============================
   BUTTONS
============================ */
.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    background: var(--gradient-main);
    border-radius: var(--radius-full);
    font-family: var(--font-secondary);
    font-size: 0.95rem;
    font-weight: 600;
    color: white;
    text-decoration: none;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.btn-primary::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2), transparent);
    opacity: 0;
    transition: var(--transition);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(99, 102, 241, 0.5);
}

.btn-primary:hover::before {
    opacity: 1;
}

.btn-ghost {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    background: transparent;
    border: 1px solid var(--border);
    border-radius: var(--radius-full);
    font-family: var(--font-secondary);
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-secondary);
    text-decoration: none;
    transition: var(--transition);
}

.btn-ghost:hover {
    border-color: var(--border-hover);
    color: var(--text-primary);
    background: rgba(99, 102, 241, 0.08);
    transform: translateY(-2px);
}

/* ============================
   GRADIENT TEXT
============================ */
.gradient-text {
    background: var(--gradient-main);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ============================
   HERO SECTION
============================ */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 100px 2rem 4rem;
    position: relative;
    z-index: 1;
}

.hero-content {
    max-width: 1100px;
    width: 100%;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

/* The badge */
.hero-badge {
    display: none;
    /* shown via JS after load */
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.3);
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    font-weight: 500;
    color: #10b981;
    margin-bottom: 1.5rem;
    width: fit-content;
    animation: fadeInUp 0.6s ease forwards 0.2s;
    opacity: 0;
}

.badge-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #10b981;
    animation: pulse 2s infinite;
}

@keyframes pulse {

    0%,
    100% {
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.5);
    }

    50% {
        box-shadow: 0 0 0 6px rgba(16, 185, 129, 0);
    }
}

/* Hero Image */
.hero-image-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    order: -1;
    animation: fadeInLeft 0.8s ease forwards;
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-40px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.hero-image-ring {
    position: absolute;
    border-radius: 50%;
    border: 1px solid;
    animation: rotateRing linear infinite;
}

.ring-1 {
    width: 320px;
    height: 320px;
    border-color: rgba(99, 102, 241, 0.3);
    animation-duration: 20s;
}

.ring-2 {
    width: 380px;
    height: 380px;
    border-color: rgba(168, 85, 247, 0.2);
    animation-duration: 30s;
    animation-direction: reverse;
}

.ring-3 {
    width: 440px;
    height: 440px;
    border-color: rgba(6, 182, 212, 0.1);
    animation-duration: 40s;
    border-style: dashed;
}

@keyframes rotateRing {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.hero-image-container {
    width: 280px;
    height: 280px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid transparent;
    background: linear-gradient(var(--bg-primary), var(--bg-primary)) padding-box,
        var(--gradient-main) border-box;
    position: relative;
    z-index: 2;
    box-shadow: 0 0 60px rgba(99, 102, 241, 0.4), inset 0 0 40px rgba(0, 0, 0, 0.3);
    animation: imagePulse 6s ease-in-out infinite;
}

@keyframes imagePulse {

    0%,
    100% {
        box-shadow: 0 0 60px rgba(99, 102, 241, 0.4), inset 0 0 40px rgba(0, 0, 0, 0.3);
    }

    50% {
        box-shadow: 0 0 80px rgba(168, 85, 247, 0.5), 0 0 120px rgba(99, 102, 241, 0.2), inset 0 0 40px rgba(0, 0, 0, 0.3);
    }
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

.hero-image-container:hover .hero-image {
    transform: scale(1.05);
}

.image-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, transparent 60%, rgba(99, 102, 241, 0.2));
    border-radius: 50%;
}

/* Hero Stats */
.hero-stat {
    position: absolute;
    z-index: 3;
    background: rgba(8, 11, 20, 0.9);
    border: 1px solid var(--border);
    backdrop-filter: blur(10px);
    border-radius: var(--radius-md);
    padding: 12px 16px;
    text-align: center;
    transition: var(--transition);
}

.hero-stat:hover {
    transform: scale(1.05);
    border-color: var(--accent-blue);
}

.stat-1 {
    top: 10%;
    right: -5%;
    animation: floatStat 4s ease-in-out infinite;
}

.stat-2 {
    bottom: 15%;
    left: -5%;
    animation: floatStat 4s ease-in-out infinite 2s;
}

@keyframes floatStat {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

.stat-number {
    display: block;
    font-family: var(--font-primary);
    font-size: 1.4rem;
    font-weight: 800;
    background: var(--gradient-main);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

/* Hero Text */
.hero-text {
    animation: fadeInRight 0.8s ease forwards;
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(40px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.hero-badge {
    display: inline-flex;
}

.hero-title {
    font-family: var(--font-primary);
    font-size: clamp(2.5rem, 5vw, 3.8rem);
    font-weight: 900;
    color: var(--text-primary);
    line-height: 1.1;
    letter-spacing: -2px;
    margin-bottom: 1rem;
}

.hero-role {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    margin-bottom: 1.5rem;
}

.role-tag {
    padding: 4px 12px;
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.role-divider {
    color: var(--text-muted);
}

.hero-description {
    font-size: 1.05rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 2rem;
    max-width: 480px;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: var(--text-muted);
    font-size: 0.75rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    animation: fadeIn 1s ease 1s both;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.scroll-line {
    width: 1px;
    height: 50px;
    background: linear-gradient(to bottom, var(--accent-blue), transparent);
    animation: scrollLine 2s ease-in-out infinite;
}

@keyframes scrollLine {
    0% {
        transform: scaleY(0);
        transform-origin: top;
    }

    50% {
        transform: scaleY(1);
        transform-origin: top;
    }

    51% {
        transform: scaleY(1);
        transform-origin: bottom;
    }

    100% {
        transform: scaleY(0);
        transform-origin: bottom;
    }
}

/* ============================
   LINKS SECTION
============================ */
.links-section {
    padding: 6rem 0;
    padding-top: calc(72px + 4rem);
    position: relative;
    z-index: 1;
}

.links-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(to right, transparent, var(--accent-blue), transparent);
}

.links-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.link-card {
    position: relative;
    display: flex;
    align-items: center;
    gap: 1.2rem;
    padding: 1.8rem;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    text-decoration: none;
    transition: var(--transition);
    overflow: hidden;
}

.link-card-glow {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at center, rgba(99, 102, 241, 0.08) 0%, transparent 70%);
    opacity: 0;
    transition: var(--transition);
    pointer-events: none;
}

.link-card:hover .link-card-glow {
    opacity: 1;
}

.link-card:hover {
    border-color: rgba(99, 102, 241, 0.4);
    background: var(--bg-card-hover);
    transform: translateY(-6px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(99, 102, 241, 0.2);
}

.link-card--purple:hover {
    border-color: rgba(168, 85, 247, 0.4);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(168, 85, 247, 0.2);
}

.link-card--green:hover {
    border-color: rgba(16, 185, 129, 0.4);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(16, 185, 129, 0.2);
}

.link-icon-wrapper {
    flex-shrink: 0;
}

.link-icon {
    width: 60px;
    height: 60px;
    border-radius: var(--radius-md);
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.2), rgba(99, 102, 241, 0.05));
    border: 1px solid rgba(99, 102, 241, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-blue);
    transition: var(--transition);
}

.link-card--purple .link-icon {
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.2), rgba(168, 85, 247, 0.05));
    border-color: rgba(168, 85, 247, 0.2);
    color: var(--accent-purple);
}

.link-card--green .link-icon {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.2), rgba(16, 185, 129, 0.05));
    border-color: rgba(16, 185, 129, 0.2);
    color: var(--accent-green);
}

.link-card:hover .link-icon {
    transform: rotate(-5deg) scale(1.1);
}

.link-info {
    flex: 1;
}

.link-title {
    font-family: var(--font-primary);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.link-desc {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

.link-arrow {
    color: var(--text-muted);
    transition: var(--transition);
    flex-shrink: 0;
}

.link-card:hover .link-arrow {
    color: var(--accent-blue);
    transform: translate(3px, -3px);
}

.link-card--purple:hover .link-arrow {
    color: var(--accent-purple);
}

.link-card--green:hover .link-arrow {
    color: var(--accent-green);
}

/* ============================
   PORTFOLIO SECTION
============================ */
.portfolio-section {
    padding: 6rem 0;
    padding-top: calc(72px + 4rem);
    position: relative;
    z-index: 1;
}

.portfolio-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(to right, transparent, var(--accent-purple), transparent);
}

/* Filter Tabs */
.filter-tabs {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.filter-tab {
    padding: 8px 24px;
    background: transparent;
    border: 1px solid var(--border);
    border-radius: var(--radius-full);
    font-family: var(--font-secondary);
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-secondary);
    cursor: pointer;
    transition: var(--transition);
}

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

.filter-tab.active {
    background: var(--gradient-main);
    border-color: transparent;
    color: white;
}

/* Portfolio Grid */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.portfolio-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: var(--transition);
    animation: fadeInUp 0.5s ease both;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.portfolio-card:hover {
    transform: translateY(-8px);
    border-color: rgba(99, 102, 241, 0.3);
    box-shadow: var(--shadow-card), 0 0 40px rgba(99, 102, 241, 0.15);
}

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

/* Card Image */
.card-image-wrapper {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.card-image {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-slow);
}

.card-image--photo {
    display: block;
    overflow: hidden;
}

.card-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    display: block;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.portfolio-card:hover .card-photo {
    transform: scale(1.08);
}

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

/* Mock UI elements */
.card-mock {
    width: 80%;
    max-width: 240px;
}

.mock-browser {
    background: rgba(8, 11, 20, 0.9);
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}

.mock-dots {
    display: flex;
    gap: 5px;
    padding: 8px 10px;
    background: rgba(0, 0, 0, 0.3);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.mock-dots span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

.mock-dots span:nth-child(1) {
    background: #ff5f57;
}

.mock-dots span:nth-child(2) {
    background: #febc2e;
}

.mock-dots span:nth-child(3) {
    background: #28c840;
}

.mock-bar {
    height: 6px;
    background: rgba(255, 255, 255, 0.05);
    margin: 8px;
    border-radius: 3px;
}

.mock-content {
    padding: 8px;
}

.mock-line {
    height: 6px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
    margin-bottom: 6px;
}

.mock-line.short {
    width: 60%;
}

.mock-block {
    height: 50px;
    background: rgba(99, 102, 241, 0.2);
    border-radius: 4px;
    margin-top: 8px;
}

.mock-hero-block {
    height: 40px;
    background: linear-gradient(90deg, rgba(79, 172, 254, 0.3), rgba(0, 242, 254, 0.2));
    border-radius: 4px;
    margin-bottom: 8px;
}

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

.mock-grid-item {
    height: 30px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 4px;
}

.mock-dashboard {
    display: flex;
    gap: 8px;
    height: 80px;
}

.mock-sidebar {
    width: 25%;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 4px;
}

.mock-main {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.mock-card-row {
    display: flex;
    gap: 4px;
}

.mock-stat-card {
    flex: 1;
    height: 22px;
    background: rgba(255, 165, 0, 0.15);
    border-radius: 3px;
}

.mock-chart-area {
    flex: 1;
    background: rgba(250, 112, 154, 0.1);
    border-radius: 3px;
}

/* Phone mock */
.mock-phone {
    width: 100px;
    height: 160px;
    background: rgba(8, 11, 20, 0.9);
    border-radius: 16px;
    border: 2px solid rgba(255, 255, 255, 0.1);
    margin: 0 auto;
    overflow: hidden;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.5);
}

.mock-phone-notch {
    width: 40px;
    height: 10px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 0 0 8px 8px;
    margin: 0 auto;
}

.mock-phone-content {
    padding: 8px;
}

.mock-phone-row {
    display: flex;
    gap: 6px;
    align-items: center;
    margin-bottom: 8px;
}

.mock-phone-avatar {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: rgba(240, 147, 251, 0.4);
    flex-shrink: 0;
}

.mock-phone-lines {
    flex: 1;
}

.mock-phone-line {
    height: 5px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    margin-bottom: 4px;
}

.mock-phone-line.short {
    width: 60%;
}

.mock-phone-chart {
    height: 50px;
    background: linear-gradient(to top, rgba(240, 147, 251, 0.3), transparent);
    border-radius: 4px;
    border-bottom: 2px solid rgba(240, 147, 251, 0.5);
}

.mock-phone-map {
    height: 60px;
    background: linear-gradient(135deg, rgba(67, 233, 123, 0.15), rgba(56, 249, 215, 0.1));
    border-radius: 4px;
    margin-bottom: 8px;
    position: relative;
}

.mock-phone-map::after {
    content: '';
    position: absolute;
    width: 8px;
    height: 8px;
    background: #43e97b;
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    box-shadow: 0 0 0 4px rgba(67, 233, 123, 0.2);
}

.mock-phone-dot {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    flex-shrink: 0;
}

.mock-phone-dot.teal {
    background: rgba(56, 249, 215, 0.4);
}

/* Card Overlay */
.card-overlay {
    position: absolute;
    inset: 0;
    background: rgba(8, 11, 20, 0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

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

.card-actions {
    display: flex;
    gap: 12px;
    transform: translateY(10px);
    transition: var(--transition);
}

.portfolio-card:hover .card-actions {
    transform: translateY(0);
}

.card-btn {
    padding: 8px 18px;
    background: var(--gradient-main);
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    font-weight: 600;
    color: white;
    text-decoration: none;
    transition: var(--transition);
}

.card-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 20px rgba(99, 102, 241, 0.5);
}

.card-btn--outline {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.card-btn--outline:hover {
    border-color: rgba(255, 255, 255, 0.6);
    background: rgba(255, 255, 255, 0.1);
}

/* Card Body */
.card-body {
    padding: 1.5rem;
}

.card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 0.75rem;
}

.tag {
    padding: 3px 10px;
    background: rgba(99, 102, 241, 0.1);
    border: 1px solid rgba(99, 102, 241, 0.2);
    border-radius: var(--radius-full);
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--text-accent);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.card-title {
    font-family: var(--font-primary);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.card-desc {
    font-size: 0.875rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 1rem;
}

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

.card-stats {
    display: flex;
    gap: 12px;
    font-size: 0.8rem;
    color: var(--text-muted);
}

.card-category {
    padding: 3px 10px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border);
    border-radius: var(--radius-full);
    font-size: 0.72rem;
    color: var(--text-muted);
}

/* ============================
   CONTACT SECTION
============================ */
.contact-section {
    padding: 6rem 0;
    position: relative;
    z-index: 1;
}

.contact-card {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 4rem;
    text-align: center;
    overflow: hidden;
}

.contact-glow {
    position: absolute;
    top: -50%;
    left: 50%;
    transform: translateX(-50%);
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.15) 0%, transparent 70%);
    pointer-events: none;
}

.contact-content {
    position: relative;
    z-index: 1;
}

.contact-title {
    font-family: var(--font-primary);
    font-size: clamp(1.8rem, 3.5vw, 2.8rem);
    font-weight: 800;
    color: var(--text-primary);
    letter-spacing: -1px;
    margin: 1rem 0;
}

.contact-desc {
    font-size: 1rem;
    color: var(--text-secondary);
    max-width: 500px;
    margin: 0 auto 2.5rem;
    line-height: 1.8;
}

.contact-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 2.5rem;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.social-link {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    color: var(--text-secondary);
    text-decoration: none;
    transition: var(--transition);
}

.social-link:hover {
    color: var(--text-primary);
    border-color: var(--border-hover);
    background: rgba(99, 102, 241, 0.1);
    transform: translateY(-4px);
}

/* ============================
   FOOTER
============================ */
.footer {
    padding: 2rem;
    border-top: 1px solid var(--border);
    position: relative;
    z-index: 1;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-primary);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-primary);
}

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

.footer-links {
    display: flex;
    gap: 1.5rem;
}

.footer-links a {
    font-size: 0.85rem;
    color: var(--text-muted);
    text-decoration: none;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--text-accent);
}

/* ============================
   SCROLL REVEAL ANIMATION
============================ */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ============================
   RESPONSIVE
============================ */
@media (max-width: 1024px) {
    .links-grid {
        grid-template-columns: 1fr;
    }

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

@media (max-width: 768px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-image-wrapper {
        order: 0;
        margin-bottom: 2rem;
    }

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

    .ring-1 {
        width: 260px;
        height: 260px;
    }

    .ring-2 {
        width: 310px;
        height: 310px;
    }

    .ring-3 {
        width: 360px;
        height: 360px;
    }

    .stat-1 {
        right: 5%;
    }

    .stat-2 {
        left: 5%;
    }

    .hero-role {
        justify-content: center;
    }

    .hero-actions {
        justify-content: center;
    }

    .hero-badge {
        margin: 0 auto 1.5rem;
    }

    .nav-links {
        display: none;
    }

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

    .contact-card {
        padding: 2.5rem 1.5rem;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .section-container {
        padding: 0 1rem;
    }

    .hero {
        padding: 100px 1rem 4rem;
    }
}