/**
 * CS LONG QUAN IAȘI - Premium Dragon Design
 * Qwan Ki Do Club Website
 * Black, Red & Gold Theme with Dragon Elements
 *
 * Developed by Invent Evolution - https://inventevolution.com
 * © 2025 All rights reserved
 */

/* ===================================
   CSS VARIABLES - DRAGON THEME
   =================================== */
:root {
    /* Primary Colors - Black & Dark */
    --black: #0a0a0a;
    --black-light: #141414;
    --black-medium: #1a1a1a;
    --dark: #1e1e1e;
    --dark-light: #2a2a2a;

    /* Accent Colors - Red (Dragon) */
    --red: #c41e3a;
    --red-light: #dc3545;
    --red-dark: #9a1829;
    --red-glow: rgba(196, 30, 58, 0.4);

    /* Gold Accents */
    --gold: #d4af37;
    --gold-light: #f0c853;
    --gold-dark: #b8960c;
    --gold-glow: rgba(212, 175, 55, 0.3);

    /* Neutrals */
    --white: #ffffff;
    --gray-50: #fafafa;
    --gray-100: #f5f5f5;
    --gray-200: #e5e5e5;
    --gray-300: #d4d4d4;
    --gray-400: #a3a3a3;
    --gray-500: #737373;
    --gray-600: #525252;
    --gray-700: #404040;
    --gray-800: #262626;
    --gray-900: #171717;

    /* Status Colors */
    --success: #22c55e;
    --error: #ef4444;

    /* Typography */
    --font-heading: 'Oswald', sans-serif;
    --font-body: 'Poppins', sans-serif;

    /* Spacing */
    --container: 1200px;
    --section-padding: 100px;
    --gap: 2rem;

    /* Effects */
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.3);
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.4);
    --shadow-md: 0 10px 25px -5px rgba(0, 0, 0, 0.5);
    --shadow-lg: 0 25px 50px -12px rgba(0, 0, 0, 0.6);
    --shadow-red: 0 10px 40px rgba(196, 30, 58, 0.3);
    --shadow-gold: 0 10px 40px rgba(212, 175, 55, 0.2);
    --radius: 8px;
    --radius-lg: 16px;
    --transition: 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.6;
    color: var(--gray-300);
    background: var(--black);
    overflow-x: hidden;
}

body.loading {
    overflow: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

button {
    cursor: pointer;
    border: none;
    background: none;
    font-family: inherit;
}

input, textarea, select {
    font-family: inherit;
    font-size: inherit;
}

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

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

.section--dark {
    background: var(--black);
}

.section--darker {
    background: var(--black-light);
}

.section--gradient {
    background: linear-gradient(180deg, var(--black) 0%, var(--black-light) 100%);
}

.section--light {
    background: var(--black-light);
    position: relative;
}

.section--light::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--red), transparent);
}

.section--gray {
    background: var(--dark);
}

/* Dragon Pattern Overlay */
.dragon-pattern {
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23c41e3a' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    pointer-events: none;
}

/* ===================================
   LOADER
   =================================== */
.loader {
    position: fixed;
    inset: 0;
    background: var(--black);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    transition: opacity 0.5s, visibility 0.5s;
}

.loader.hidden {
    opacity: 0;
    visibility: hidden;
}

.loader__content {
    text-align: center;
}

.loader__logo {
    font-size: 4rem;
    color: var(--red);
    margin-bottom: 0.5rem;
    animation: pulse-dragon 1.5s ease-in-out infinite;
    text-shadow: 0 0 30px var(--red-glow);
}

.loader__logo-img {
    width: 120px;
    height: 120px;
    margin: 0 auto 1rem;
    border-radius: 50%;
    object-fit: contain;
    filter: drop-shadow(0 0 30px var(--red-glow));
    animation: pulse-dragon 1.5s ease-in-out infinite;
}

.loader__text {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 600;
    letter-spacing: 4px;
    color: var(--white);
    margin-bottom: 2rem;
}

.loader__bar {
    width: 200px;
    height: 3px;
    background: var(--dark-light);
    border-radius: 3px;
    overflow: hidden;
}

.loader__bar span {
    display: block;
    width: 40%;
    height: 100%;
    background: linear-gradient(90deg, var(--red), var(--gold));
    border-radius: 3px;
    animation: loading 1s ease-in-out infinite;
}

@keyframes loading {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(350%); }
}

@keyframes pulse-dragon {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.05); opacity: 0.8; }
}

/* ===================================
   HEADER
   =================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 1rem 0;
    transition: var(--transition);
    background: transparent;
}

.header.scrolled {
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(20px);
    padding: 0.75rem 0;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
    border-bottom: 1px solid rgba(196, 30, 58, 0.2);
}

.header__container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

/* Logo */
.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo__image {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    object-fit: contain;
    filter: drop-shadow(0 0 10px var(--red-glow));
    transition: var(--transition);
}

.logo:hover .logo__image {
    filter: drop-shadow(0 0 20px var(--red-glow));
    transform: scale(1.05);
}

.logo__text {
    display: flex;
    flex-direction: column;
}

.logo__name {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--white);
    line-height: 1.2;
}

.logo__tagline {
    font-size: 0.7rem;
    color: var(--red);
    letter-spacing: 1px;
    text-transform: uppercase;
    font-weight: 500;
}

/* Navigation */
.nav__list {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.nav__link {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--gray-400);
    border-radius: var(--radius);
    transition: var(--transition);
    position: relative;
}

.nav__link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--red);
    transition: var(--transition);
    transform: translateX(-50%);
}

.nav__link:hover,
.nav__link.active {
    color: var(--white);
}

.nav__link:hover::after,
.nav__link.active::after {
    width: 60%;
}

/* Header CTA */
.header__cta {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.625rem 1.25rem;
    background: linear-gradient(135deg, var(--red) 0%, var(--red-dark) 100%);
    color: var(--white);
    font-size: 0.875rem;
    font-weight: 600;
    border-radius: 50px;
    transition: var(--transition);
    border: 1px solid var(--red);
}

.header__cta:hover {
    background: linear-gradient(135deg, var(--red-light) 0%, var(--red) 100%);
    transform: translateY(-2px);
    box-shadow: var(--shadow-red);
}

.header__cta i {
    font-size: 0.75rem;
    transition: var(--transition);
}

.header__cta:hover i {
    transform: translateX(3px);
}

/* Mobile Toggle */
.nav__toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 0.5rem;
    z-index: 1001;
}

.nav__toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--white);
    border-radius: 2px;
    transition: var(--transition);
}

.nav__toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
    background: var(--red);
}

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

.nav__toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
    background: var(--red);
}

/* ===================================
   HERO - DRAGON THEME
   =================================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 80px;
    overflow: hidden;
    background: var(--black);
}

.hero__bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 20% 50%, rgba(196, 30, 58, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 50%, rgba(212, 175, 55, 0.1) 0%, transparent 50%),
        linear-gradient(180deg, var(--black) 0%, var(--black-light) 100%);
}

.hero__overlay {
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z' fill='%23c41e3a' fill-opacity='0.03'/%3E%3C/svg%3E");
}

/* Dragon decorative elements - SVG Dragons */
.hero__dragon {
    position: absolute;
    width: 200px;
    height: 400px;
    pointer-events: none;
    z-index: 0;
    opacity: 0.15;
}

.hero__dragon--left {
    left: 2%;
    top: 15%;
    color: var(--gold);
    animation: dragon-float-left 8s ease-in-out infinite;
}

.hero__dragon--right {
    right: 2%;
    top: 20%;
    color: var(--red);
    animation: dragon-float-right 8s ease-in-out infinite;
    animation-delay: -4s;
}

.hero__dragon svg {
    width: 100%;
    height: 100%;
}

.dragon-path {
    stroke-dasharray: 800;
    stroke-dashoffset: 800;
    animation: dragon-draw 4s ease-out forwards;
}

.dragon-eye {
    animation: dragon-blink 5s ease-in-out infinite;
}

.dragon-whisker {
    animation: dragon-whisker-move 3s ease-in-out infinite;
}

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

@keyframes dragon-float-left {
    0%, 100% { transform: translateY(0) rotate(-5deg); }
    50% { transform: translateY(-20px) rotate(0deg); }
}

@keyframes dragon-float-right {
    0%, 100% { transform: translateY(0) rotate(5deg); }
    50% { transform: translateY(-25px) rotate(0deg); }
}

@keyframes dragon-draw {
    to { stroke-dashoffset: 0; }
}

@keyframes dragon-blink {
    0%, 45%, 55%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}

@keyframes dragon-whisker-move {
    0%, 100% { transform: translateX(0); }
    50% { transform: translateX(-3px); }
}

@keyframes dragon-scale-pulse {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 0.6; }
}

/* Legacy dragon text decorations */
.hero__dragon-left-text,
.hero__dragon-right-text {
    position: absolute;
    font-size: 15rem;
    opacity: 0.03;
    color: var(--red);
    pointer-events: none;
    z-index: 0;
}

.hero__dragon-left-text {
    left: -5%;
    top: 20%;
    transform: rotate(-15deg);
}

.hero__dragon-right-text {
    right: -5%;
    bottom: 10%;
    transform: rotate(15deg) scaleX(-1);
}

.hero__container {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    z-index: 1;
}

.hero__content {
    z-index: 1;
}

.hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(196, 30, 58, 0.15);
    border: 1px solid rgba(196, 30, 58, 0.4);
    border-radius: 50px;
    color: var(--red-light);
    font-size: 0.8rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
}

.hero__badge i {
    color: var(--gold);
}

.hero__title {
    margin-bottom: 1.5rem;
}

.hero__title-small {
    display: block;
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 500;
    color: var(--gray-400);
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
}

.hero__title-main {
    display: block;
    font-family: var(--font-heading);
    font-size: clamp(3rem, 8vw, 5rem);
    font-weight: 700;
    color: var(--white);
    letter-spacing: 4px;
    line-height: 1;
    background: linear-gradient(135deg, var(--white) 0%, var(--red-light) 50%, var(--gold) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: none;
}

.hero__title-sub {
    display: block;
    font-family: var(--font-body);
    font-size: 1.1rem;
    font-weight: 400;
    color: var(--gray-400);
    margin-top: 0.75rem;
}

.hero__desc {
    font-size: 1.1rem;
    color: var(--gray-400);
    line-height: 1.8;
    margin-bottom: 2rem;
    max-width: 500px;
}

.hero__desc strong {
    color: var(--red-light);
}

/* Hero Free Session Badge */
.hero__free-session {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1.5rem;
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
    color: var(--black);
    font-size: 1rem;
    font-weight: 700;
    border-radius: 50px;
    margin-bottom: 1.5rem;
    animation: pulse-gold 2s ease-in-out infinite;
    box-shadow: 0 4px 20px var(--gold-glow);
    position: relative;
    z-index: 1;
}

.hero__free-session i {
    font-size: 1.25rem;
}

@keyframes pulse-gold {
    0%, 100% { transform: scale(1); box-shadow: 0 4px 20px var(--gold-glow); }
    50% { transform: scale(1.02); box-shadow: 0 6px 30px rgba(212, 175, 55, 0.5); }
}

.hero__actions {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
}

/* Hero Stats */
.hero__stats {
    display: flex;
    gap: 3rem;
}

.hero__stat {
    text-align: left;
}

.hero__stat-number {
    display: block;
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--red);
    line-height: 1;
    text-shadow: 0 0 20px var(--red-glow);
}

.hero__stat-number::after {
    content: '+';
    font-size: 1.5rem;
    color: var(--gold);
}

.hero__stat-label {
    font-size: 0.85rem;
    color: var(--gray-500);
}

/* Hero Visual */
.hero__visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero__image-wrapper {
    position: relative;
}

.hero__image {
    width: 400px;
    height: 500px;
    background: linear-gradient(135deg, var(--dark) 0%, var(--black-light) 100%);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(196, 30, 58, 0.2);
    position: relative;
}

.hero__image::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, transparent 0%, rgba(196, 30, 58, 0.1) 100%);
    pointer-events: none;
}

.hero__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    transition: transform 0.5s ease;
}

.hero__image:hover .hero__img {
    transform: scale(1.05);
}

.hero__placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    color: var(--gray-600);
}

.hero__placeholder i {
    font-size: 5rem;
    opacity: 0.3;
    color: var(--red);
}

.hero__placeholder span {
    font-size: 0.9rem;
    opacity: 0.5;
}

.hero__image-badge {
    position: absolute;
    bottom: -20px;
    left: -20px;
    background: var(--black);
    padding: 1rem 1.5rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(196, 30, 58, 0.3);
}

.hero__image-badge-title {
    display: block;
    font-size: 0.7rem;
    color: var(--gray-500);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero__image-badge-name {
    display: block;
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 600;
    color: var(--white);
}

.hero__image-badge-dan {
    display: block;
    font-size: 0.7rem;
    color: var(--gold);
    font-weight: 600;
    margin-top: 0.25rem;
}

/* Hero Scroll */
.hero__scroll {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: var(--gray-500);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.hero__scroll i {
    animation: bounce 2s ease-in-out infinite;
    color: var(--red);
}

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

/* ===================================
   BUTTONS - DRAGON STYLE
   =================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.875rem 1.75rem;
    font-size: 0.9rem;
    font-weight: 600;
    border-radius: var(--radius);
    transition: var(--transition);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.btn--primary {
    background: linear-gradient(135deg, var(--red) 0%, var(--red-dark) 100%);
    color: var(--white);
    border: 1px solid var(--red);
}

.btn--primary:hover {
    background: linear-gradient(135deg, var(--red-light) 0%, var(--red) 100%);
    transform: translateY(-2px);
    box-shadow: var(--shadow-red);
}

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

.btn--outline:hover {
    border-color: var(--red);
    color: var(--red-light);
    background: rgba(196, 30, 58, 0.1);
}

.btn--gold {
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
    color: var(--black);
    border: 1px solid var(--gold);
}

.btn--gold:hover {
    background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold) 100%);
    transform: translateY(-2px);
    box-shadow: var(--shadow-gold);
}

.btn--lg {
    padding: 1rem 2rem;
    font-size: 1rem;
}

.btn--full {
    width: 100%;
}

.btn i {
    font-size: 0.9em;
    transition: var(--transition);
}

.btn:hover i {
    transform: translateX(3px);
}

/* ===================================
   SECTION HEADER
   =================================== */
.section__header {
    text-align: center;
    margin-bottom: 4rem;
}

.section__label {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--red);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1rem;
}

.section__label::before,
.section__label::after {
    content: '';
    width: 30px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--red));
}

.section__label::after {
    background: linear-gradient(90deg, var(--red), transparent);
}

.section__title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 5vw, 2.75rem);
    font-weight: 700;
    color: var(--white);
    margin-bottom: 0.75rem;
}

.section__subtitle {
    font-size: 1.1rem;
    color: var(--gray-500);
}

/* ===================================
   ABOUT SECTION
   =================================== */
.about__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about__text {
    margin-bottom: 2rem;
}

.about__lead {
    font-size: 1.2rem;
    color: var(--gray-200);
    margin-bottom: 1rem;
}

.about__lead strong {
    color: var(--red-light);
}

.about__text p {
    margin-bottom: 1rem;
    color: var(--gray-400);
}

.about__features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.about__feature {
    display: flex;
    gap: 1rem;
    padding: 1.25rem;
    background: var(--dark);
    border-radius: var(--radius);
    border: 1px solid var(--dark-light);
    transition: var(--transition);
}

.about__feature:hover {
    border-color: var(--red);
    transform: translateY(-3px);
}

.about__feature-icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--red) 0%, var(--red-dark) 100%);
    color: var(--white);
    border-radius: var(--radius);
    font-size: 1.25rem;
    flex-shrink: 0;
}

.about__feature-content h4 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 0.25rem;
}

.about__feature-content p {
    font-size: 0.85rem;
    color: var(--gray-500);
    margin: 0;
}

.about__image {
    position: relative;
}

.about__image-main {
    height: 450px;
    background: linear-gradient(135deg, var(--dark) 0%, var(--black-light) 100%);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid rgba(196, 30, 58, 0.2);
}

.about__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.5s ease;
}

.about__image-main:hover .about__img {
    transform: scale(1.05);
}

.about__placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    color: var(--gray-600);
}

.about__placeholder i {
    font-size: 4rem;
    opacity: 0.3;
    color: var(--red);
}

.about__placeholder span {
    font-size: 0.9rem;
    opacity: 0.5;
}

.about__image-badge {
    position: absolute;
    bottom: -20px;
    right: 20px;
    background: linear-gradient(135deg, var(--red) 0%, var(--red-dark) 100%);
    color: var(--white);
    padding: 1rem 1.5rem;
    border-radius: var(--radius);
    text-align: center;
    box-shadow: var(--shadow-red);
}

.about__image-badge i {
    font-size: 1.5rem;
    color: var(--gold);
    margin-bottom: 0.25rem;
}

.about__image-badge span {
    display: block;
    font-size: 0.7rem;
    color: rgba(255,255,255,0.7);
}

.about__image-badge strong {
    display: block;
    font-family: var(--font-heading);
    font-size: 1.1rem;
    letter-spacing: 1px;
}

/* ===================================
   QKD SECTION
   =================================== */
.qkd__intro {
    max-width: 800px;
    margin: 0 auto 4rem;
    text-align: center;
}

.qkd__lead {
    font-size: 1.2rem;
    color: var(--gray-300);
    margin-bottom: 1rem;
}

.qkd__lead strong {
    color: var(--red-light);
}

.qkd__intro p {
    color: var(--gray-500);
}

.qkd__disciplines-title {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--white);
    text-align: center;
    margin-bottom: 2rem;
}

.qkd__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.qkd__card {
    background: var(--dark);
    border: 1px solid var(--dark-light);
    border-radius: var(--radius-lg);
    padding: 2rem;
    text-align: center;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.qkd__card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--red), var(--gold));
    transform: scaleX(0);
    transition: var(--transition);
}

.qkd__card:hover {
    border-color: var(--red);
    transform: translateY(-5px);
}

.qkd__card:hover::before {
    transform: scaleX(1);
}

.qkd__card-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--red) 0%, var(--red-dark) 100%);
    border-radius: 50%;
    font-size: 1.5rem;
    color: var(--white);
}

.qkd__card-title {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 0.5rem;
}

.qkd__card-desc {
    font-size: 0.85rem;
    color: var(--gray-500);
}

.qkd__benefits {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 2rem;
}

.qkd__benefit {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--gray-400);
    font-size: 0.9rem;
}

.qkd__benefit i {
    color: var(--gold);
}

/* ===================================
   BENEFITS SECTION
   =================================== */
.benefits__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 3rem;
}

.benefits__category {
    background: var(--dark);
    border: 1px solid var(--dark-light);
    border-radius: var(--radius-lg);
    padding: 2rem;
    transition: var(--transition);
}

.benefits__category:hover {
    border-color: var(--red);
    transform: translateY(-5px);
}

.benefits__category--featured {
    border-color: var(--red);
    box-shadow: var(--shadow-red);
    position: relative;
    background: linear-gradient(135deg, var(--dark) 0%, rgba(196, 30, 58, 0.1) 100%);
}

.benefits__category--featured::before {
    content: 'Recomandăm';
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, var(--red) 0%, var(--red-dark) 100%);
    color: var(--white);
    padding: 0.25rem 1rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
}

.benefits__category-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--dark-light);
}

.benefits__category-icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--black);
    color: var(--red);
    border-radius: var(--radius);
    font-size: 1.25rem;
    border: 1px solid var(--dark-light);
}

.benefits__category--featured .benefits__category-icon {
    background: linear-gradient(135deg, var(--red) 0%, var(--red-dark) 100%);
    color: var(--white);
    border: none;
}

.benefits__category-header h3 {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--white);
}

.benefits__list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.benefits__list li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.95rem;
    color: var(--gray-400);
}

.benefits__list li i {
    color: var(--gold);
    font-size: 0.9rem;
}

.benefits__quote {
    max-width: 700px;
    margin: 0 auto;
}

.benefits__quote blockquote {
    position: relative;
    text-align: center;
    padding: 2rem;
    background: var(--dark);
    border-radius: var(--radius-lg);
    border-left: 4px solid var(--red);
}

.benefits__quote blockquote i {
    font-size: 2rem;
    color: var(--red);
    opacity: 0.3;
    margin-bottom: 1rem;
}

.benefits__quote blockquote p {
    font-size: 1.25rem;
    font-style: italic;
    color: var(--gray-200);
    margin-bottom: 1rem;
}

.benefits__quote cite {
    font-size: 0.9rem;
    color: var(--gray-500);
    font-style: normal;
}

/* ===================================
   SCHEDULE SECTION
   =================================== */
.schedule__locations {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 3rem;
}

.schedule__group {
    background: var(--dark);
    border: 1px solid var(--dark-light);
    border-radius: var(--radius-lg);
    padding: 2rem;
    transition: var(--transition);
}

.schedule__group:hover {
    border-color: var(--red);
}

.schedule__group--featured {
    position: relative;
    border-color: var(--red);
    background: linear-gradient(135deg, var(--dark) 0%, rgba(196, 30, 58, 0.1) 100%);
}

.schedule__group-badge {
    position: absolute;
    top: -12px;
    right: 20px;
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
    color: var(--black);
    padding: 0.25rem 1rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
}

.schedule__group-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--dark-light);
}

.schedule__group-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--black);
    border-radius: var(--radius);
    font-size: 1.5rem;
    color: var(--red);
    border: 1px solid var(--dark-light);
}

.schedule__group--featured .schedule__group-icon {
    background: linear-gradient(135deg, var(--red) 0%, var(--red-dark) 100%);
    color: var(--white);
    border: none;
}

.schedule__group-info h3 {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--white);
}

.schedule__group-info span {
    font-size: 0.85rem;
    color: var(--gray-500);
}

.schedule__times {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.schedule__time {
    display: flex;
    justify-content: space-between;
    padding: 0.75rem 1rem;
    background: var(--black);
    border-radius: var(--radius);
    border: 1px solid var(--dark-light);
}

.schedule__day {
    font-weight: 600;
    color: var(--gray-300);
}

.schedule__hour {
    color: var(--red-light);
    font-weight: 500;
}

.schedule__includes {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.schedule__includes li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: var(--gray-500);
}

.schedule__includes li i {
    color: var(--gold);
    font-size: 0.8rem;
}

/* Schedule CTA */
.schedule__cta {
    background: linear-gradient(135deg, var(--red-dark) 0%, var(--red) 100%);
    border-radius: var(--radius-lg);
    padding: 2rem;
    position: relative;
    overflow: hidden;
}

.schedule__cta::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.schedule__cta-content {
    display: flex;
    align-items: center;
    gap: 2rem;
    position: relative;
    z-index: 1;
}

.schedule__cta-icon {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(212, 175, 55, 0.2);
    border-radius: 50%;
    font-size: 2rem;
    color: var(--gold);
    flex-shrink: 0;
}

.schedule__cta-text {
    flex: 1;
}

.schedule__cta-text h4 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 0.5rem;
}

.schedule__cta-text p {
    color: rgba(255,255,255,0.8);
    font-size: 0.95rem;
}

/* ===================================
   GALLERY SECTION
   =================================== */
.gallery__filter {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 2rem;
}

.gallery__filter-btn {
    padding: 0.625rem 1.5rem;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--gray-500);
    background: var(--dark);
    border: 1px solid var(--dark-light);
    border-radius: 50px;
    transition: var(--transition);
}

.gallery__filter-btn:hover,
.gallery__filter-btn.active {
    background: linear-gradient(135deg, var(--red) 0%, var(--red-dark) 100%);
    color: var(--white);
    border-color: var(--red);
}

.gallery__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    margin-bottom: 3rem;
}

.gallery__item {
    position: relative;
    aspect-ratio: 1;
    border-radius: var(--radius);
    overflow: hidden;
    cursor: pointer;
    border: 1px solid var(--dark-light);
}

.gallery__item--tall {
    grid-row: span 2;
    aspect-ratio: auto;
}

.gallery__item--wide {
    grid-column: span 2;
    aspect-ratio: 2/1;
}

.gallery__placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, var(--dark) 0%, var(--black-light) 100%);
    color: var(--gray-600);
    transition: var(--transition);
}

.gallery__placeholder i {
    font-size: 2rem;
    opacity: 0.5;
    color: var(--red);
}

.gallery__placeholder span {
    font-size: 0.85rem;
    opacity: 0.7;
}

.gallery__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(196, 30, 58, 0.9), transparent);
    display: flex;
    align-items: flex-end;
    padding: 1rem;
    opacity: 0;
    transition: var(--transition);
}

.gallery__item:hover .gallery__overlay {
    opacity: 1;
}

.gallery__item:hover .gallery__placeholder {
    transform: scale(1.05);
}

.gallery__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.5s ease;
}

.gallery__item:hover .gallery__img {
    transform: scale(1.1);
}

.gallery__category {
    color: var(--white);
    font-size: 0.85rem;
    font-weight: 500;
}

.gallery__social {
    text-align: center;
}

.gallery__social p {
    color: var(--gray-500);
    margin-bottom: 1rem;
}

/* Social Links */
.social-links {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
}

.social-link {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--dark);
    color: var(--gray-500);
    border-radius: 50%;
    font-size: 1.1rem;
    transition: var(--transition);
    border: 1px solid var(--dark-light);
}

.social-link:hover {
    background: linear-gradient(135deg, var(--red) 0%, var(--red-dark) 100%);
    color: var(--white);
    border-color: var(--red);
    transform: translateY(-3px);
}

/* ===================================
   CONTACT SECTION
   =================================== */
.contact__grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 4rem;
}

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

.contact__card {
    display: flex;
    gap: 1rem;
    padding: 1.25rem;
    background: var(--dark);
    border-radius: var(--radius);
    border: 1px solid var(--dark-light);
    transition: var(--transition);
}

.contact__card:hover {
    border-color: var(--red);
    transform: translateX(5px);
}

.contact__card-icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--red) 0%, var(--red-dark) 100%);
    color: var(--white);
    border-radius: var(--radius);
    font-size: 1.1rem;
    flex-shrink: 0;
}

.contact__card-content h4 {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--gray-500);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.25rem;
}

.contact__card-content p {
    color: var(--white);
    font-weight: 500;
}

.contact__card-content p a {
    color: var(--white);
}

.contact__card-content p a:hover {
    color: var(--red-light);
}

.contact__card-content small {
    display: block;
    font-size: 0.8rem;
    color: var(--gray-500);
    margin-top: 0.25rem;
}

/* WhatsApp Card Style */
.contact__card--whatsapp {
    border: 2px solid #25D366;
    background: rgba(37, 211, 102, 0.1);
}

.contact__card--whatsapp:hover {
    background: rgba(37, 211, 102, 0.15);
    border-color: #25D366;
}

.contact__card-icon--whatsapp {
    background: #25D366 !important;
}

.contact__card--whatsapp .contact__card-content p a {
    color: #25D366;
    font-weight: 600;
}

.contact__card--whatsapp .contact__card-content p a:hover {
    color: #128C7E;
}

.contact__federation {
    padding: 1.5rem;
    background: linear-gradient(135deg, var(--red-dark) 0%, var(--red) 100%);
    border-radius: var(--radius);
    margin-top: auto;
}

.contact__federation > span {
    display: block;
    font-size: 0.8rem;
    color: rgba(255,255,255,0.7);
    margin-bottom: 0.75rem;
}

.contact__federation-links {
    display: flex;
    gap: 1rem;
}

.contact__federation-links a {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--white);
    font-size: 0.9rem;
    font-weight: 500;
}

.contact__federation-links a:hover {
    color: var(--gold);
}

/* Contact Form */
.contact__form-wrapper {
    background: var(--dark);
    border: 1px solid var(--dark-light);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
}

.contact__form h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 2rem;
}

.form__row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form__group {
    position: relative;
    margin-bottom: 1.5rem;
}

.form__group input,
.form__group textarea,
.form__group select {
    width: 100%;
    padding: 1rem;
    font-size: 1rem;
    color: var(--white);
    background: var(--black);
    border: 2px solid var(--dark-light);
    border-radius: var(--radius);
    transition: var(--transition);
}

.form__group input:focus,
.form__group textarea:focus,
.form__group select:focus {
    outline: none;
    border-color: var(--red);
    background: var(--black-light);
}

.form__group label {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 0.9rem;
    color: var(--gray-500);
    pointer-events: none;
    transition: var(--transition);
    background: transparent;
    padding: 0 0.25rem;
}

.form__group textarea ~ label {
    top: 1rem;
    transform: none;
}

.form__group input:focus ~ label,
.form__group input:not(:placeholder-shown) ~ label,
.form__group textarea:focus ~ label,
.form__group textarea:not(:placeholder-shown) ~ label,
.form__group select:focus ~ label,
.form__group select:not([value=""]):valid ~ label {
    top: 0;
    transform: translateY(-50%);
    font-size: 0.75rem;
    color: var(--red);
    background: var(--dark);
}

.form__group input::placeholder,
.form__group textarea::placeholder {
    color: transparent;
}

.form__consent {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.form__consent input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: var(--red);
    margin-top: 2px;
}

.form__consent label {
    font-size: 0.85rem;
    color: var(--gray-500);
    cursor: pointer;
}

/* ===================================
   FOOTER
   =================================== */
.footer {
    background: var(--black-light);
    color: var(--gray-500);
    padding: 4rem 0 0;
    border-top: 1px solid var(--dark-light);
}

.footer__main {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid var(--dark-light);
}

.logo--footer .logo__image {
    width: 50px;
    height: 50px;
}

.logo--footer .logo__name {
    font-size: 1.1rem;
}

.footer__brand p {
    margin-top: 1rem;
    font-size: 0.9rem;
    line-height: 1.7;
}

.footer__links h4,
.footer__contact h4,
.footer__social h4 {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 1.25rem;
}

.footer__links ul li,
.footer__contact ul li {
    margin-bottom: 0.75rem;
}

.footer__links ul li a {
    font-size: 0.9rem;
    transition: var(--transition);
}

.footer__links ul li a:hover {
    color: var(--red-light);
}

.footer__contact ul li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.9rem;
}

.footer__contact ul li i {
    width: 16px;
    color: var(--red);
}

.footer__contact ul li a:hover {
    color: var(--red-light);
}

.footer__social .social-links {
    justify-content: flex-start;
}

.footer__social .social-link {
    background: var(--dark);
    color: var(--gray-500);
}

.footer__social .social-link:hover {
    background: linear-gradient(135deg, var(--red) 0%, var(--red-dark) 100%);
    color: var(--white);
}

.footer__bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 0;
    font-size: 0.85rem;
}

.footer__federation {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.footer__federation a:hover {
    color: var(--red-light);
}

.footer__federation span {
    opacity: 0.5;
}

/* Footer Legal */
.footer__legal {
    padding: 1.5rem 0;
    border-bottom: 1px solid var(--dark-light);
    text-align: center;
}

.footer__legal-links {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.footer__legal-links a {
    font-size: 0.85rem;
    color: var(--gray-500);
    transition: var(--transition);
}

.footer__legal-links a:hover {
    color: var(--red-light);
}

.footer__legal-links span {
    opacity: 0.3;
}

/* Footer Developer Credit */
.footer__developer {
    padding: 1.5rem 0;
    text-align: center;
    border-top: 1px solid var(--dark-light);
    margin-top: 1rem;
}

.footer__developer p {
    font-size: 0.85rem;
    color: var(--gray-600);
}

.footer__developer a {
    color: var(--red);
    font-weight: 600;
    transition: var(--transition);
}

.footer__developer a:hover {
    color: var(--gold);
}

.footer__developer .heart {
    color: var(--red);
    display: inline-block;
    animation: heartbeat 1.5s ease-in-out infinite;
}

@keyframes heartbeat {
    0%, 100% { transform: scale(1); }
    14% { transform: scale(1.2); }
    28% { transform: scale(1); }
    42% { transform: scale(1.2); }
    70% { transform: scale(1); }
}

/* ===================================
   WHATSAPP FLOATING BUTTON
   =================================== */
.whatsapp-float {
    position: fixed;
    bottom: 5.5rem;
    right: 2rem;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #25D366;
    color: var(--white);
    border-radius: 50%;
    font-size: 2rem;
    box-shadow: 0 6px 30px rgba(37, 211, 102, 0.5);
    z-index: 99;
    transition: var(--transition);
}

.whatsapp-float:hover {
    background: #128C7E;
    transform: scale(1.1);
    box-shadow: 0 8px 40px rgba(37, 211, 102, 0.6);
}

.whatsapp-float__tooltip {
    position: absolute;
    right: 75px;
    background: var(--black);
    color: var(--white);
    padding: 0.5rem 1rem;
    border-radius: var(--radius);
    font-size: 0.85rem;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transform: translateX(10px);
    transition: var(--transition);
    border: 1px solid var(--dark-light);
}

.whatsapp-float__tooltip::after {
    content: '';
    position: absolute;
    right: -8px;
    top: 50%;
    transform: translateY(-50%);
    border-width: 5px;
    border-style: solid;
    border-color: transparent transparent transparent var(--black);
}

.whatsapp-float:hover .whatsapp-float__tooltip {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

/* ===================================
   BACK TO TOP
   =================================== */
.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--red) 0%, var(--red-dark) 100%);
    color: var(--white);
    border-radius: 50%;
    font-size: 1.1rem;
    box-shadow: var(--shadow-red);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: var(--transition);
    z-index: 100;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: linear-gradient(135deg, var(--red-light) 0%, var(--red) 100%);
    transform: translateY(-5px);
}

/* ===================================
   ANIMATIONS
   =================================== */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ===================================
   RESPONSIVE
   =================================== */
@media (max-width: 1024px) {
    :root {
        --section-padding: 80px;
    }

    .hero__container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero__content {
        order: 1;
    }

    .hero__desc {
        margin-left: auto;
        margin-right: auto;
    }

    .hero__actions {
        justify-content: center;
    }

    .hero__stats {
        justify-content: center;
    }

    .hero__visual {
        display: none;
    }

    .about__grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .about__image {
        order: -1;
    }

    .qkd__grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

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

    .gallery__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .gallery__item--tall {
        grid-row: span 1;
        aspect-ratio: 1;
    }

    .gallery__item--wide {
        grid-column: span 1;
        aspect-ratio: 1;
    }

    .contact__grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .footer__main {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    :root {
        --section-padding: 60px;
    }

    /* Header Mobile */
    .nav {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(10, 10, 10, 0.98);
        backdrop-filter: blur(20px);
        display: flex;
        align-items: center;
        justify-content: center;
        opacity: 0;
        visibility: hidden;
        transition: var(--transition);
    }

    .nav.active {
        opacity: 1;
        visibility: visible;
    }

    .nav__list {
        flex-direction: column;
        gap: 1rem;
    }

    .nav__link {
        font-size: 1.25rem;
        padding: 0.75rem 1.5rem;
    }

    .header__cta {
        display: none;
    }

    .nav__toggle {
        display: flex;
    }

    /* Hero Mobile */
    .hero {
        min-height: auto;
        padding: 120px 0 80px;
    }

    .hero__title-main {
        font-size: 2.5rem;
    }

    .hero__actions {
        flex-direction: column;
    }

    .hero__stats {
        flex-direction: column;
        gap: 1.5rem;
    }

    .hero__scroll {
        display: none;
    }

    .hero__dragon {
        display: none;
    }

    /* About Mobile */
    .about__features {
        grid-template-columns: 1fr;
    }

    /* QKD Mobile */
    .qkd__grid {
        grid-template-columns: 1fr;
    }

    .qkd__benefits {
        flex-direction: column;
        gap: 1rem;
    }

    /* Schedule Mobile */
    .schedule__cta-content {
        flex-direction: column;
        text-align: center;
    }

    /* Form Mobile */
    .form__row {
        grid-template-columns: 1fr;
    }

    /* Footer Mobile */
    .footer__main {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer__links ul,
    .footer__contact ul {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .footer__social .social-links {
        justify-content: center;
    }

    .footer__bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .footer__legal-links {
        flex-direction: column;
        gap: 0.5rem;
    }

    .footer__legal-links span {
        display: none;
    }

    .footer__developer {
        padding: 1rem 0;
    }

    .back-to-top {
        bottom: 1rem;
        right: 1rem;
    }

    .whatsapp-float {
        bottom: 4rem;
        right: 1rem;
        width: 55px;
        height: 55px;
        font-size: 1.75rem;
    }

    .whatsapp-float__tooltip {
        display: none;
    }
}

@media (max-width: 480px) {
    .section__title {
        font-size: 1.75rem;
    }

    .about__lead {
        font-size: 1.05rem;
    }

    .schedule__group {
        padding: 1.5rem;
    }

    .contact__form-wrapper {
        padding: 1.5rem;
    }
}

/* ===================================
   ASIAN DECORATIVE ELEMENTS
   =================================== */
/* Corner decorations for cards */
.qkd__card::after,
.benefits__category::after,
.schedule__group::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 60px;
    height: 60px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cpath d='M100 100 L100 70 Q100 100 70 100 Z' fill='%23c41e3a' opacity='0.1'/%3E%3C/svg%3E") no-repeat;
    pointer-events: none;
}

/* Decorative line with dragon motif */
.section__header::after {
    content: '龍';
    display: block;
    font-size: 0.9rem;
    color: var(--red);
    opacity: 0.3;
    margin-top: 0.5rem;
    letter-spacing: 10px;
}

/* Gold accents on hover for premium feel */
.btn--primary:active {
    box-shadow: 0 0 0 3px var(--gold-glow);
}

/* Premium glow effect for featured elements */
.hero__free-session::before {
    content: '';
    position: absolute;
    inset: -2px;
    background: linear-gradient(135deg, var(--gold), var(--gold-light), var(--gold));
    border-radius: 50px;
    z-index: -1;
    animation: gold-glow 3s ease-in-out infinite;
}

@keyframes gold-glow {
    0%, 100% { opacity: 0.5; filter: blur(4px); }
    50% { opacity: 0.8; filter: blur(8px); }
}

/* Section dividers with Asian style */
.section::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--red), var(--gold), var(--red), transparent);
    opacity: 0.5;
}

/* Text selection color */
::selection {
    background: var(--red);
    color: var(--white);
}

/* Scrollbar styling */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--black);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--red), var(--red-dark));
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, var(--red-light), var(--red));
}

/* ===================================
   ACCESSIBILITY
   =================================== */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    .loader {
        display: none;
    }
}

*:focus-visible {
    outline: 2px solid var(--red);
    outline-offset: 2px;
}

/* ===================================
   PRINT
   =================================== */
@media print {
    .header,
    .hero__scroll,
    .back-to-top,
    .contact__form-wrapper,
    .gallery__filter,
    .loader,
    .whatsapp-float {
        display: none !important;
    }

    .hero {
        min-height: auto;
        padding: 2rem 0;
    }

    .section {
        page-break-inside: avoid;
    }

    body {
        background: white;
        color: black;
    }
}
