/* ============================================
   CODEVUE - Modern Portfolio Website
   Inspired by Awwwards winning designs
   ============================================ */

/* CSS Variables */
:root {
    --primary: #FA5D29;
    --primary-dark: #e04d1c;
    --secondary: #6366f1;
    --accent: #22d3ee;
    --dark: #0a0a0b;
    --dark-light: #18181b;
    --gray-900: #1a1a1d;
    --gray-800: #27272a;
    --gray-700: #3f3f46;
    --gray-600: #52525b;
    --gray-500: #71717a;
    --gray-400: #a1a1aa;
    --gray-300: #d4d4d8;
    --gray-200: #e4e4e7;
    --gray-100: #f4f4f5;
    --white: #fafafa;
    --success: #22c55e;
    --gradient-1: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-2: linear-gradient(135deg, #FA5D29 0%, #f5576c 100%);

    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
    --shadow-glow: 0 0 40px rgba(250, 93, 41, 0.3);

    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);

    --nav-height: 80px;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-sans);
    background: var(--dark);
    color: var(--gray-300);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

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

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

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

/* Custom Cursor */
.cursor,
.cursor-follower {
    position: fixed;
    pointer-events: none;
    z-index: 9999;
    mix-blend-mode: difference;
    transform: translate(-50%, -50%);
    transition: transform 0.15s var(--ease-out);
}

.cursor {
    width: 8px;
    height: 8px;
    background: var(--white);
    border-radius: 50%;
}

.cursor-follower {
    width: 40px;
    height: 40px;
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    transition: transform 0.3s var(--ease-out), width 0.3s, height 0.3s, border-color 0.3s;
}

.cursor-hover .cursor-follower {
    width: 60px;
    height: 60px;
    border-color: var(--primary);
}

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

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--nav-height);
    z-index: 1000;
    transition: all 0.4s var(--ease-out);
}

.navbar.scrolled {
    background: rgba(10, 10, 11, 0.9);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.logo-text {
    color: var(--white);
}

.logo-dot {
    color: var(--primary);
}

.nav-links {
    display: flex;
    gap: 2.5rem;
}

.nav-link {
    position: relative;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--gray-400);
    padding: 0.5rem 0;
    transition: color 0.3s;
    overflow: hidden;
}

.nav-link::before {
    content: attr(data-text);
    position: absolute;
    top: 100%;
    left: 0;
    color: var(--primary);
    transition: top 0.3s var(--ease-out);
}

.nav-link:hover {
    color: transparent;
}

.nav-link:hover::before {
    top: 0.5rem;
}

.menu-toggle {
    display: none;
    width: 32px;
    height: 32px;
    position: relative;
}

.hamburger,
.hamburger::before,
.hamburger::after {
    position: absolute;
    width: 24px;
    height: 2px;
    background: var(--white);
    transition: all 0.3s var(--ease-out);
}

.hamburger {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.hamburger::before,
.hamburger::after {
    content: '';
    left: 0;
}

.hamburger::before {
    top: -8px;
}

.hamburger::after {
    top: 8px;
}

.menu-toggle.active .hamburger {
    background: transparent;
}

.menu-toggle.active .hamburger::before {
    top: 0;
    transform: rotate(45deg);
}

.menu-toggle.active .hamburger::after {
    top: 0;
    transform: rotate(-45deg);
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .menu-toggle {
        display: block;
    }
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    inset: 0;
    z-index: 999;
    background: var(--dark);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s var(--ease-out);
}

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

.mobile-menu-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.mobile-link {
    font-size: clamp(2rem, 8vw, 4rem);
    font-weight: 700;
    color: var(--white);
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.4s var(--ease-out);
}

.mobile-menu.active .mobile-link {
    opacity: 1;
    transform: translateY(0);
}

.mobile-link:nth-child(1) { transition-delay: 0.1s; }
.mobile-link:nth-child(2) { transition-delay: 0.2s; }
.mobile-link:nth-child(3) { transition-delay: 0.3s; }

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

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding: calc(var(--nav-height) + 2rem) 2rem 4rem;
    overflow: hidden;
}

.hero-content {
    max-width: 900px;
    position: relative;
    z-index: 2;
}

.hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem 1rem 0.5rem 0.5rem;
    background: rgba(250, 93, 41, 0.1);
    border: 1px solid rgba(250, 93, 41, 0.2);
    border-radius: 100px;
    font-size: 0.875rem;
    color: var(--primary);
    margin-bottom: 2rem;
    animation: fadeInUp 0.8s var(--ease-out) 0.2s both;
}

.tag-dot {
    width: 8px;
    height: 8px;
    background: var(--primary);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

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

.hero-title {
    font-size: clamp(3rem, 10vw, 7rem);
    font-weight: 800;
    line-height: 1;
    letter-spacing: -0.04em;
    color: var(--white);
    margin-bottom: 1.5rem;
}

.title-line {
    display: block;
    animation: fadeInUp 0.8s var(--ease-out) both;
}

.title-line:nth-child(1) { animation-delay: 0.3s; }
.title-line:nth-child(2) { animation-delay: 0.4s; }
.title-line:nth-child(3) { animation-delay: 0.5s; }

.title-accent {
    color: var(--primary);
    font-weight: 300;
}

.title-dot {
    color: var(--primary);
}

.hero-description {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: var(--gray-400);
    max-width: 600px;
    margin-bottom: 2.5rem;
    line-height: 1.8;
    animation: fadeInUp 0.8s var(--ease-out) 0.6s both;
}

.hero-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    background: var(--primary);
    color: var(--white);
    font-weight: 600;
    font-size: 0.9375rem;
    border-radius: 100px;
    transition: all 0.3s var(--ease-out);
    animation: fadeInUp 0.8s var(--ease-out) 0.7s both;
}

.hero-cta:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
}

.cta-arrow {
    width: 20px;
    height: 20px;
    transition: transform 0.3s var(--ease-out);
}

.hero-cta:hover .cta-arrow {
    transform: translate(4px, -4px);
}

/* Hero Visual */
.hero-visual {
    position: absolute;
    right: 0;
    top: 0;
    width: 50%;
    height: 100%;
    pointer-events: none;
}

.floating-shapes {
    position: relative;
    width: 100%;
    height: 100%;
}

.shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    animation: float 8s ease-in-out infinite;
}

.shape-1 {
    width: 400px;
    height: 400px;
    background: rgba(250, 93, 41, 0.3);
    top: 20%;
    right: 10%;
    animation-delay: 0s;
}

.shape-2 {
    width: 300px;
    height: 300px;
    background: rgba(99, 102, 241, 0.3);
    top: 50%;
    right: 30%;
    animation-delay: -2s;
}

.shape-3 {
    width: 200px;
    height: 200px;
    background: rgba(34, 211, 238, 0.3);
    top: 30%;
    right: 50%;
    animation-delay: -4s;
}

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

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--gray-500);
    animation: fadeInUp 0.8s var(--ease-out) 1s both;
}

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

@keyframes scrollLine {
    0% { transform: scaleY(0); transform-origin: top; }
    50% { transform: scaleY(1); transform-origin: top; }
    50.1% { transform: scaleY(1); transform-origin: bottom; }
    100% { transform: scaleY(0); transform-origin: bottom; }
}

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

/* Section Styles */
.section-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section-header {
    display: flex;
    align-items: baseline;
    gap: 1rem;
    margin-bottom: 4rem;
}

.section-number {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--primary);
    font-family: monospace;
}

.section-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 700;
    color: var(--white);
    letter-spacing: -0.02em;
}

/* About Section */
.about {
    padding: 8rem 0;
    position: relative;
}

.about-intro {
    max-width: 900px;
    margin-bottom: 6rem;
}

.about-headline {
    font-size: clamp(1.5rem, 3vw, 2.25rem);
    font-weight: 600;
    color: var(--white);
    margin-bottom: 1.5rem;
    line-height: 1.3;
}

.about-text {
    font-size: 1.0625rem;
    color: var(--gray-400);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

/* Manifesto */
.manifesto {
    margin-bottom: 6rem;
    padding: 4rem 0;
    border-top: 1px solid var(--gray-800);
    border-bottom: 1px solid var(--gray-800);
}

.manifesto-header {
    max-width: 700px;
    margin-bottom: 4rem;
}

.manifesto-title {
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--primary);
    margin-bottom: 1rem;
}

.manifesto-tagline {
    font-size: clamp(1.25rem, 2.5vw, 1.5rem);
    color: var(--gray-300);
    line-height: 1.6;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.value-card {
    padding: 2rem;
    background: var(--gray-900);
    border: 1px solid var(--gray-800);
    border-radius: 16px;
    transition: all 0.4s var(--ease-out);
}

.value-card:hover {
    background: var(--gray-800);
    border-color: var(--gray-700);
    transform: translateY(-4px);
}

.value-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(250, 93, 41, 0.1);
    border-radius: 12px;
    margin-bottom: 1.5rem;
}

.value-icon svg {
    width: 24px;
    height: 24px;
    color: var(--primary);
}

.value-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 0.75rem;
}

.value-text {
    font-size: 0.9375rem;
    color: var(--gray-400);
    line-height: 1.7;
}

/* Services */
.services {
    margin-bottom: 6rem;
}

.services-title {
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--primary);
    margin-bottom: 2rem;
}

.services-accordion {
    border-top: 1px solid var(--gray-800);
}

.service-item {
    border-bottom: 1px solid var(--gray-800);
}

.service-header {
    display: flex;
    align-items: center;
    gap: 2rem;
    padding: 1.5rem 0;
    cursor: pointer;
    transition: all 0.3s var(--ease-out);
}

.service-header:hover {
    padding-left: 1rem;
}

.service-number {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--gray-500);
    font-family: monospace;
    min-width: 32px;
}

.service-name {
    flex: 1;
    font-size: clamp(1.25rem, 3vw, 1.75rem);
    font-weight: 600;
    color: var(--white);
}

.service-toggle {
    font-size: 1.5rem;
    color: var(--gray-500);
    transition: all 0.3s var(--ease-out);
}

.service-item.active .service-toggle {
    transform: rotate(45deg);
    color: var(--primary);
}

.service-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s var(--ease-out);
}

.service-item.active .service-content {
    max-height: 600px;
}

.service-intro {
    padding: 0 0 1.5rem 4rem;
    font-size: 1rem;
    color: var(--gray-400);
    line-height: 1.7;
}

.service-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    padding: 0 0 2rem 4rem;
}

.service-detail h5 {
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 0.5rem;
}

.service-detail p {
    font-size: 0.875rem;
    color: var(--gray-500);
    line-height: 1.6;
}

/* Testimonials */
.testimonials {
    padding: 4rem 0;
}

.testimonials-title {
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--primary);
    margin-bottom: 2rem;
}

.testimonials-slider {
    position: relative;
    overflow: hidden;
}

.testimonials-track {
    display: flex;
    transition: transform 0.5s var(--ease-out);
}

.testimonial-card {
    flex: 0 0 100%;
    padding: 2rem;
    background: var(--gray-900);
    border: 1px solid var(--gray-800);
    border-radius: 16px;
    margin-right: 2rem;
}

@media (min-width: 768px) {
    .testimonial-card {
        flex: 0 0 calc(50% - 1rem);
    }
}

@media (min-width: 1024px) {
    .testimonial-card {
        flex: 0 0 calc(33.333% - 1.333rem);
    }
}

.testimonial-content p {
    font-size: 1rem;
    color: var(--gray-300);
    line-height: 1.7;
    font-style: italic;
    margin-bottom: 1.5rem;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author-avatar {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-2);
    border-radius: 50%;
    font-weight: 600;
    color: var(--white);
    font-size: 0.875rem;
}

.author-info h5 {
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--white);
}

.author-info span {
    font-size: 0.8125rem;
    color: var(--gray-500);
}

.testimonials-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
}

.testimonial-prev,
.testimonial-next {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gray-800);
    border-radius: 50%;
    color: var(--white);
    transition: all 0.3s var(--ease-out);
}

.testimonial-prev:hover,
.testimonial-next:hover {
    background: var(--primary);
}

.testimonial-prev svg,
.testimonial-next svg {
    width: 20px;
    height: 20px;
}

.testimonials-dots {
    display: flex;
    gap: 0.5rem;
}

.testimonials-dots .dot {
    width: 8px;
    height: 8px;
    background: var(--gray-700);
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s var(--ease-out);
}

.testimonials-dots .dot.active {
    background: var(--primary);
    width: 24px;
    border-radius: 4px;
}

/* Projects Section */
.projects {
    padding: 8rem 0;
    background: var(--dark-light);
}

.projects-filter {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 3rem;
}

.filter-btn {
    padding: 0.625rem 1.25rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--gray-400);
    background: var(--gray-800);
    border-radius: 100px;
    transition: all 0.3s var(--ease-out);
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--primary);
    color: var(--white);
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2rem;
}

.project-card {
    border-radius: 16px;
    overflow: hidden;
    background: var(--gray-900);
    border: 1px solid var(--gray-800);
    transition: all 0.4s var(--ease-out);
}

.project-card:hover {
    transform: translateY(-8px);
    border-color: var(--gray-700);
    box-shadow: var(--shadow-xl);
}

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

.project-image {
    display: block;
    position: relative;
    aspect-ratio: 16 / 10;
    overflow: hidden;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s var(--ease-out);
}

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

.project-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--white);
    transition: transform 0.5s var(--ease-out);
}

.project-card:hover .project-placeholder {
    transform: scale(1.05);
}

.project-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.6);
    opacity: 0;
    transition: opacity 0.3s var(--ease-out);
}

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

.view-project {
    padding: 0.75rem 1.5rem;
    background: var(--white);
    color: var(--dark);
    font-size: 0.875rem;
    font-weight: 600;
    border-radius: 100px;
    transform: translateY(10px);
    transition: transform 0.3s var(--ease-out);
}

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

.project-info {
    padding: 1.5rem;
}

.project-category {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.project-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 0.5rem;
}

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

.project-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.project-tags span {
    padding: 0.25rem 0.75rem;
    font-size: 0.75rem;
    color: var(--gray-400);
    background: var(--gray-800);
    border-radius: 100px;
}

/* Contact Section */
.contact {
    padding: 8rem 0;
}

.contact-intro {
    max-width: 600px;
    margin-bottom: 4rem;
}

.contact-intro p {
    font-size: 1.125rem;
    color: var(--gray-400);
    line-height: 1.7;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 4rem;
    align-items: start;
}

@media (max-width: 1024px) {
    .contact-wrapper {
        grid-template-columns: 1fr;
    }
}

/* Contact Form */
.contact-form-container {
    background: var(--gray-900);
    border: 1px solid var(--gray-800);
    border-radius: 24px;
    padding: 3rem;
    position: relative;
    overflow: hidden;
}

.contact-form {
    position: relative;
}

.form-step {
    display: none;
}

.form-step.active {
    display: block;
    animation: fadeInUp 0.5s var(--ease-out);
}

.form-group {
    margin-bottom: 2rem;
}

.form-label {
    display: block;
    font-size: 1.25rem;
    font-weight: 500;
    color: var(--white);
    margin-bottom: 1rem;
    line-height: 1.4;
}

.form-aria {
    color: var(--primary);
}

.form-input {
    width: 100%;
    padding: 1rem 0;
    font-size: 1.125rem;
    color: var(--white);
    background: transparent;
    border: none;
    border-bottom: 2px solid var(--gray-700);
    outline: none;
    transition: border-color 0.3s var(--ease-out);
}

.form-input::placeholder {
    color: var(--gray-600);
}

.form-input:focus {
    border-color: var(--primary);
}

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

.form-option {
    cursor: pointer;
}

.form-option input {
    display: none;
}

.option-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    padding: 1.25rem;
    background: var(--gray-800);
    border: 2px solid transparent;
    border-radius: 12px;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--gray-400);
    text-align: center;
    transition: all 0.3s var(--ease-out);
}

.form-option input:checked + .option-box {
    border-color: var(--primary);
    color: var(--white);
    background: rgba(250, 93, 41, 0.1);
}

.option-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

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

.form-toggle-group {
    display: flex;
    gap: 1rem;
}

.form-toggle input {
    display: none;
}

.toggle-btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    font-size: 1rem;
    font-weight: 500;
    color: var(--gray-400);
    background: var(--gray-800);
    border-radius: 100px;
    cursor: pointer;
    transition: all 0.3s var(--ease-out);
}

.form-toggle input:checked + .toggle-btn {
    background: var(--primary);
    color: var(--white);
}

.form-nav {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.form-prev,
.form-next,
.form-submit {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    font-size: 0.9375rem;
    font-weight: 600;
    border-radius: 100px;
    transition: all 0.3s var(--ease-out);
}

.form-prev {
    color: var(--gray-400);
    background: var(--gray-800);
}

.form-prev:hover {
    background: var(--gray-700);
}

.form-next,
.form-submit {
    background: var(--primary);
    color: var(--white);
}

.form-next:hover,
.form-submit:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

.form-next svg,
.form-submit svg {
    width: 18px;
    height: 18px;
}

.form-progress {
    margin-top: 3rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--gray-800);
}

.progress-bar {
    width: 100%;
    height: 4px;
    background: var(--gray-800);
    border-radius: 100px;
    overflow: hidden;
    margin-bottom: 0.75rem;
}

.progress-fill {
    height: 100%;
    background: var(--primary);
    border-radius: 100px;
    transition: width 0.5s var(--ease-out);
}

.progress-text {
    font-size: 0.8125rem;
    color: var(--gray-500);
}

.current-step {
    color: var(--white);
    font-weight: 600;
}

.form-success {
    display: none;
    text-align: center;
    padding: 2rem;
}

.form-success.active {
    display: block;
    animation: fadeInUp 0.5s var(--ease-out);
}

.success-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(34, 197, 94, 0.1);
    border-radius: 50%;
}

.success-icon svg {
    width: 40px;
    height: 40px;
    color: var(--success);
}

.form-success h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 0.5rem;
}

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

/* Contact Info */
.contact-info {
    position: sticky;
    top: calc(var(--nav-height) + 2rem);
}

.info-card {
    padding: 2rem;
    background: var(--gray-900);
    border: 1px solid var(--gray-800);
    border-radius: 16px;
}

.info-card h4 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 0.75rem;
}

.info-card > p {
    font-size: 0.9375rem;
    color: var(--gray-400);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.info-links {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.info-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.9375rem;
    color: var(--gray-300);
    transition: color 0.3s;
}

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

.info-link svg {
    width: 20px;
    height: 20px;
}

/* Footer */
.footer {
    padding: 4rem 0 2rem;
    background: var(--dark-light);
    border-top: 1px solid var(--gray-800);
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

.footer-main {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 4rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid var(--gray-800);
}

@media (max-width: 768px) {
    .footer-main {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

.footer-brand .logo {
    margin-bottom: 1rem;
}

.footer-brand p {
    font-size: 0.9375rem;
    color: var(--gray-500);
    line-height: 1.6;
    max-width: 300px;
}

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

@media (max-width: 480px) {
    .footer-links {
        grid-template-columns: repeat(2, 1fr);
    }
}

.footer-col h5 {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 1rem;
}

.footer-col a {
    display: block;
    font-size: 0.875rem;
    color: var(--gray-500);
    padding: 0.375rem 0;
    transition: color 0.3s;
}

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

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 2rem;
    font-size: 0.8125rem;
    color: var(--gray-600);
}

@media (max-width: 480px) {
    .footer-bottom {
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
    }
}

/* Animations on Scroll */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s var(--ease-out);
}

.animate-on-scroll.animated {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive */
@media (max-width: 768px) {
    .hero {
        padding: calc(var(--nav-height) + 1rem) 1.5rem 3rem;
    }

    .hero-visual {
        width: 100%;
        opacity: 0.5;
    }

    .scroll-indicator {
        display: none;
    }

    .section-container {
        padding: 0 1.5rem;
    }

    .about,
    .projects,
    .contact {
        padding: 5rem 0;
    }

    .service-intro,
    .service-details {
        padding-left: 0;
    }

    .contact-form-container {
        padding: 2rem;
    }

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

/* Loading Animation */
.page-loader {
    position: fixed;
    inset: 0;
    z-index: 10000;
    background: var(--dark);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.5s, visibility 0.5s;
}

.page-loader.loaded {
    opacity: 0;
    visibility: hidden;
}

.loader-text {
    font-size: 2rem;
    font-weight: 700;
    color: var(--white);
    letter-spacing: 0.5em;
    animation: pulse 1s infinite;
}

/* Smooth scroll fix for anchor links */
html:focus-within {
    scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
    html:focus-within {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}