/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Dark theme - default */
    --background: hsl(220, 25%, 6%);
    --foreground: hsl(180, 100%, 95%);
    --primary: hsl(180, 100%, 50%);
    --secondary: hsl(280, 60%, 55%);
    --muted: hsl(180, 30%, 65%);
    --card-bg: hsl(220, 20%, 10%);
    --border: hsl(220, 20%, 20%);
    --glass-bg: rgba(15, 18, 25, 0.1);
    --glass-strong: rgba(15, 18, 25, 0.98);
    --shadow-color: rgba(0, 0, 0, 0.5);
}

html[data-theme="light"] {
    --background: hsl(210, 40%, 96%);
    --foreground: hsl(222, 47%, 20%);
    --primary: hsl(199, 89%, 48%);
    --secondary: hsl(262, 55%, 52%);
    --muted: hsl(222, 20%, 40%);
    --card-bg: hsl(0, 0%, 100%);
    --border: hsl(210, 30%, 85%);
    --glass-bg: rgba(255, 255, 255, 0.85);
    --glass-strong: rgba(255, 255, 255, 0.98);
    --shadow-color: rgba(15, 18, 25, 0.15);
}

html {
    overflow-x: hidden;
    width: 100%;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--background);
    color: var(--foreground);
    line-height: 1.6;
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
    transition: background-color 0.3s ease, color 0.3s ease;
}

a {
    text-decoration: none;
}

a:hover {
    text-decoration: none;
}

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

/* Background Effects */
.background-effects {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
    width: 100%;
    max-width: 100vw;
}

.glow-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    --parallax-y: 0px;
    transform: translate3d(0, var(--parallax-y), 0);
    transition: transform 0.2s linear;
}

.glow-orb-1 {
    top: 5rem;
    left: 5rem;
    width: 24rem;
    height: 24rem;
    background: var(--primary);
    opacity: 0.2;
}

.glow-orb-2 {
    bottom: 5rem;
    right: 5rem;
    width: 24rem;
    height: 24rem;
    background: var(--secondary);
    opacity: 0.2;
}

.glow-orb-3 {
    top: 50%;
    left: 50%;
    width: 24rem;
    height: 24rem;
    background: var(--primary);
    opacity: 0.1;
    transform: translate(-50%, -50%) translate3d(0, var(--parallax-y), 0);
}

@media (max-width: 768px) {
    .glow-orb-1 {
        left: -10rem;
    }
    
    .glow-orb-2 {
        right: -10rem;
    }
    
    .glow-orb-3 {
        width: 18rem;
        height: 18rem;
    }
}

.cyber-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(90deg, rgba(0, 255, 255, 0.05) 1px, transparent 1px),
        linear-gradient(0deg, rgba(0, 255, 255, 0.05) 1px, transparent 1px);
    background-size: 120px 120px;
    transform: perspective(800px) rotateX(70deg);
    transform-origin: top;
    opacity: 0.4;
}

.parallax-lines {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.parallax-line {
    position: absolute;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(0, 255, 255, 0.5), transparent);
    opacity: 0.4;
    --parallax-y: 0px;
    transform: translate3d(0, var(--parallax-y), 0);
}

.parallax-line:nth-child(1) {
    top: 15%;
}
.parallax-line:nth-child(2) {
    top: 35%;
}
.parallax-line:nth-child(3) {
    top: 55%;
}
.parallax-line:nth-child(4) {
    top: 75%;
}

/* Animations */
@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-20px);
    }
}

@keyframes glow {
    0%, 100% {
        opacity: 0.1;
    }
    50% {
        opacity: 0.05;
    }
}

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

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

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

@keyframes pulse-ring {
    0% {
        transform: scale(1);
        opacity: 0.8;
    }
    70% {
        transform: scale(1.45);
        opacity: 0;
    }
    100% {
        transform: scale(1.65);
        opacity: 0;
    }
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 50;
    backdrop-filter: none; /* keep navbar fully transparent */
    background: transparent;
    border-bottom: none;
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    position: relative;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.theme-toggle {
    position: relative;
    width: 2.75rem;
    height: 2.75rem;
    border-radius: 999px;
    border: 1px solid var(--border);
    background: var(--glass-bg);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.3s ease, border-color 0.3s ease, color 0.3s ease;
    color: var(--foreground);
}

.theme-toggle:hover {
    border-color: var(--primary);
}

.theme-toggle__icon {
    position: absolute;
    width: 1.35rem;
    height: 1.35rem;
    opacity: 0;
    transform: scale(0.8);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.theme-toggle__icon svg {
    width: 100%;
    height: 100%;
}

.theme-toggle__icon--moon {
    opacity: 1;
    transform: scale(1);
}

html[data-theme="light"] .theme-toggle__icon--moon {
    opacity: 0;
    transform: scale(0.8);
}

html[data-theme="light"] .theme-toggle__icon--sun {
    opacity: 1;
    transform: scale(1);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    position: absolute;
    top: 100%;
    right: 0;
    background: var(--glass-strong);
    backdrop-filter: blur(12px);
    border: 1px solid var(--border);
    border-radius: 0.5rem;
    padding: 1rem;
    flex-direction: column;
    align-items: flex-start;
    min-width: 200px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    margin-top: 0.5rem;
    box-shadow: 0 4px 20px var(--shadow-color);
    z-index: 1000;
}

.nav-links.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.nav-links .nav-link {
    width: 100%;
    padding: 0.75rem 1rem;
    border-radius: 0.375rem;
    transition: all 0.3s;
}

.nav-links .nav-link:hover {
    background: rgba(0, 255, 255, 0.1);
}

.nav-link {
    color: var(--muted);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: color 0.3s;
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    padding: 0;
    margin: 0;
    border-radius: 999px;
    position: relative;
}

.logo-icon-stack {
    position: relative;
    width: 3.25rem;
    height: 3.25rem;
    margin: 0;
    padding: 0;
}

.logo-icon {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.logo-icon--default {
    opacity: 1;
}

.logo-icon--sticky {
    opacity: 0;
    transform: translateY(6px);
}

.logo-wordmark {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
    margin: 0;
    padding: 0;
}

.logo-wordmark__title {
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.logo-wordmark__subtitle {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.24em;
    color: var(--muted);
}

.navbar--scrolled {
    background: transparent;
    border-bottom-color: transparent;
}

.navbar--scrolled .logo-icon--default {
    opacity: 0;
    transform: translateY(-6px) scale(0.96);
}

.navbar--scrolled .logo-icon--sticky {
    opacity: 1;
    transform: translateY(0);
}

.navbar--scrolled .logo-wordmark__title {
    -webkit-text-fill-color: var(--foreground);
    color: var(--foreground);
}

.navbar--scrolled .logo-wordmark__subtitle {
    color: var(--foreground);
    opacity: 0.7;
}

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

.social-link {
    width: 2.5rem;
    height: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--foreground);
    transition: color 0.3s;
}

.social-link:hover {
    color: var(--primary);
}

.social-link svg {
    width: 1.25rem;
    height: 1.25rem;
}

/* Hero Section */
.hero-section {
    min-height: 100vh;
    padding: calc(6rem + 80px) 1.5rem 4rem;
    position: relative;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: visible;
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 2.5rem;
    width: 100%;
    max-width: 960px;
    margin: 0 auto;
    animation: slideUp 0.6s ease-out;
    padding: 0 1rem;
    box-sizing: border-box;
    overflow: visible;
}

.photo-wrapper {
    position: relative;
    width: 18.75rem;
    max-width: 100%;
    overflow: visible;
}

@media (min-width: 1024px) {
    .photo-wrapper {
        transform: translateY(-2.5rem);
    }
}

/* Orbital Animation */
.orbital-container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 45rem;
    height: 45rem;
    pointer-events: none;
    max-width: calc(100vw - 2rem);
    overflow: visible;
}

.orbital-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 40rem;
    height: 40rem;
    border: 1px solid rgba(0, 255, 255, 0.1);
    border-radius: 50%;
    animation: rotate 20s linear infinite;
}

.orbital-node {
    position: absolute;
    width: 3rem;
    height: auto;
    top: 50%;
    left: 50%;
    transform-origin: center center;
    pointer-events: auto;
    cursor: pointer;
    transition: opacity 0.3s ease, z-index 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    min-height: 5rem;
}

.orbital-node-icon {
    width: 3rem;
    height: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 255, 255, 0.1);
    border: 2px solid rgba(0, 255, 255, 0.4);
    border-radius: 50%;
    color: var(--primary);
    transition: all 0.3s ease;
    backdrop-filter: blur(4px);
    flex-shrink: 0;
}

.orbital-node-icon svg {
    width: 1.25rem;
    height: 1.25rem;
}

.orbital-node-label {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--foreground);
    text-align: center;
    white-space: nowrap;
    padding: 0.25rem 0.5rem;
    background: rgba(0, 0, 0, 0.85);
    border: 1px solid rgba(0, 255, 255, 0.4);
    border-radius: 0.375rem;
    backdrop-filter: blur(8px);
    opacity: 1;
    transition: all 0.3s ease;
    pointer-events: none;
    text-shadow: 0 0 10px rgba(0, 255, 255, 0.5);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

.orbital-node:hover .orbital-node-icon {
    background: rgba(0, 255, 255, 0.2);
    border-color: var(--primary);
    box-shadow: 0 0 20px rgba(0, 255, 255, 0.5);
    transform: scale(1.2);
}

.orbital-node:hover .orbital-node-label {
    opacity: 1;
    background: rgba(0, 0, 0, 0.8);
    border-color: var(--primary);
    box-shadow: 0 0 15px rgba(0, 255, 255, 0.3);
    transform: scale(1.05);
}

@keyframes rotate {
    from {
        transform: translate(-50%, -50%) rotate(0deg);
    }
    to {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

.orbital-container.paused .orbital-ring,
.orbital-container.paused .orbital-node {
    animation-play-state: paused;
}

.photo-glow {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 50%;
    filter: blur(40px);
    opacity: 0.75;
    animation: glow 3s ease-in-out infinite;
}

.photo-container {
    position: relative;
    width: 18.75rem;
    height: 18.75rem;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid rgba(0, 255, 255, 0.5);
    box-shadow: 0 0 60px rgba(0, 255, 255, 0.3);
}

.photo-container::before,
.photo-container::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 2px solid rgba(0, 255, 255, 0.35);
    animation: pulse-ring 3s ease-out infinite;
    z-index: -1;
    pointer-events: none;
}

.photo-container::after {
    animation-delay: 1.5s;
    border-color: rgba(168, 85, 247, 0.4);
}

.developer-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.name-section {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.main-title {
    font-size: clamp(3.5rem, 6vw, 4.75rem);
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary), var(--secondary), var(--primary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.subtitle {
    font-size: 1.75rem;
    color: var(--muted);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.sparkle-icon {
    width: 1.5rem;
    height: 1.5rem;
    color: var(--primary);
}

/* Tech Stack */
.tech-stack {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    max-width: 52rem;
    width: 100%;
    padding: 0 1rem;
    box-sizing: border-box;
}

.tech-tag {
    padding: 0.5rem 1rem;
    border-radius: 9999px;
    background: var(--card-bg);
    border: 1px solid rgba(0, 255, 255, 0.3);
    color: var(--foreground);
    transition: all 0.3s;
    cursor: default;
    backdrop-filter: blur(4px);
}

.tech-tag:hover {
    border-color: var(--primary);
    box-shadow: 0 0 20px rgba(0, 255, 255, 0.3);
}

/* Buttons */
.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1.25rem;
    padding-top: 1rem;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.btn {
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    font-weight: 600;
    font-size: 1rem;
    border: none;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

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

.btn-primary:hover {
    box-shadow: 0 0 30px rgba(0, 255, 255, 0.5);
    transform: translateY(-2px);
}

.btn-secondary {
    background: transparent;
    border: 1px solid rgba(0, 255, 255, 0.5);
    color: var(--foreground);
}

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

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.125rem;
}

.btn-icon {
    width: 1.25rem;
    height: 1.25rem;
}

/* Projects Section */
.projects-section {
    padding: 5rem 1.5rem;
    position: relative;
    z-index: 10;
}

.about-section,
.services-section,
.process-section,
.testimonials-section {
    padding: 5rem 1.5rem;
    position: relative;
    z-index: 10;
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    align-items: start;
}

.about-text {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.about-lead {
    font-size: 1.125rem;
    color: var(--foreground);
    line-height: 1.8;
}

.about-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    color: var(--muted);
}

.about-list li {
    position: relative;
    padding-left: 1.5rem;
}

.about-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.65rem;
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 1rem;
}

.stat-card {
    padding: 1.25rem;
    background: rgba(26, 32, 44, 0.5);
    border: 1px solid var(--border);
    border-radius: 0.75rem;
    text-align: center;
    backdrop-filter: blur(6px);
}

.stat-value {
    font-size: 2rem;
    font-weight: 700;
    color: var(--foreground);
}

.stat-label {
    display: block;
    margin-top: 0.5rem;
    color: var(--muted);
    font-size: 0.9rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
}

.service-card {
    padding: 2rem;
    background: rgba(26, 32, 44, 0.4);
    border: 1px solid var(--border);
    border-radius: 1rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    backdrop-filter: blur(4px);
}

.service-card h3 {
    font-size: 1.25rem;
}

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

.service-card ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    color: var(--foreground);
}

.service-card li {
    position: relative;
    padding-left: 1.25rem;
}

.service-card li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--primary);
}

.service-card .btn {
    margin-top: auto;
    width: 100%;
    justify-content: center;
    text-align: center;
}

.process-timeline {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
}

.process-step {
    padding: 2rem 1.5rem;
    border: 1px solid var(--border);
    border-radius: 1rem;
    background: rgba(26, 32, 44, 0.35);
}

.step-number {
    display: inline-flex;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 0.75rem;
    align-items: center;
    justify-content: center;
    background: rgba(0, 255, 255, 0.1);
    border: 1px solid rgba(0, 255, 255, 0.4);
    margin-bottom: 1rem;
    font-weight: 600;
    color: var(--primary);
}

.process-step p {
    color: var(--muted);
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
}

.testimonial-card {
    padding: 2rem;
    border-radius: 1rem;
    background: rgba(26, 32, 44, 0.4);
    border: 1px solid var(--border);
    backdrop-filter: blur(4px);
}

.testimonial-text {
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
    color: var(--foreground);
}

.testimonial-author {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.author-name {
    font-weight: 600;
}

.author-role {
    color: var(--muted);
    font-size: 0.9rem;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
    animation: slideUp 0.6s ease-out;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-subtitle {
    color: var(--muted);
    font-size: 1.125rem;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    align-items: stretch;
}

.project-card {
    padding: 1.5rem;
    background: rgba(26, 32, 44, 0.5);
    backdrop-filter: blur(4px);
    border: 1px solid var(--border);
    border-radius: 0.75rem;
    transition: all 0.3s;
    animation: scaleIn 0.6s ease-out;
    display: flex;
    flex-direction: column;
}

.project-card:hover {
    border-color: rgba(0, 255, 255, 0.5);
    box-shadow: 0 0 30px rgba(0, 255, 255, 0.2);
    transform: translateY(-4px);
}

.project-accent {
    height: 0.5rem;
    width: 4rem;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 9999px;
    margin-bottom: 1rem;
}

.project-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
    transition: color 0.3s;
}

.project-card:hover .project-title {
    color: var(--primary);
}

.project-description {
    color: var(--muted);
    font-size: 0.875rem;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.project-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    padding-top: 0.5rem;
    margin-top: auto;
}

.project-tag {
    font-size: 0.75rem;
    padding: 0.25rem 0.5rem;
    border-radius: 0.375rem;
    background: rgba(0, 255, 255, 0.1);
    color: var(--primary);
    border: 1px solid rgba(0, 255, 255, 0.2);
}

/* Contact Section */
.contact-section {
    padding: 5rem 1.5rem;
    position: relative;
    z-index: 10;
}

.contact-card {
    padding: 3rem;
    background: rgba(26, 32, 44, 0.3);
    backdrop-filter: blur(4px);
    border: 1px solid rgba(0, 255, 255, 0.3);
    border-radius: 1rem;
    position: relative;
    overflow: hidden;
    animation: slideUp 0.6s ease-out;
}

.contact-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0, 255, 255, 0.05), rgba(168, 85, 247, 0.05));
}

.contact-content {
    position: relative;
    z-index: 10;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1rem;
    text-align: left;
}

.contact-item {
    padding: 1rem;
    border-radius: 0.75rem;
    background: rgba(15, 18, 25, 0.4);
    border: 1px solid rgba(0, 255, 255, 0.1);
}

.contact-label {
    display: block;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--muted);
    margin-bottom: 0.25rem;
}

.contact-item a {
    color: var(--foreground);
    text-decoration: none;
}

.contact-title {
    font-size: 2.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    word-break: break-word;
    hyphens: auto;
    line-height: 1.2;
}

.contact-description {
    color: var(--muted);
    font-size: 1.125rem;
    max-width: 42rem;
    margin: 0 auto;
}

.contact-button-wrapper {
    display: flex;
    justify-content: center;
    padding-top: 1rem;
}

/* Light Theme Adjustments */
html[data-theme="light"] .background-effects {
    opacity: 0.8;
}

html[data-theme="light"] .glow-orb {
    filter: blur(180px);
    opacity: 0.3;
}

html[data-theme="light"] .cyber-grid {
    background-image:
        linear-gradient(90deg, rgba(13, 71, 161, 0.08) 1px, transparent 1px),
        linear-gradient(0deg, rgba(13, 71, 161, 0.08) 1px, transparent 1px);
    opacity: 0.5;
}

html[data-theme="light"] .parallax-line {
    background: linear-gradient(90deg, transparent, rgba(13, 110, 253, 0.35), transparent);
    opacity: 0.35;
}

html[data-theme="light"] .orbital-ring {
    border-color: rgba(13, 110, 253, 0.2);
}

html[data-theme="light"] .orbital-node-label {
    background: rgba(255, 255, 255, 0.9);
    border-color: rgba(13, 110, 253, 0.25);
    text-shadow: none;
    box-shadow: 0 4px 14px rgba(15, 18, 25, 0.15);
}

html[data-theme="light"] .orbital-node:hover .orbital-node-label {
    background: rgba(255, 255, 255, 0.95);
}

html[data-theme="light"] .photo-container {
    border-color: rgba(13, 110, 253, 0.35);
    box-shadow: 0 0 45px rgba(13, 110, 253, 0.35);
}

html[data-theme="light"] .tech-tag {
    border-color: rgba(13, 110, 253, 0.25);
    box-shadow: 0 12px 35px rgba(15, 18, 25, 0.08);
}

html[data-theme="light"] .btn-secondary:hover {
    background: rgba(13, 110, 253, 0.1);
}

html[data-theme="light"] .stat-card,
html[data-theme="light"] .service-card,
html[data-theme="light"] .process-step,
html[data-theme="light"] .testimonial-card,
html[data-theme="light"] .project-card,
html[data-theme="light"] .contact-item {
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 20px 45px rgba(15, 18, 25, 0.1);
    border-color: var(--border);
}

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

.footer-content {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
    text-align: center;
}

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

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

.footer-link {
    color: var(--muted);
    text-decoration: none;
    font-size: 0.875rem;
    transition: color 0.3s;
}

.footer-link:hover {
    color: var(--primary);
}

/* Menu Toggle Button */
.menu-toggle {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    width: 2rem;
    height: 2rem;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 100;
    position: relative;
}

.menu-toggle-line {
    width: 100%;
    height: 2px;
    background: var(--foreground);
    border-radius: 2px;
    transition: all 0.3s ease;
    transform-origin: center;
}

.menu-toggle[aria-expanded="true"] .menu-toggle-line:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.menu-toggle[aria-expanded="true"] .menu-toggle-line:nth-child(2) {
    opacity: 0;
}

.menu-toggle[aria-expanded="true"] .menu-toggle-line:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

.menu-toggle:hover .menu-toggle-line {
    background: var(--primary);
}

/* Responsive */
@media (min-width: 768px) {
    .footer-content {
        flex-direction: row;
        justify-content: space-between;
    }
}

@media (max-width: 768px) {
    .logo {
        display: none;
    }
    
    .hero-section {
        min-height: auto;
        padding: 7rem 1rem 3rem;
    }

    .photo-container {
        width: 13.75rem;
        height: 13.75rem;
    }

    .photo-wrapper {
        width: 13.75rem;
        transform: none;
    }

    .orbital-container {
        width: 30rem;
        height: 30rem;
        max-width: calc(100vw - 2rem);
        z-index: 0;
    }

    .orbital-ring {
        width: 26rem;
        height: 26rem;
    }

    .orbital-node {
        width: 2.5rem;
    }

    .orbital-node-icon {
        width: 2.5rem;
        height: 2.5rem;
    }

    .orbital-node-icon svg {
        width: 1rem;
        height: 1rem;
    }

    .orbital-node-label {
        font-size: 0.65rem;
        padding: 0.2rem 0.4rem;
    }

    .main-title {
        font-size: 2.5rem;
    }

    .subtitle {
        font-size: 1.125rem;
    }

    .name-section {
        position: relative;
        z-index: 2;
    }

    .section-title {
        font-size: 2rem;
    }

    .contact-title {
        font-size: 1.75rem;
        line-height: 1.3;
    }

    .contact-card {
        padding: 2rem 1rem;
    }
    
    .contact-content {
        padding: 0 0.5rem;
    }

    .cta-buttons {
        flex-direction: column;
        width: 100%;
    }

    .btn {
        width: 100%;
        justify-content: center;
    }
    
    .container {
        padding: 0 1rem;
    }
    
    .nav-content {
        padding: 1rem 0;
    }
}