/* ============================================================================
   CURVEX PULSE - PREMIUM TIKTOK DESIGN
   Seriös, Modern, WOW-Effekt
   ============================================================================ */

/* ============================================================================
   CSS VARIABLES - Authentische TikTok Farben
   ============================================================================ */
:root {
    /* TikTok Original Colors */
    --tiktok-red: #fe2c55;
    --tiktok-cyan: #25f4ee;
    --tiktok-black: #000000;
    --tiktok-dark: #121212;
    --tiktok-gray: #161823;
    
    /* Extended Palette */
    --primary: #fe2c55;
    --primary-glow: rgba(254, 44, 85, 0.5);
    --secondary: #25f4ee;
    --secondary-glow: rgba(37, 244, 238, 0.5);
    
    /* Neutrals */
    --white: #ffffff;
    --gray-100: #f1f1f2;
    --gray-200: #e3e3e4;
    --gray-300: #b0b0b4;
    --gray-400: #75757a;
    --gray-500: #545458;
    
    /* Glass Effects */
    --glass-bg: rgba(18, 18, 18, 0.8);
    --glass-border: rgba(255, 255, 255, 0.08);
    --glass-shine: rgba(255, 255, 255, 0.05);
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, var(--tiktok-cyan), var(--tiktok-red));
    --gradient-glow: linear-gradient(135deg, var(--secondary-glow), var(--primary-glow));
}


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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: var(--tiktok-black);
    color: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Premium Animated Background */
body::before {
    content: '';
    position: fixed;
    inset: 0;
    background: 
        radial-gradient(ellipse 80% 50% at 20% 40%, rgba(254, 44, 85, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse 60% 40% at 80% 60%, rgba(37, 244, 238, 0.1) 0%, transparent 50%),
        radial-gradient(ellipse 50% 30% at 50% 80%, rgba(254, 44, 85, 0.08) 0%, transparent 50%);
    z-index: -2;
    animation: ambientPulse 15s ease-in-out infinite;
}

/* Subtle Grid Pattern */
body::after {
    content: '';
    position: fixed;
    inset: 0;
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
    background-size: 60px 60px;
    z-index: -1;
    opacity: 0.5;
}

@keyframes ambientPulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.8; transform: scale(1.02); }
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
}


/* ============================================================================
   NAVIGATION - Premium Glass Effect
   ============================================================================ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 0.75rem 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid var(--glass-border);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.navbar.scrolled {
    background: rgba(0, 0, 0, 0.9);
    box-shadow: 
        0 4px 30px rgba(0, 0, 0, 0.3),
        0 0 60px rgba(254, 44, 85, 0.05);
}

.nav-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}


/* Logo with TikTok Glitch Effect */
.logo-text {
    font-size: 1.6rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--white);
    position: relative;
    cursor: pointer;
    transition: all 0.3s ease;
}

.logo-text::before,
.logo-text::after {
    content: 'Curvex Pulse';
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    transition: all 0.3s ease;
}

.logo-text::before {
    color: var(--tiktok-cyan);
    z-index: -1;
}

.logo-text::after {
    color: var(--tiktok-red);
    z-index: -2;
}

.logo-text:hover::before {
    opacity: 1;
    transform: translate(-3px, -2px);
    animation: glitchCyan 0.3s ease-out;
}

.logo-text:hover::after {
    opacity: 1;
    transform: translate(3px, 2px);
    animation: glitchRed 0.3s ease-out;
}

@keyframes glitchCyan {
    0%, 100% { transform: translate(-3px, -2px); }
    25% { transform: translate(-4px, 1px); }
    50% { transform: translate(-2px, -3px); }
    75% { transform: translate(-5px, 2px); }
}

@keyframes glitchRed {
    0%, 100% { transform: translate(3px, 2px); }
    25% { transform: translate(4px, -1px); }
    50% { transform: translate(2px, 3px); }
    75% { transform: translate(5px, -2px); }
}


/* Navigation Menu */
.nav-menu {
    display: flex;
    list-style: none;
    gap: 0.5rem;
    align-items: center;
}

.nav-link {
    color: var(--gray-300);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    padding: 0.6rem 1.2rem;
    border-radius: 10px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.nav-link:hover {
    color: var(--white);
    background: var(--glass-shine);
}

.nav-link.btn-primary {
    background: var(--tiktok-red);
    color: var(--white);
    font-weight: 600;
    padding: 0.6rem 1.5rem;
    border-radius: 12px;
    position: relative;
    overflow: hidden;
}

.nav-link.btn-primary::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, transparent 0%, rgba(255,255,255,0.2) 50%, transparent 100%);
    transform: translateX(-100%);
    transition: transform 0.5s ease;
}

.nav-link.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 
        0 8px 25px rgba(254, 44, 85, 0.4),
        0 0 40px rgba(254, 44, 85, 0.2);
}

.nav-link.btn-primary:hover::before {
    transform: translateX(100%);
}

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 6px;
    padding: 8px;
    border-radius: 8px;
    transition: background 0.3s ease;
}

.hamburger:hover {
    background: var(--glass-shine);
}

.hamburger span {
    width: 24px;
    height: 2px;
    background: var(--white);
    border-radius: 2px;
    transition: all 0.3s ease;
}


/* ============================================================================
   HERO SECTION - Cinematic WOW Effect
   ============================================================================ */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    padding: 120px 0 80px;
}

/* Animated Glow Orbs */
.hero-background {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
}

.hero-background::before {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--tiktok-red) 0%, transparent 70%);
    top: -200px;
    right: -100px;
    filter: blur(100px);
    opacity: 0.4;
    animation: orbFloat1 20s ease-in-out infinite;
}

.hero-background::after {
    content: '';
    position: absolute;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, var(--tiktok-cyan) 0%, transparent 70%);
    bottom: -150px;
    left: -100px;
    filter: blur(100px);
    opacity: 0.3;
    animation: orbFloat2 25s ease-in-out infinite;
}

@keyframes orbFloat1 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(50px, 30px) scale(1.1); }
    66% { transform: translate(-30px, -20px) scale(0.95); }
}

@keyframes orbFloat2 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(-40px, -30px) scale(1.05); }
    66% { transform: translate(60px, 20px) scale(0.9); }
}


.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 900px;
    padding: 0 2rem;
}

.hero-title {
    font-size: clamp(3rem, 8vw, 5.5rem);
    font-weight: 900;
    line-height: 1.05;
    margin-bottom: 1.5rem;
    letter-spacing: -0.03em;
}

.title-line {
    display: block;
    opacity: 0;
    animation: titleReveal 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.title-line:nth-child(1) { animation-delay: 0.1s; }
.title-line:nth-child(2) { animation-delay: 0.25s; }
.title-line:nth-child(3) { animation-delay: 0.4s; }

@keyframes titleReveal {
    from {
        opacity: 0;
        transform: translateY(30px);
        filter: blur(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
        filter: blur(0);
    }
}


/* Premium Gradient Text with Glitch */
.title-line.highlight {
    position: relative;
    display: inline-block;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.title-line.highlight::before,
.title-line.highlight::after {
    content: 'Dienstleistungen';
    position: absolute;
    left: 0;
    top: 0;
    opacity: 0;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.title-line.highlight::before {
    background: var(--tiktok-cyan);
    animation: textGlitch1 4s ease-in-out infinite;
}

.title-line.highlight::after {
    background: var(--tiktok-red);
    animation: textGlitch2 4s ease-in-out infinite;
}

@keyframes textGlitch1 {
    0%, 90%, 100% { opacity: 0; transform: translate(0, 0); }
    92% { opacity: 0.8; transform: translate(-4px, -2px); }
    94% { opacity: 0.5; transform: translate(2px, 1px); }
    96% { opacity: 0.8; transform: translate(-3px, 2px); }
    98% { opacity: 0; transform: translate(0, 0); }
}

@keyframes textGlitch2 {
    0%, 90%, 100% { opacity: 0; transform: translate(0, 0); }
    91% { opacity: 0.8; transform: translate(4px, 2px); }
    93% { opacity: 0.5; transform: translate(-2px, -1px); }
    95% { opacity: 0.8; transform: translate(3px, -2px); }
    97% { opacity: 0; transform: translate(0, 0); }
}


.hero-subtitle {
    font-size: 1.25rem;
    color: var(--gray-300);
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0;
    animation: fadeUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) 0.5s forwards;
}

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

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    opacity: 0;
    animation: fadeUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) 0.7s forwards;
}

/* ============================================================================
   BUTTONS - Premium Design
   ============================================================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 14px;
    border: none;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}


.btn-primary {
    background: var(--tiktok-red);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(254, 44, 85, 0.3);
}

.btn-primary::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.3) 0%, transparent 50%, transparent 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.btn-primary:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 
        0 15px 40px rgba(254, 44, 85, 0.4),
        0 0 60px rgba(254, 44, 85, 0.2),
        inset 0 1px 0 rgba(255,255,255,0.2);
}

.btn-primary:hover::before {
    opacity: 1;
}

.btn-secondary {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--glass-border);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    border-color: var(--tiktok-cyan);
    color: var(--tiktok-cyan);
    transform: translateY(-3px);
    box-shadow: 
        0 10px 30px rgba(37, 244, 238, 0.15),
        inset 0 0 20px rgba(37, 244, 238, 0.05);
}

.btn-large {
    padding: 1.2rem 2.5rem;
    font-size: 1.1rem;
    border-radius: 16px;
}


/* ============================================================================
   SECTION HEADERS
   ============================================================================ */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: clamp(2.2rem, 5vw, 3.5rem);
    font-weight: 800;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-subtitle {
    font-size: 1.15rem;
    color: var(--gray-400);
    max-width: 600px;
    margin: 0 auto;
}

/* ============================================================================
   SERVICES SECTION - Premium Cards
   ============================================================================ */
.services-section {
    padding: 100px 0;
    position: relative;
}

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


/* Premium Glass Cards */
.service-card {
    background: var(--glass-bg);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    min-height: 480px;
    position: relative;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0;
    transform: translateY(40px);
}

/* Animated gradient border on hover */
.service-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 24px;
    padding: 1px;
    background: linear-gradient(135deg, transparent 0%, transparent 40%, var(--tiktok-cyan) 50%, var(--tiktok-red) 60%, transparent 70%, transparent 100%);
    background-size: 400% 400%;
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.service-card:hover::before {
    opacity: 1;
    animation: borderGlow 3s linear infinite;
}

@keyframes borderGlow {
    0% { background-position: 0% 50%; }
    100% { background-position: 200% 50%; }
}


/* Inner glow effect */
.service-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 200px;
    background: linear-gradient(180deg, rgba(254, 44, 85, 0.08) 0%, transparent 100%);
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
}

.service-card:hover::after {
    opacity: 1;
}

.service-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 
        0 25px 60px rgba(0, 0, 0, 0.4),
        0 0 80px rgba(254, 44, 85, 0.1);
}

.service-card > * {
    position: relative;
    z-index: 1;
}

.service-icon {
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(254, 44, 85, 0.15) 0%, rgba(37, 244, 238, 0.1) 100%);
    border-radius: 18px;
    margin-bottom: 1.5rem;
    position: relative;
}

.service-icon::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 18px;
    border: 1px solid rgba(254, 44, 85, 0.3);
}


.service-icon .material-icons {
    font-size: 2rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.service-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 1rem;
    letter-spacing: -0.01em;
}

.service-description {
    color: var(--gray-400);
    font-size: 0.95rem;
    line-height: 1.7;
    flex-grow: 1;
}

.service-description strong {
    color: var(--tiktok-cyan);
    font-weight: 600;
    display: block;
    margin-top: 1rem;
}

.service-details {
    display: flex;
    gap: 1.5rem;
    padding: 1rem 0;
    margin-top: 1rem;
    border-top: 1px solid var(--glass-border);
}

.service-detail-item {
    flex: 1;
    text-align: center;
}

.service-detail-label {
    font-size: 0.7rem;
    color: var(--gray-500);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 0.3rem;
}

.service-detail-value {
    font-size: 1rem;
    font-weight: 700;
    color: var(--tiktok-cyan);
}


/* Premium Price Display */
.service-price {
    font-size: 2.2rem;
    font-weight: 800;
    margin-top: auto;
    padding-top: 1.5rem;
    text-align: center;
    position: relative;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.service-price::before {
    content: '';
    position: absolute;
    top: 0;
    left: 20%;
    right: 20%;
    height: 1px;
    background: var(--gradient-primary);
    opacity: 0.3;
}

/* ============================================================================
   PROCESS SECTION
   ============================================================================ */
.process-section {
    padding: 100px 0;
    background: linear-gradient(180deg, var(--tiktok-gray) 0%, var(--tiktok-black) 100%);
    position: relative;
}

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


.process-step {
    text-align: center;
    padding: 2.5rem 2rem;
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    position: relative;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.process-step:hover {
    transform: translateY(-8px);
    border-color: rgba(37, 244, 238, 0.3);
    box-shadow: 
        0 20px 50px rgba(0, 0, 0, 0.3),
        0 0 40px rgba(37, 244, 238, 0.1);
}

.process-number {
    position: absolute;
    top: -18px;
    left: 50%;
    transform: translateX(-50%);
    width: 36px;
    height: 36px;
    background: var(--gradient-primary);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1rem;
    color: var(--white);
    box-shadow: 0 8px 20px rgba(254, 44, 85, 0.4);
}

.process-icon {
    margin: 1.5rem 0 1rem;
}

.process-icon .material-icons {
    font-size: 2.5rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.process-step h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 0.75rem;
}

.process-step p {
    color: var(--gray-400);
    font-size: 0.95rem;
    line-height: 1.6;
}


/* ============================================================================
   TESTIMONIALS SECTION
   ============================================================================ */
.testimonials-section {
    padding: 100px 0;
}

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

.testimonial-card {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 2rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: 1.5rem;
    right: 2rem;
    font-size: 5rem;
    font-family: Georgia, serif;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    opacity: 0.2;
    line-height: 1;
}

.testimonial-card:hover {
    transform: translateY(-8px);
    box-shadow: 
        0 20px 50px rgba(0, 0, 0, 0.3),
        0 0 40px rgba(254, 44, 85, 0.1);
}


.testimonial-stars {
    display: flex;
    gap: 0.25rem;
    margin-bottom: 1rem;
}

.testimonial-stars .material-icons {
    color: #ffc107;
    font-size: 1.3rem;
}

.testimonial-text {
    color: var(--gray-300);
    line-height: 1.8;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.testimonial-author strong {
    color: var(--white);
    font-size: 1rem;
    display: block;
    margin-bottom: 0.25rem;
}

.testimonial-author span {
    color: var(--tiktok-cyan);
    font-size: 0.85rem;
}

/* ============================================================================
   FEATURES SECTION
   ============================================================================ */
.features-section {
    padding: 100px 0;
    background: var(--tiktok-gray);
}

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

.feature-card {
    text-align: center;
    padding: 2.5rem 2rem;
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}


.feature-card:hover {
    transform: translateY(-8px) scale(1.02);
    border-color: rgba(254, 44, 85, 0.3);
    box-shadow: 
        0 20px 50px rgba(0, 0, 0, 0.3),
        0 0 40px rgba(254, 44, 85, 0.1);
}

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(254, 44, 85, 0.2) 0%, rgba(37, 244, 238, 0.1) 100%);
    border-radius: 20px;
    position: relative;
}

.feature-icon::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 20px;
    border: 1px solid rgba(254, 44, 85, 0.2);
}

.feature-icon .material-icons {
    font-size: 2.2rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.feature-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 0.75rem;
}

.feature-card p {
    color: var(--gray-400);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* ============================================================================
   AUTH / FORM PAGES (Login, Register, Kalender)
   ============================================================================ */
.form-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 120px 1.5rem 80px;
    position: relative;
    z-index: 5;
}

.form-container::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(30px);
    border-radius: 40px;
    max-width: 1100px;
    margin: 0 auto;
    z-index: -1;
}

.form-box {
    width: 100%;
    max-width: 520px;
    padding: 3rem;
    background: rgba(8, 8, 15, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 32px;
    box-shadow:
        0 30px 80px rgba(0, 0, 0, 0.6),
        0 0 60px rgba(255, 0, 80, 0.15);
    position: relative;
    z-index: 10;
}

.form-title {
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 800;
    margin-bottom: 0.5rem;
    text-align: center;
    color: var(--white);
}

.form-subtitle {
    text-align: center;
    color: var(--gray-400);
    margin-bottom: 2rem;
    font-size: 1rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    font-size: 0.95rem;
    color: var(--gray-200);
    margin-bottom: 0.5rem;
    font-weight: 600;
    letter-spacing: 0.02em;
}

.form-input {
    width: 100%;
    padding: 0.95rem 1.1rem;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.04);
    color: var(--white);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-input:focus {
    outline: none;
    border-color: rgba(37, 244, 238, 0.6);
    box-shadow: 0 0 25px rgba(37, 244, 238, 0.15);
}

.form-button {
    width: 100%;
    padding: 1rem;
    border: none;
    border-radius: 16px;
    background: var(--gradient-primary);
    color: var(--white);
    font-weight: 700;
    font-size: 1.05rem;
    letter-spacing: 0.05em;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    margin-top: 1rem;
}

.form-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(254, 44, 85, 0.35);
}

.form-link {
    text-align: center;
    margin-top: 1.25rem;
    color: var(--gray-300);
    font-size: 0.95rem;
}

.form-link a {
    color: var(--tiktok-cyan);
    font-weight: 600;
    text-decoration: none;
    transition: color 0.3s ease;
}

.form-link a:hover {
    color: var(--primary-light);
}

#alertContainer .alert {
    padding: 0.75rem 1rem;
    border-radius: 12px;
    margin-bottom: 1.25rem;
    font-size: 0.95rem;
    font-weight: 600;
}

#alertContainer .alert-success {
    background: rgba(0, 200, 150, 0.15);
    border: 1px solid rgba(0, 200, 150, 0.4);
    color: #00c896;
}

#alertContainer .alert-error {
    background: rgba(255, 0, 80, 0.15);
    border: 1px solid rgba(255, 0, 80, 0.4);
    color: var(--primary-light);
}

@media (max-width: 600px) {
    .form-box {
        padding: 2.25rem 1.75rem;
        border-radius: 24px;
    }

    .form-container {
        padding-top: 140px;
    }
}
