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

:root {
    /* Colors */
    --primary-color: #00d4ff;
    --secondary-color: #7b2ff7;
    --accent-color: #ff00ff;
    --bg-dark: #0a0a0f;
    --bg-darker: #050508;
    --bg-card: #1a1a2e;
    --text-primary: #ffffff;
    --text-secondary: #a0a0b0;
    --gradient-1: linear-gradient(135deg, #00d4ff 0%, #7b2ff7 100%);
    --gradient-2: linear-gradient(135deg, #7b2ff7 0%, #ff00ff 100%);
    
    /* Spacing */
    --section-padding: 100px 0;
    --container-padding: 0 20px;
    
    /* Transitions */
    --transition: all 0.3s ease;
}

/* Light Mode */
body.light-mode {
    --bg-dark: #ffffff;
    --bg-darker: #f5f5f5;
    --bg-card: #f0f0f5;
    --text-primary: #1a1a2e;
    --text-secondary: #5a5a6a;
}

body.light-mode .navbar {
    background: rgba(255, 255, 255, 0.95);
    border-bottom: 1px solid rgba(0, 212, 255, 0.2);
}

body.light-mode .code-window {
    background: #f5f5f5;
    border: 1px solid #e0e0e0;
}

body.light-mode .code-window .window-header {
    background: linear-gradient(135deg, #f0f0f5 0%, #e8e8f5 100%);
    border-bottom: 1px solid #e0e0e0;
    color: #1a1a2e;
}

body.light-mode .code-content {
    background: #fafafa;
    color: #1a1a2e;
}

body.light-mode .code-keyword {
    color: #d73a49;
    font-weight: bold;
}

body.light-mode .code-variable {
    color: #24292e;
    font-weight: bold;
}

body.light-mode .code-property {
    color: #6f42c1;
    font-weight: 600;
}

body.light-mode .code-string {
    color: #032f62;
    font-weight: 500;
}

body.light-mode .offer-modal__card {
    background: linear-gradient(135deg, #ffffff 0%, #f5f5f5 100%);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
}

body.light-mode .form-group input,
body.light-mode .form-group textarea {
    background-color: #f5f5f5;
    color: #1a1a2e;
    border-color: #e0e0e0;
}

body.light-mode .form-group input::placeholder,
body.light-mode .form-group textarea::placeholder {
    color: #a0a0b0;
}

body.light-mode .form-group input:focus,
body.light-mode .form-group textarea:focus {
    border-color: #00d4ff;
    background-color: #ffffff;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: var(--container-padding);
}

/* ========================================
   NAVIGATION
   ======================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(10, 10, 15, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 212, 255, 0.1);
    padding: 20px 0;
    transition: var(--transition);
}

.navbar.scrolled {
    padding: 15px 0;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.5);
}

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

.logo-text {
    font-size: 28px;
    font-weight: bold;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-family: 'Courier New', monospace;
}

.logo-text .highlight {
    color: var(--primary-color);
    -webkit-text-fill-color: var(--primary-color);
}

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

.nav-links a {
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 500;
    position: relative;
    transition: var(--transition);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-1);
    transition: width 0.3s ease;
}

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

.nav-links a:hover::after {
    width: 100%;
}

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

/* Theme Toggle Button */
.theme-toggle {
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 20px;
    cursor: pointer;
    transition: var(--transition);
    padding: 5px 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.theme-toggle:hover {
    color: var(--primary-color);
    transform: rotate(20deg);
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--primary-color);
    transition: var(--transition);
}

/* ========================================
   HERO SECTION
   ======================================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 80px;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.grid-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(0, 212, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 212, 255, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: gridMove 20s linear infinite;
}

@keyframes gridMove {
    0% { transform: translate(0, 0); }
    100% { transform: translate(50px, 50px); }
}

.particles {
    position: absolute;
    width: 100%;
    height: 100%;
}

.hero-content {
    position: relative;
    z-index: 1;
    display: flex;
    flex-wrap: wrap;
    gap: 60px;
    align-items: center;
    justify-content: space-between;
}

.hero-content > * {
    flex: 1 1 400px;
    min-width: 0;
}

.hero-text h1 {
    font-size: 56px;
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.2;
}

.glitch {
    position: relative;
    animation: glitch 3s infinite;
}

@keyframes glitch {
    0%, 100% { text-shadow: 0 0 1px rgba(0, 212, 255, 0.5); }
    20% { text-shadow: 2px 0 rgba(0, 212, 255, 0.8), -2px 0 rgba(255, 0, 255, 0.8); }
    40% { text-shadow: -2px 0 rgba(0, 212, 255, 0.8), 2px 0 rgba(255, 0, 255, 0.8); }
    60% { text-shadow: 0 0 1px rgba(0, 212, 255, 0.5); }
}

.subtitle {
    font-size: 28px;
    margin-bottom: 15px;
    color: var(--text-secondary);
}

.typed-text {
    color: var(--primary-color);
    font-weight: 600;
}

.cursor {
    color: var(--primary-color);
    animation: blink 0.7s infinite;
}

@keyframes blink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0; }
}

.description {
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 40px;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.btn {
    padding: 15px 35px;
    text-decoration: none;
    font-weight: 600;
    border-radius: 8px;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 10px;
    border: none;
    cursor: pointer;
    font-size: 16px;
}

.btn-primary {
    background: var(--gradient-1);
    color: var(--text-primary);
    box-shadow: 0 5px 20px rgba(0, 212, 255, 0.3);
}

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

.btn-secondary {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background: var(--primary-color);
    color: var(--bg-dark);
    transform: translateY(-3px);
}

/* Code Window */
.code-window {
    background: var(--bg-card);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(0, 212, 255, 0.2);
}

.window-header {
    background: rgba(0, 0, 0, 0.3);
    padding: 12px 15px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.window-buttons {
    display: flex;
    gap: 8px;
}

.window-buttons span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.btn-close { background: #ff5f56; }
.btn-minimize { background: #ffbd2e; }
.btn-maximize { background: #27c93f; }

.window-title {
    color: var(--text-secondary);
    font-size: 14px;
}

.code-content {
    padding: 30px;
    font-family: 'Courier New', monospace;
    font-size: 14px;
    line-height: 1.8;
}

.code-keyword { color: #ff79c6; }
.code-variable { color: #8be9fd; }
.code-property { color: #50fa7b; }
.code-string { color: #f1fa8c; }

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
}

.mouse {
    width: 25px;
    height: 40px;
    border: 2px solid var(--primary-color);
    border-radius: 15px;
    position: relative;
}

.mouse::before {
    content: '';
    width: 4px;
    height: 8px;
    background: var(--primary-color);
    border-radius: 2px;
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    animation: scroll 1.5s infinite;
}

@keyframes scroll {
    0%, 100% { opacity: 0; top: 8px; }
    50% { opacity: 1; top: 16px; }
}

/* ========================================
   SECTIONS COMMON STYLES
   ======================================== */
section {
    padding: var(--section-padding);
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-size: 42px;
    font-weight: 800;
    margin-bottom: 15px;
}

.highlight {
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-subtitle {
    font-size: 18px;
    color: var(--text-secondary);
}

/* ========================================
   PRICING SECTION
   ======================================== */
.pricing {
    background: var(--bg-darker);
}

.pricing-toggle {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-bottom: 30px;
}

.toggle-btn {
    padding: 12px 24px;
    border-radius: 30px;
    border: 1px solid rgba(0, 212, 255, 0.3);
    background: var(--bg-card);
    color: var(--text-primary);
    cursor: pointer;
    transition: var(--transition);
}

.toggle-btn:hover { border-color: var(--primary-color); }
.toggle-btn.active {
    background: var(--gradient-1);
    color: var(--text-primary);
    box-shadow: 0 10px 30px rgba(0, 212, 255, 0.3);
}

.price-calculator {
    background: var(--bg-card);
    border: 1px solid rgba(0, 212, 255, 0.1);
    border-radius: 16px;
    padding: 25px;
    margin-bottom: 30px;
}

.calc-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 25px;
    align-items: center;
}

.calc-grid > *:first-child {
    flex: 2 1 300px;
}

.calc-grid > *:last-child {
    flex: 1.5 1 200px;
}

.calc-control label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
}

.calc-control input[type="range"] {
    width: 100%;
    appearance: none;
    height: 6px;
    border-radius: 3px;
    background: rgba(0, 212, 255, 0.2);
    outline: none;
}

.calc-control input[type="range"]::-webkit-slider-thumb {
    appearance: none;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--primary-color);
    border: 2px solid white;
    cursor: pointer;
}

.calc-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 10px;
    color: var(--text-secondary);
}

.calc-meta .muted { font-size: 12px; }

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

.price-label { color: var(--text-secondary); font-weight: 600; }
.price-value { font-size: 32px; font-weight: 800; }
.price-note { color: var(--text-secondary); font-size: 12px; }

.price-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 25px;
}

.price-grid > .service-card {
    flex: 1 1 300px;
    max-width: 400px;
}

.price-card {
    background: var(--bg-card);
    border: 1px solid rgba(0, 212, 255, 0.1);
    border-radius: 16px;
    overflow: hidden;
    transition: var(--transition);
}

.price-card:hover {
    transform: translateY(-6px);
    border-color: var(--primary-color);
    box-shadow: 0 15px 35px rgba(0, 212, 255, 0.2);
}

.price-card .featured-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    background: var(--gradient-1);
    color: var(--text-primary);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.price-card.featured {
    border-color: var(--primary-color);
}

.price-header { padding: 24px; border-bottom: 1px solid rgba(255,255,255,0.08); }
.price-header h3 { font-size: 20px; margin-bottom: 6px; }
.price-header .price { font-size: 28px; font-weight: 800; }
.price-header .pages { color: var(--text-secondary); font-size: 14px; }

.price-features { list-style: none; padding: 20px 24px; }
.price-features li { color: var(--text-secondary); margin-bottom: 10px; display: flex; gap: 10px; align-items: center; }
.price-features i { color: var(--primary-color); font-size: 14px; }

.delivery-time { padding: 0 24px 15px; color: var(--text-secondary); font-size: 14px; display: flex; align-items: center; gap: 8px; }
.delivery-time i { color: var(--primary-color); }

.price-cta { padding: 0 24px 24px; }
.pricing-note { margin-top: 20px; color: var(--text-secondary); font-size: 14px; }

.hidden { display: none; }

@media (max-width: 968px) {
    .calc-grid {
        flex-direction: column;
    }
    
    .calc-grid > * {
        flex: 1 1 100%;
    }
}

/* Mobile feature options */
.feature-options {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.feature-option {
    background: var(--bg-card);
    border: 1px solid rgba(0, 212, 255, 0.2);
    border-radius: 20px;
    padding: 8px 14px;
    font-size: 14px;
    cursor: pointer;
}

.feature-option input {
    margin-right: 8px;
}

/* ========================================
   SERVICES SECTION
   ======================================== */
.services {
    background: var(--bg-darker);
}

.services-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
}

.services-grid > .service-card {
    flex: 1 1 350px;
    max-width: 550px;
}

.service-card {
    background: var(--bg-card);
    padding: 40px 30px;
    border-radius: 16px;
    border: 1px solid rgba(0, 212, 255, 0.1);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient-1);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-color);
    box-shadow: 0 20px 40px rgba(0, 212, 255, 0.2);
}

.service-card.featured {
    border-color: var(--primary-color);
    box-shadow: 0 10px 30px rgba(0, 212, 255, 0.2);
}

.featured-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--gradient-1);
    color: var(--text-primary);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.service-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-1);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    font-size: 36px;
}

.service-card h3 {
    font-size: 24px;
    margin-bottom: 15px;
}

.service-card > p {
    color: var(--text-secondary);
    margin-bottom: 25px;
    line-height: 1.8;
}

.service-features {
    list-style: none;
    margin-bottom: 25px;
}

.service-features li {
    color: var(--text-secondary);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.service-features i {
    color: var(--primary-color);
    font-size: 14px;
}

.service-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
}

.tech-badge {
    background: rgba(0, 212, 255, 0.1);
    color: var(--primary-color);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 13px;
    border: 1px solid rgba(0, 212, 255, 0.3);
    font-weight: 500;
    transition: var(--transition);
    white-space: nowrap;
}

.tech-badge:hover {
    background: rgba(0, 212, 255, 0.2);
    border-color: var(--primary-color);
    transform: translateY(-2px);
}

/* ========================================
   PROCESS SECTION
   ======================================== */
.process-timeline {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    position: relative;
    justify-content: center;
}

.process-timeline > .process-step {
    flex: 1 1 250px;
    max-width: 350px;
}

.process-step {
    text-align: center;
    position: relative;
}

.step-number {
    width: 80px;
    height: 80px;
    background: var(--gradient-1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    font-weight: 800;
    margin: 0 auto 25px;
    box-shadow: 0 10px 30px rgba(0, 212, 255, 0.3);
}

.step-content h3 {
    font-size: 20px;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.step-content i {
    color: var(--primary-color);
}

.step-content p {
    color: var(--text-secondary);
    line-height: 1.8;
}

/* ========================================
   PORTFOLIO SECTION
   ======================================== */
.portfolio {
    background: var(--bg-darker);
}

.portfolio-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
}

.portfolio-grid > .portfolio-item {
    flex: 1 1 350px;
    max-width: 500px;
}

.portfolio-item {
    border-radius: 16px;
    overflow: hidden;
    position: relative;
    cursor: pointer;
}

.portfolio-image {
    position: relative;
    overflow: hidden;
    height: 300px;
}

.portfolio-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.9) 0%, rgba(123, 47, 247, 0.9) 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 30px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

.portfolio-item:hover .portfolio-image img {
    transform: scale(1.1);
}

.portfolio-overlay h3 {
    font-size: 24px;
    margin-bottom: 10px;
}

.portfolio-overlay p {
    margin-bottom: 20px;
    text-align: center;
}

.portfolio-tags {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.portfolio-tags span {
    background: rgba(255, 255, 255, 0.2);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 12px;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

/* ========================================
   TECHNOLOGIES SECTION
   ======================================== */
.tech-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 25px;
    justify-content: center;
}

.tech-grid > .tech-item {
    flex: 1 1 140px;
    max-width: 200px;
}

.tech-item {
    background: var(--bg-card);
    padding: 30px;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    border: 1px solid rgba(0, 212, 255, 0.1);
    transition: var(--transition);
}

.tech-item:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
    box-shadow: 0 10px 30px rgba(0, 212, 255, 0.2);
}

.tech-item i {
    font-size: 48px;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.tech-item span {
    font-weight: 600;
}

/* ========================================
   CONTACT SECTION
   ======================================== */
.contact {
    background: var(--bg-darker);
}

.contact-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 60px;
    align-items: flex-start;
}

.contact-wrapper > *:first-child {
    flex: 1 1 300px;
}

.contact-wrapper > *:last-child {
    flex: 1.5 1 400px;
}

.contact-info {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
}

.contact-info > .contact-item {
    flex: 1 1 250px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 20px;
}

.contact-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    flex-shrink: 0;
}

.contact-item h3 {
    font-size: 18px;
    margin-bottom: 5px;
}

.contact-item p {
    color: var(--text-secondary);
}

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

.social-links a {
    width: 50px;
    height: 50px;
    background: var(--bg-card);
    border: 1px solid rgba(0, 212, 255, 0.2);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 20px;
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--gradient-1);
    color: var(--text-primary);
    transform: translateY(-3px);
}

/* Contact Form */
.contact-form {
    background: var(--bg-card);
    padding: 40px;
    border-radius: 16px;
    border: 1px solid rgba(0, 212, 255, 0.1);
}

.form-group {
    position: relative;
    margin-bottom: 30px;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 15px;
    background: rgba(0, 0, 0, 0.3);
    border: 2px solid rgba(0, 212, 255, 0.2);
    border-radius: 8px;
    color: var(--text-primary);
    font-size: 16px;
    transition: var(--transition);
    font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.2);
}

.form-group label {
    position: absolute;
    left: 15px;
    top: 15px;
    color: var(--text-secondary);
    transition: var(--transition);
    pointer-events: none;
}

.form-group input:focus + label,
.form-group input:valid + label,
.form-group textarea:focus + label,
.form-group textarea:valid + label,
.form-group select:focus + label,
.form-group select:valid + label {
    top: -10px;
    left: 10px;
    font-size: 12px;
    background: var(--bg-card);
    padding: 0 5px;
    color: var(--primary-color);
}

.hidden-field {
    display: none;
}

.anti-spam {
    position: absolute;
    left: -9999px;
    visibility: hidden;
}

.contact-form .btn {
    width: 100%;
    justify-content: center;
}

/* ========================================
   FOOTER
   ======================================== */
.footer {
    background: var(--bg-darker);
    border-top: 1px solid rgba(0, 212, 255, 0.1);
    padding: 60px 0 30px;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-content > *:first-child {
    flex: 2 1 300px;
}

.footer-content > *:not(:first-child) {
    flex: 1 1 150px;
}

.footer-logo p {
    color: var(--text-secondary);
    margin-top: 15px;
}

.footer-links h4 {
    margin-bottom: 20px;
    color: var(--primary-color);
}

.footer-links a {
    display: block;
    color: var(--text-secondary);
    text-decoration: none;
    margin-bottom: 12px;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

.footer-bottom {
    padding-top: 30px;
    border-top: 1px solid rgba(0, 212, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-secondary);
}

.footer-bottom i {
    color: #ff0055;
}

/* ========================================
   SCROLL TO TOP BUTTON
   ======================================== */
.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--primary);
    color: var(--bg);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    box-shadow: 0 4px 15px rgba(0, 255, 136, 0.3);
}

.scroll-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-to-top:hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 255, 136, 0.4);
}

.scroll-to-top:active {
    transform: translateY(0);
}

@media (max-width: 768px) {
    .scroll-to-top {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
    }
}

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */
@media (max-width: 968px) {
    .hero-content {
        flex-direction: column;
        text-align: center;
    }
    
    .hero-content > * {
        flex: 1 1 100%;
    }
    
    .hero-text h1 {
        font-size: 42px;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .code-window {
        max-width: 500px;
        margin: 0 auto;
    }
    
    .contact-wrapper {
        flex-direction: column;
    }
    
    .contact-wrapper > * {
        flex: 1 1 100%;
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-content > * {
        flex: 1 1 100%;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: rgba(10, 10, 15, 0.98);
        backdrop-filter: blur(10px);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 30px;
        transition: left 0.3s ease;
    }
    
    .nav-links.active {
        left: 0;
    }
    
    .hamburger {
        display: flex;
    }
    
    .hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(8px, 8px);
    }
    
    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }
    
    .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -7px);
    }
    
    .hero-text h1 {
        font-size: 32px;
    }
    
    .subtitle {
        font-size: 20px;
    }
    
    .section-title {
        font-size: 32px;
    }
    
    .services-grid > .service-card,
    .portfolio-grid > .portfolio-item {
        flex: 1 1 100%;
        max-width: 100%;
    }
    
    .process-timeline > .process-step {
        flex: 1 1 100%;
        max-width: 100%;
    }
}

@media (max-width: 480px) {
    :root {
        --section-padding: 60px 0;
    }
    
    .hero-text h1 {
        font-size: 28px;
    }
    
    .btn {
        padding: 12px 25px;
        font-size: 14px;
    }
    
    .contact-form {
        padding: 25px;
    }
    
    .tech-badge {
        font-size: 11px;
        padding: 5px 10px;
    }
}

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

.fade-in {
    animation: fadeInUp 0.6s ease-out;
}

/* Scroll Reveal Animation */
.reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.6s ease;
}

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

/* ========================================
   OFFRE NOUVEL AN POPUP
   ======================================== */
/* Floating Offer Button */
.offer-float-btn {
    position: fixed;
    bottom: 30px;
    left: 30px;
    width: 70px;
    height: 70px;
    background: var(--gradient-1);
    border: none;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 999;
    box-shadow: 0 10px 30px rgba(0, 212, 255, 0.5);
    transition: var(--transition);
    animation: pulse 2s infinite;
    opacity: 0;
    visibility: hidden;
}

.offer-float-btn.visible {
    opacity: 1;
    visibility: visible;
}

.offer-float-btn:hover {
    transform: scale(1.1) rotate(10deg);
    box-shadow: 0 15px 40px rgba(0, 212, 255, 0.7);
}

.offer-float-btn i {
    font-size: 28px;
    color: white;
    margin-bottom: 2px;
}

.offer-float-badge {
    font-size: 10px;
    font-weight: 700;
    color: white;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 10px 30px rgba(0, 212, 255, 0.5);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 15px 40px rgba(0, 212, 255, 0.8);
    }
}

/* ==========================================
   OFFRE NOUVEL AN MODAL - AMÉLIORÉ
   ========================================== */
.offer-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(0, 0, 0, 0.75);
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease;
    padding: 20px;
    overflow-y: auto;
}

.offer-modal.visible {
    opacity: 1;
    visibility: visible;
}

.offer-modal__card {
    position: relative;
    max-width: 450px;
    width: 100%;
    background: var(--bg-card);
    border: 2px solid rgba(0, 212, 255, 0.4);
    border-radius: 20px;
    padding: 35px 30px;
    text-align: center;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.7), 
                0 0 40px rgba(0, 212, 255, 0.2);
    animation: slideUp 0.5s ease-out;
}

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

.offer-badge {
    display: inline-block;
    padding: 10px 18px;
    border-radius: 50px;
    background: linear-gradient(135deg, #00d4ff 0%, #7b2ff7 100%);
    color: white;
    font-weight: 800;
    font-size: 11px;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 18px;
}

.offer-modal__card h3 {
    font-size: 28px;
    font-weight: 800;
    margin-bottom: 15px;
    color: var(--text-primary);
    line-height: 1.3;
}

.offer-modal__card p {
    color: var(--text-secondary);
    margin-bottom: 25px;
    font-size: 15px;
    line-height: 1.6;
}

.offer-cta {
    width: 100%;
    padding: 14px 24px;
    font-weight: 700;
    font-size: 16px;
    border-radius: 10px;
}

.offer-modal__close {
    position: absolute;
    top: 18px;
    right: 18px;
    background: transparent;
    border: none;
    color: var(--text-secondary);
    font-size: 28px;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.offer-modal__close:hover {
    color: var(--primary-color);
    background: rgba(0, 212, 255, 0.1);
    transform: rotate(90deg);
}

/* ==========================================
   SITE EN CONSTRUCTION MODAL - AMÉLIORÉ
   ========================================== */
.construction-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(0, 0, 0, 0.75);
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease;
    padding: 20px;
    overflow-y: auto;
}

.construction-modal.visible {
    opacity: 1;
    visibility: visible;
}

.construction-modal__card {
    position: relative;
    max-width: 480px;
    width: 100%;
    background: var(--bg-card);
    border: 2px solid rgba(0, 212, 255, 0.4);
    border-radius: 20px;
    padding: 50px 35px 35px;
    text-align: center;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.7),
                0 0 40px rgba(0, 212, 255, 0.2);
    animation: slideUp 0.5s ease-out;
}

.construction-modal__icon {
    font-size: 56px;
    color: var(--primary-color);
    margin-bottom: 25px;
    display: inline-block;
    animation: pulse 2.5s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        filter: drop-shadow(0 0 0px rgba(0, 212, 255, 0.5));
    }
    50% {
        transform: scale(1.15);
        filter: drop-shadow(0 0 15px rgba(0, 212, 255, 0.8));
    }
}

.construction-modal__card h2 {
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 18px;
    color: var(--text-primary);
    line-height: 1.2;
}

.construction-modal__card > p {
    color: var(--text-secondary);
    margin-bottom: 25px;
    line-height: 1.7;
    font-size: 15px;
}

.construction-modal__status {
    background: rgba(76, 175, 80, 0.12);
    border-left: 4px solid #4caf50;
    border-radius: 8px;
    padding: 15px;
    margin: 25px 0;
    font-size: 14px;
    color: var(--text-primary);
    font-weight: 600;
    text-align: left;
}

.construction-modal__status i {
    margin-right: 10px;
    color: #4caf50;
}

.construction-close-btn {
    width: 100%;
    padding: 14px 24px;
    font-weight: 700;
    font-size: 16px;
    border-radius: 10px;
    margin-top: 20px;
}

.construction-modal__close {
    position: absolute;
    top: 18px;
    right: 18px;
    background: transparent;
    border: none;
    color: var(--text-secondary);
    font-size: 28px;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.construction-modal__close:hover {
    color: var(--primary-color);
    background: rgba(0, 212, 255, 0.1);
    transform: rotate(90deg);
}

/* Light mode adjustments */
body.light-mode .offer-modal__card,
body.light-mode .construction-modal__card {
    background: #ffffff;
    border-color: rgba(0, 212, 255, 0.5);
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.15),
                0 0 40px rgba(0, 212, 255, 0.15);
}

body.light-mode .construction-modal__status {
    background: rgba(76, 175, 80, 0.15);
    border-left-color: #4caf50;
}

/* Responsive adjustments */
@media (max-width: 600px) {
    .offer-modal__card,
    .construction-modal__card {
        max-width: 90vw;
        padding: 30px 20px;
        border-radius: 16px;
    }

    .offer-modal__card h3,
    .construction-modal__card h2 {
        font-size: 24px;
    }

    .offer-badge {
        padding: 8px 14px;
        font-size: 10px;
    }

    .construction-modal__icon {
        font-size: 48px;
        margin-bottom: 20px;
    }

    .offer-modal,
    .construction-modal {
        padding: 15px;
    }
}

/* ========================================
   PORTFOLIO RESULTS
   ======================================== */
.portfolio-context {
    font-size: 0.9rem;
    margin-bottom: 10px;
}

.portfolio-results {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    margin-bottom: 15px;
}

.portfolio-results span {
    font-size: 0.85rem;
    color: var(--primary);
    display: flex;
    align-items: center;
    gap: 5px;
}

.portfolio-results i {
    font-size: 0.8rem;
}
