/* ===== GLOBAL STYLES ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-bg: #0B1C38;
    --accent-yellow: #FFE600;
    --text-light: #F8F3E3;
    --accent-turquoise: #3CD6BE;
    --gradient-main: linear-gradient(135deg, #0B1C38 0%, #1a2d5a 100%);
    --gradient-accent: linear-gradient(135deg, #FFE600 0%, #ffd700 100%);
    --gradient-card: linear-gradient(135deg, rgba(60, 214, 190, 0.1) 0%, rgba(255, 230, 0, 0.1) 100%);
    --border-radius: 25px;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-light);
    background: var(--gradient-main);
    overflow-x: hidden;
}

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-light);
}

h1 {
    font-size: 3rem;
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-align: center;
}

h2 {
    font-size: 2.5rem;
    color: var(--accent-yellow);
    text-align: center;
    margin-bottom: 2rem;
}

h3 {
    font-size: 1.8rem;
    color: var(--accent-turquoise);
}

p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

/* ===== LAYOUT ===== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.section::before {
    content: '';
    position: absolute;
    top: 0;
    left: -50%;
    width: 200%;
    height: 100%;
    background: radial-gradient(circle, rgba(60, 214, 190, 0.05) 0%, transparent 70%);
    animation: floating 15s infinite ease-in-out;
}

@keyframes floating {
    0%, 100% { transform: translateX(0) rotate(0deg); }
    50% { transform: translateX(20px) rotate(180deg); }
}

/* ===== HEADER ===== */
header {
    background: rgba(11, 28, 56, 0.95);
    backdrop-filter: blur(10px);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    will-change: transform;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo {
    display: flex;
    align-items: center;
    font-size: 1.8rem;
    font-weight: bold;
    color: var(--accent-yellow);
    text-decoration: none;
    transition: all 0.3s ease;
}

.logo:hover {
    transform: scale(1.05);
}

.logo-icon {
    width: 40px;
    height: 40px;
    background: var(--gradient-accent);
    border-radius: 50%;
    margin-right: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: var(--primary-bg);
    font-weight: bold;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 2rem;
}

nav a {
    color: var(--text-light);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

nav a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-yellow);
    transition: width 0.3s ease;
}

nav a:hover::after,
nav a:focus::after {
    width: 100%;
}

nav a:hover {
    color: var(--accent-yellow);
}

/* ===== HERO SECTION ===== */
.hero {
    background: var(--gradient-main);
    padding: 150px 0 100px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 230, 0, 0.1) 0%, transparent 70%);
    animation: pulse 8s infinite ease-in-out;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 0.5; }
    50% { transform: scale(1.2); opacity: 0.8; }
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero h1 {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    animation: slideInDown 1s ease-out;
}

.hero p {
    font-size: 1.3rem;
    margin-bottom: 2.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    animation: slideInUp 1s ease-out 0.3s both;
}

@keyframes slideInDown {
    from { transform: translateY(-50px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

@keyframes slideInUp {
    from { transform: translateY(50px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-block;
    padding: 15px 40px;
    text-decoration: none;
    font-weight: 600;
    border-radius: var(--border-radius);
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: var(--gradient-accent);
    color: var(--primary-bg);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(255, 230, 0, 0.3);
}

.btn-secondary {
    background: transparent;
    color: var(--accent-turquoise);
    border: 2px solid var(--accent-turquoise);
}

.btn-secondary:hover {
    background: var(--accent-turquoise);
    color: var(--primary-bg);
    transform: translateY(-3px);
}

/* ===== CARDS ===== */
.card {
    background: var(--gradient-card);
    border-radius: var(--border-radius);
    padding: 2.5rem;
    margin-bottom: 2rem;
    transition: all 0.3s ease;
    border: 1px solid rgba(60, 214, 190, 0.2);
    position: relative;
    overflow: hidden;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-accent);
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow);
}

.card-image {
    margin-bottom: 1.5rem;
    overflow: hidden;
    border-radius: 15px;
}

.card-image img {
    width: 100%;
    height: auto;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.card-image img:hover {
    transform: scale(1.05);
}

/* ===== GRID LAYOUTS ===== */
.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.grid-2 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
}

/* ===== FORM STYLES ===== */
.form-container {
    background: var(--gradient-card);
    border-radius: var(--border-radius);
    padding: 3rem;
    margin: 2rem auto;
    max-width: 600px;
    box-shadow: var(--shadow);
    position: relative;
    z-index: 10;
}

.form-group {
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 20;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--accent-yellow);
    cursor: pointer;
    position: relative;
    z-index: 25;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 20px;
    border: 2px solid rgba(60, 214, 190, 0.3);
    border-radius: 15px;
    background: rgba(11, 28, 56, 0.8);
    color: var(--text-light);
    font-size: 1rem;
    transition: all 0.3s ease;
    position: relative;
    z-index: 30;
    cursor: pointer;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-turquoise);
    box-shadow: 0 0 0 3px rgba(60, 214, 190, 0.2);
    z-index: 35;
}

.form-group input:hover,
.form-group select:hover,
.form-group textarea:hover {
    border-color: var(--accent-yellow);
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 20;
}

.checkbox-group input[type="checkbox"] {
    width: auto;
    margin-right: 10px;
    position: relative;
    z-index: 30;
    cursor: pointer;
}

.checkbox-group label {
    font-size: 0.9rem;
    line-height: 1.4;
    color: var(--text-light);
    cursor: pointer;
    position: relative;
    z-index: 25;
}

form {
    position: relative;
    z-index: 10;
}

form * {
    pointer-events: auto;
}

form button[type="submit"] {
    position: relative;
    z-index: 40;
    cursor: pointer;
    pointer-events: auto;
}

form button[type="submit"]:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 230, 0, 0.3);
}

/* ===== TESTIMONIALS ===== */
.testimonial {
    background: var(--gradient-card);
    border-radius: var(--border-radius);
    padding: 2rem;
    text-align: center;
    position: relative;
    border-left: 4px solid var(--accent-yellow);
}

.testimonial::before {
    content: '"';
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 4rem;
    color: var(--accent-yellow);
    opacity: 0.3;
}

.testimonial-author {
    font-weight: 600;
    color: var(--accent-turquoise);
    margin-top: 1rem;
}

/* ===== FOOTER ===== */
footer {
    background: rgba(11, 28, 56, 0.95);
    padding: 3rem 0 2rem;
    border-top: 1px solid rgba(60, 214, 190, 0.2);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    margin-bottom: 1rem;
    color: var(--accent-yellow);
}

.footer-section a {
    color: var(--text-light);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: var(--accent-turquoise);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(60, 214, 190, 0.2);
    color: rgba(248, 243, 227, 0.7);
}

/* ===== COOKIE BANNER ===== */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(11, 28, 56, 0.95);
    backdrop-filter: blur(10px);
    padding: 1rem;
    box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.3);
    z-index: 1001;
    transform: translateY(100%);
    transition: transform 0.3s ease, opacity 0.3s ease;
    opacity: 0;
}

.cookie-banner.show {
    transform: translateY(0);
    opacity: 1;
}

.cookie-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    gap: 1rem;
}

.cookie-text {
    flex: 1;
    font-size: 0.9rem;
}

.cookie-buttons {
    display: flex;
    gap: 1rem;
}

.cookie-btn {
    padding: 8px 20px;
    border: none;
    border-radius: 20px;
    cursor: pointer;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.cookie-accept {
    background: var(--gradient-accent);
    color: var(--primary-bg);
}

.cookie-decline {
    background: transparent;
    color: var(--text-light);
    border: 1px solid var(--text-light);
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        gap: 0.3rem;
        padding: 0.3rem 0;
    }
    
    .logo {
        font-size: 1.4rem;
    }
    
    .logo-icon {
        width: 28px;
        height: 28px;
        margin-right: 8px;
        font-size: 0.9rem;
    }
    
    nav ul {
        flex-direction: row;
        gap: 0.8rem;
        text-align: center;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    nav a {
        font-size: 0.8rem;
        padding: 0.2rem 0.6rem;
        border-radius: 12px;
        background: rgba(60, 214, 190, 0.1);
    }
    
    .hero {
        padding: 100px 0 60px;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero p {
        font-size: 1.1rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    .section {
        padding: 50px 0;
    }
    
    .form-container {
        padding: 2rem;
        margin: 1rem;
    }
    
    .grid-3 {
        grid-template-columns: 1fr;
    }
    
    .grid-2 {
        grid-template-columns: 1fr;
    }
    
    .cookie-content {
        flex-direction: column;
        text-align: center;
    }
    
    .cookie-buttons {
        justify-content: center;
    }
}

@media (max-width: 600px) {
    .header-content {
        padding: 0.25rem 0;
        gap: 0.25rem;
    }
    
    .logo {
        font-size: 1.3rem;
    }
    
    .logo-icon {
        width: 26px;
        height: 26px;
        margin-right: 7px;
        font-size: 0.85rem;
    }
    
    nav ul {
        gap: 0.6rem;
    }
    
    nav a {
        font-size: 0.78rem;
        padding: 0.2rem 0.55rem;
        border-radius: 11px;
    }
    
    .hero {
        padding: 95px 0 55px;
    }
    
    .hero h1 {
        font-size: 1.9rem;
    }
    
    .hero p {
        font-size: 0.98rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .header-content {
        padding: 0.2rem 0;
        gap: 0.2rem;
    }
    
    .logo {
        font-size: 1.2rem;
    }
    
    .logo-icon {
        width: 24px;
        height: 24px;
        margin-right: 6px;
        font-size: 0.8rem;
    }
    
    nav ul {
        flex-direction: row;
        gap: 0.4rem;
        flex-wrap: wrap;
    }
    
    nav a {
        font-size: 0.75rem;
        padding: 0.2rem 0.5rem;
        border-radius: 10px;
    }
    
    .hero {
        padding: 90px 0 50px;
    }
    
    .hero h1 {
        font-size: 1.8rem;
        line-height: 1.3;
    }
    
    .hero p {
        font-size: 0.95rem;
        line-height: 1.5;
    }
    
    .hero-buttons {
        display: flex;
        flex-direction: column;
        gap: 0.8rem;
        align-items: center;
    }
    
    .hero-buttons a {
        text-align: center;
        display: block;
    }
    
    .btn {
        padding: 10px 25px;
        font-size: 0.85rem;
        width: 100%;
        max-width: 250px;
    }
    
    .card {
        padding: 1.2rem;
    }
    
    .card-image img {
        height: 120px;
    }
    
    .pricing-card .card-image img {
        height: 100px;
    }
    
    .form-container {
        padding: 1.2rem;
        margin: 0.5rem;
    }
    
    .form-group input,
    .form-group select,
    .form-group textarea {
        font-size: 16px; /* Предотвращает зум на iOS */
        padding: 10px 15px;
    }
    
    .checkbox-group {
        align-items: center;
    }
    
    .checkbox-group input[type="checkbox"] {
        transform: scale(1.1);
        margin-right: 12px;
    }
    
    .checkbox-group label {
        font-size: 0.85rem;
    }
}

@media (max-width: 360px) {
    .header-content {
        padding: 0.1rem 0;
        gap: 0.1rem;
    }
    
    .logo {
        font-size: 1.1rem;
    }
    
    .logo-icon {
        width: 22px;
        height: 22px;
        margin-right: 5px;
        font-size: 0.75rem;
    }
    
    nav ul {
        gap: 0.3rem;
    }
    
    nav a {
        font-size: 0.7rem;
        padding: 0.15rem 0.4rem;
        border-radius: 8px;
    }
    
    .hero {
        padding: 80px 0 40px;
    }
    
    .hero h1 {
        font-size: 1.6rem;
        line-height: 1.2;
    }
    
    .hero p {
        font-size: 0.9rem;
        line-height: 1.4;
    }
    
    .btn {
        padding: 8px 20px;
        font-size: 0.8rem;
        max-width: 220px;
    }
    
    .card {
        padding: 1rem;
    }
    
    .card-image img {
        height: 100px;
    }
    
    .pricing-card .card-image img {
        height: 80px;
    }
    
    .form-container {
        padding: 1rem;
        margin: 0.3rem;
    }
    
    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 8px 12px;
        font-size: 16px;
    }
    
    .checkbox-group label {
        font-size: 0.8rem;
    }
}

/* ===== ANIMATIONS ===== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.8s ease-out;
}

/* ===== UTILITY CLASSES ===== */
.text-center {
    text-align: center;
}

.text-left {
    text-align: left;
}

.mb-0 {
    margin-bottom: 0;
}

.mt-2 {
    margin-top: 2rem;
}

.mb-2 {
    margin-bottom: 2rem;
}

.hidden {
    display: none;
}

.flex {
    display: flex;
}

.justify-center {
    justify-content: center;
}

.align-center {
    align-items: center;
}

.gap-1 {
    gap: 1rem;
}

.gap-2 {
    gap: 2rem;
}

/* ===== ICON STYLES ===== */
.icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--primary-bg);
    margin: 0 auto 1rem;
    transition: all 0.3s ease;
}

.icon:hover {
    transform: scale(1.1) rotate(360deg);
}

/* ===== SERVICES PRICING ===== */
.pricing-card {
    background: var(--gradient-card);
    border-radius: var(--border-radius);
    padding: 2.5rem;
    text-align: center;
    position: relative;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.pricing-card:hover {
    transform: translateY(-10px);
    border-color: var(--accent-yellow);
}

.pricing-card.featured {
    border-color: var(--accent-yellow);
    transform: scale(1.05);
}

.pricing-card.featured::before {
    content: 'RECOMMANDÉ';
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gradient-accent);
    color: var(--primary-bg);
    padding: 5px 20px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.price {
    font-size: 3rem;
    font-weight: 700;
    color: var(--accent-yellow);
    margin: 1rem 0;
}

.price-period {
    font-size: 1rem;
    color: var(--text-light);
    opacity: 0.7;
}

.features {
    list-style: none;
    padding: 0;
    margin: 2rem 0;
}

.features li {
    padding: 0.5rem 0;
    color: var(--text-light);
    position: relative;
    padding-left: 30px;
}

.features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent-turquoise);
    font-weight: bold;
}

/* ===== STEPS PROCESS ===== */
.steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.step {
    text-align: center;
    position: relative;
}

.step-number {
    width: 80px;
    height: 80px;
    background: var(--gradient-accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: bold;
    color: var(--primary-bg);
    margin: 0 auto 1rem;
    position: relative;
    z-index: 2;
}

.step::after {
    content: '';
    position: absolute;
    top: 40px;
    left: 50%;
    width: 100%;
    height: 2px;
    background: var(--accent-turquoise);
    z-index: 1;
}

.step:last-child::after {
    display: none;
}

@media (max-width: 768px) {
    .steps {
        grid-template-columns: 1fr;
    }
    
    .step::after {
        top: 90px;
        left: 50%;
        width: 2px;
        height: 50px;
        transform: translateX(-50%);
    }
} 