/* ===== CSS VARIABLES ===== */
:root {
    --primary-purple: #a73afd;
    --primary-blue: #005bff;
    --dark-bg: #0a0a0a;
    --darker-bg: #050505;
    --light-bg: #f8fbfb;
    --white: #ffffff;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-300: #d1d5db;
    --gray-400: #9ca3af;
    --gray-500: #6b7280;
    --gray-600: #4b5563;
    --gray-700: #374151;
    --gray-800: #1f2937;
    --gray-900: #111827;
    
    --gradient-primary: linear-gradient(135deg, var(--primary-purple) 0%, var(--primary-blue) 100%);
    --gradient-secondary: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-purple) 100%);
    --gradient-bg: linear-gradient(135deg, #1a0b2e 0%, #16213e 50%, #0f3460 100%);
    --card-bg: rgba(15, 15, 25, 0.95);
    --card-border: rgba(167, 58, 253, 1);
    --card-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
    --card-shadow-hover: 0 30px 60px rgba(0, 0, 0, 0.7);
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

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

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--white);
    background: var(--gradient-bg);
    background-attachment: fixed;
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
    position: relative;
}

/* Создаем эффект застекленного фона */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 80%, rgba(167, 58, 253, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(0, 91, 255, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(167, 58, 253, 0.1) 0%, transparent 50%);
    backdrop-filter: blur(100px);
    -webkit-backdrop-filter: blur(100px);
    z-index: -1;
}

.container {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
    overflow-x: hidden;
}

/* ===== CARD STYLES ===== */
.card {
    background: var(--card-bg);
    border: 4px solid var(--card-border);
    border-radius: 30px;
    box-shadow: var(--card-shadow);
    padding: 3rem;
    margin-bottom: 3rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary-purple), transparent);
    opacity: 0.5;
}

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

.card:hover::before {
    opacity: 1;
}

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

h1 { font-size: clamp(3.75rem, 7.5vw, 6rem); }
h2 { font-size: clamp(3rem, 6vw, 4.5rem); }
h3 { font-size: clamp(2.25rem, 4.5vw, 3rem); }

p {
    margin-bottom: 1.5rem;
    color: var(--gray-300);
    font-size: 1.2rem;
    line-height: 1.7;
}

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

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 18px 36px;
    border: none;
    border-radius: 12px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--white);
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background: var(--primary-blue);
    color: var(--white);
}

.btn-secondary:hover {
    background: var(--primary-purple);
    transform: translateY(-2px);
}

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

.btn-outline:hover {
    background: var(--primary-purple);
    transform: translateY(-2px);
}

/* ===== HEADER & NAVIGATION ===== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: var(--card-bg);
    border-bottom: 2px solid var(--card-border);
    box-shadow: var(--card-shadow);
}

.navbar {
    padding: 1.5rem 0;
}

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

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: var(--white);
    font-weight: 700;
    font-size: 1.5rem;
}

.logo-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 18px;
    color: var(--white);
}

.navbar-menu {
    display: flex;
    gap: 3rem;
}

.nav-link {
    color: var(--gray-300);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    text-transform: uppercase;
    font-size: 16px;
    letter-spacing: 0.5px;
}

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

.navbar-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 0.7rem;
    border-radius: 10px;
    background: rgba(167, 58, 253, 0.2);
    border: 2px solid var(--primary-purple);
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 4px 15px rgba(167, 58, 253, 0.3);
}

.navbar-toggle:hover {
    background: rgba(167, 58, 253, 0.4);
    border-color: var(--primary-purple);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(167, 58, 253, 0.4);
}

.navbar-toggle span {
    width: 24px;
    height: 2px;
    background: var(--white);
    margin: 2px 0;
    transition: all 0.3s ease;
    border-radius: 1px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

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

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

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

/* ===== HERO SECTION ===== */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    position: relative;
    padding-top: 120px;
}

.hero-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 6rem 0;
    position: relative;
}

.hero-icon {
    font-size: 3rem;
    color: var(--primary-purple);
    margin-bottom: 3rem;
    animation: pulse 2s infinite;
}

.hero-title {
    font-size: clamp(3.75rem, 7.5vw, 6rem);
    font-weight: 800;
    margin-bottom: 2rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.5rem;
    color: var(--gray-300);
    margin-bottom: 3rem;
    max-width: 800px;
}

.hero-cta {
    margin-bottom: 3rem;
}

.hero-description {
    font-size: 1.2rem;
    color: var(--gray-400);
    max-width: 700px;
}

/* Gift Section */
.gift-section {
    margin: 3rem auto;
    max-width: 1600px;
    position: relative;
}

.gift-section .card {
    background: var(--card-bg);
    border: 3px solid var(--card-border);
    border-radius: 30px;
    padding: 3rem;
    box-shadow: var(--card-shadow);
    position: relative;
    overflow: hidden;
}

.gift-section .card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary-purple), transparent);
    opacity: 0.5;
}

.gift-content {
    display: flex;
    align-items: center;
    gap: 3rem;
}

.gift-icon {
    position: relative;
    font-size: 4.5rem;
    color: var(--white);
}

.gift-papers {
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 40px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 4px;
}

.gift-text {
    flex: 1;
}

.gift-title {
    font-size: 2.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--white);
}

.gift-description {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.2rem;
    line-height: 1.6;
}

/* ===== STATISTICS SECTION ===== */
.stats {
    padding: 6rem 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    text-align: center;
}

.stat-item {
    padding: 3rem;
    transition: all 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-5px);
}

.stat-number {
    font-size: 4.5rem;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
}

.stat-label {
    color: var(--gray-400);
    font-size: 1.3rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ===== SERVICES SECTION ===== */
.services {
    padding: 9rem 0;
}

.services-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    align-items: center;
}

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

.service-card {
    padding: 3rem;
    text-align: center;
    transition: all 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
}

.service-icon {
    width: 90px;
    height: 90px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2.25rem;
    color: var(--white);
}

.service-title {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--white);
}

.services-label {
    color: var(--primary-purple);
    font-size: 1.1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1.5rem;
}

.services-title {
    font-size: 3.75rem;
    font-weight: 700;
    margin-bottom: 2rem;
    color: var(--white);
}

.services-description {
    color: var(--gray-300);
    font-size: 1.4rem;
    line-height: 1.7;
}

/* ===== INDUSTRIES SECTION ===== */
.industries {
    padding: 4rem 0;
}

.industries-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 3rem;
    align-items: center;
}

.industries-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 2rem;
}

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

.industry-tag {
    color: var(--white);
    padding: 1rem;
    border-radius: 12px;
    text-align: center;
    font-weight: 500;
    transition: all 0.3s ease;
    cursor: pointer;
}

.industry-tag:hover {
    transform: translateY(-5px);
    background: rgba(167, 58, 253, 0.1);
}

/* ===== PROCESS SECTION ===== */
.process {
    padding: 6rem 0;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 3rem;
    color: var(--white);
}

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

.step {
    text-align: center;
    padding: 2rem;
    transition: all 0.3s ease;
}

.step:hover {
    transform: translateY(-5px);
}

.step-number {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--white);
}

.step-text {
    color: var(--gray-300);
    font-size: 1rem;
    line-height: 1.6;
}

/* ===== PRICING SECTION ===== */
.pricing {
    padding: 6rem 0;
    position: relative;
    background: var(--gradient-bg);
}

.section-subtitle {
    text-align: center;
    color: var(--gray-400);
    font-size: 1.1rem;
    margin-bottom: 3rem;
}

.pricing-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.pricing-card {
    width: 100%;
    height: 450px;
    border-radius: 20px;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    cursor: pointer;
}

.pricing-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

/* Background images for cards */
.wb-card {
    background: 
        linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.7)),
        url('/static/img/wb.png');
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
}

.ozon-card {
    background: 
        linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.7)),
        url('/static/img/ozon.png');
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
}

.test-card {
    background: 
        linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.7)),
        url('/static/img/testbuy.png');
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
}

.pricing-content {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    z-index: 2;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.1) 0%, rgba(0, 0, 0, 0.8) 100%);
}

.pricing-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--white);
    margin: 0 0 1.5rem 0;
    text-shadow: 0 3px 6px rgba(0, 0, 0, 0.8);
    line-height: 1.2;
}

.pricing-details {
    margin-bottom: auto;
}

.pricing-item {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    margin-bottom: 1rem;
    gap: 0.5rem;
}

.pricing-label {
    color: rgba(255, 255, 255, 0.95);
    font-size: 1.2rem;
    font-weight: 600;
    min-width: 130px;
    text-align: center;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8);
}

.pricing-value {
    color: var(--white);
    font-size: 1.2rem;
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8);
}

.pricing-action {
    margin-top: auto;
    padding-top: 1rem;
}

.btn-order {
    width: 100%;
    padding: 1.2rem 2rem;
    font-size: 1.2rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 50px;
    border: none;
    background: #FFD700;
    color: #000;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    text-align: center;
    box-shadow: 0 4px 12px rgba(255, 215, 0, 0.3);
}

.btn-order:hover {
    background: #FFC107;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 215, 0, 0.4);
}

/* ===== FEATURES SECTION ===== */
.features {
    padding: 6rem 0;
}

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

.feature-item {
    text-align: center;
    padding: 2rem;
    transition: all 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-5px);
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    color: var(--white);
}

.feature-text {
    color: var(--gray-300);
    font-size: 1rem;
    line-height: 1.6;
}

/* ===== CONTACT FORM SECTION ===== */
.contact-form-section {
    padding: 8rem 0;
    background: var(--gradient-bg);
    position: relative;
}

.contact-form-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 30% 20%, rgba(167, 58, 253, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 70% 80%, rgba(0, 91, 255, 0.1) 0%, transparent 50%);
    z-index: 1;
}

.contact-form-wrapper {
    background: var(--card-bg);
    border: 2px solid var(--card-border);
    border-radius: 20px;
    padding: 4rem;
    box-shadow: var(--card-shadow);
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin: 0 auto;
}

.form-header {
    text-align: center;
    margin-bottom: 3rem;
}

.form-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 1rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.form-subtitle {
    color: var(--gray-300);
    font-size: 1.2rem;
    margin: 0;
}

.application-form {
    margin-bottom: 3rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

.form-field {
    display: flex;
    flex-direction: column;
}

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

.form-control {
    padding: 1rem 1.5rem;
    border: 2px solid rgba(167, 58, 253, 0.3);
    border-radius: 12px;
    background: rgba(42, 42, 42, 0.9);
    color: var(--white);
    font-size: 1rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.form-control select {
    background: rgba(42, 42, 42, 0.9);
    color: var(--white);
    border: none;
    outline: none;
}

.form-control option {
    background: var(--dark-bg);
    color: var(--white);
    padding: 0.5rem;
    border: none;
}

.form-control select option {
    background: #1a1a1a;
    color: #ffffff;
    padding: 8px 12px;
}

.form-control select option:hover {
    background: var(--primary-purple);
    color: var(--white);
}

.form-control select option:checked {
    background: var(--primary-purple);
    color: var(--white);
}

/* Специальные стили для select */
select.form-control {
    background: rgba(42, 42, 42, 0.9);
    color: var(--white);
    cursor: pointer;
}

select.form-control option {
    background: #2a2a2a !important;
    color: #ffffff !important;
    padding: 10px;
}

select.form-control option:hover {
    background: var(--primary-purple) !important;
    color: var(--white) !important;
}

select.form-control option[selected] {
    background: var(--primary-purple) !important;
    color: var(--white) !important;
}

/* Стили для WebKit браузеров */
select.form-control::-webkit-scrollbar {
    width: 8px;
}

select.form-control::-webkit-scrollbar-track {
    background: #2a2a2a;
}

select.form-control::-webkit-scrollbar-thumb {
    background: var(--primary-purple);
    border-radius: 4px;
}

/* Firefox стили */
select.form-control {
    -moz-appearance: none;
    appearance: none;
}

/* Стрелка для select */
select.form-control {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='%23ffffff' viewBox='0 0 16 16'%3e%3cpath d='m7.247 4.86-4.796 5.481c-.566.647-.106 1.659.753 1.659h9.592a1 1 0 0 0 .753-1.659l-4.796-5.48a1 1 0 0 0-1.506 0z'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 16px 12px;
    padding-right: 3rem;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-purple);
    box-shadow: 0 0 0 3px rgba(167, 58, 253, 0.1);
    background: rgba(42, 42, 42, 1);
}

.form-control::placeholder {
    color: var(--gray-300);
    opacity: 0.8;
}

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

.form-actions {
    text-align: center;
    margin-top: 2rem;
}

.btn-submit {
    background: var(--gradient-primary);
    border: none;
    border-radius: 50px;
    padding: 1.2rem 3rem;
    color: var(--white);
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 8px 25px rgba(167, 58, 253, 0.3);
}

.btn-submit:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(167, 58, 253, 0.4);
}

.btn-icon {
    font-size: 1rem;
}

.form-note {
    color: var(--gray-400);
    font-size: 0.9rem;
    margin-top: 1rem;
    margin-bottom: 0;
}

.contact-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.contact-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(167, 58, 253, 0.2);
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.contact-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-purple);
    box-shadow: 0 10px 30px rgba(167, 58, 253, 0.2);
}

.contact-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 1.5rem;
    color: var(--white);
}

.contact-details h4 {
    color: var(--white);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.contact-details p {
    color: var(--gray-300);
    font-size: 1rem;
    margin: 0;
}

/* ===== HOW TO ORDER SECTION ===== */
.how-to-order {
    padding: 6rem 0;
}

.order-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.order-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 2rem;
    color: var(--white);
}

.order-description {
    font-size: 1.1rem;
    color: var(--gray-300);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.order-steps {
    list-style: none;
    margin-bottom: 1.5rem;
    counter-reset: list-counter;
}

.order-steps li {
    color: var(--gray-300);
    margin-bottom: 1.5rem;
    padding-left: 2rem;
    position: relative;
    line-height: 1.6;
    font-size: 1.1rem;
}

.order-steps li::before {
    content: counter(list-counter);
    counter-increment: list-counter;
    position: absolute;
    left: 0;
    color: var(--primary-purple);
    font-weight: 700;
    font-size: 1.3rem;
}

.order-note {
    font-size: 0.95rem;
    color: var(--gray-400);
    font-style: italic;
    line-height: 1.5;
}

.order-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.order-image {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
}

.order-image:hover {
    transform: translateY(-5px);
}

/* ===== FORMING SECTION ===== */
.forming {
    padding: 6rem 0;
}

.forming-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.forming-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 2rem;
    color: var(--white);
    position: relative;
}

.forming-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 3px;
    background: var(--gradient-primary);
}

.forming-text {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.forming-factors {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.forming-factor {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.forming-number {
    color: var(--gray-400);
    font-size: 1.5rem;
    font-weight: 700;
    min-width: 2.5rem;
    text-align: left;
}

.forming-item-text {
    flex: 1;
}

.forming-item-text p {
    color: var(--gray-300);
    font-size: 1.1rem;
    line-height: 1.6;
    margin: 0;
}

.forming-image {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding-top: 2rem;
}

.forming-image-img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
}

.forming-image-img:hover {
    transform: translateY(-5px);
}

/* ===== BRIEF SECTION ===== */
.brief {
    padding: 6rem 0;
}

.brief-content {
    color: var(--white);
}

.brief-header {
    text-align: center;
    margin-bottom: 3rem;
}

.brief-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--white);
}

.brief-video {
    margin-bottom: 3rem;
}

.video-frame {
    background: transparent;
    border: none;
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 1rem;
}

.video-frame iframe {
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.brief-footer {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 2rem;
    align-items: center;
}

.brief-description p {
    color: var(--gray-300);
    line-height: 1.6;
}



/* ===== FOOTER ===== */
.footer {
    background: var(--card-bg);
    border-top: 2px solid var(--card-border);
    padding: 2rem 0;
    box-shadow: var(--card-shadow);
}

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

.footer-info {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 1rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--gray-400);
}

.contact-item i {
    color: var(--primary-purple);
}

.footer-bottom {
    border-top: 1px solid var(--card-border);
    padding-top: 1rem;
    color: var(--gray-500);
    font-size: 0.875rem;
}

.footer-link {
    color: var(--primary-purple);
    text-decoration: none;
}

.footer-link:hover {
    text-decoration: underline;
}

/* ===== ANIMATIONS ===== */
@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

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

/* ===== ERROR PAGES ===== */
.error-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 80px;
}

.error-content {
    background: var(--card-bg);
    border: 2px solid var(--card-border);
    border-radius: 20px;
    text-align: center;
    max-width: 600px;
    padding: 2rem;
    box-shadow: var(--card-shadow);
    position: relative;
    overflow: hidden;
}

.error-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary-purple), transparent);
    opacity: 0.5;
}

.error-icon {
    font-size: 4rem;
    color: var(--primary-purple);
    margin-bottom: 2rem;
    animation: pulse 2s infinite;
}

.error-title {
    font-size: 6rem;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
}

.error-subtitle {
    font-size: 2rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 1rem;
}

.error-description {
    font-size: 1.1rem;
    color: var(--gray-300);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.error-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 1024px) {
    .pricing-cards {
        grid-template-columns: 1fr;
        gap: 2rem;
        max-width: 500px;
        margin: 0 auto;
    }
    
    .pricing-card {
        width: 100%;
        height: 400px;
    }
}

@media (max-width: 768px) {
    .navbar-menu {
        display: none;
    }
    
    .navbar-toggle {
        display: flex;
    }
    
    .services-content,
    .industries-content,
    .order-content,
    .forming-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .order-steps li {
        padding-left: 1rem;
    }
    
    .forming-factor {
        gap: 0.8rem;
    }
    
    .forming-number {
        font-size: 1.2rem;
        min-width: 2rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .pricing-cards {
        grid-template-columns: 1fr;
        gap: 2rem;
        max-width: 400px;
        margin: 0 auto;
    }
    
    .pricing-card {
        width: 100%;
        height: 350px;
    }
    
    .pricing-card .pricing-content {
        padding: 2rem;
    }
    
    .pricing-title {
        font-size: 1.5rem;
        margin-bottom: 1rem;
    }
    
    .pricing-item {
        margin-bottom: 0.8rem;
    }
    
    .pricing-label {
        font-size: 1rem;
    }
    
    .pricing-value {
        font-size: 1rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-form-wrapper {
        padding: 2rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .form-title {
        font-size: 2rem;
    }
    
    .contact-info-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .footer-info {
        flex-direction: column;
        gap: 1rem;
    }
    
    .brief-footer {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .video-frame {
        padding: 1rem;
    }
    
    .video-frame iframe {
        width: 100%;
        height: auto;
        min-height: 250px;
    }
    
    .gift-content {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .process-steps {
        grid-template-columns: 1fr;
    }
    
    .industries-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ===== CHECKBOX STYLES ===== */
.checkbox-field {
    margin: 1.5rem 0;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    cursor: pointer;
    font-size: 0.95rem;
    line-height: 1.5;
}

.checkbox-input {
    display: none;
}

.checkbox-custom {
    width: 20px;
    height: 20px;
    min-width: 20px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 4px;
    background: rgba(42, 42, 42, 0.9);
    position: relative;
    transition: all 0.3s ease;
    margin-top: 2px;
}

.checkbox-custom::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    color: #fff;
    font-weight: bold;
    font-size: 12px;
    transition: transform 0.2s ease;
}

.checkbox-input:checked + .checkbox-custom {
    background: linear-gradient(135deg, #a73afd, #005bff);
    border-color: #a73afd;
}

.checkbox-input:checked + .checkbox-custom::after {
    transform: translate(-50%, -50%) scale(1);
}

.checkbox-text {
    color: rgba(255, 255, 255, 0.9);
    flex: 1;
}

.privacy-link {
    color: #a73afd;
    text-decoration: none;
    transition: color 0.3s ease;
}

.privacy-link:hover {
    color: #005bff;
    text-decoration: underline;
}

/* ===== DISABLED BUTTON STYLES ===== */
.btn-submit:disabled,
.btn-submit.disabled {
    background: rgba(167, 58, 253, 0.3) !important;
    cursor: not-allowed !important;
    opacity: 0.6;
    transform: none !important;
}

.btn-submit:disabled:hover,
.btn-submit.disabled:hover {
    background: rgba(167, 58, 253, 0.3) !important;
    transform: none !important;
    box-shadow: none !important;
}

/* ===== COOKIE NOTICE STYLES ===== */
.cookie-notice {
    position: fixed;
    bottom: 20px;
    left: 20px;
    right: 20px;
    max-width: 500px;
    margin: 0 auto;
    background: rgba(20, 20, 30, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(167, 58, 253, 0.3);
    border-radius: 16px;
    padding: 1.5rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    z-index: 10000;
    display: none;
    opacity: 0;
    transform: translateY(100px);
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.cookie-notice.show {
    opacity: 1;
    transform: translateY(0);
}

.cookie-content {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.cookie-text {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.9rem;
    line-height: 1.5;
}

.cookie-text i {
    color: #a73afd;
    font-size: 1.2rem;
    margin-top: 2px;
    min-width: 20px;
}

.cookie-actions {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
}

.btn-cookie,
.btn-cookie-decline {
    padding: 8px 16px;
    border: none;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-cookie {
    background: linear-gradient(135deg, #a73afd, #005bff);
    color: white;
}

.btn-cookie:hover {
    background: linear-gradient(135deg, #9628f0, #0051e6);
    transform: translateY(-1px);
}

.btn-cookie-decline {
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-cookie-decline:hover {
    background: rgba(255, 255, 255, 0.2);
    color: white;
}

/* ===== MOBILE IMPROVEMENTS ===== */
@media (max-width: 768px) {
    /* Улучшения для мобильных устройств */
    .hero-title {
        font-size: 2.5rem !important;
        line-height: 1.2;
        margin-bottom: 1rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
        line-height: 1.5;
        margin-bottom: 2rem;
    }
    
    .card {
        padding: 2rem 1.5rem;
        margin: 1rem 0;
    }
    
    .section-title {
        font-size: 2.2rem !important;
        line-height: 1.3;
        margin-bottom: 1.5rem;
    }
    
    .form-row {
        flex-direction: column;
    }
    
    .contact-form-wrapper {
        padding: 2rem 1.5rem;
    }
    
    .checkbox-label {
        font-size: 0.9rem;
    }
    
    .cookie-notice {
        left: 10px;
        right: 10px;
        bottom: 10px;
        padding: 1.25rem;
    }
    
    .cookie-actions {
        flex-direction: column;
    }
    
    .btn-cookie,
    .btn-cookie-decline {
        width: 100%;
        padding: 10px;
    }
    
    /* Улучшения для карточек прайсинга */
    .pricing-card {
        margin-bottom: 1.5rem;
        min-height: 400px;
    }
    
    .pricing-title {
        font-size: 1.4rem;
    }
    
    .pricing-details {
        font-size: 0.9rem;
        padding: 0 1rem;
    }
    
    /* Улучшения для раздела "Как формируются цены" */
    .forming-content {
        flex-direction: column;
        gap: 2rem;
    }
    
    .forming-list {
        order: 2;
    }
    
    .forming-image {
        order: 1;
        text-align: center;
    }
    
    .forming-factor {
        padding: 1rem;
    }
    
    .forming-number {
        font-size: 1.5rem;
        min-width: 45px;
        height: 45px;
        line-height: 45px;
    }
    
    /* Улучшения для секции услуг */
    .services {
        padding: 4rem 0;
    }
    
    .services-content {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }
    
    .services-info {
        order: -1; /* Заголовок и описание сначала */
    }
    
    .services-grid {
        order: 1; /* Карточки услуг после */
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
    
    .service-card {
        padding: 2rem 1rem;
    }
    
    .service-icon {
        width: 70px;
        height: 70px;
        font-size: 1.8rem;
    }
    
    .service-title {
        font-size: 1.2rem;
        line-height: 1.4;
    }
    
    .services-title {
        font-size: 2.5rem;
        margin-bottom: 1.5rem;
        line-height: 1.2;
    }
    
    .services-description {
        font-size: 1.1rem;
        line-height: 1.6;
    }
    
    /* Улучшения для видео */
    .video-frame {
        padding: 0.5rem;
    }
    
    .video-frame iframe {
        min-height: 200px;
    }
    
    /* Улучшения для статистики */
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .stat-item {
        padding: 1.5rem 1rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    /* КРИТИЧНО: Предотвращение горизонтального скролла */
    * {
        max-width: 100vw;
    }
    
    .container {
        padding: 0 15px !important;
        max-width: calc(100vw - 30px) !important;
        overflow-x: hidden;
    }
    
    .card {
        margin: 1rem 0 !important;
        padding: 1.5rem !important;
        border-width: 2px !important;
        max-width: 100% !important;
        overflow-x: hidden;
    }
    
    .hero-title {
        font-size: 2rem !important;
        line-height: 1.1;
        word-wrap: break-word;
    }
    
    .section-title {
        font-size: 1.8rem !important;
        line-height: 1.2;
        word-wrap: break-word;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-form-wrapper {
        padding: 1.5rem 1rem;
        max-width: 100%;
        overflow-x: hidden;
    }
    
    .pricing-card {
        min-height: 350px;
        max-width: 100%;
    }
    
    /* Дополнительные улучшения для очень маленьких экранов */
    .services {
        padding: 3rem 0;
        max-width: 100%;
        overflow-x: hidden;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .service-card {
        padding: 2rem 1rem;
        max-width: 100%;
    }
    
    .service-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
        margin-bottom: 1rem;
    }
    
    .service-title {
        font-size: 1.1rem;
        word-wrap: break-word;
    }
    
    .services-title {
        font-size: 2rem !important;
        line-height: 1.1;
        word-wrap: break-word;
    }
    
    .services-description {
        font-size: 1rem;
        word-wrap: break-word;
    }
    
    /* Исправление переполнения для всех секций */
    section {
        max-width: 100vw;
        overflow-x: hidden;
    }
    
    .hero, .stats, .services, .pricing, .features, .contact-form-section {
        max-width: 100vw;
        overflow-x: hidden;
    }
}

/* Дополнительные правила для очень маленьких экранов */
@media (max-width: 430px) {
    .container {
        padding: 0 10px !important;
        max-width: calc(100vw - 20px) !important;
    }
    
    .card {
        padding: 1rem !important;
        margin: 0.5rem 0 !important;
        border-radius: 15px !important;
    }
    
    .hero-title {
        font-size: 1.8rem !important;
    }
    
    .services-title {
        font-size: 1.6rem !important;
    }
    
    .section-title {
        font-size: 1.5rem !important;
    }
    
    /* Убираем большие отступы */
    .services {
        padding: 2rem 0;
    }
    
    .hero {
        padding: 2rem 0;
    }
}

@media (max-width: 375px) {
    .container {
        padding: 0 8px !important;
        max-width: calc(100vw - 16px) !important;
    }
    
    .card {
        padding: 0.8rem !important;
        border-radius: 12px !important;
    }
    
    .hero-title {
        font-size: 1.6rem !important;
    }
    
    .services-title {
        font-size: 1.4rem !important;
    }
    
    .section-title {
        font-size: 1.3rem !important;
    }
}

/* ===== IMPROVED BURGER MENU STYLES ===== */

/* Logo improvements */
.navbar-brand {
    z-index: 1001;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: var(--white);
    transition: all 0.3s ease;
}

.logo:hover {
    transform: translateY(-2px);
}

.logo-icon {
    width: 45px;
    height: 45px;
    background: var(--gradient-primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 12px;
    font-size: 1.3rem;
    color: var(--white);
    box-shadow: 0 4px 15px rgba(167, 58, 253, 0.3);
    transition: all 0.3s ease;
}

.logo:hover .logo-icon {
    box-shadow: 0 6px 20px rgba(167, 58, 253, 0.5);
    transform: scale(1.05);
}

.logo-text {
    font-size: 1.6rem;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.5px;
}

/* Enhanced burger button */
.navbar-toggle {
    width: 48px !important;
    height: 48px !important;
    justify-content: center !important;
    align-items: center !important;
    position: relative !important;
    border-radius: 12px !important;
    background: rgba(15, 15, 25, 0.9) !important;
    border: 2px solid var(--primary-purple) !important;
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55) !important;
    backdrop-filter: blur(20px) !important;
    -webkit-backdrop-filter: blur(20px) !important;
    box-shadow: 0 4px 15px rgba(167, 58, 253, 0.3) !important;
    z-index: 1001 !important;
}

.navbar-toggle:hover {
    background: rgba(167, 58, 253, 0.2) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 25px rgba(167, 58, 253, 0.4) !important;
}

.burger-line {
    width: 20px;
    height: 2px;
    background: var(--white);
    margin: 2px 0;
    transition: all 0.3s ease;
    border-radius: 2px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.navbar-toggle.active .burger-line:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
    background: var(--primary-purple);
}

.navbar-toggle.active .burger-line:nth-child(2) {
    opacity: 0;
    transform: translateX(-20px);
}

.navbar-toggle.active .burger-line:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
    background: var(--primary-purple);
}

.navbar-toggle.active {
    background: rgba(167, 58, 253, 0.3) !important;
    box-shadow: 0 0 20px rgba(167, 58, 253, 0.6) !important;
}

/* Mobile menu overlay */
.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(5, 5, 15, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    transform: translateY(-100%);
}

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

.mobile-menu-content {
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 2rem 1rem;
    justify-content: center;
    position: relative;
}

/* Mobile menu links */
.mobile-menu-links {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 2rem 0;
    flex: 1;
    justify-content: center;
}

.mobile-nav-link {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.2rem 1.5rem;
    color: var(--white);
    text-decoration: none;
    background: rgba(167, 58, 253, 0.1);
    border: 1px solid rgba(167, 58, 253, 0.3);
    border-radius: 15px;
    transition: all 0.3s ease;
    font-weight: 600;
    font-size: 1.1rem;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.mobile-nav-link:hover {
    background: var(--gradient-primary);
    border-color: var(--primary-purple);
    transform: translateX(10px);
    box-shadow: 0 5px 20px rgba(167, 58, 253, 0.4);
}

.mobile-nav-link i {
    font-size: 1.2rem;
    width: 24px;
    text-align: center;
}

/* Mobile menu action */
.mobile-menu-action {
    padding: 2rem 0;
    text-align: center;
    border-top: 1px solid rgba(167, 58, 253, 0.3);
}

.mobile-menu-action .btn {
    width: 100%;
    max-width: 300px;
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
}
