/* --- PREMIUM VARIABLE DEFINITIONS & CSS TOKENS --- */
:root {
    --bg-main: #050505;
    --text-primary: #ffffff;
    --text-secondary: #b0b0b5;
    --accent-cyan: #00f2fe;
    --accent-violet: #4facfe;
    
    /* Luxury Dark Ombre Gradients */
    --gradient-hero: linear-gradient(135deg, #130cb7 0%, #52057b 50%, #050505 100%);
    --gradient-text: linear-gradient(90deg, #ffffff 0%, #a2a2d0 50%, #00f2fe 100%);
    --gradient-glow: linear-gradient(180deg, rgba(79, 172, 254, 0.15), rgba(0, 242, 254, 0));
    
    /* Glassmorphism Standard Elements */
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.06);
    --glass-hover-border: rgba(0, 242, 254, 0.3);
    --glass-blur: blur(16px);
    
    --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
    --transition-premium: cubic-bezier(0.16, 1, 0.3, 1);
}

/* --- BASICS & SYSTEM RESET --- */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-main);
    color: var(--text-primary);
    font-family: var(--font-sans);
    overflow-x: hidden;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

section {
    position: relative;
    overflow: hidden;
}

.section-padding {
    padding: 10rem 0;
}

/* --- MOUSE HOVER GLOW ACCENT --- */
.mouse-glow {
    position: fixed;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(0, 242, 254, 0.08) 0%, rgba(79, 172, 254, 0) 70%);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
    transition: width 0.3s ease, height 0.3s ease;
}

/* --- ULTRA LOADER SCREENS --- */
.loader-reveal {
    position: fixed;
    inset: 0;
    background-color: var(--bg-main);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 1s var(--transition-premium);
}
.loader-reveal.loaded {
    transform: translateY(-100%);
}
.loader-content {
    text-align: center;
}
.loader-text {
    font-size: 2rem;
    font-weight: 800;
    letter-spacing: 0.5rem;
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: block;
    margin-bottom: 1.5rem;
}
.loader-bar {
    width: 200px;
    height: 2px;
    background: rgba(255,255,255,0.1);
    border-radius: 2px;
    overflow: hidden;
    margin: 0 auto;
}
.loader-progress {
    width: 0%;
    height: 100%;
    background: var(--accent-cyan);
    animation: loadProgress 2s var(--transition-premium) forwards;
}
@keyframes loadProgress {
    to { width: 100%; }
}

/* --- GLOBAL PREMIUM COMPONENTS & BUTTONS --- */
.text-gradient {
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    border-radius: 100px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.05rem;
    color: var(--accent-cyan);
    margin-bottom: 2rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    border-radius: 8px;
    font-family: var(--font-sans);
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.4s var(--transition-premium);
}
.btn-primary {
    background: linear-gradient(90deg, #4facfe 0%, #00f2fe 100%);
    color: #000000;
    border: none;
    box-shadow: 0 4px 20px rgba(0, 242, 254, 0.2);
}
.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(0, 242, 254, 0.4);
}
.btn-secondary {
    background: var(--glass-bg);
    color: var(--text-primary);
    border: 1px solid var(--glass-border);
    backdrop-filter: var(--glass-blur);
}
.btn-secondary:hover {
    background: rgba(255,255,255,0.08);
    border-color: var(--accent-cyan);
    transform: translateY(-3px);
}

.section-header {
    margin-bottom: 5rem;
}
.section-tag {
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.2rem;
    color: var(--accent-violet);
    display: block;
    margin-bottom: 1rem;
}
.section-title {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.2;
}

/* --- SCROLL REVEAL UTILITIES --- */
.reveal-up {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 1s var(--transition-premium), transform 1s var(--transition-premium);
}
.reveal-up.active {
    opacity: 1;
    transform: translateY(0);
}

/* --- NAVIGATION NAVIGATION BAR --- */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(5, 5, 5, 0.4);
    backdrop-filter: var(--glass-blur);
    border-bottom: 1px solid var(--glass-border);
    transition: background 0.3s ease;
}
.navbar.scrolled {
    background: rgba(5, 5, 5, 0.85);
}
.nav-container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 1.5rem 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-primary);
    text-decoration: none;
    letter-spacing: -0.05rem;
}
.logo span { color: var(--accent-cyan); }
.nav-menu {
    display: flex;
    gap: 2.5rem;
}
.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}
.nav-link:hover, .nav-link.active {
    color: var(--text-primary);
}
.nav-link::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-cyan);
    transition: width 0.3s ease;
}
.nav-link:hover::after, .nav-link.active::after {
    width: 100%;
}
.nav-cta-btn {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    padding: 0.6rem 1.5rem;
    border-radius: 100px;
    color: var(--text-primary);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.3s ease;
}
.nav-cta-btn:hover {
    border-color: var(--accent-cyan);
    background: rgba(0, 242, 254, 0.05);
}
.nav-btn-mobile { display: none; }
.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
}
.menu-toggle .bar {
    display: block;
    width: 25px;
    height: 2px;
    margin: 5px 0;
    background: var(--text-primary);
    transition: all 0.3s ease;
}

/* --- 1. HERO SECTION --- */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 8rem;
}
.hero-bg-gradients {
    position: absolute;
    inset: 0;
    z-index: -2;
}
.gradient-sphere {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.4;
    animation: floatShape 8s ease-in-out infinite alternate;
}
.blob-1 {
    top: -10%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: #52057b;
}
.blob-2 {
    bottom: -10%;
    left: -10%;
    width: 500px;
    height: 500px;
    background: #130cb7;
}
@keyframes floatShape {
    0% { transform: translateY(0) scale(1); }
    100% { transform: translateY(40px) scale(1.1); }
}
.particles-container {
    position: absolute;
    inset: 0;
    z-index: -1;
    pointer-events: none;
}
.particle {
    position: absolute;
    background: rgba(0, 242, 254, 0.4);
    border-radius: 50%;
    animation: fly 12s linear infinite;
}
@keyframes fly {
    0% { transform: translateY(100vh) scale(0); opacity: 0; }
    50% { opacity: 0.8; }
    100% { transform: translateY(-10vh) scale(1); opacity: 0; }
}
.hero-container {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 4rem;
    align-items: center;
}
.hero-title {
    font-size: 4.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}
.hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 3rem;
    max-width: 600px;
}
.hero-actions {
    display: flex;
    gap: 1.5rem;
}
.hero-image-wrapper {
    position: relative;
    justify-self: center;
}
.hero-image-frame {
    width: 380px;
    height: 480px;
    border-radius: 24px;
    overflow: hidden;
    border: 1px solid var(--glass-border);
    position: relative;
    z-index: 2;
}
.hero-image-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(20%);
    transition: transform 0.5s var(--transition-premium);
}
.hero-image-wrapper:hover .hero-image-frame img {
    transform: scale(1.04);
}
.hero-image-glow {
    position: absolute;
    inset: -20px;
    background: radial-gradient(circle, rgba(0,242,254,0.2) 0%, rgba(0,0,0,0) 70%);
    z-index: 1;
}
.scroll-down {
    position: absolute;
    bottom: 3rem;
    left: 50%;
    transform: translateX(-50%);
    color: var(--text-secondary);
}
.mouse-icon {
    width: 26px;
    height: 42px;
    border: 2px solid var(--text-secondary);
    border-radius: 50px;
    position: relative;
    display: flex;
    justify-content: center;
}
.wheel {
    width: 4px;
    height: 8px;
    background-color: var(--accent-cyan);
    border-radius: 50%;
    position: absolute;
    top: 8px;
    animation: scrollWheel 1.5s ease-in-out infinite;
}
@keyframes scrollWheel {
    0% { transform: translateY(0); opacity: 1; }
    100% { transform: translateY(14px); opacity: 0; }
}

/* --- 2. ABOUT SECTION --- */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
}
.lead-text {
    font-size: 1.5rem;
    color: var(--text-primary);
    font-weight: 500;
    margin-bottom: 2rem;
}
.about-text p:not(.lead-text) {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}
.about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}
.stat-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: var(--glass-blur);
    padding: 2.5rem 1.5rem;
    border-radius: 16px;
    text-align: center;
    transition: border-color 0.4s ease;
}
.stat-card:hover {
    border-color: var(--glass-hover-border);
}
.stat-number {
    font-size: 3rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}
.stat-label {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.1rem;
    color: var(--text-secondary);
}

/* --- 3. SERVICES SECTION --- */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2rem;
}
.service-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: var(--glass-blur);
    padding: 3.5rem 2.5rem;
    border-radius: 20px;
    transition: all 0.4s var(--transition-premium);
    position: relative;
}
.service-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 20px;
    background: var(--gradient-glow);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}
.service-card:hover {
    transform: translateY(-10px);
    border-color: var(--glass-hover-border);
}
.service-card:hover::before { opacity: 1; }
.service-icon {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.service-card h3 {
    font-size: 1.35rem;
    margin-bottom: 1rem;
}
.service-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* --- 4. SKILLS SECTION --- */
.skills-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}
.skills-column h3 {
    font-size: 1.5rem;
    margin-bottom: 2.5rem;
    border-bottom: 1px solid var(--glass-border);
    padding-bottom: 0.75rem;
}
.skill-item {
    margin-bottom: 2rem;
}
.skill-info {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.75rem;
    font-size: 0.95rem;
    color: var(--text-secondary);
}
.skill-bar {
    width: 100%;
    height: 6px;
    background: rgba(255,255,255,0.05);
    border-radius: 10px;
    overflow: hidden;
}
.skill-fill {
    height: 100%;
    width: 0%; /* Populated dynamically */
    background: linear-gradient(90deg, #4facfe 0%, #00f2fe 100%);
    border-radius: 10px;
    transition: width 1.5s var(--transition-premium);
}

/* --- 5. PORTFOLIO SECTION --- */
.portfolio-filters {
    display: flex;
    gap: 1rem;
    margin-bottom: 4rem;
}
.filter-btn {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    padding: 0.75rem 1.75rem;
    border-radius: 100px;
    color: var(--text-secondary);
    cursor: pointer;
    font-family: var(--font-sans);
    font-weight: 500;
    transition: all 0.3s ease;
}
.filter-btn:hover, .filter-btn.active {
    color: var(--text-primary);
    border-color: var(--accent-cyan);
    background: rgba(0,242,254,0.05);
}
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2.5rem;
}
.portfolio-item {
    display: block;
    transition: all 0.5s var(--transition-premium);
}
.project-card {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid var(--glass-border);
    aspect-ratio: 4/3;
}
.project-img {
    width: 100%;
    height: 100%;
}
.project-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s var(--transition-premium);
}
.project-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(5,5,5,0.95) 0%, rgba(5,5,5,0.4) 60%, rgba(5,5,5,0) 100%);
    display: flex;
    align-items: flex-end;
    padding: 3rem;
    opacity: 0;
    transition: opacity 0.4s ease;
}
.project-card:hover .project-img img {
    transform: scale(1.08);
}
.project-card:hover .project-overlay {
    opacity: 1;
}
.project-cat {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--accent-cyan);
    letter-spacing: 0.1rem;
    display: block;
    margin-bottom: 0.5rem;
}
.project-meta h3 {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}
.project-meta p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    max-width: 400px;
}

/* --- MODAL DIALOGS FOR PORTFOLIO DETAILS --- */
.project-modal {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
    padding: 2rem;
}
.project-modal.open {
    opacity: 1;
    pointer-events: auto;
}
.modal-overlay {
    position: absolute;
    inset: 0;
    background: rgba(5,5,5,0.8);
    backdrop-filter: blur(10px);
}
.modal-window {
    background: #0f0f15;
    border: 1px solid var(--glass-border);
    max-width: 800px;
    width: 100%;
    max-height: 85vh;
    border-radius: 24px;
    position: relative;
    z-index: 2;
    overflow-y: auto;
    transform: translateY(30px);
    transition: transform 0.4s var(--transition-premium);
}
.project-modal.open .modal-window {
    transform: translateY(0);
}
.modal-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: border-color 0.3s;
    z-index: 10;
}
.modal-close:hover { border-color: var(--accent-cyan); }
.modal-body { padding: 3rem; }
.modal-body img {
    width: 100%;
    border-radius: 14px;
    margin-bottom: 2rem;
}
.modal-body h2 { font-size: 2.2rem; margin-bottom: 1rem; }
.modal-body p { color: var(--text-secondary); margin-bottom: 1.5rem; line-height: 1.8; }

/* --- 6. TESTIMONIALS SECTION --- */
.testimonial-slider-wrapper {
    position: relative;
    overflow: hidden;
    padding: 2rem 0;
}
.testimonial-carousel {
    display: flex;
    gap: 2rem;
    transition: transform 0.6s var(--transition-premium);
}
.testimonial-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: var(--glass-blur);
    padding: 3.5rem;
    border-radius: 24px;
    min-width: calc(50% - 1rem);
    flex-shrink: 0;
}
.stars { color: #ffc107; margin-bottom: 1.5rem; font-size: 0.9rem; }
.testimonial-text {
    font-size: 1.2rem;
    font-style: italic;
    color: var(--text-primary);
    margin-bottom: 2.5rem;
    line-height: 1.7;
}
.testimonial-user {
    display: flex;
    align-items: center;
    gap: 1.25rem;
}
.user-avatar {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid var(--glass-border);
}
.user-avatar img { width: 100%; height: 100%; object-fit: cover; }
.user-info h4 { font-size: 1.05rem; margin-bottom: 0.25rem; }
.user-info span { font-size: 0.85rem; color: var(--text-secondary); }
.slider-controls {
    display: flex;
    gap: 1rem;
    margin-top: 3rem;
    justify-content: flex-end;
}
.slider-btn {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}
.slider-btn:hover {
    border-color: var(--accent-cyan);
    background: rgba(0,242,254,0.05);
}

/* --- 7. PROCESS PIPELINE SECTION --- */
.timeline {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
}
.timeline-bar {
    position: absolute;
    left: 31px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, var(--accent-violet), var(--accent-cyan), rgba(255,255,255,0.05));
}
.timeline-item {
    position: relative;
    padding-left: 6rem;
    margin-bottom: 5rem;
}
.timeline-item:last-child { margin-bottom: 0; }
.timeline-dot {
    position: absolute;
    left: 20px;
    top: 0;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--bg-main);
    border: 4px solid var(--accent-cyan);
    box-shadow: 0 0 15px var(--accent-cyan);
    z-index: 2;
}
.timeline-content {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: var(--glass-blur);
    padding: 3rem;
    border-radius: 20px;
    position: relative;
}
.step-num {
    position: absolute;
    top: 2rem;
    right: 3rem;
    font-size: 3rem;
    font-weight: 800;
    opacity: 0.05;
    color: white;
}
.timeline-content h3 { font-size: 1.5rem; margin-bottom: 1rem; }
.timeline-content p { color: var(--text-secondary); line-height: 1.7; }

/* --- 8. CONTACT FORMULARY SECTION --- */
.contact-container {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 6rem;
}
.contact-info h2 { margin-bottom: 2rem; }
.contact-info p { color: var(--text-secondary); margin-bottom: 4rem; }
.contact-links { margin-bottom: 4rem; }
.contact-link-item {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
}
.contact-link-item .icon {
    width: 50px;
    height: 50px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    color: var(--accent-cyan);
}
.contact-link-item span {
    display: block;
    font-size: 0.8rem;
    text-transform: uppercase;
    color: var(--text-secondary);
    letter-spacing: 0.05rem;
}
.contact-link-item a, .contact-link-item p {
    font-size: 1.1rem;
    color: var(--text-primary);
    text-decoration: none;
    margin: 0;
}
.social-icons { display: flex; gap: 1rem; }
.social-icons a {
    width: 46px;
    height: 46px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    text-decoration: none;
    transition: all 0.3s;
}
.social-icons a:hover {
    color: var(--text-primary);
    border-color: var(--accent-cyan);
    transform: translateY(-3px);
}
.premium-form {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: var(--glass-blur);
    padding: 4rem;
    border-radius: 24px;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
.input-group {
    position: relative;
    margin-bottom: 2.5rem;
}
.input-group input, .input-group textarea {
    width: 100%;
    background: transparent;
    border: none;
    border-bottom: 1px solid var(--glass-border);
    padding: 0.75rem 0;
    font-family: var(--font-sans);
    font-size: 1rem;
    color: white;
    transition: border-color 0.3s;
}
.input-group textarea { resize: none; }
.input-group label {
    position: absolute;
    left: 0;
    top: 0.75rem;
    color: var(--text-secondary);
    pointer-events: none;
    transition: all 0.3s ease;
}
.input-group input:focus, .input-group textarea:focus {
    outline: none;
    border-bottom-color: var(--accent-cyan);
}
/* Premium Label Elevation Mechanism */
.input-group input:focus ~ label,
.input-group input:not(:placeholder-shown) ~ label,
.input-group textarea:focus ~ label,
.input-group textarea:not(:placeholder-shown) ~ label {
    top: -1.25rem;
    font-size: 0.8rem;
    color: var(--accent-cyan);
}
.form-submit-btn { width: 100%; justify-content: center; border: none; }

/* --- 9. PREMIUM FOOTER ENGINE --- */
.premium-footer {
    border-top: 1px solid var(--glass-border);
    padding: 4rem 0;
}
.footer-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.footer-left p { font-size: 0.9rem; color: var(--text-secondary); margin-top: 1rem; }
.footer-right { display: flex; align-items: center; gap: 3rem; }
.footer-nav { display: flex; gap: 2rem; }
.footer-nav a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s;
}
.footer-nav a:hover { color: var(--text-primary); }
.back-to-top {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    color: white;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}
.back-to-top:hover { border-color: var(--accent-cyan); transform: translateY(-3px); }

/* --- RESPONSIVE CORE MEDIA QUERIES --- */
@media (max-width: 1024px) {
    .hero-container, .about-grid, .skills-grid, .contact-container {
        grid-template-columns: 1fr;
        gap: 4rem;
    }
    .hero-content { text-align: center; }
    .hero-actions { justify-content: center; }
    .hero-subtitle { margin-inline: auto; }
    .hero-image-wrapper { order: -1; }
    .testimonial-card { min-width: 100%; }
}

@media (max-width: 768px) {
    .section-padding { padding: 6rem 0; }
    .hero-title { font-size: 3rem; }
    .section-title { font-size: 2.25rem; }
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        height: 100vh;
        background: #09090e;
        flex-direction: column;
        padding: 8rem 3rem;
        transition: right 0.5s var(--transition-premium);
    }
    .nav-menu.active { right: 0; }
    .menu-toggle { display: block; z-index: 1001; }
    .menu-toggle.active .bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
    .menu-toggle.active .bar:nth-child(2) { opacity: 0; }
    .menu-toggle.active .bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
    .nav-cta-btn { display: none; }
    .nav-btn-mobile { display: block; margin-top: 2rem; }
    .form-row { grid-template-columns: 1fr; gap: 0; }
    .premium-form { padding: 2.5rem 1.5rem; }
    .footer-container { flex-direction: column; gap: 2rem; text-align: center; }
    .footer-right { flex-direction: column; gap: 2rem; }
}