/* ===== VARIABLES ===== */
:root {
    /* Colors */
    --primary-color: #00d9ff;
    --secondary-color: #8b5cf6;
    --accent-color: #ec4899;
    --bg-dark: #0f0f1e;
    --bg-darker: #080812;
    --bg-card: rgba(20, 20, 40, 0.6);
    --text-primary: #ffffff;
    --text-secondary: #b0b0c0;
    --text-muted: #6b7280;

    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #00d9ff 0%, #8b5cf6 100%);
    --gradient-secondary: linear-gradient(135deg, #8b5cf6 0%, #ec4899 100%);
    --gradient-accent: linear-gradient(135deg, #ec4899 0%, #f59e0b 100%);

    /* Spacing */
    --container-width: 1200px;
    --section-padding: 120px 0;

    /* Effects */
    --glass-bg: rgba(20, 20, 30, 0.4);
    --glass-border: rgba(255, 255, 255, 0.1);
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.5);
    --shadow-glow: 0 0 30px rgba(0, 240, 255, 0.3);

    /* Typography */
    --font-primary: 'Inter', sans-serif;
    --font-mono: 'Space Mono', monospace;
}


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

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

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

body.no-scroll {
    overflow: hidden;
}

/* ===== CUSTOM SCROLLBAR ===== */
/* Firefox */
* {
    scrollbar-width: thin;
    scrollbar-color: var(--primary-color) var(--bg-darker);
}

/* Chrome, Edge, Safari */
::-webkit-scrollbar {
    width: 12px;
    height: 12px;
}

::-webkit-scrollbar-track {
    background: var(--bg-darker);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    border-radius: 10px;
    border: 2px solid var(--bg-darker);
    transition: all 0.3s ease;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #00f0ff 0%, #a855f7 100%);
    border: 2px solid var(--bg-dark);
    box-shadow: 0 0 10px rgba(0, 217, 255, 0.5);
}

::-webkit-scrollbar-thumb:active {
    background: var(--primary-color);
}

/* Scrollbar corner */
::-webkit-scrollbar-corner {
    background: var(--bg-darker);
}

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

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

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

/* ===== NAVIGATION ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 24px 0;
    background: transparent;
    transition: all 0.4s ease;
}

.navbar.scrolled {
    padding: 12px 0;
    background: rgba(15, 15, 30, 0.9);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--glass-border);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.5);
}

.nav-container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--font-mono);
    font-size: 24px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 4px;
    color: var(--text-primary);
    text-decoration: none;
    z-index: 1001;
}

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

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

.nav-menu {
    display: flex;
    gap: 48px;
    list-style: none;
    align-items: center;
}

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
    position: relative;
    padding-bottom: 4px;
}

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

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

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

.dropdown {
    position: relative;
}

.dropdown .nav-link {
    display: flex;
    align-items: center;
    gap: 8px;
}

.dropdown .chevron {
    width: 16px;
    height: 16px;
    transition: transform 0.3s ease;
}

.dropdown:hover .chevron {
    transform: rotate(180deg);
}

.dropdown-content {
    display: none;
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: var(--glass-bg);
    border-radius: 12px;
    padding: 10px 0;
    min-width: 200px;
    box-shadow: var(--shadow-md);
    z-index: 1;
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    animation: fadeIn 0.3s ease;
}

.dropdown:hover .dropdown-content {
    display: block;
}

.dropdown-content a {
    color: var(--text-secondary);
    padding: 12px 24px;
    text-decoration: none;
    display: block;
    transition: all 0.3s ease;
}

.dropdown-content a:hover {
    background: rgba(0, 240, 255, 0.1);
    color: var(--text-primary);
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 24px;
}

.lang-switcher {
    display: flex;
    gap: 8px;
}

.lang-btn {
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    border-radius: 50%;
    overflow: hidden;
    width: 28px;
    height: 28px;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.lang-btn.active {
    opacity: 1;
    box-shadow: 0 0 10px rgba(0, 240, 255, 0.5);
}

.lang-btn:hover {
    opacity: 1;
}

.lang-btn svg {
    width: 100%;
    height: 100%;
    display: block;
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    z-index: 1001;
    background: none;
    border: none;
}

.hamburger span {
    width: 28px;
    height: 3px;
    background: var(--text-primary);
    transition: all 0.3s ease;
    border-radius: 2px;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(7px, 7px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

.nav-menu-mobile {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(10, 10, 15, 0.98);
    backdrop-filter: blur(16px);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    transition: opacity 0.4s ease;
}

.nav-menu-mobile.active {
    display: flex;
}

.nav-menu-mobile ul {
    list-style: none;
    padding: 0;
    text-align: center;
}

.nav-menu-mobile li {
    margin: 32px 0;
}

.nav-menu-mobile .nav-link {
    font-size: 28px;
    font-weight: 700;
}

.nav-menu-mobile .lang-switcher {
    margin-top: 40px;
}

@media (max-width: 992px) {
    .nav-menu {
        display: none;
    }
    .hamburger {
        display: flex;
    }
}

/* ===== LOADING SCREEN ===== */
.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: var(--bg-dark);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.loading-screen.hidden {
    opacity: 0;
    visibility: hidden;
}

.loader {
    text-align: center;
}

.loader-inner {
    display: flex;
    gap: 12px;
    margin-bottom: 24px;
}

.loader-line {
    width: 4px;
    height: 40px;
    background: var(--gradient-primary);
    border-radius: 4px;
    animation: loading 1s ease-in-out infinite;
}

.loader-line:nth-child(2) {
    animation-delay: 0.2s;
}

.loader-line:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes loading {
    0%, 100% { transform: scaleY(1); opacity: 1; }
    50% { transform: scaleY(0.4); opacity: 0.5; }
}

.loading-text {
    font-family: var(--font-mono);
    font-size: 20px;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ===== SCROLL PROGRESS ===== */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 4px;
    background: var(--gradient-primary);
    z-index: 9999;
    transform-origin: left;
    transform: scaleX(0);
    transition: transform 0.1s ease;
}

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

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

.gradient-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.3;
    animation: float 20s ease-in-out infinite;
}

.orb-1 {
    width: 500px;
    height: 500px;
    background: var(--primary-color);
    top: -250px;
    left: -250px;
}

.orb-2 {
    width: 400px;
    height: 400px;
    background: var(--secondary-color);
    bottom: -200px;
    right: -200px;
    animation-delay: -5s;
}

.orb-3 {
    width: 300px;
    height: 300px;
    background: var(--accent-color);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation-delay: -10s;
}

@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); }
}

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

.hero-subtitle {
    display: inline-block;
    font-size: 15px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 3px;
    background: rgba(0, 217, 255, 0.1);
    padding: 8px 20px;
    border-radius: 20px;
    border: 1px solid rgba(0, 217, 255, 0.2);
}

.hero-title {
    font-size: 68px;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 28px;
    letter-spacing: -1px;
}

.hero-description {
    font-size: 19px;
    color: var(--text-secondary);
    margin-bottom: 48px;
    max-width: 560px;
    line-height: 1.7;
}

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

.btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 16px 32px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 16px;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn:hover::before {
    width: 300px;
    height: 300px;
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--bg-dark);
    font-weight: 700;
    box-shadow: 0 8px 32px rgba(0, 217, 255, 0.4);
}

.btn-primary:hover {
    box-shadow: 0 12px 48px rgba(0, 217, 255, 0.6);
    transform: translateY(-3px);
}

.btn-secondary {
    background: var(--glass-bg);
    color: var(--text-primary);
    border: 2px solid var(--glass-border);
    backdrop-filter: blur(10px);
    font-weight: 600;
}

.btn-secondary:hover {
    border-color: var(--primary-color);
    background: rgba(0, 217, 255, 0.1);
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0, 217, 255, 0.2);
}

.hero-visual {
    position: relative;
}

.code-window {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 20px;
    backdrop-filter: blur(16px);
    box-shadow: var(--shadow-lg);
}

.code-header {
    display: flex;
    gap: 8px;
    margin-bottom: 16px;
}

.code-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.code-dot:nth-child(1) { background: #ff5f56; }
.code-dot:nth-child(2) { background: #ffbd2e; }
.code-dot:nth-child(3) { background: #27c93f; }

.code-content {
    font-family: var(--font-mono);
    font-size: 14px;
    line-height: 1.8;
}

.code-line {
    display: flex;
    gap: 16px;
}

.line-number {
    color: var(--text-muted);
    user-select: none;
}

.code-keyword {
    color: #ff79c6;
}

.code-function {
    color: #50fa7b;
}

.code-string {
    color: #f1fa8c;
}

.code-comment {
    color: var(--text-muted);
    font-style: italic;
}

/* Code Window Extended Styles */
.window-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    background: rgba(0, 0, 0, 0.3);
    border-bottom: 1px solid var(--glass-border);
    border-radius: 16px 16px 0 0;
    margin: -20px -20px 16px -20px;
}

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

.window-buttons span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    cursor: pointer;
    transition: opacity 0.3s ease;
}

.btn-close {
    background: #ff5f56;
}

.btn-minimize {
    background: #ffbd2e;
}

.btn-maximize {
    background: #27c93f;
}

.window-buttons span:hover {
    opacity: 0.8;
}

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

.window-content {
    font-family: var(--font-mono);
    font-size: 14px;
    line-height: 1.8;
}

.window-content pre {
    margin: 0;
    padding: 0;
}

.window-content code {
    color: var(--text-primary);
}

.code-keyword {
    color: #ff79c6;
}

.code-module {
    color: #8be9fd;
}

.code-function {
    color: #50fa7b;
}

.code-class {
    color: #f1fa8c;
}

.code-var {
    color: #f8f8f2;
}

.code-property {
    color: #bd93f9;
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    animation: bounce 2s ease-in-out infinite;
}

.scroll-indicator span {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text-muted);
}

.scroll-line {
    width: 2px;
    height: 40px;
    background: linear-gradient(to bottom, var(--primary-color), transparent);
    border-radius: 2px;
}

@keyframes bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(10px); }
}

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

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

.section-subtitle {
    display: inline-block;
    font-size: 14px;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.section-label {
    display: inline-block;
    font-size: 14px;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 2px;
    background: rgba(0, 217, 255, 0.1);
    padding: 8px 20px;
    border-radius: 20px;
    border: 1px solid rgba(0, 217, 255, 0.2);
}

.section-title {
    font-size: 52px;
    font-weight: 900;
    margin-bottom: 20px;
    line-height: 1.2;
    letter-spacing: -0.5px;
}

.section-description {
    font-size: 18px;
    color: var(--text-secondary);
    max-width: 640px;
    margin: 0 auto;
    line-height: 1.7;
}

/* ===== ABOUT SECTION ===== */
.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-text {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.about-description {
    font-size: 18px;
    color: var(--text-secondary);
    line-height: 1.8;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-top: 40px;
}

.stat-item {
    text-align: center;
    padding: 24px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    transition: all 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-4px);
    border-color: var(--primary-color);
    box-shadow: var(--shadow-md);
}

.stat-number {
    font-size: 48px;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 8px;
    display: block;
}

.stat-label {
    font-size: 13px;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
    display: block;
}

.about-visual {
    position: relative;
}

.about-image-container {
    position: relative;
    width: 100%;
    aspect-ratio: 1;
}

.about-image-placeholder {
    width: 100%;
    height: 100%;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(16px);
}

.about-image-placeholder::before {
    content: '';
    position: absolute;
    width: 200%;
    height: 200%;
    background: conic-gradient(from 0deg, var(--primary-color), var(--secondary-color), var(--accent-color), var(--primary-color));
    animation: rotate 10s linear infinite;
    opacity: 0.1;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.about-image {
    position: relative;
    aspect-ratio: 1;
    border-radius: 24px;
    overflow: hidden;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
}

.about-text h3 {
    font-size: 32px;
    margin-bottom: 20px;
}

.about-text p {
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 16px;
    line-height: 1.8;
}

.stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-top: 40px;
}

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

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

.service-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 40px;
    transition: all 0.3s ease;
    backdrop-filter: blur(16px);
    position: relative;
    overflow: hidden;
}

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

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

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.service-icon {
    width: 70px;
    height: 70px;
    background: var(--gradient-primary);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    font-size: 32px;
    box-shadow: 0 8px 24px rgba(0, 217, 255, 0.3);
}

.service-icon svg {
    width: 32px;
    height: 32px;
    color: var(--bg-dark);
}

.service-card h3 {
    font-size: 24px;
    margin-bottom: 16px;
    color: var(--text-primary);
}

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

.service-tech {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 20px;
}

.service-tech li {
    font-size: 12px;
    padding: 6px 14px;
    background: rgba(0, 217, 255, 0.1);
    color: var(--primary-color);
    border-radius: 20px;
    border: 1px solid rgba(0, 217, 255, 0.2);
    transition: all 0.3s ease;
}

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

.service-features {
    list-style: none;
}

.service-features li {
    padding: 8px 0;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 12px;
}

.service-features li::before {
    content: '✓';
    color: var(--primary-color);
    font-weight: bold;
}

/* ===== TESTIMONIALS SECTION ===== */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 32px;
}

.testimonial-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 40px;
    backdrop-filter: blur(16px);
    position: relative;
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-4px);
    border-color: var(--primary-color);
    box-shadow: var(--shadow-lg);
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: 20px;
    left: 30px;
    font-size: 80px;
    color: var(--primary-color);
    opacity: 0.2;
    font-family: Georgia, serif;
    line-height: 1;
}

.testimonial-text {
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 24px;
    position: relative;
    z-index: 1;
}

.testimonial-quote {
    font-size: 18px;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 24px;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding-top: 20px;
    border-top: 1px solid var(--glass-border);
}

.author-name {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
}

.author-company {
    font-size: 14px;
    color: var(--text-muted);
}

.author-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 20px;
}

.author-info h4 {
    font-size: 16px;
    margin-bottom: 4px;
}

.author-info p {
    font-size: 14px;
    color: var(--text-muted);
}

.testimonial-stars {
    display: flex;
    gap: 4px;
    margin-bottom: 20px;
}

.star {
    color: #fbbf24;
    font-size: 20px;
}

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

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

.process-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 40px 32px;
    backdrop-filter: blur(16px);
    transition: all 0.3s ease;
    text-align: center;
}

.process-card:hover {
    transform: translateY(-8px);
    border-color: var(--primary-color);
    box-shadow: var(--shadow-lg);
}

.process-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 70px;
    height: 70px;
    background: var(--gradient-primary);
    border-radius: 50%;
    font-size: 28px;
    font-weight: 900;
    margin-bottom: 24px;
    box-shadow: 0 8px 24px rgba(0, 217, 255, 0.3);
    color: var(--bg-dark);
}

.process-title {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.process-description {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.7;
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 32px;
    position: relative;
}

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

.step-number {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    font-weight: 800;
    margin: 0 auto 24px;
    box-shadow: var(--shadow-glow);
}

.process-step h3 {
    font-size: 24px;
    margin-bottom: 12px;
}

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

/* ===== PROJECTS SECTION ===== */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
}

.project-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.3s ease;
    backdrop-filter: blur(16px);
    cursor: pointer;
    position: relative;
}

.project-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 217, 255, 0.05), rgba(139, 92, 246, 0.05));
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

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

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

.project-card:active {
    transform: translateY(-6px);
}

.project-image {
    width: 100%;
    height: 220px;
    background: var(--gradient-primary);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
}

.project-image::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0, 217, 255, 0.8), rgba(139, 92, 246, 0.8));
    opacity: 0.9;
}

.project-image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 40%, rgba(15, 15, 30, 0.9) 100%);
}

.project-content {
    padding: 32px;
    position: relative;
    z-index: 1;
}

.project-tags {
    display: flex;
    gap: 8px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}

.tag {
    font-size: 12px;
    padding: 6px 12px;
    background: rgba(0, 240, 255, 0.1);
    color: var(--primary-color);
    border-radius: 6px;
    border: 1px solid rgba(0, 240, 255, 0.2);
}

.project-content h3 {
    font-size: 24px;
    margin-bottom: 12px;
}

.project-content p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 20px;
}

.project-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: gap 0.3s ease;
    position: relative;
    z-index: 1;
}

.project-link:hover {
    gap: 12px;
    color: var(--primary-color);
}

.project-link:active {
    transform: scale(0.98);
}

.project-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 16px;
}

.project-tech span {
    font-size: 12px;
    padding: 6px 14px;
    background: rgba(0, 217, 255, 0.1);
    color: var(--primary-color);
    border-radius: 20px;
    border: 1px solid rgba(0, 217, 255, 0.2);
    transition: all 0.3s ease;
}

.project-tech span:hover {
    background: rgba(0, 217, 255, 0.2);
    border-color: var(--primary-color);
}

.project-svg {
    width: 100%;
    height: 100%;
    position: relative;
    z-index: 1;
}

.project-overlay {
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 2;
}

.project-tag {
    font-size: 11px;
    padding: 6px 14px;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(10px);
    color: var(--primary-color);
    border-radius: 20px;
    border: 1px solid rgba(0, 217, 255, 0.3);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 700;
}

/* SVG Animations */
.pulse-1 {
    animation: pulse 2s ease-in-out infinite;
}

.pulse-2 {
    animation: pulse 2s ease-in-out infinite 0.5s;
}

.wave-1 {
    animation: wave 1.5s ease-in-out infinite;
}

.wave-2 {
    animation: wave 1.5s ease-in-out infinite 0.3s;
}

.flow-arrow {
    animation: flow 2s ease-in-out infinite;
}

.chart-bar-1 {
    animation: chartGrow 2s ease-out infinite 0s;
}

.chart-bar-2 {
    animation: chartGrow 2s ease-out infinite 0.2s;
}

.chart-bar-3 {
    animation: chartGrow 2s ease-out infinite 0.4s;
}

.graph-line {
    stroke-dasharray: 500;
    stroke-dashoffset: 500;
    animation: drawLine 3s ease-out infinite;
}

.bot-eye-1, .bot-eye-2 {
    animation: blink 3s ease-in-out infinite;
}

.antenna-pulse {
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 0.2; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.1); }
}

@keyframes wave {
    0%, 100% { opacity: 0.6; }
    50% { opacity: 0.2; }
}

@keyframes flow {
    0% { stroke-dasharray: 0 100; }
    50% { stroke-dasharray: 50 50; }
    100% { stroke-dasharray: 100 0; }
}

@keyframes chartGrow {
    0%, 100% { transform: scaleY(1); }
    50% { transform: scaleY(1.2); }
}

@keyframes drawLine {
    0% { stroke-dashoffset: 500; }
    50% { stroke-dashoffset: 0; }
    100% { stroke-dashoffset: -500; }
}

@keyframes blink {
    0%, 90%, 100% { opacity: 1; }
    95% { opacity: 0.2; }
}

/* ===== PROJECT MODALS ===== */
.project-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.92);
    z-index: 10000;
    padding: 40px 20px;
    overflow-y: auto;
    backdrop-filter: blur(16px);
    animation: fadeInModal 0.3s ease;
}

.project-modal.active {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding-top: 60px;
}

.project-modal .modal-content {
    background: linear-gradient(135deg, rgba(20, 20, 40, 0.95), rgba(15, 15, 30, 0.98));
    border: 1px solid var(--glass-border);
    border-radius: 28px;
    max-width: 900px;
    width: 100%;
    padding: 0;
    position: relative;
    backdrop-filter: blur(24px);
    animation: slideUpModal 0.4s ease;
    box-shadow: 0 24px 72px rgba(0, 0, 0, 0.6);
}

@keyframes fadeInModal {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideUpModal {
    from {
        opacity: 0;
        transform: translateY(60px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.modal-header {
    padding: 48px 48px 32px;
    border-bottom: 1px solid var(--glass-border);
    position: relative;
}

.modal-header h2 {
    font-size: 38px;
    font-weight: 900;
    margin-bottom: 16px;
    line-height: 1.2;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.modal-tag {
    display: inline-block;
    font-size: 12px;
    padding: 8px 16px;
    background: rgba(0, 217, 255, 0.15);
    color: var(--primary-color);
    border-radius: 20px;
    border: 1px solid rgba(0, 217, 255, 0.3);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 700;
}

.modal-body {
    padding: 40px 48px 48px;
}

.modal-description,
.modal-features,
.modal-tech,
.modal-results {
    margin-bottom: 40px;
}

.modal-description h3,
.modal-features h3,
.modal-tech h3,
.modal-results h3 {
    font-size: 24px;
    font-weight: 800;
    margin-bottom: 20px;
    color: var(--text-primary);
    position: relative;
    padding-bottom: 12px;
}

.modal-description h3::after,
.modal-features h3::after,
.modal-tech h3::after,
.modal-results h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: var(--gradient-primary);
    border-radius: 2px;
}

.modal-description p {
    font-size: 17px;
    color: var(--text-secondary);
    line-height: 1.8;
}

.modal-features ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.modal-features li {
    padding: 16px 20px;
    background: rgba(0, 217, 255, 0.05);
    border-left: 3px solid var(--primary-color);
    border-radius: 8px;
    font-size: 15px;
    line-height: 1.7;
}

.modal-features li strong {
    color: var(--primary-color);
    display: block;
    margin-bottom: 6px;
    font-size: 16px;
}

.modal-features li span {
    color: var(--text-secondary);
}

.modal-tech-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 12px;
}

.tech-badge {
    padding: 12px 20px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    text-align: center;
    font-size: 14px;
    font-weight: 600;
    color: var(--primary-color);
    transition: all 0.3s ease;
}

.tech-badge:hover {
    background: rgba(0, 217, 255, 0.1);
    border-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 217, 255, 0.2);
}

.results-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 24px;
}

.result-item {
    text-align: center;
    padding: 32px 24px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    transition: all 0.3s ease;
}

.result-item:hover {
    transform: translateY(-4px);
    border-color: var(--primary-color);
    box-shadow: var(--shadow-md);
}

.result-number {
    display: block;
    font-size: 44px;
    font-weight: 900;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 12px;
    line-height: 1;
}

.result-label {
    display: block;
    font-size: 13px;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

/* ===== MODAL ===== */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 10000;
    padding: 40px 20px;
    overflow-y: auto;
    backdrop-filter: blur(10px);
}

.modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-content {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    max-width: 800px;
    width: 100%;
    padding: 48px;
    position: relative;
    backdrop-filter: blur(16px);
    animation: slideUp 0.3s ease;
}

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

.modal-close {
    position: absolute;
    top: 24px;
    right: 24px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.modal-close:hover {
    background: rgba(255, 0, 0, 0.1);
    border-color: #ff5f56;
    transform: rotate(90deg);
}

.modal-header h2 {
    font-size: 36px;
    margin-bottom: 16px;
}

.modal-body {
    margin-top: 32px;
}

.modal-body h3 {
    font-size: 24px;
    margin: 24px 0 16px;
}

.modal-body p {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 16px;
}

.modal-body ul {
    list-style: none;
    margin: 16px 0;
}

.modal-body li {
    padding: 8px 0;
    color: var(--text-secondary);
    display: flex;
    align-items: start;
    gap: 12px;
}

.modal-body li::before {
    content: '→';
    color: var(--primary-color);
    font-weight: bold;
    flex-shrink: 0;
}

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

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.contact-info-wrapper h3 {
    font-size: 32px;
    margin-bottom: 16px;
}

.contact-info-wrapper p {
    color: var(--text-secondary);
    font-size: 18px;
    margin-bottom: 32px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 40px;
}

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

.contact-item svg {
    color: var(--primary-color);
    flex-shrink: 0;
}

.contact-item a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-item a:hover {
    color: var(--primary-color);
}

.contact-form-wrapper {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 40px;
    backdrop-filter: blur(16px);
}

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

.form-group {
    position: relative;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid var(--glass-border);
    border-radius: 12px;
    color: var(--text-primary);
    font-size: 16px;
    font-family: var(--font-primary);
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    background: rgba(0, 240, 255, 0.05);
}

.form-group label {
    position: absolute;
    left: 16px;
    top: 16px;
    color: var(--text-muted);
    transition: all 0.3s ease;
    pointer-events: none;
}

.form-group input:focus + label,
.form-group input:not(:placeholder-shown) + label,
.form-group textarea:focus + label,
.form-group textarea:not(:placeholder-shown) + label {
    top: -10px;
    left: 12px;
    font-size: 12px;
    background: var(--bg-darker);
    padding: 0 8px;
    color: var(--primary-color);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* Honeypot field - hidden from real users, visible to bots */
.form-group-honeypot {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    opacity: 0;
    pointer-events: none;
}

/* CAPTCHA styling */
.captcha-group {
    background: rgba(255, 165, 0, 0.05);
    border: 2px solid rgba(255, 165, 0, 0.3);
    border-radius: 16px;
    padding: 24px;
    margin: 8px 0;
    animation: captchaSlideIn 0.4s ease;
}

@keyframes captchaSlideIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.captcha-container {
    position: relative;
}

.captcha-question {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
    padding: 16px;
    background: rgba(255, 165, 0, 0.1);
    border-radius: 12px;
    border: 1px solid rgba(255, 165, 0, 0.2);
}

.captcha-question svg {
    color: #ffa500;
    flex-shrink: 0;
}

.captcha-question span {
    color: var(--text-primary);
    font-size: 16px;
}

.captcha-math {
    font-weight: 700;
    color: var(--primary-color);
    font-family: var(--font-mono);
    font-size: 18px;
}

.captcha-group input {
    width: 100%;
    padding: 16px;
    background: rgba(255, 255, 255, 0.08);
    border: 2px solid rgba(255, 165, 0, 0.3);
    border-radius: 12px;
    color: var(--text-primary);
    font-size: 18px;
    font-family: var(--font-mono);
    font-weight: 600;
    text-align: center;
    transition: all 0.3s ease;
}

.captcha-group input:focus {
    outline: none;
    border-color: #ffa500;
    background: rgba(255, 165, 0, 0.1);
    box-shadow: 0 0 20px rgba(255, 165, 0, 0.2);
}

.captcha-refresh {
    position: absolute;
    right: 0;
    top: 0;
    background: rgba(255, 165, 0, 0.1);
    border: 2px solid rgba(255, 165, 0, 0.3);
    border-radius: 12px;
    padding: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.captcha-refresh:hover {
    background: rgba(255, 165, 0, 0.2);
    border-color: #ffa500;
    transform: rotate(180deg);
}

.captcha-refresh svg {
    color: #ffa500;
    display: block;
}

/* ===== CTA SECTION ===== */
.cta {
    background: var(--gradient-primary);
    padding: 80px 0;
}

.cta-content {
    text-align: center;
}

.cta-title {
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 16px;
    color: var(--bg-dark);
}

.cta-description {
    font-size: 20px;
    color: var(--bg-dark);
    opacity: 0.8;
    margin-bottom: 32px;
}

.cta .btn-primary {
    background: var(--bg-dark);
    color: var(--text-primary);
}

.cta .btn-primary:hover {
    background: var(--bg-darker);
    transform: scale(1.05);
}

/* ===== FOOTER ===== */
.footer {
    background: var(--bg-darker);
    padding: 60px 0 32px;
    border-top: 1px solid var(--glass-border);
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 60px;
    margin-bottom: 40px;
}

.footer-about p {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-top: 16px;
}

.footer-heading {
    font-size: 18px;
    margin-bottom: 20px;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-link {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s ease;
}

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

.footer-bottom {
    padding-top: 32px;
    border-top: 1px solid var(--glass-border);
    text-align: center;
}

.footer-bottom p {
    color: var(--text-muted);
    font-size: 14px;
}

/* ===== SCROLL TO TOP ===== */
.scroll-to-top {
    position: fixed;
    bottom: 32px;
    right: 32px;
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
    box-shadow: var(--shadow-glow);
}

.scroll-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-to-top:hover {
    transform: translateY(-4px);
    box-shadow: 0 0 40px rgba(0, 240, 255, 0.5);
}

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

[data-aos] {
    opacity: 0;
    transition: opacity 0.6s ease, transform 0.6s ease;
}

[data-aos].aos-animate {
    opacity: 1;
}

[data-aos="fade-up"] {
    transform: translateY(40px);
}

[data-aos="fade-up"].aos-animate {
    transform: translateY(0);
}

[data-aos="fade-left"] {
    transform: translateX(-40px);
}

[data-aos="fade-left"].aos-animate {
    transform: translateX(0);
}

[data-aos="fade-right"] {
    transform: translateX(40px);
}

[data-aos="fade-right"].aos-animate {
    transform: translateX(0);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1200px) {
    .container {
        padding: 0 32px;
    }
}

@media (max-width: 992px) {
    .hero-content,
    .about-content,
    .contact-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .hero-title {
        font-size: 48px;
    }

    .section-title {
        font-size: 36px;
    }

    .about-stats,
    .stats {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .scroll-indicator {
        display: none;
    }
}

@media (max-width: 768px) {
    section {
        padding: 80px 0;
    }

    .hero {
        padding-top: 100px;
    }

    .hero-title {
        font-size: 36px;
    }

    .hero-description {
        font-size: 16px;
    }

    .section-title {
        font-size: 28px;
    }

    .section-header {
        margin-bottom: 48px;
    }

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

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

    .process-steps,
    .process-grid {
        grid-template-columns: 1fr;
    }

    .about-stats,
    .stats {
        grid-template-columns: 1fr;
        gap: 16px;
    }

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

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

    .modal-content {
        padding: 32px 24px;
    }

    .modal-header {
        padding: 32px 24px 24px;
    }

    .modal-header h2 {
        font-size: 28px;
    }

    .modal-body {
        padding: 32px 24px;
    }

    .project-modal .modal-content {
        margin: 20px 0;
    }

    .modal-tech-grid {
        grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    }

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

    .result-number {
        font-size: 36px;
    }

    .cta-title {
        font-size: 32px;
    }

    .cta-description {
        font-size: 16px;
    }

    .stat-number {
        font-size: 36px;
    }

    .service-card {
        padding: 32px 24px;
    }

    .testimonial-card {
        padding: 32px 24px;
    }

    .window-header {
        padding: 10px 12px;
    }

    .window-title {
        font-size: 11px;
    }

    .window-content {
        font-size: 12px;
    }

    .contact-form-wrapper {
        padding: 24px;
    }

    .captcha-group {
        padding: 16px;
    }

    .captcha-question {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
        padding: 12px;
    }

    .captcha-question span {
        font-size: 14px;
    }

    .captcha-math {
        font-size: 16px;
    }

    .captcha-refresh {
        position: static;
        width: 100%;
        margin-top: 12px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 20px;
    }

    .hero-title {
        font-size: 28px;
    }

    .section-title {
        font-size: 24px;
    }

    .stat-number {
        font-size: 28px;
    }

    .service-icon {
        width: 60px;
        height: 60px;
        font-size: 28px;
    }
}

/* ===== LEGAL PAGES (IMPRESSUM & DATENSCHUTZ) ===== */
.legal-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
    background: var(--bg-dark);
}

.legal-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 80px 20px;
}

.legal-content {
    max-width: 900px;
    width: 100%;
    position: relative;
}

.legal-close-btn {
    position: fixed;
    top: 32px;
    right: 32px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(16px);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 1000;
    color: var(--text-primary);
}

.legal-close-btn:hover {
    background: rgba(255, 0, 0, 0.1);
    border-color: #ff5f56;
    transform: rotate(90deg) scale(1.1);
    box-shadow: 0 8px 24px rgba(255, 95, 86, 0.3);
}

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

.legal-header .logo {
    display: inline-flex;
    margin-bottom: 32px;
    font-size: 28px;
}

.legal-title {
    font-size: 52px;
    font-weight: 900;
    margin-bottom: 16px;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2;
}

.legal-subtitle {
    display: block;
    font-size: 16px;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 2px;
}

.legal-section {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-bottom: 48px;
}

.legal-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 40px;
    backdrop-filter: blur(16px);
    transition: all 0.3s ease;
}

.legal-card:hover {
    border-color: rgba(0, 217, 255, 0.3);
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.legal-card h2 {
    font-size: 28px;
    font-weight: 800;
    margin-bottom: 24px;
    color: var(--text-primary);
    position: relative;
    padding-bottom: 16px;
}

.legal-card h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: var(--gradient-primary);
    border-radius: 2px;
}

.legal-card h3 {
    font-size: 20px;
    font-weight: 700;
    margin: 24px 0 12px;
    color: var(--primary-color);
}

.legal-info p {
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 16px;
}

.legal-info strong {
    color: var(--text-primary);
    font-weight: 700;
}

.legal-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin: 20px 0;
}

.legal-list li {
    padding-left: 28px;
    position: relative;
    font-size: 15px;
    line-height: 1.7;
    color: var(--text-secondary);
}

.legal-list li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

.contact-item-legal {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 16px;
    padding: 16px;
    background: rgba(0, 217, 255, 0.05);
    border-radius: 12px;
    border-left: 3px solid var(--primary-color);
}

.contact-item-legal svg {
    color: var(--primary-color);
    flex-shrink: 0;
}

.contact-item-legal a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.contact-item-legal a:hover {
    color: #00f0ff;
}

.legal-footer {
    text-align: center;
    margin-top: 48px;
}

.legal-footer .btn {
    display: inline-flex;
}

/* Placeholder styling for legal pages */
.placeholder-required {
    color: #ff5555;
    font-weight: 600;
    background: rgba(255, 85, 85, 0.1);
    padding: 4px 12px;
    border-radius: 6px;
    border-left: 3px solid #ff5555;
    display: inline-block;
    margin: 4px 0;
    font-family: var(--font-mono);
}

.placeholder-optional {
    color: #ffa500;
    font-weight: 500;
    background: rgba(255, 165, 0, 0.08);
    padding: 4px 12px;
    border-radius: 6px;
    border-left: 3px solid #ffa500;
    display: inline-block;
    margin: 4px 0;
    font-family: var(--font-mono);
    font-style: italic;
}

.contact-item-legal .placeholder-required {
    display: inline;
    padding: 2px 8px;
}

/* Responsive Legal Pages */
@media (max-width: 768px) {
    .legal-container {
        padding: 60px 20px;
    }

    .legal-close-btn {
        top: 20px;
        right: 20px;
        width: 44px;
        height: 44px;
    }

    .legal-title {
        font-size: 36px;
    }

    .legal-card {
        padding: 28px 24px;
    }

    .legal-card h2 {
        font-size: 24px;
    }

    .legal-header .logo {
        font-size: 24px;
    }
}

@media (max-width: 480px) {
    .legal-title {
        font-size: 28px;
    }

    .legal-card {
        padding: 24px 20px;
    }

    .legal-card h2 {
        font-size: 20px;
    }

    .contact-item-legal {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
}
