/* ==========================================================================
   CSS VARIABLES & DESIGN TOKENS
   ========================================================================== */
:root {
    /* Color Palette */
    --bg-color: #070B14;
    --card-bg: rgba(255, 255, 255, 0.03);
    --card-bg-hover: rgba(255, 255, 255, 0.06);
    --primary: #00E7FF;
    --secondary: #7C5CFF;
    --accent: #4ADE80;
    --border: rgba(255, 255, 255, 0.08);
    --border-hover: rgba(255, 255, 255, 0.15);
    --white: #FFFFFF;
    --muted: #B7C0D8;
    
    /* Typography */
    --font-main: 'Space Grotesk', sans-serif;
    
    /* Sizing & Layout */
    --max-width: 1200px;
    --nav-height: 80px;
    --section-padding: 120px 0;
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-round: 50%;
    
    /* Transitions & Shadows */
    --transition-fast: 0.2s ease;
    --transition-base: 0.3s cubic-bezier(0.25, 1, 0.5, 1);
    --transition-slow: 0.5s cubic-bezier(0.25, 1, 0.5, 1);
    --shadow-glow-primary: 0 0 20px rgba(0, 231, 255, 0.3);
    --shadow-glow-secondary: 0 0 20px rgba(124, 92, 255, 0.3);
    --shadow-card: 0 10px 30px rgba(0, 0, 0, 0.5);
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--nav-height);
}

body {
    font-family: var(--font-main);
    background-color: var(--bg-color);
    color: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}
::-webkit-scrollbar-track {
    background: var(--bg-color);
}
::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--primary);
}

/* ==========================================================================
   CUSTOM CURSOR
   ========================================================================== */
.cursor-dot {
    position: fixed;
    top: 0;
    left: 0;
    width: 8px;
    height: 8px;
    background-color: #38BDF8;
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
}

.cursor-aura {
    position: fixed;
    top: 0;
    left: 0;
    width: 40px;
    height: 40px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9998;
    transform: translate(-50%, -50%);
    transition: width 0.3s ease, height 0.3s ease, border-color 0.3s ease, background-color 0.3s ease, backdrop-filter 0.3s ease;
}

.cursor-aura.hover-active {
    width: 60px;
    height: 60px;
    border-color: #38BDF8;
    backdrop-filter: blur(2px);
    background-color: rgba(255, 255, 255, 0.05);
}

@media (max-width: 768px) {
    .cursor-dot, .cursor-aura {
        display: none;
    }
}

a {
    color: inherit;
    text-decoration: none;
    transition: color var(--transition-base);
}

ul {
    list-style: none;
}

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

/* ==========================================================================
   UTILITY CLASSES
   ========================================================================== */
.container {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
}

.section-padding {
    padding: var(--section-padding);
}

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

.mt-small { margin-top: 8px; }
.mt-extra { margin-top: 40px; }
.mb-extra { margin-bottom: 40px; }

/* Gradients & Glassmorphism */
.gradient-text {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

.glass-card {
    background: var(--card-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 32px;
    transition: transform var(--transition-base), 
                background var(--transition-base), 
                border-color var(--transition-base),
                box-shadow var(--transition-base);
}

.glass-card:hover {
    background: var(--card-bg-hover);
    border-color: var(--border-hover);
    transform: translateY(-5px);
    box-shadow: var(--shadow-card), inset 0 0 0 1px rgba(255,255,255,0.05);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all var(--transition-base);
    letter-spacing: 0.5px;
    border: none;
    outline: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: var(--bg-color);
}

.btn-primary:hover {
    box-shadow: var(--shadow-glow-primary);
    transform: scale(1.02);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    backdrop-filter: blur(8px);
    border: 1px solid var(--border);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: var(--primary);
    color: var(--primary);
}

.btn-outline {
    background: transparent;
    color: var(--white);
    border: 1px solid var(--border);
}

.btn-outline:hover {
    border-color: var(--primary);
    color: var(--primary);
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 64px;
}
.section-header.align-left {
    text-align: left;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    letter-spacing: -1px;
}

.header-line {
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    margin: 16px auto 0;
    border-radius: 2px;
}
.section-header.align-left .header-line {
    margin-left: 0;
}

/* ==========================================================================
   ANIMATED BACKGROUND EFFECTS (CSS ONLY)
   ========================================================================== */
.background-effects {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    overflow: hidden;
    pointer-events: none;
}

.glow-blob {
    position: absolute;
    filter: blur(120px);
    border-radius: 50%;
    opacity: 0.4;
    animation: float 20s infinite alternate cubic-bezier(0.4, 0, 0.2, 1);
}

.primary-blob {
    top: -10%;
    left: -10%;
    width: 50vw;
    height: 50vw;
    background: radial-gradient(circle, rgba(0,231,255,0.15) 0%, rgba(0,0,0,0) 70%);
}

.secondary-blob {
    bottom: -20%;
    right: -10%;
    width: 60vw;
    height: 60vw;
    background: radial-gradient(circle, rgba(124,92,255,0.15) 0%, rgba(0,0,0,0) 70%);
    animation-delay: -5s;
    animation-duration: 25s;
}

.accent-blob {
    top: 40%;
    left: 50%;
    width: 40vw;
    height: 40vw;
    background: radial-gradient(circle, rgba(74,222,128,0.1) 0%, rgba(0,0,0,0) 70%);
    animation-delay: -10s;
    transform: translateX(-50%);
}

.grid-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
    background-size: 50px 50px;
    opacity: 0.5;
    mask-image: radial-gradient(circle at center, black 40%, transparent 100%);
    -webkit-mask-image: radial-gradient(circle at center, black 40%, transparent 100%);
}

@keyframes float {
    0% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(5%, 5%) scale(1.1); }
    66% { transform: translate(-5%, 10%) scale(0.9); }
    100% { transform: translate(0, 0) scale(1); }
}

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

.fade-in-up {
    animation: fadeInUp 0.8s cubic-bezier(0.25, 1, 0.5, 1) forwards;
    opacity: 0;
}

/* ==========================================================================
   NAVIGATION
   ========================================================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--nav-height);
    background: rgba(7, 11, 20, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255,255,255,0.05);
    z-index: 1000;
    display: flex;
    align-items: center;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 2px;
}

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

.nav-link {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--muted);
    position: relative;
    padding: 8px 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    transform: scaleX(0);
    transform-origin: right;
    transition: transform var(--transition-base);
}

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

.nav-link:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

/* Mobile Menu Checkbox Hack */
.menu-checkbox {
    display: none;
}

.hamburger-menu {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 20px;
    cursor: pointer;
    z-index: 1001;
}

.hamburger-menu span {
    display: block;
    height: 2px;
    width: 100%;
    background-color: var(--white);
    border-radius: 2px;
    transition: var(--transition-base);
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: calc(var(--nav-height) + 40px);
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.subtitle {
    color: var(--primary);
    font-size: 1.1rem;
    font-weight: 500;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.hero h1 {
    font-size: 4rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 16px;
    letter-spacing: -2px;
}

.hero h2 {
    font-size: 2rem;
    font-weight: 500;
    color: var(--muted);
    margin-bottom: 24px;
}

.role-titles {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    font-size: 1.1rem;
    color: var(--white);
    margin-bottom: 32px;
    font-weight: 400;
}

.role-titles span {
    background: rgba(255, 255, 255, 0.05);
    padding: 6px 14px;
    border-radius: 20px;
    border: 1px solid var(--border);
}

.hero-description {
    font-size: 1.1rem;
    color: var(--muted);
    max-width: 540px;
    margin-bottom: 40px;
    line-height: 1.8;
}

.hero-actions {
    display: flex;
    gap: 16px;
    margin-bottom: 48px;
    flex-wrap: wrap;
}

.social-links {
    display: flex;
    gap: 20px;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--card-bg);
    border: 1px solid var(--border);
    color: var(--muted);
    transition: var(--transition-base);
}

.social-icon:hover {
    color: var(--primary);
    border-color: var(--primary);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,231,255,0.2);
}

.social-icon svg {
    width: 20px;
    height: 20px;
}

/* Hero Visual Placeholder */
.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.visual-wrapper {
    position: relative;
    width: 100%;
    max-width: 450px;
    aspect-ratio: 4/5;
}

.glowing-border {
    position: absolute;
    inset: -2px;
    background: conic-gradient(from 0deg, transparent, var(--primary), var(--secondary), transparent);
    border-radius: var(--radius-lg);
    animation: spin 10s linear infinite;
    opacity: 0.7;
    filter: blur(4px);
}

@keyframes spin {
    100% { transform: rotate(360deg); }
}

.profile-placeholder {
    position: absolute;
    inset: 0;
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: linear-gradient(145deg, rgba(255,255,255,0.05), rgba(255,255,255,0.01));
    z-index: 1;
}

.animated-circles .circle {
    position: absolute;
    border-radius: 50%;
    border: 1px solid var(--border);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.circle-1 {
    width: 250px;
    height: 250px;
    animation: pulse 4s infinite alternate;
}

.circle-2 {
    width: 400px;
    height: 400px;
    border-color: rgba(0, 231, 255, 0.2);
    animation: pulse 6s infinite alternate-reverse;
}

@keyframes pulse {
    0% { transform: translate(-50%, -50%) scale(1); opacity: 0.3; }
    100% { transform: translate(-50%, -50%) scale(1.1); opacity: 0.7; }
}

.profile-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--radius-lg);
    transition: transform var(--transition-base);
}

.profile-placeholder:hover .profile-image {
    transform: scale(1.05);
}

.placeholder-content {
    text-align: center;
    z-index: 2;
}

.avatar-icon svg {
    width: 80px;
    height: 80px;
    margin-bottom: 16px;
    filter: drop-shadow(0 0 10px rgba(0,231,255,0.5));
}

.visual-text {
    font-size: 1.2rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--muted);
    font-weight: 500;
}

.floating-badge {
    position: absolute;
    background: rgba(7, 11, 20, 0.8);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border);
    padding: 12px 24px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 0.9rem;
    z-index: 2;
    animation: float-badge 6s infinite ease-in-out;
}

.badge-top-right {
    top: 40px;
    right: -20px;
    color: var(--primary);
    box-shadow: 0 10px 20px rgba(0,0,0,0.3);
}

.badge-bottom-left {
    bottom: 40px;
    left: -20px;
    color: var(--accent);
    animation-delay: -3s;
    box-shadow: 0 10px 20px rgba(0,0,0,0.3);
}

@keyframes float-badge {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

/* ==========================================================================
   ABOUT SECTION
   ========================================================================== */
.about-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    font-size: 1.2rem;
    line-height: 2;
    color: var(--muted);
}

.about-content strong {
    color: var(--white);
    font-weight: 600;
}

.about-content p {
    margin-bottom: 24px;
}

.about-content p:last-child {
    margin-bottom: 0;
}

/* ==========================================================================
   SKILLS SECTION
   ========================================================================== */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 24px;
}

.skill-card {
    text-align: center;
    padding: 32px 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
}

.skill-card:hover .skill-icon {
    transform: scale(1.2) rotate(5deg);
    text-shadow: var(--shadow-glow-primary);
}

.skill-icon {
    font-size: 2.5rem;
    transition: var(--transition-base);
}

.skill-card h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--white);
}

.skill-card p {
    font-size: 0.9rem;
    color: var(--muted);
}

/* ==========================================================================
   SERVICES SECTION
   ========================================================================== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
}

.service-card {
    position: relative;
    overflow: hidden;
}

.service-icon {
    width: 48px;
    height: 48px;
    margin-bottom: 24px;
    background: rgba(255,255,255,0.05);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-icon svg {
    width: 24px;
    height: 24px;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 16px;
}

.service-card p {
    color: var(--muted);
    line-height: 1.7;
}

/* Hover glow effect */
.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.05), transparent);
    transform: skewX(-20deg);
    transition: var(--transition-slow);
}

.service-card:hover::before {
    left: 200%;
}

/* ==========================================================================
   PROJECTS SECTION
   ========================================================================== */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.project-card {
    padding: 0;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.project-image-placeholder {
    width: 100%;
    height: 280px;
    background: linear-gradient(135deg, rgba(0, 231, 255, 0.05), rgba(124, 92, 255, 0.05));
    border-bottom: 1px solid var(--border);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.wireframe-icon {
    font-size: 4rem;
    opacity: 0.5;
    transition: var(--transition-base);
}

.project-card:hover .wireframe-icon {
    transform: scale(1.1);
    opacity: 1;
}

.project-image-placeholder .overlay {
    position: absolute;
    inset: 0;
    background: rgba(7, 11, 20, 0.85);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    opacity: 0;
    transition: var(--transition-base);
}

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

.project-info {
    padding: 32px;
}

.project-info h3 {
    font-size: 1.5rem;
    margin-bottom: 16px;
}

.tech-stack {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.badge {
    font-size: 0.8rem;
    padding: 6px 12px;
    background: rgba(255,255,255,0.05);
    border: 1px solid var(--border);
    border-radius: 20px;
    color: var(--primary);
    font-family: monospace;
}

/* ==========================================================================
   JOURNEY & EDUCATION SECTION
   ========================================================================== */
.grid-2-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
}

.timeline {
    position: relative;
    padding-left: 32px;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 7px;
    width: 2px;
    background: linear-gradient(to bottom, var(--primary), var(--secondary), transparent);
}

.timeline-item {
    position: relative;
    margin-bottom: 40px;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-dot {
    position: absolute;
    left: -32px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--bg-color);
    border: 2px solid;
    z-index: 2;
}

.status-progress { border-color: var(--primary); box-shadow: 0 0 10px var(--primary); }
.status-learning { border-color: var(--accent); }
.status-improving { border-color: var(--secondary); }
.status-future { border-color: var(--muted); }
.primary-dot { border-color: var(--primary); background: var(--primary); box-shadow: var(--shadow-glow-primary); }

.timeline-content {
    padding: 24px;
}

.timeline-number {
    font-size: 2rem;
    font-weight: 700;
    color: rgba(255,255,255,0.05);
    position: absolute;
    top: -10px;
    right: 24px;
}

.timeline-content h3 {
    font-size: 1.25rem;
    margin-bottom: 12px;
}

.timeline-content h4 {
    font-size: 1.1rem;
    color: var(--white);
    margin-bottom: 8px;
    font-weight: 500;
}

.status-badge {
    display: inline-block;
    font-size: 0.8rem;
    padding: 4px 12px;
    border-radius: 12px;
    font-weight: 600;
}

.status-badge.progress { background: rgba(0, 231, 255, 0.1); color: var(--primary); }
.status-badge.learning { background: rgba(74, 222, 128, 0.1); color: var(--accent); }
.status-badge.improving { background: rgba(124, 92, 255, 0.1); color: var(--secondary); }
.status-badge.future { background: rgba(255, 255, 255, 0.1); color: var(--muted); }
.status-badge.current { background: rgba(0, 231, 255, 0.15); color: var(--primary); margin-top: 16px;}

.highlighted-card {
    border-color: rgba(0, 231, 255, 0.3);
    background: rgba(0, 231, 255, 0.02);
}

.certificates-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

.certificate-placeholder {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 24px;
    cursor: pointer;
}

.certificate-placeholder svg {
    width: 32px;
    height: 32px;
    color: var(--secondary);
}

.certificate-placeholder span {
    font-weight: 600;
    font-size: 1.1rem;
}

/* ==========================================================================
   PHILOSOPHY, TOOLS, GOALS
   ========================================================================== */
.philosophy-grid {
    gap: 48px;
}

.philosophy-block h3 {
    font-size: 1.5rem;
    margin-bottom: 24px;
    color: var(--white);
    display: flex;
    align-items: center;
    gap: 12px;
}

.philosophy-block h3::before {
    content: '';
    display: block;
    width: 8px;
    height: 8px;
    background: var(--primary);
    border-radius: 50%;
}

.tags-container {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.tag {
    padding: 10px 20px;
    font-size: 0.95rem;
}

.styled-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.styled-list li {
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 1.1rem;
}

.list-icon {
    font-size: 1.5rem;
}

.values-grid, .features-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.value-card, .feature-card {
    padding: 24px 16px;
    text-align: center;
    font-weight: 600;
}

.feature-card h4 {
    color: var(--primary);
}

/* ==========================================================================
   CONTACT SECTION
   ========================================================================== */
.contact-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 40px;
}

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

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-size: 0.9rem;
    color: var(--muted);
    font-weight: 500;
}

.glass-input {
    background: rgba(255,255,255,0.02);
    border: 1px solid var(--border);
    padding: 16px;
    border-radius: var(--radius-sm);
    color: var(--white);
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition-base);
    outline: none;
}

.glass-input:focus {
    border-color: var(--primary);
    background: rgba(255,255,255,0.05);
    box-shadow: 0 0 0 4px rgba(0,231,255,0.1);
}

.glass-input::placeholder {
    color: rgba(255,255,255,0.2);
}

.submit-btn {
    width: 100%;
    margin-top: 16px;
}

.form-success {
    text-align: center;
    padding: 40px;
    color: var(--accent);
}

.form-success h3 {
    font-size: 1.5rem;
    margin-bottom: 12px;
}

.form-success p {
    color: var(--muted);
}

.contact-socials {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    align-content: start;
}

.social-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    padding: 32px 16px;
}

.sc-icon svg {
    width: 32px;
    height: 32px;
    color: var(--muted);
    transition: var(--transition-base);
}

.social-card:hover .sc-icon svg {
    color: var(--primary);
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer {
    background: rgba(7, 11, 20, 0.95);
    border-top: 1px solid var(--border);
    padding: 80px 0 32px;
}

.footer-container {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 64px;
}

.footer-logo span {
    font-size: 2rem;
    font-weight: 700;
    letter-spacing: 2px;
}

.footer-links h4 {
    font-size: 1.1rem;
    margin-bottom: 24px;
    color: var(--white);
}

.footer-links nav {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links nav a {
    color: var(--muted);
}

.footer-links nav a:hover {
    color: var(--primary);
}

.footer-bottom {
    text-align: center;
    padding-top: 32px;
    border-top: 1px solid rgba(255,255,255,0.05);
    color: rgba(255,255,255,0.4);
    font-size: 0.9rem;
}

/* ==========================================================================
   RESPONSIVE DESIGN (MEDIA QUERIES)
   ========================================================================== */

/* Laptop / Small Desktop */
@media (max-width: 1024px) {
    .hero h1 { font-size: 3.5rem; }
    .hero-grid, .grid-2-col, .contact-grid {
        gap: 32px;
    }
}

/* Tablet */
@media (max-width: 768px) {
    .hero {
        text-align: center;
        padding-top: calc(var(--nav-height) + 20px);
    }
    
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 64px;
    }

    .hero-actions, .social-links, .role-titles {
        justify-content: center;
    }

    .hero-description {
        margin: 0 auto 40px;
    }

    .hero-visual {
        order: -1; /* Image on top for mobile */
    }

    .services-grid, .projects-grid, .grid-2-col, .contact-grid {
        grid-template-columns: 1fr;
    }

    .footer-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    /* Mobile Navigation via Checkbox Hack */
    .nav-links {
        position: fixed;
        top: var(--nav-height);
        left: 0;
        width: 100%;
        height: 0;
        background: rgba(7, 11, 20, 0.95);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        overflow: hidden;
        transition: height 0.4s cubic-bezier(0.25, 1, 0.5, 1);
        border-bottom: 1px solid transparent;
    }
    
    .nav-link {
        font-size: 1.5rem;
        padding: 16px;
    }

    .hamburger-menu {
        display: flex;
    }

    .menu-checkbox:checked ~ .nav-links {
        height: calc(100vh - var(--nav-height));
        border-bottom: 1px solid var(--border);
    }

    .menu-checkbox:checked ~ .hamburger-menu span:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }
    
    .menu-checkbox:checked ~ .hamburger-menu span:nth-child(2) {
        opacity: 0;
    }
    
    .menu-checkbox:checked ~ .hamburger-menu span:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }
}

/* Mobile */
@media (max-width: 480px) {
    .hero h1 { font-size: 2.5rem; }
    .hero h2 { font-size: 1.5rem; }
    
    .section-header h2 {
        font-size: 2rem;
    }

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

    .values-grid, .features-grid, .contact-socials {
        grid-template-columns: 1fr;
    }
    
    .visual-wrapper {
        max-width: 300px;
    }
    
    .btn {
        width: 100%;
    }
}