/* ============================================
   САЙТОТВОРЕЦЬ / SAITOTVORETS - RETRO 80s STYLE
   ============================================ */

/* Import fonts - with Cyrillic support */
@import url('https://fonts.googleapis.com/css2?family=Unbounded:wght@400;500;600;700;800;900&family=Montserrat:wght@400;500;600;700&family=Orbitron:wght@400;500;600;700;800;900&display=swap');

/* CSS Variables */
:root {
    /* Colors - Retro 80s palette */
    --bg-dark: #0a0a0f;
    --bg-darker: #050508;
    --bg-card: #12121a;
    --bg-card-hover: #1a1a25;
    
    --purple-dark: #2d1b4e;
    --purple-main: #6b2fb3;
    --purple-light: #9b4dca;
    --purple-glow: #b366e0;
    
    --cyan-main: #00d4ff;
    --cyan-glow: #00ffff;
    
    --magenta-main: #ff00ff;
    --magenta-glow: #ff66ff;
    
    --text-primary: #f0f0f0;
    --text-secondary: #c0c0c0;
    --text-muted: #808080;
    
    /* Gradients */
    --gradient-main: linear-gradient(135deg, var(--purple-main) 0%, var(--magenta-main) 50%, var(--cyan-main) 100%);
    --gradient-card: linear-gradient(145deg, var(--bg-card) 0%, var(--bg-darker) 100%);
    --gradient-glow: linear-gradient(135deg, var(--purple-glow) 0%, var(--cyan-glow) 100%);
    
    /* Shadows */
    --shadow-glow: 0 0 30px rgba(107, 47, 179, 0.3);
    --shadow-card: 0 10px 40px rgba(0, 0, 0, 0.5);
    
    /* Fonts - with Cyrillic support */
    --font-display: 'Unbounded', 'Orbitron', sans-serif;
    --font-body: 'Montserrat', sans-serif;
    --font-accent: 'Orbitron', sans-serif;
    
    /* Spacing */
    --section-padding: 100px 0;
    --container-width: 1200px;
}

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

html {
    scroll-behavior: smooth;
}

/* Skip link for accessibility */
.skip-link {
    position: absolute;
    top: -100px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--purple-main);
    color: white;
    padding: 12px 24px;
    border-radius: 0 0 10px 10px;
    text-decoration: none;
    font-weight: 600;
    z-index: 10000;
    transition: top 0.3s ease;
}

.skip-link:focus {
    top: 0;
    outline: 3px solid var(--cyan-main);
    outline-offset: 2px;
}

/* Focus styles for accessibility */
:focus-visible {
    outline: 3px solid var(--cyan-main);
    outline-offset: 2px;
}

/* Reduced motion for accessibility */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    html {
        scroll-behavior: auto;
    }
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-primary);
    background: var(--bg-dark);
    overflow-x: hidden;
}

/* Scanlines overlay */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: repeating-linear-gradient(
        0deg,
        rgba(0, 0, 0, 0.1) 0px,
        rgba(0, 0, 0, 0.1) 1px,
        transparent 1px,
        transparent 2px
    );
    pointer-events: none;
    z-index: 9999;
    opacity: 0.3;
}

/* CRT flicker effect */
@keyframes flicker {
    0% { opacity: 0.97; }
    5% { opacity: 0.95; }
    10% { opacity: 0.97; }
    15% { opacity: 0.94; }
    20% { opacity: 0.98; }
    25% { opacity: 0.96; }
    30% { opacity: 0.97; }
    35% { opacity: 0.95; }
    40% { opacity: 0.98; }
    45% { opacity: 0.96; }
    50% { opacity: 0.97; }
    55% { opacity: 0.95; }
    60% { opacity: 0.98; }
    65% { opacity: 0.96; }
    70% { opacity: 0.97; }
    75% { opacity: 0.94; }
    80% { opacity: 0.98; }
    85% { opacity: 0.96; }
    90% { opacity: 0.97; }
    95% { opacity: 0.95; }
    100% { opacity: 0.97; }
}

body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(ellipse at center, transparent 0%, rgba(0,0,0,0.3) 100%);
    pointer-events: none;
    z-index: 9998;
    animation: flicker 0.15s infinite;
}

/* Glitch effect */
@keyframes glitch {
    0% {
        transform: translate(0);
        text-shadow: -2px 0 var(--cyan-main), 2px 0 var(--magenta-main);
    }
    20% {
        transform: translate(-2px, 2px);
        text-shadow: 2px 0 var(--cyan-main), -2px 0 var(--magenta-main);
    }
    40% {
        transform: translate(-2px, -2px);
        text-shadow: -2px 0 var(--magenta-main), 2px 0 var(--cyan-main);
    }
    60% {
        transform: translate(2px, 2px);
        text-shadow: 2px 0 var(--magenta-main), -2px 0 var(--cyan-main);
    }
    80% {
        transform: translate(2px, -2px);
        text-shadow: -2px 0 var(--cyan-main), 2px 0 var(--magenta-main);
    }
    100% {
        transform: translate(0);
        text-shadow: -2px 0 var(--cyan-main), 2px 0 var(--magenta-main);
    }
}

.glitch {
    animation: glitch 0.5s infinite;
}

.glitch-hover:hover {
    animation: glitch 0.3s infinite;
}

/* Container */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* ============================================
   NAVIGATION
   ============================================ */

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 5px 0;
    background: rgba(10, 10, 15, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(107, 47, 179, 0.3);
    transition: all 0.3s ease;
}

.navbar.scrolled {
    padding: 3px 0;
    background: rgba(10, 10, 15, 0.98);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
    text-decoration: none;
}

.logo img {
    height: 85px;
    width: auto;
}

.logo-text {
    font-family: var(--font-display);
    font-size: 1.4rem;
    font-weight: 700;
    background: var(--gradient-main);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-links {
    display: flex;
    gap: 30px;
    list-style: none;
}

.nav-links a {
    font-family: var(--font-display);
    font-size: 0.9rem;
    color: var(--text-secondary);
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    position: relative;
}

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

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

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

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

.lang-switch {
    display: flex;
    gap: 3px;
    background: rgba(20, 20, 25, 0.8);
    padding: 4px;
    border-radius: 20px;
    border: 1px solid rgba(107, 47, 179, 0.3);
}

.lang-switch a {
    font-family: var(--font-display);
    font-size: 0.75rem;
    font-weight: 600;
    padding: 6px 12px;
    border-radius: 16px;
    text-decoration: none;
    color: var(--text-secondary);
    transition: all 0.3s ease;
    letter-spacing: 0.5px;
}

.lang-switch a:hover {
    color: var(--text-primary);
}

.lang-switch a.active {
    color: var(--bg-dark);
    background: linear-gradient(135deg, var(--purple-main), var(--magenta));
    box-shadow: 0 2px 8px rgba(107, 47, 179, 0.4);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
}

.mobile-menu-btn span {
    display: block;
    width: 25px;
    height: 2px;
    background: var(--text-primary);
    margin: 5px 0;
    transition: all 0.3s ease;
}

/* ============================================
   HERO SECTION
   ============================================ */

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding-top: 80px;
}

/* Grid background */
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        linear-gradient(rgba(107, 47, 179, 0.1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(107, 47, 179, 0.1) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: gridMove 20s linear infinite;
}

@keyframes gridMove {
    0% { transform: perspective(500px) rotateX(60deg) translateY(0); }
    100% { transform: perspective(500px) rotateX(60deg) translateY(50px); }
}

/* Floating shapes */
.hero-shapes {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
    pointer-events: none;
}

.shape {
    position: absolute;
    opacity: 0.5;
}

.shape-1 {
    top: 20%;
    left: 10%;
    width: 100px;
    height: 100px;
    border: 3px solid var(--cyan-main);
    animation: float 6s ease-in-out infinite;
}

.shape-2 {
    top: 60%;
    right: 15%;
    width: 60px;
    height: 60px;
    background: var(--magenta-main);
    animation: float 8s ease-in-out infinite reverse;
}

.shape-3 {
    bottom: 20%;
    left: 20%;
    width: 80px;
    height: 80px;
    border: 3px solid var(--purple-glow);
    transform: rotate(45deg);
    animation: float 7s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-30px) rotate(10deg); }
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 20px;
    background: rgba(107, 47, 179, 0.2);
    border: 1px solid var(--purple-main);
    border-radius: 50px;
    font-family: var(--font-display);
    font-size: 0.8rem;
    color: var(--purple-light);
    margin-bottom: 30px;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(107, 47, 179, 0.4); }
    50% { box-shadow: 0 0 0 15px rgba(107, 47, 179, 0); }
}

.hero-title {
    font-family: var(--font-display);
    font-size: 4rem;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.hero-title .highlight {
    display: block;
    background: var(--gradient-main);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: glitch 3s infinite;
}

.hero-subtitle {
    font-family: var(--font-pixel);
    font-size: 1.2rem;
    color: var(--cyan-main);
    margin-bottom: 20px;
    text-shadow: 0 0 10px var(--cyan-main);
}

.hero-desc {
    font-size: 1.3rem;
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto 40px;
}

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

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 35px;
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: none;
}

.btn-primary {
    background: var(--gradient-main);
    color: white;
    box-shadow: 0 0 30px rgba(107, 47, 179, 0.5);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 50px rgba(107, 47, 179, 0.7);
}

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

.btn-secondary:hover {
    background: rgba(107, 47, 179, 0.2);
    transform: translateY(-3px);
}

/* Hero features */
.hero-features {
    display: flex;
    justify-content: center;
    gap: 50px;
    margin-top: 60px;
    flex-wrap: wrap;
}

.hero-feature {
    display: flex;
    align-items: center;
    gap: 15px;
}

.hero-feature-icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(107, 47, 179, 0.2);
    border: 1px solid var(--purple-main);
    border-radius: 10px;
}

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

.hero-feature-text h4 {
    font-family: var(--font-display);
    font-size: 0.9rem;
    color: var(--text-primary);
    margin-bottom: 2px;
}

.hero-feature-text p {
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* ============================================
   SECTIONS COMMON
   ============================================ */

section {
    padding: var(--section-padding);
    position: relative;
}

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

.section-title {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 15px;
    text-transform: uppercase;
}

.section-title span {
    background: var(--gradient-main);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

/* ============================================
   SERVICES SECTION
   ============================================ */

.services {
    background: var(--bg-darker);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

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

@media (max-width: 600px) {
    .services-grid {
        grid-template-columns: 1fr;
    }
}

.service-card {
    background: var(--gradient-card);
    border: 1px solid rgba(107, 47, 179, 0.2);
    border-radius: 15px;
    padding: 40px 30px;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-main);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: var(--purple-main);
    box-shadow: var(--shadow-glow);
}

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

.service-icon {
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(107, 47, 179, 0.2);
    border: 1px solid var(--purple-main);
    border-radius: 15px;
    margin-bottom: 25px;
}

.service-icon svg {
    width: 32px;
    height: 32px;
}

.service-card h3 {
    font-family: var(--font-display);
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--text-primary);
}

.service-card p {
    color: var(--text-secondary);
    line-height: 1.7;
    font-size: 1.05rem;
}

/* ============================================
   WHY US SECTION
   ============================================ */

.why-us {
    background: var(--bg-dark);
    position: relative;
}

.why-us::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 30%, rgba(107, 47, 179, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(0, 212, 255, 0.1) 0%, transparent 50%);
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    position: relative;
    z-index: 1;
}

.why-card {
    text-align: center;
    padding: 40px 30px;
    background: rgba(18, 18, 26, 0.5);
    border: 1px solid rgba(107, 47, 179, 0.2);
    border-radius: 15px;
    transition: all 0.4s ease;
}

.why-card:hover {
    transform: scale(1.05);
    border-color: var(--purple-main);
    box-shadow: var(--shadow-glow);
}

.why-icon {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    background: var(--gradient-main);
    border-radius: 50%;
}

.why-icon svg {
    width: 32px;
    height: 32px;
}

.why-card h3 {
    font-family: var(--font-display);
    font-size: 1.3rem;
    margin-bottom: 15px;
}

.why-card p {
    color: var(--text-secondary);
    line-height: 1.7;
    font-size: 1.05rem;
}

/* ============================================
   PORTFOLIO SECTION
   ============================================ */

.portfolio {
    background: var(--bg-darker);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.portfolio-card {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    aspect-ratio: 16/10;
    cursor: pointer;
    border: 1px solid rgba(107, 47, 179, 0.2);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
}

.portfolio-card:hover {
    transform: translateY(-10px);
    border-color: var(--purple-main);
    box-shadow: 0 25px 50px rgba(107, 47, 179, 0.3);
}

.portfolio-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.portfolio-card:hover .portfolio-image {
    transform: scale(1.05);
    filter: blur(3px);
}

.portfolio-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 40px;
    background: linear-gradient(
        135deg,
        rgba(107, 47, 179, 0.95) 0%,
        rgba(45, 27, 78, 0.95) 50%,
        rgba(10, 10, 15, 0.98) 100%
    );
    opacity: 0;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.portfolio-overlay h3 {
    font-family: var(--font-display);
    font-size: 1.6rem;
    margin-bottom: 15px;
    color: white;
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.4s ease 0.1s;
}

.portfolio-card:hover .portfolio-overlay h3 {
    transform: translateY(0);
    opacity: 1;
}

.portfolio-overlay p {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.6;
    max-width: 280px;
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.4s ease 0.2s;
}

.portfolio-card:hover .portfolio-overlay p {
    transform: translateY(0);
    opacity: 1;
}

.portfolio-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 25px;
    padding: 12px 28px;
    background: rgba(0, 212, 255, 0.15);
    border: 1px solid var(--cyan-main);
    border-radius: 50px;
    color: var(--cyan-main);
    text-decoration: none;
    font-family: var(--font-display);
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.4s ease 0.3s;
}

.portfolio-card:hover .portfolio-link {
    transform: translateY(0);
    opacity: 1;
}

.portfolio-link:hover {
    background: var(--cyan-main);
    color: var(--bg-dark);
}

/* ============================================
   PRICING SECTION
   ============================================ */

.pricing {
    background: var(--bg-dark);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

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

@media (max-width: 650px) {
    .pricing-grid {
        grid-template-columns: 1fr;
    }
}

.pricing-card {
    background: var(--gradient-card);
    border: 1px solid rgba(107, 47, 179, 0.2);
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    position: relative;
    transition: all 0.4s ease;
    display: flex;
    flex-direction: column;
}

.pricing-card .pricing-features {
    flex: 1;
}

.pricing-card .btn {
    margin-top: auto;
}

.pricing-card:hover {
    transform: translateY(-10px);
    border-color: var(--purple-main);
    box-shadow: var(--shadow-glow);
}

.pricing-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gradient-main);
    padding: 8px 25px;
    border-radius: 50px;
    font-family: var(--font-display);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.pricing-header h3 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.pricing-header p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.pricing-price {
    margin: 30px 0;
}

.pricing-price .amount {
    font-family: var(--font-display);
    font-size: 3rem;
    font-weight: 900;
    background: var(--gradient-main);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.pricing-features {
    list-style: none;
    margin-bottom: 30px;
}

.pricing-features li {
    padding: 12px 0;
    border-bottom: 1px solid rgba(107, 47, 179, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.pricing-features li:last-child {
    border-bottom: none;
}

.pricing-features li::before {
    content: '';
    width: 8px;
    height: 8px;
    background: var(--gradient-main);
    border-radius: 50%;
    flex-shrink: 0;
}

/* ============================================
   PROCESS SECTION
   ============================================ */

.process {
    background: var(--bg-darker);
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    position: relative;
    list-style: none;
    padding: 0;
    margin: 0;
}

.process-card {
    text-align: center;
    padding: 40px 30px;
    position: relative;
}

.process-number {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    background: var(--gradient-main);
    border-radius: 50%;
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 900;
}

.process-card h3 {
    font-family: var(--font-display);
    font-size: 1.3rem;
    margin-bottom: 15px;
}

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

/* ============================================
   FORM SECTION
   ============================================ */

.form-section {
    background: var(--bg-dark);
    position: relative;
    padding-bottom: 150px;
}

.form-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 30% 50%, rgba(107, 47, 179, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 70% 50%, rgba(255, 0, 255, 0.1) 0%, transparent 50%);
}

.form-container {
    max-width: 700px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.form-box {
    background: var(--gradient-card);
    border: 1px solid rgba(107, 47, 179, 0.3);
    border-radius: 20px;
    padding: 50px;
    box-shadow: var(--shadow-card);
}

.form-group {
    margin-bottom: 25px;
}

fieldset.form-group {
    border: none;
    padding: 0;
    margin: 0 0 25px 0;
}

fieldset.form-group legend {
    display: block;
    font-family: var(--font-display);
    font-size: 0.9rem;
    margin-bottom: 15px;
    color: var(--text-primary);
    padding: 0;
    width: 100%;
}

.form-group label {
    display: block;
    font-family: var(--font-display);
    font-size: 0.9rem;
    margin-bottom: 10px;
    color: var(--text-primary);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px 20px;
    background: rgba(10, 10, 15, 0.5);
    border: 1px solid rgba(107, 47, 179, 0.3);
    border-radius: 10px;
    font-family: var(--font-retro);
    font-size: 1.1rem;
    color: var(--text-primary);
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--purple-main);
    box-shadow: 0 0 20px rgba(107, 47, 179, 0.3);
}

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

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-muted);
}

/* Type selector */
.type-selector {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.type-option {
    position: relative;
}

.type-option input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
}

.type-option label {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
    background: rgba(10, 10, 15, 0.5);
    border: 2px solid rgba(107, 47, 179, 0.3);
    border-radius: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}

.type-option label .icon {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.type-option label .icon svg {
    width: 28px;
    height: 28px;
    stroke: var(--text-secondary);
    transition: stroke 0.3s ease;
}

.type-option input:checked + label .icon svg {
    stroke: var(--cyan-main);
}

.type-option label .title {
    font-family: var(--font-display);
    font-size: 0.9rem;
}

.type-option input:checked + label {
    border-color: var(--purple-main);
    background: rgba(107, 47, 179, 0.2);
    box-shadow: 0 0 20px rgba(107, 47, 179, 0.3);
}

/* Deadline selector */
.deadline-selector {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

@media (max-width: 500px) {
    .deadline-selector {
        grid-template-columns: 1fr;
    }
}

.deadline-option {
    position: relative;
}

.deadline-option input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
}

.deadline-option label {
    display: block;
    padding: 12px 20px;
    background: rgba(10, 10, 15, 0.5);
    border: 2px solid rgba(107, 47, 179, 0.3);
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: var(--font-display);
    font-size: 0.85rem;
}

.deadline-option input:checked + label {
    border-color: var(--cyan-main);
    background: rgba(0, 212, 255, 0.2);
    color: var(--cyan-main);
}

/* Contact method selector */
.contact-method-selector {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.contact-option {
    position: relative;
    flex: 1;
    min-width: 150px;
}

.contact-option input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
}

.contact-option label {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 15px 20px;
    background: rgba(10, 10, 15, 0.5);
    border: 2px solid rgba(107, 47, 179, 0.3);
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: var(--font-display);
    font-size: 0.9rem;
}

.contact-option label .icon {
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-option label .icon svg {
    width: 22px;
    height: 22px;
}

.contact-option input:checked + label {
    border-color: var(--magenta-main);
    background: rgba(255, 0, 255, 0.2);
}

.form-submit-wrapper {
    text-align: center;
    margin-top: 30px;
}

.form-submit-wrapper .btn {
    width: 100%;
    justify-content: center;
    padding: 20px 40px;
    font-size: 1.1rem;
}

.form-submit-note {
    margin-top: 15px;
    font-size: 0.9rem;
    color: var(--cyan-main);
    font-family: var(--font-pixel);
}

/* ============================================
   FOOTER - Modern Minimal Design
   ============================================ */

.footer {
    background: linear-gradient(180deg, var(--bg-darker) 0%, #000 100%);
    padding: 100px 0 60px;
    border-top: 1px solid rgba(107, 47, 179, 0.3);
    position: relative;
    margin-top: 0;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--gradient-main);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 60px;
    margin-bottom: 60px;
    flex-wrap: wrap;
}

.footer-brand {
    flex: 1;
    min-width: 280px;
    max-width: 350px;
}

.footer-brand .logo {
    margin-bottom: 20px;
}

.footer-brand .logo img {
    height: 100px;
}

.footer-brand p {
    color: var(--text-secondary);
    line-height: 1.8;
    font-size: 0.95rem;
}

.footer-center {
    flex: 1;
    display: flex;
    justify-content: center;
    gap: 80px;
}

.footer-links h4 {
    font-family: var(--font-display);
    font-size: 0.85rem;
    margin-bottom: 25px;
    color: var(--text-primary);
    text-transform: uppercase;
    letter-spacing: 2px;
}

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

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

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 0.95rem;
    display: inline-block;
}

.footer-links a:hover {
    color: var(--purple-light);
    transform: translateX(5px);
}

.footer-contact {
    flex: 1;
    min-width: 250px;
    max-width: 300px;
}

.footer-contact h4 {
    font-family: var(--font-display);
    font-size: 0.85rem;
    margin-bottom: 25px;
    color: var(--text-primary);
    text-transform: uppercase;
    letter-spacing: 2px;
}

.footer-contact-item {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 18px;
    color: var(--text-secondary);
}

.footer-contact-item .icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(107, 47, 179, 0.2);
    border: 1px solid rgba(107, 47, 179, 0.3);
    border-radius: 10px;
    font-size: 1.1rem;
    flex-shrink: 0;
}

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

.footer-contact-item a:hover {
    color: var(--cyan-main);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 40px;
    border-top: 1px solid rgba(107, 47, 179, 0.15);
    color: var(--text-muted);
    font-size: 0.85rem;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-bottom-left {
    display: flex;
    align-items: center;
    gap: 30px;
}

.footer-social {
    display: flex;
    gap: 12px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(107, 47, 179, 0.15);
    border: 1px solid rgba(107, 47, 179, 0.3);
    border-radius: 10px;
    color: var(--text-secondary);
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-social a:hover {
    background: var(--purple-main);
    border-color: var(--purple-main);
    color: white;
    transform: translateY(-3px);
}

@media (max-width: 900px) {
    .footer {
        padding: 60px 0 40px;
    }
    
    .footer-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 40px;
        margin-bottom: 40px;
    }
    
    .footer-brand {
        max-width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .footer-brand .logo {
        display: flex;
        justify-content: center;
    }
    
    .footer-brand .logo img {
        height: 120px;
    }
    
    .footer-center {
        flex-direction: column;
        gap: 30px;
    }
    
    .footer-contact {
        max-width: 100%;
    }
    
    .footer-contact-item {
        justify-content: center;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

/* ============================================
   MODAL
   ============================================ */

.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(10, 10, 15, 0.95);
    z-index: 10000;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.modal.active {
    display: flex;
}

.modal-content {
    background: var(--gradient-card);
    border: 1px solid var(--purple-main);
    border-radius: 20px;
    padding: 50px;
    max-width: 500px;
    width: 100%;
    text-align: center;
    position: relative;
    animation: modalIn 0.3s ease;
}

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

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--text-secondary);
    cursor: pointer;
    transition: color 0.3s ease;
}

.modal-close:hover {
    color: var(--text-primary);
}

.modal-icon {
    font-size: 4rem;
    margin-bottom: 20px;
}

.modal h3 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.modal p {
    color: var(--text-secondary);
    margin-bottom: 30px;
}

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 992px) {
    .hero-title {
        font-size: 3rem;
    }
    
    .nav-links {
        display: none;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .logo img {
        height: 90px;
    }
    
    .nav-right {
        gap: 10px;
    }
    
    .nav-right .btn {
        display: none;
    }
}

@media (max-width: 768px) {
    :root {
        --section-padding: 60px 0;
    }
    
    .logo img {
        height: 70px;
    }
    
    /* Hero section mobile fixes */
    .hero {
        padding-top: 100px;
        min-height: auto;
    }
    
    .hero-content {
        padding: 20px 0 40px;
    }
    
    .hero-title {
        font-size: 1.9rem;
        line-height: 1.2;
        margin-bottom: 15px;
    }
    
    .hero-subtitle {
        font-size: 0.9rem;
        margin-bottom: 15px;
    }
    
    .hero-desc {
        font-size: 1rem;
        margin-bottom: 25px;
        line-height: 1.6;
    }
    
    .hero-badge {
        font-size: 0.75rem;
        padding: 8px 16px;
        margin-bottom: 20px;
    }
    
    .hero-features {
        flex-direction: column;
        align-items: center;
        gap: 20px;
        margin-top: 30px;
    }
    
    .hero-feature {
        padding: 15px 20px;
    }
    
    .hero-buttons {
        gap: 15px;
        margin-bottom: 20px;
    }
    
    /* Floating shapes - hide on mobile */
    .hero-shapes .shape {
        display: none;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    /* Form section mobile fixes */
    .form-section .section-header {
        margin-bottom: 30px;
    }
    
    .form-box {
        padding: 25px 15px;
        margin-top: 20px;
    }
    
    .type-selector {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    
    .type-option label {
        padding: 12px 15px;
        font-size: 0.85rem;
    }
    
    .deadline-selector {
        gap: 10px;
    }
    
    .deadline-option label {
        padding: 10px 15px;
        font-size: 0.85rem;
    }
    
    .contact-method-selector {
        gap: 10px;
    }
    
    .contact-option label {
        padding: 12px 15px;
        font-size: 0.85rem;
    }
    
    .form-group label {
        font-size: 0.85rem;
        margin-bottom: 8px;
    }
    
    fieldset.form-group legend {
        font-size: 0.85rem;
        margin-bottom: 12px;
    }
    
    .portfolio-grid {
        grid-template-columns: 1fr;
    }
    
    .portfolio-card {
        aspect-ratio: 16/9;
    }
    
    .lang-switch a {
        font-size: 0.7rem;
        padding: 5px 10px;
    }
}

@media (max-width: 480px) {
    .logo img {
        height: 55px;
    }
    
    .hero {
        padding-top: 80px;
    }
    
    .hero-title {
        font-size: 1.6rem;
    }
    
    .hero-desc {
        font-size: 0.95rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }
    
    .btn {
        width: 100%;
        justify-content: center;
        padding: 14px 25px;
        font-size: 0.9rem;
    }
    
    .hero-feature {
        width: 100%;
    }
    
    /* Form section 480px */
    .form-box {
        padding: 20px 12px;
    }
    
    .type-option label {
        padding: 10px 12px;
        font-size: 0.8rem;
    }
    
    .type-option label .icon svg {
        width: 18px;
        height: 18px;
    }
    
    .deadline-option label {
        padding: 8px 12px;
        font-size: 0.8rem;
    }
    
    .contact-option label {
        padding: 10px 12px;
        font-size: 0.8rem;
    }
    
    .contact-method-selector {
        flex-direction: column;
    }
    
    .footer {
        padding: 50px 0 30px;
    }
    
    .footer-content {
        gap: 30px;
        margin-bottom: 30px;
    }
    
    .footer-brand .logo img {
        height: 100px;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .why-grid,
    .process-grid {
        grid-template-columns: 1fr;
    }
    
    .lang-switch {
        padding: 3px;
    }
    
    .lang-switch a {
        font-size: 0.65rem;
        padding: 4px 8px;
    }
}

/* Mobile navigation */
.mobile-nav {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(10, 10, 15, 0.98);
    z-index: 999;
    padding: 100px 20px;
}

.mobile-nav.active {
    display: block;
}

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

.mobile-nav li {
    margin-bottom: 30px;
}

.mobile-nav a {
    font-family: var(--font-display);
    font-size: 1.5rem;
    color: var(--text-primary);
    text-decoration: none;
    text-transform: uppercase;
}

/* Loading animation */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255,255,255,0.3);
    border-radius: 50%;
    border-top-color: white;
    animation: spin 0.8s linear infinite;
}

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

/* Tetris blocks decoration */
.tetris-decoration {
    position: absolute;
    opacity: 0.1;
    pointer-events: none;
}

.tetris-l {
    width: 60px;
    height: 60px;
    background: var(--cyan-main);
    clip-path: polygon(0 0, 33% 0, 33% 66%, 100% 66%, 100% 100%, 0 100%);
}

.tetris-t {
    width: 60px;
    height: 40px;
    background: var(--magenta-main);
    clip-path: polygon(33% 0, 66% 0, 66% 50%, 100% 50%, 100% 100%, 0 100%, 0 50%, 33% 50%);
}

.tetris-z {
    width: 60px;
    height: 40px;
    background: var(--purple-glow);
    clip-path: polygon(0 0, 66% 0, 66% 50%, 100% 50%, 100% 100%, 33% 100%, 33% 50%, 0 50%);
}

