/* ===== MEDIASCHOOL - КУРСЫ ЖУРНАЛИСТИКИ ===== */
/* Современный дизайн 2026 года */

:root {
    --primary: #1a1a2e;
    --secondary: #0f3460;
    --accent: #e94560;
    --light-accent: #ff6b7a;
    --neutral-light: #f5f5f5;
    --neutral-dark: #2d2d44;
    --text-primary: #1a1a1a;
    --text-secondary: #666666;
    --border-color: #e0e0e0;
    --success: #10b981;
    --glass-bg: rgba(255, 255, 255, 0.1);
    --glass-border: rgba(255, 255, 255, 0.2);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    color: var(--text-primary);
    background: linear-gradient(135deg, #ffffff 0%, rgba(233, 69, 96, 0.02) 100%);
    line-height: 1.6;
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(233, 69, 96, 0.02) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(15, 52, 96, 0.02) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}

/* ===== HEADER ===== */
header {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 255, 255, 0.95) 100%);
    border-bottom: 3px solid rgba(233, 69, 96, 0.15);
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.08);
    backdrop-filter: blur(10px);
}

header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--accent), transparent);
    animation: slideRight 4s ease-in-out infinite;
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.logo {
    font-size: 28px;
    font-weight: 900;
    background: linear-gradient(135deg, var(--secondary) 0%, var(--accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    letter-spacing: -0.5px;
    position: relative;
    z-index: 1;
}

.logo:hover {
    transform: scale(1.08) skewY(-1deg);
}

nav {
    display: block;
    position: relative;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 40px;
}

nav a {
    text-decoration: none;
    color: var(--text-primary);
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

nav a::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--accent), var(--light-accent));
    transition: width 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    clip-path: polygon(0 0, calc(100% - 4px) 0, 100% 4px, 100% 100%, 4px 100%, 0 calc(100% - 4px));
}

nav a:hover {
    color: var(--accent);
}

nav a:hover::after {
    width: 100%;
}

nav a.active {
    color: var(--accent);
}

nav a.active::after {
    width: 100%;
    background: var(--accent);
}

/* ===== BURGER MENU ===== */
.burger-menu {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.burger-menu span {
    display: block;
    width: 25px;
    height: 3px;
    background: var(--accent);
    margin: 5px 0;
    border-radius: 0;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    clip-path: polygon(0 0, calc(100% - 2px) 0, 100% 2px, 100% 100%, 2px 100%, 0 calc(100% - 2px));
}
}

nav a:hover::after,
nav a.active::after {
    width: 100%;
}

/* ===== BURGER MENU ===== */
.burger-menu {
    display: none !important;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 24px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
}

.burger-menu span {
    width: 100%;
    height: 3px;
    background: var(--text-primary);
    border-radius: 3px;
    transition: all 0.3s ease;
}

.burger-menu.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.burger-menu.active span:nth-child(2) {
    opacity: 0;
}

.burger-menu.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* ===== HERO SECTION (ГЛАВНАЯ ОСОБЕННОСТЬ) ===== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 50%, #1a3a52 100%);
    position: relative;
    overflow: hidden;
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - 30px), calc(100% - 30px) 100%, 0 100%);
}

/* Диагональный фон с изображением */
.hero-diagonal-bg {
    position: absolute;
    top: 0;
    right: 0;
    width: 55%;
    height: 100%;
    background-size: cover;
    background-position: center;
    clip-path: polygon(25% 0, 100% 0, 100% 100%, 0% 100%);
    opacity: 0.25;
    z-index: 1;
}

.hero-diagonal-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(15, 52, 96, 0.7) 0%, rgba(233, 69, 96, 0.4) 100%);
    z-index: 1;
}

/* Диагональные линии разделения */
.hero-diagonal-overlay {
    position: absolute;
    top: 0;
    right: 0;
    width: 55%;
    height: 100%;
    z-index: 1;
}

.hero-diagonal-overlay::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-left: 3px solid rgba(233, 69, 96, 0.6);
    transform: skewX(-15deg);
    transform-origin: top left;
    box-shadow: -2px 0 15px rgba(233, 69, 96, 0.3);
}

.hero-diagonal-overlay::after {
    content: '';
    position: absolute;
    top: 0;
    left: -50px;
    width: 100%;
    height: 100%;
    border-left: 2px solid rgba(255, 255, 255, 0.15);
    transform: skewX(-15deg);
    transform-origin: top left;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(233, 69, 96, 0.1) 0%, transparent 70%);
    animation: float 20s ease-in-out infinite;
    border-radius: 50%;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -30%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(15, 52, 96, 0.1) 0%, transparent 70%);
    animation: float 25s ease-in-out infinite reverse;
    border-radius: 50%;
}

@keyframes slideRight {
    0% { transform: translateX(-100%); }
    50% { transform: translateX(0%); }
    100% { transform: translateX(100%); }
}

@keyframes float {
    0%, 100% { transform: translate(0px, 0px); }
    50% { transform: translate(30px, 30px); }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideUp {
    from {
        transform: translateY(100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 0.5; }
    50% { transform: scale(1.2); opacity: 0.3; }
}

@keyframes bounceIn {
    0% { transform: scale(0.3); opacity: 0; }
    50% { opacity: 1; }
    70% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* ===== LINK HOVER EFFECT ===== */
a {
    position: relative;
}

a::before {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: width 0.3s ease;
}

a:hover::before {
    width: 100%;
}

/* ===== INPUT & BUTTON FOCUS STATES ===== */
button, input, textarea {
    position: relative;
}

button:focus-visible, input:focus-visible, textarea:focus-visible {
    outline: none;
}

/* ===== CARD HOVER LIFT EFFECT ===== */
.course-card:hover, .price-card:hover, .testimonial-card:hover, .feature-item:hover {
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.15));
}

/* ===== TEXT GRADIENT EFFECT ===== */
.section-title {
    position: relative;
}

.section-title::before {
    content: attr(data-text);
    position: absolute;
    left: 0;
    top: 0;
    z-index: -1;
    background: linear-gradient(135deg, var(--secondary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ===== GEOMETRIC SHAPES ===== */
.geometric-circle {
    border-radius: 50%;
}

.geometric-square {
    clip-path: polygon(20% 0%, 80% 0%, 100% 20%, 100% 80%, 80% 100%, 20% 100%, 0% 80%, 0% 20%);
}

.geometric-triangle {
    clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
}

/* ===== SEMI-TRANSPARENT GLASS EFFECT ===== */
.glass-effect {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* ===== DECORATIVE LINES ===== */
.line-top {
    position: relative;
    padding-top: 20px;
}

.line-top::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--accent), transparent);
}

.line-bottom {
    position: relative;
    padding-bottom: 20px;
}

.line-bottom::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--accent));
}

/* ===== ANIMATED BORDERS ===== */
.animated-border {
    position: relative;
    border: 2px solid transparent;
    background-image: 
        linear-gradient(white, white),
        linear-gradient(135deg, var(--accent), var(--light-accent));
    background-origin: border-box;
    background-clip: padding-box, border-box;
    animation: borderFlow 3s linear infinite;
}

@keyframes borderFlow {
    0% { filter: hue-rotate(0deg); }
    100% { filter: hue-rotate(360deg); }
}

.hero h1 {
    font-size: clamp(36px, 5vw, 72px);
    color: #ffffff;
    margin-bottom: 20px;
    font-weight: 800;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: clamp(18px, 3vw, 28px);
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 30px;
    font-weight: 300;
}

.hero-slider {
    display: flex;
    gap: 20px;
    margin: 40px 0;
    justify-content: center;
    flex-wrap: wrap;
    animation: slideIn 1s ease 0.3s both;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.slider-item {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.15), rgba(233, 69, 96, 0.05));
    backdrop-filter: blur(20px);
    border: 2px solid rgba(255, 255, 255, 0.25);
    padding: 30px 35px;
    border-radius: 0;
    color: #ffffff;
    text-align: center;
    min-width: 170px;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
    overflow: hidden;
    clip-path: polygon(0 0, calc(100% - 15px) 0, 100% 15px, 100% 100%, 15px 100%, 0 calc(100% - 15px));
}

.slider-item::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.slider-item:hover {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2), rgba(233, 69, 96, 0.12));
    border-color: rgba(255, 255, 255, 0.4);
    transform: translateY(-8px) scale(1.05);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
}

.slider-item:hover::before {
    opacity: 1;
}

.slider-number {
    font-size: 40px;
    font-weight: 900;
    color: var(--light-accent);
    text-shadow: 0 4px 20px rgba(233, 69, 96, 0.3);
    position: relative;
    z-index: 1;
}

.slider-text {
    font-size: 13px;
    margin-top: 10px;
    opacity: 0.95;
    position: relative;
    z-index: 1;
    font-weight: 600;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-top: 40px;
    flex-wrap: wrap;
}

.btn {
    padding: 16px 40px;
    font-size: 14px;
    font-weight: 800;
    border: none;
    border-radius: 0;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    text-decoration: none;
    display: inline-block;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
    clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 12px 100%, 0 calc(100% - 12px));
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
    z-index: 1;
}

.btn:hover::before {
    left: 100%;
}

.btn::after {
    content: '';
    position: absolute;
    inset: 0;
    background: transparent;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent), var(--light-accent));
    color: #ffffff;
    box-shadow: 0 10px 30px rgba(233, 69, 96, 0.3);
}

.btn-primary:hover {
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 15px 45px rgba(233, 69, 96, 0.4);
}

.btn-secondary {
    background: transparent;
    color: #ffffff;
    border: 3px solid #ffffff;
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.1);
}

.btn-secondary:hover {
    background: linear-gradient(135deg, rgba(233, 69, 96, 0.2), rgba(255, 107, 122, 0.15));
    border-color: var(--accent);
    color: #ffffff;
    transform: translateY(-4px);
    box-shadow: 0 15px 40px rgba(233, 69, 96, 0.25);
}

/* ===== CONTAINER & SECTIONS ===== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

section {
    padding: 100px 20px;
    position: relative;
}

section.light-bg {
    background: linear-gradient(135deg, var(--neutral-light) 0%, rgba(233, 69, 96, 0.03) 100%);
    position: relative;
}

section.light-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--accent), transparent);
}

section.light-bg::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--secondary), transparent);
}

.section-title {
    font-size: clamp(32px, 5vw, 52px);
    font-weight: 900;
    margin-bottom: 60px;
    text-align: center;
    color: var(--text-primary);
    position: relative;
    background: linear-gradient(135deg, var(--secondary) 0%, var(--accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--secondary), var(--accent));
    border-radius: 0;
    clip-path: polygon(0 0, calc(100% - 8px) 0, 100% 8px, 100% 100%, 8px 100%, 0 calc(100% - 8px));
}

.section-subtitle {
    font-size: 17px;
    color: var(--text-secondary);
    text-align: center;
    margin-bottom: 45px;
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.8;
}

/* ===== COURSES GRID ===== */
.courses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 35px;
    margin-bottom: 40px;
}

.course-card {
    background: #ffffff;
    border-radius: 0;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    display: flex;
    flex-direction: column;
    position: relative;
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - 15px), calc(100% - 15px) 100%, 0 100%);
}

.course-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, var(--secondary), var(--accent), var(--light-accent));
    z-index: 10;
}

.course-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 120px;
    height: 120px;
    background: radial-gradient(circle, rgba(233, 69, 96, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    z-index: 1;
}

.course-card:hover {
    transform: translateY(-15px) rotate(1deg);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.2);
}

.course-image {
    width: 100%;
    height: 220px;
    background: linear-gradient(135deg, var(--secondary) 0%, var(--accent) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 calc(100% - 15px));
}

.course-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.4s ease;
}

.course-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
}

.course-card:hover .course-image::after {
    background: rgba(0, 0, 0, 0.05);
}

.course-card:hover .course-image img {
    transform: scale(1.08);
}

.course-content {
    padding: 30px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    position: relative;
    z-index: 2;
}

.course-category {
    display: inline-block;
    background: linear-gradient(135deg, var(--secondary), var(--accent));
    color: #ffffff;
    padding: 8px 16px;
    border-radius: 0;
    font-size: 12px;
    font-weight: 700;
    margin-bottom: 15px;
    width: fit-content;
    clip-path: polygon(0 0, calc(100% - 8px) 0, 100% 8px, 100% 100%, 8px 100%, 0 calc(100% - 8px));
    box-shadow: 0 5px 15px rgba(233, 69, 96, 0.2);
}

.course-title {
    font-size: 22px;
    font-weight: 800;
    margin-bottom: 12px;
    color: var(--text-primary);
    background: linear-gradient(135deg, var(--secondary) 0%, var(--accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.course-description {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 20px;
    flex-grow: 1;
    line-height: 1.7;
}

.course-meta {
    display: flex;
    justify-content: space-between;
    padding-top: 15px;
    border-top: 2px dashed var(--border-color);
    font-size: 13px;
    color: var(--text-secondary);
    margin-bottom: 20px;
}

.course-button {
    background: linear-gradient(135deg, var(--secondary), var(--accent));
    color: #ffffff;
    border: none;
    padding: 12px 20px;
    border-radius: 0;
    cursor: pointer;
    font-weight: 700;
    font-size: 14px;
    transition: all 0.3s ease;
    align-self: flex-start;
    clip-path: polygon(0 0, calc(100% - 8px) 0, 100% 8px, 100% 100%, 8px 100%, 0 calc(100% - 8px));
    box-shadow: 0 8px 20px rgba(233, 69, 96, 0.25);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.course-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(233, 69, 96, 0.35);
}

/* ===== FEATURES SECTION ===== */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
}

.feature-item {
    text-align: center;
    padding: 40px 30px;
    position: relative;
    border-radius: 20px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.7) 0%, rgba(245, 245, 245, 0.5) 100%);
    border: 2px solid rgba(233, 69, 96, 0.2);
    backdrop-filter: blur(10px);
    transition: all 0.4s ease;
    overflow: hidden;
    transform: skewY(-2deg);
}

.feature-item:hover {
    transform: skewY(-2deg) translateY(-8px);
    border-color: rgba(233, 69, 96, 0.5);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9) 0%, rgba(233, 69, 96, 0.08) 100%);
    box-shadow: 0 20px 50px rgba(233, 69, 96, 0.15);
}

.feature-item::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(233, 69, 96, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    animation: pulse 6s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 0.5; }
    50% { transform: scale(1.2); opacity: 0.3; }
}

.feature-item::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--accent), transparent);
    animation: slideRight 3s ease-in-out infinite;
}

@keyframes slideRight {
    0% { transform: translateX(-100%); }
    50% { transform: translateX(100%); }
    100% { transform: translateX(-100%); }
}

.feature-icon {
    width: 90px;
    height: 90px;
    background: linear-gradient(135deg, var(--secondary) 0%, var(--accent) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 42px;
    position: relative;
    z-index: 1;
    clip-path: polygon(30% 0%, 70% 0%, 100% 30%, 100% 70%, 70% 100%, 30% 100%, 0% 70%, 0% 30%);
    box-shadow: 0 10px 30px rgba(233, 69, 96, 0.3);
    transition: all 0.3s ease;
}

.feature-item:hover .feature-icon {
    transform: rotate(15deg) scale(1.1);
    box-shadow: 0 15px 40px rgba(233, 69, 96, 0.4);
}

.feature-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text-primary);
    position: relative;
    z-index: 1;
}

.feature-text {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.7;
    position: relative;
    z-index: 1;
}

/* ===== TESTIMONIALS ===== */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.testimonial-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(245, 245, 245, 0.7) 100%);
    padding: 35px;
    border-radius: 0;
    box-shadow: none;
    border: none;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    clip-path: polygon(0 0, calc(100% - 20px) 0, 100% 20px, 100% 100%, 20px 100%, 0 calc(100% - 20px));
}

.testimonial-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--accent), var(--light-accent), transparent);
    animation: slideAcross 3s ease-in-out infinite;
}

@keyframes slideAcross {
    0% { left: -100%; }
    50% { left: 100%; }
    100% { left: -100%; }
}

.testimonial-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 100px;
    height: 100px;
    background: radial-gradient(circle, rgba(233, 69, 96, 0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.testimonial-card:hover {
    transform: translateY(-12px) rotate(-1deg);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
    clip-path: polygon(0 0, calc(100% - 15px) 0, 100% 15px, 100% 100%, 15px 100%, 0 calc(100% - 15px));
}

.testimonial-stars {
    color: var(--accent);
    margin-bottom: 15px;
    font-size: 14px;
    position: relative;
    z-index: 1;
}

.testimonial-text {
    font-size: 15px;
    color: var(--text-secondary);
    margin-bottom: 20px;
    font-style: italic;
    line-height: 1.8;
    position: relative;
    z-index: 1;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
    position: relative;
    z-index: 1;
}

.testimonial-avatar {
    width: 50px;
    height: 50px;
    border-radius: 0;
    background: linear-gradient(135deg, var(--secondary), var(--accent));
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-weight: 700;
    font-size: 18px;
    clip-path: polygon(20% 0%, 80% 0%, 100% 20%, 100% 80%, 80% 100%, 20% 100%, 0% 80%, 0% 20%);
    box-shadow: 0 5px 20px rgba(233, 69, 96, 0.25);
}

.testimonial-name {
    font-weight: 600;
    color: var(--text-primary);
    font-size: 14px;
}

.testimonial-role {
    font-size: 12px;
    color: var(--accent);
}

/* ===== ACCORDION ===== */
.accordion {
    max-width: 700px;
    margin: 0 auto;
}

.accordion-item {
    margin-bottom: 20px;
    border: none;
    border-radius: 0;
    overflow: visible;
    transition: all 0.3s ease;
    background: transparent;
    position: relative;
}

.accordion-item::before {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--accent), var(--light-accent), transparent);
}

.accordion-item:hover {
    border-color: transparent;
    box-shadow: none;
}

.accordion-header {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9) 0%, rgba(245, 245, 245, 0.6) 100%);
    padding: 25px 30px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 700;
    color: var(--text-primary);
    transition: all 0.4s ease;
    border: 2px solid rgba(233, 69, 96, 0.15);
    border-radius: 0;
    clip-path: polygon(0 0, calc(100% - 15px) 0, 100% 15px, 100% 100%, 0 100%);
}

.accordion-header:hover {
    background: linear-gradient(135deg, rgba(255, 255, 255, 1) 0%, rgba(233, 69, 96, 0.1) 100%);
    border-color: rgba(233, 69, 96, 0.3);
}

.accordion-header.active {
    background: linear-gradient(135deg, var(--secondary) 0%, var(--accent) 100%);
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.2);
}

.accordion-toggle {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(233, 69, 96, 0.1);
    border-radius: 0;
    transition: all 0.4s ease;
    font-size: 20px;
    clip-path: polygon(20% 0%, 80% 0%, 100% 20%, 100% 80%, 80% 100%, 20% 100%, 0% 80%, 0% 20%);
    color: var(--accent);
}

.accordion-header.active .accordion-toggle {
    background: rgba(255, 255, 255, 0.25);
    color: #ffffff;
    transform: rotate(180deg);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    background: transparent;
}

.accordion-content.active {
    max-height: 500px;
}

.accordion-body {
    padding: 30px;
    padding-top: 0;
    color: var(--text-secondary);
    line-height: 1.9;
    background: rgba(245, 245, 245, 0.5);
    border-left: 4px solid var(--accent);
    border-radius: 0;
    margin-top: 10px;
}

/* ===== PRICE SECTION ===== */
.price-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
}

.price-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(245, 245, 245, 0.7) 100%);
    border: 2px solid rgba(233, 69, 96, 0.15);
    border-radius: 0;
    padding: 45px 35px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
    overflow: hidden;
    clip-path: polygon(0 0, calc(100% - 20px) 0, 100% 20px, 100% 100%, 20px 100%, 0 calc(100% - 20px));
}

.price-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(233, 69, 96, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 15s ease-in-out infinite;
}

.price-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--accent), var(--light-accent), transparent);
}

.price-card.featured {
    border-color: var(--accent);
    transform: scale(1.08);
    box-shadow: 0 30px 60px rgba(233, 69, 96, 0.25);
}

.price-card:hover:not(.featured) {
    border-color: rgba(233, 69, 96, 0.3);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.12);
    transform: translateY(-8px);
}

.price-card.featured:hover {
    transform: scale(1.08) translateY(-5px);
    box-shadow: 0 35px 70px rgba(233, 69, 96, 0.3);
}

.price-badge {
    position: absolute;
    top: -8px;
    right: 15px;
    background: linear-gradient(135deg, var(--accent), var(--light-accent));
    color: #ffffff;
    padding: 8px 16px;
    border-radius: 0;
    font-size: 12px;
    font-weight: 800;
    z-index: 10;
    clip-path: polygon(0 0, calc(100% - 8px) 0, 100% 8px, 100% 100%, 8px 100%, 0 calc(100% - 8px));
    box-shadow: 0 5px 15px rgba(233, 69, 96, 0.3);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.price-name {
    font-size: 22px;
    font-weight: 800;
    margin-bottom: 15px;
    color: var(--text-primary);
    position: relative;
    z-index: 1;
}

.price-amount {
    font-size: 48px;
    font-weight: 900;
    background: linear-gradient(135deg, var(--secondary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 8px;
    position: relative;
    z-index: 1;
}

.price-period {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 30px;
    position: relative;
    z-index: 1;
}

.price-features {
    list-style: none;
    margin-bottom: 35px;
    text-align: left;
    position: relative;
    z-index: 1;
}

.price-features li {
    padding: 14px 0;
    color: var(--text-secondary);
    font-size: 14px;
    border-bottom: 2px dashed var(--border-color);
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
}

.price-features li:hover {
    color: var(--text-primary);
    transform: translateX(5px);
}

.price-features li::before {
    content: '✓';
    color: var(--success);
    font-weight: 900;
    margin-right: 12px;
    font-size: 18px;
    background: rgba(16, 185, 129, 0.1);
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.price-button {
    width: 100%;
    padding: 15px 25px;
    background: linear-gradient(135deg, var(--secondary), var(--accent));
    color: #ffffff;
    border: none;
    border-radius: 0;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
    clip-path: polygon(0 0, calc(100% - 8px) 0, 100% 8px, 100% 100%, 8px 100%, 0 calc(100% - 8px));
    box-shadow: 0 10px 25px rgba(233, 69, 96, 0.2);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 13px;
}

.price-card.featured .price-button {
    background: linear-gradient(135deg, var(--accent), var(--light-accent));
}

.price-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(233, 69, 96, 0.35);
}

/* ===== CONTACT FORM SECTION ===== */
.contact-section {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: #ffffff;
    position: relative;
    overflow: hidden;
}

.contact-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(233, 69, 96, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 20s ease-in-out infinite;
}

.contact-section::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -30%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.05) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 25s ease-in-out infinite reverse;
}

.contact-section .section-title {
    color: #ffffff;
    position: relative;
    z-index: 2;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: flex-start;
    position: relative;
    z-index: 2;
}

.contact-info {
    margin-bottom: 10px;
}

.contact-info h3 {
    font-size: 24px;
    margin-bottom: 30px;
    color: #ffffff;
    font-weight: 800;
}

.contact-item {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
    align-items: flex-start;
    position: relative;
}

.contact-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 70px;
    width: 2px;
    height: 30px;
    background: linear-gradient(180deg, rgba(255, 107, 122, 0.5), transparent);
}

.contact-icon {
    width: 65px;
    height: 65px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.15), rgba(233, 69, 96, 0.1));
    border-radius: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 28px;
    clip-path: polygon(20% 0%, 80% 0%, 100% 20%, 100% 80%, 80% 100%, 20% 100%, 0% 80%, 0% 20%);
    border: 2px solid rgba(255, 255, 255, 0.2);
    transition: all 0.4s ease;
}

.contact-item:hover .contact-icon {
    background: linear-gradient(135deg, rgba(233, 69, 96, 0.3), rgba(255, 107, 122, 0.2));
    transform: rotate(15deg) scale(1.1);
    border-color: rgba(255, 255, 255, 0.4);
}

.contact-item-text h4 {
    font-size: 18px;
    margin-bottom: 8px;
    color: #ffffff;
    font-weight: 700;
}

.contact-item-text p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.85);
    margin: 0;
    line-height: 1.6;
}

.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    margin-bottom: 10px;
    font-weight: 700;
    font-size: 14px;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 0;
    background: rgba(255, 255, 255, 0.05);
    color: #ffffff;
    font-family: inherit;
    font-size: 14px;
    transition: all 0.4s ease;
    clip-path: polygon(0 0, calc(100% - 8px) 0, 100% 8px, 100% 100%, 8px 100%, 0 calc(100% - 8px));
    backdrop-filter: blur(10px);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.5);
    box-shadow: 0 0 0 4px rgba(233, 69, 96, 0.25), inset 0 0 20px rgba(233, 69, 96, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 140px;
}

.form-submit {
    width: 100%;
    padding: 16px 28px;
    background: linear-gradient(135deg, var(--accent), var(--light-accent));
    color: #ffffff;
    border: none;
    border-radius: 0;
    font-weight: 800;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 10px 100%, 0 calc(100% - 10px));
    box-shadow: 0 12px 30px rgba(233, 69, 96, 0.3);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.form-submit:hover {
    background: linear-gradient(135deg, var(--light-accent), var(--accent));
    transform: translateY(-3px);
    box-shadow: 0 16px 40px rgba(233, 69, 96, 0.4);
}

/* ===== FOOTER ===== */
footer {
    background: linear-gradient(135deg, var(--primary) 0%, #0a0a1a 100%);
    color: rgba(255, 255, 255, 0.8);
    padding: 80px 20px 30px;
    position: relative;
    overflow: hidden;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--accent), var(--light-accent), transparent);
}

footer::after {
    content: '';
    position: absolute;
    bottom: 10%;
    right: 0;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(233, 69, 96, 0.05) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 50px;
    margin-bottom: 50px;
    position: relative;
    z-index: 1;
}

.footer-section h3 {
    color: #ffffff;
    font-size: 16px;
    margin-bottom: 25px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
    padding-bottom: 12px;
}

.footer-section h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: linear-gradient(90deg, var(--accent), transparent);
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 15px;
}

.footer-section a {
    color: rgba(255, 255, 255, 0.65);
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s ease;
    position: relative;
    padding-left: 15px;
}

.footer-section a::before {
    content: '▸';
    position: absolute;
    left: 0;
    color: var(--accent);
    opacity: 0;
    transition: all 0.3s ease;
}

.footer-section a:hover {
    color: #ffffff;
    transform: translateX(5px);
}

.footer-section a:hover::before {
    opacity: 1;
}

.footer-divider {
    height: 2px;
    background: linear-gradient(90deg, rgba(233, 69, 96, 0.3), transparent);
    margin: 40px 0;
    position: relative;
    z-index: 1;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 25px;
    position: relative;
    z-index: 1;
}

.footer-bottom p {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.5);
}

.footer-social {
    display: flex;
    gap: 15px;
}

.social-link {
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.12), rgba(233, 69, 96, 0.08));
    border-radius: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    font-size: 18px;
    clip-path: polygon(20% 0%, 80% 0%, 100% 20%, 100% 80%, 80% 100%, 20% 100%, 0% 80%, 0% 20%);
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.social-link:hover {
    background: linear-gradient(135deg, var(--accent), var(--light-accent));
    transform: translateY(-5px) scale(1.15) rotate(10deg);
    border-color: rgba(255, 255, 255, 0.3);
}

/* ===== COOKIE POPUP ===== */
.cookie-popup {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, rgba(26, 26, 46, 0.97), rgba(15, 52, 96, 0.95));
    backdrop-filter: blur(20px);
    padding: 30px;
    border-top: 3px solid var(--accent);
    box-shadow: 0 -15px 50px rgba(0, 0, 0, 0.3);
    z-index: 999;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
    animation: slideUp 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    flex-wrap: wrap;
    clip-path: polygon(0 15px, 15px 0, 100% 0, 100% 100%, 0 100%);
}

.cookie-popup.hidden {
    display: none;
}

.cookie-text {
    color: #ffffff;
    font-size: 14px;
    max-width: 600px;
    line-height: 1.6;
}

.cookie-text a {
    color: var(--accent);
    text-decoration: underline;
    transition: all 0.3s ease;
    font-weight: 600;
}

.cookie-text a:hover {
    color: var(--light-accent);
}

.cookie-buttons {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.cookie-accept,
.cookie-decline {
    padding: 12px 24px;
    border: none;
    border-radius: 0;
    cursor: pointer;
    font-weight: 700;
    font-size: 13px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    clip-path: polygon(0 0, calc(100% - 6px) 0, 100% 6px, 100% 100%, 6px 100%, 0 calc(100% - 6px));
}

.cookie-accept {
    background: linear-gradient(135deg, var(--accent), var(--light-accent));
    color: #ffffff;
    box-shadow: 0 8px 20px rgba(233, 69, 96, 0.3);
}

.cookie-accept:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(233, 69, 96, 0.4);
}

.cookie-decline {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    border: 2px solid rgba(255, 255, 255, 0.25);
}

.cookie-decline:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.4);
    transform: translateY(-2px);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .burger-menu {
        display: flex !important;
        width: 35px;
        height: 25px;
        flex-direction: column;
        justify-content: space-around;
        background: none;
        border: none;
        cursor: pointer;
        padding: 0;
        gap: 5px;
        z-index: 1001;
    }

    .burger-menu span {
        width: 100%;
        height: 3px;
        background: var(--accent);
        border-radius: 0;
        transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
        clip-path: polygon(0 0, calc(100% - 2px) 0, 100% 2px, 100% 100%, 2px 100%, 0 calc(100% - 2px));
    }

    .burger-menu.active span:nth-child(1) {
        transform: rotate(45deg) translate(10px, 10px);
    }

    .burger-menu.active span:nth-child(2) {
        opacity: 0;
    }

    .burger-menu.active span:nth-child(3) {
        transform: rotate(-45deg) translate(8px, -8px);
    }
    
    nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: linear-gradient(180deg, #ffffff 0%, var(--neutral-light) 100%);
        box-shadow: -5px 0 40px rgba(0, 0, 0, 0.15);
        transition: right 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
        z-index: 1000;
        padding-top: 80px;
        clip-path: polygon(0 0, 100% 0, 100% 100%, 10px 100%, 0 calc(100% - 10px));
    }
    
    nav.active {
        right: 0;
    }
    
    nav ul {
        flex-direction: column;
        gap: 0;
        padding: 20px;
    }
    
    nav ul li {
        border-bottom: 2px dashed var(--border-color);
    }
    
    nav ul li:last-child {
        border-bottom: none;
    }
    
    nav a {
        display: block;
        padding: 18px 0;
        font-size: 15px;
    }
    
    nav a::after {
        display: none;
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .price-card.featured {
        transform: scale(1);
    }

    section {
        padding: 60px 20px;
    }

    .cta-buttons {
        flex-direction: column;
    }

    .btn {
        width: 100%;
    }

    .hero-slider {
        flex-direction: column;
        align-items: center;
    }

    .slider-item {
        min-width: 100%;
        max-width: 350px;
    }

    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
    }

    .cookie-popup {
        flex-direction: column;
        align-items: flex-start;
    }

    .cookie-buttons {
        width: 100%;
    }

    .cookie-accept,
    .cookie-decline {
        flex: 1;
    }

    .section-title::after {
        bottom: -25px;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 28px;
    }

    .hero-subtitle {
        font-size: 16px;
    }

    .section-title {
        font-size: 26px;
    }

    .course-card {
        margin-bottom: 20px;
    }

    .testimonial-card {
        margin-bottom: 20px;
    }

    nav a {
        font-size: 13px;
    }

    .logo {
        font-size: 22px;
    }

    .error-code {
        font-size: 100px;
    }

    .success-title {
        font-size: 28px;
    }

    .footer-section h3 {
        font-size: 14px;
    }
}

/* ===== UTILITY CLASSES ===== */
.text-center {
    text-align: center;
}

.mt-5 {
    margin-top: 50px;
}

.mb-5 {
    margin-bottom: 50px;
}

.opacity-70 {
    opacity: 0.7;
}

/* 404 PAGE */
.error-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 60vh;
    flex-direction: column;
    text-align: center;
    position: relative;
}

.error-container::before {
    content: '';
    position: absolute;
    top: -20%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(233, 69, 96, 0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.error-code {
    font-size: 140px;
    font-weight: 900;
    background: linear-gradient(135deg, var(--accent), var(--light-accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 25px;
    position: relative;
    z-index: 1;
    text-shadow: 0 10px 30px rgba(233, 69, 96, 0.2);
}

.error-message {
    font-size: 28px;
    margin-bottom: 15px;
    color: var(--text-primary);
    position: relative;
    z-index: 1;
}

.error-description {
    color: var(--text-secondary);
    margin-bottom: 40px;
    max-width: 550px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.8;
    position: relative;
    z-index: 1;
}

/* SUCCESS PAGE */
.success-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 60vh;
    flex-direction: column;
    text-align: center;
    position: relative;
}

.success-container::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -30%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.success-icon {
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, var(--success), #34d399);
    border-radius: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 56px;
    margin-bottom: 35px;
    clip-path: polygon(20% 0%, 80% 0%, 100% 20%, 100% 80%, 80% 100%, 20% 100%, 0% 80%, 0% 20%);
    box-shadow: 0 20px 50px rgba(16, 185, 129, 0.3);
    position: relative;
    z-index: 1;
    animation: bounceIn 0.8s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes bounceIn {
    0% { transform: scale(0.3); opacity: 0; }
    50% { opacity: 1; }
    70% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.success-title {
    font-size: 36px;
    font-weight: 900;
    margin-bottom: 20px;
    background: linear-gradient(135deg, var(--secondary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    z-index: 1;
}

.success-message {
    font-size: 16px;
    color: var(--text-secondary);
    max-width: 550px;
    margin: 0 auto;
    margin-bottom: 50px;
    line-height: 1.8;
    position: relative;
    z-index: 1;
}

/* LOADING ANIMATION */
.spinner {
    display: inline-block;
    width: 50px;
    height: 50px;
    border: 5px solid rgba(233, 69, 96, 0.2);
    border-top-color: var(--accent);
    border-right-color: var(--light-accent);
    border-radius: 50%;
@keyframes spin {
    to { transform: rotate(360deg); }
}

/* ===== ADDITIONAL VISUAL ENHANCEMENTS ===== */

/* Hover effect for any card-like element */
.card-hover {
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.card-hover:hover {
    transform: translateY(-10px) rotate(-1deg);
    filter: drop-shadow(0 20px 50px rgba(0, 0, 0, 0.15));
}

/* Gradient text effect */
.gradient-text {
    background: linear-gradient(135deg, var(--secondary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Shine effect for buttons and cards */
.shine {
    position: relative;
    overflow: hidden;
}

.shine::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    animation: shine 3s infinite;
}

@keyframes shine {
    0% { left: -100%; }
    100% { left: 100%; }
}

/* Floating animation */
.float {
    animation: float-up 3s ease-in-out infinite;
}

@keyframes float-up {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* Glow effect */
.glow {
    box-shadow: 0 0 20px rgba(233, 69, 96, 0.4), 0 0 40px rgba(233, 69, 96, 0.2);
}

/* Underline animation */
.underline {
    position: relative;
    display: inline-block;
}

.underline::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--accent), var(--light-accent));
    transition: width 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.underline:hover::after {
    width: 100%;
}

/* Scale bounce effect */
.scale-bounce:hover {
    animation: scaleBounce 0.6s ease;
}

@keyframes scaleBounce {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

/* Text shadow effect */
.text-shadow {
    text-shadow: 
        2px 2px 4px rgba(0, 0, 0, 0.1),
        4px 4px 8px rgba(0, 0, 0, 0.05);
}

/* Smooth text selection */
.select-none {
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}
