/* ========================================
   ELI TATTOO - LANDING PAGE STYLES
   Mobile-First + Liquid Glass + Floating Dots
   ======================================== */

:root {
    /* Brand Colors */
    --primary-pink: #F72585;
    --secondary-cyan: #4CC9F0;
    --accent-gold: #FFD700;
    --purple: #7B2CBF;
    --dark-purple: #3A0CA3;

    /* Backgrounds */
    --bg-dark: #0a0a0f;
    --bg-card: rgba(255, 255, 255, 0.03);
    --bg-glass: rgba(255, 255, 255, 0.05);

    /* Text */
    --text-primary: #ffffff;
    --text-secondary: rgba(255, 255, 255, 0.7);
    --text-muted: rgba(255, 255, 255, 0.5);

    /* Borders */
    --border-glass: rgba(255, 255, 255, 0.1);
    --border-accent: rgba(247, 37, 133, 0.3);

    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #F72585 0%, #7B2CBF 50%, #4CC9F0 100%);
    --gradient-gold: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
    --gradient-glass: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0.02) 100%);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg-dark);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
}

/* ========================================
   ANIMATED BACKGROUND - FLOATING LIGHT DOTS
   ======================================== */

.animated-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    background: var(--bg-dark);
    overflow: hidden;
}

/* Subtle gradient base */
.animated-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(circle at 20% 30%, rgba(247, 37, 133, 0.08) 0%, transparent 40%),
        radial-gradient(circle at 80% 70%, rgba(76, 201, 240, 0.08) 0%, transparent 40%),
        radial-gradient(circle at 50% 50%, rgba(123, 44, 191, 0.05) 0%, transparent 50%);
}

/* Floating Light Dots Container */
.floating-dots {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
    overflow: hidden;
}

.light-dot {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    animation: floatDot linear infinite;
}

/* Pink dots */
.light-dot.pink {
    background: radial-gradient(circle, rgba(247, 37, 133, 0.6) 0%, rgba(247, 37, 133, 0) 70%);
    box-shadow: 0 0 20px rgba(247, 37, 133, 0.3);
}

/* Cyan dots */
.light-dot.cyan {
    background: radial-gradient(circle, rgba(76, 201, 240, 0.6) 0%, rgba(76, 201, 240, 0) 70%);
    box-shadow: 0 0 20px rgba(76, 201, 240, 0.3);
}

/* Purple dots */
.light-dot.purple {
    background: radial-gradient(circle, rgba(123, 44, 191, 0.5) 0%, rgba(123, 44, 191, 0) 70%);
    box-shadow: 0 0 15px rgba(123, 44, 191, 0.25);
}

/* Gold dots */
.light-dot.gold {
    background: radial-gradient(circle, rgba(255, 215, 0, 0.5) 0%, rgba(255, 215, 0, 0) 70%);
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.2);
}

@keyframes floatDot {
    0% {
        transform: translateY(100vh) scale(0);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateY(-100px) scale(1);
        opacity: 0;
    }
}

/* ========================================
   LIQUID GLASS EFFECT
   ======================================== */

.glass {
    background: var(--bg-glass);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--border-glass);
    border-radius: 24px;
    position: relative;
    overflow: hidden;
}

.glass::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
}

.glass-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.glass-card:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(247, 37, 133, 0.3);
    transform: translateY(-5px);
    box-shadow:
        0 20px 40px rgba(0, 0, 0, 0.3),
        0 0 25px rgba(247, 37, 133, 0.1);
}

/* ========================================
   REFERRAL BANNER
   ======================================== */

.referral-banner {
    display: none;
    background: var(--gradient-primary);
    padding: 12px 16px;
    text-align: center;
    font-weight: 600;
    font-size: 0.85rem;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1001;
    animation: slideDown 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.referral-banner.active {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
}

.referral-banner .code {
    background: rgba(0, 0, 0, 0.3);
    padding: 4px 12px;
    border-radius: 6px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 1em;
    letter-spacing: 2px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

@keyframes slideDown {
    from { transform: translateY(-100%); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

/* ========================================
   NAVIGATION - Mobile First (Redesigned)
   ======================================== */

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    padding: 12px 4%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background: rgba(10, 10, 15, 0.95);
    backdrop-filter: blur(20px);
    padding: 10px 4%;
    border-bottom: 1px solid var(--border-glass);
}

.navbar.has-banner {
    top: 44px;
}

/* Left side - Download button */
.nav-left {
    flex: 1;
    display: flex;
    justify-content: flex-start;
}

/* Center - Logo FLOATING (mare, iese din navbar) */
.logo-center {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    text-decoration: none;
    z-index: 1001; /* Peste navbar */
    top: 0 !important; /* Aliniat cu partea de sus a navbar-ului (ca și butoanele) */
    margin-top: 0 !important; /* Fără margin suplimentar */
}

.logo-center .logo-img {
    width: 150px !important;
    height: 150px !important;
    border-radius: 0 !important;
    object-fit: contain;
    border: none !important;
    transition: all 0.3s ease;
    box-shadow: none !important;
    background: transparent !important;
    outline: none !important;
}

.logo-center:hover .logo-img {
    transform: scale(1.05);
    border: none !important;
    box-shadow: none !important;
}

/* Right side - Login/User */
.nav-right {
    flex: 1;
    display: flex;
    justify-content: flex-end;
}

/* Old logo styles (for footer) */
.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    flex-shrink: 0;
}

.logo .logo-img {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    object-fit: contain;
    border: 2px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.logo:hover .logo-img {
    border-color: var(--primary-pink);
    box-shadow: 0 0 15px rgba(247, 37, 133, 0.3);
}

.logo-text {
    font-size: 1.2rem;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Download Button */
.btn-download {
    padding: 10px 16px;
}

.btn-download .btn-text {
    display: inline;
}

/* Login Button */
.btn-login {
    padding: 10px 16px;
}

.btn-login .btn-text {
    display: inline;
}

/* User Menu Wrapper with Dropdown */
.user-menu-wrapper {
    position: relative;
}

.user-avatar-btn {
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.user-avatar-btn:hover {
    transform: scale(1.1);
}

.user-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--primary-pink);
    flex-shrink: 0;
    box-shadow: 0 4px 15px rgba(247, 37, 133, 0.3);
    transition: all 0.3s ease;
}

.user-avatar:hover {
    border-color: var(--accent-cyan);
    box-shadow: 0 4px 20px rgba(76, 201, 240, 0.4);
}

/* User Dropdown Menu */
.user-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    min-width: 180px;
    background: rgba(15, 15, 25, 0.98);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 14px;
    padding: 8px 0;
    display: none;
    box-shadow:
        0 10px 40px rgba(0, 0, 0, 0.5),
        0 0 0 1px rgba(255, 255, 255, 0.05) inset;
    z-index: 1001;
}

.user-dropdown.active {
    display: block;
    animation: dropdownFadeIn 0.2s ease-out;
}

@keyframes dropdownFadeIn {
    from {
        opacity: 0;
        transform: translateY(-8px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.dropdown-username {
    display: block;
    padding: 10px 14px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-primary);
    max-width: 160px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    margin-bottom: 4px;
}

.dropdown-divider {
    display: none;
}

.dropdown-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.85rem;
    transition: all 0.2s ease;
    cursor: pointer;
    background: none;
    border: none;
    width: 100%;
    text-align: left;
    font-family: inherit;
}

.dropdown-item:hover {
    background: rgba(247, 37, 133, 0.15);
    color: var(--primary-pink);
}

.dropdown-item svg {
    flex-shrink: 0;
    width: 16px;
    height: 16px;
}

.dropdown-logout {
    color: #ff6b6b;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    margin-top: 4px;
    padding-top: 10px;
}

.dropdown-logout:hover {
    background: rgba(255, 107, 107, 0.15);
    color: #ff6b6b;
}

/* Mobile dropdown adjustments */
@media (max-width: 600px) {
    .user-dropdown {
        min-width: 160px;
        right: -5px;
    }

    .dropdown-username {
        font-size: 0.8rem;
        padding: 8px 12px;
    }

    .dropdown-item {
        font-size: 0.8rem;
        padding: 10px 12px;
        gap: 8px;
    }

    .dropdown-item svg {
        width: 14px;
        height: 14px;
    }
}

/* Buttons */
.btn {
    padding: 10px 20px;
    border-radius: 25px;
    font-weight: 600;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border: none;
    white-space: nowrap;
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--primary-pink);
    color: var(--primary-pink);
}

.btn-outline:hover {
    background: var(--primary-pink);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(247, 37, 133, 0.3);
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    border: none;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 35px rgba(247, 37, 133, 0.4);
}

.btn-glass {
    background: var(--bg-glass);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border-glass);
    color: white;
}

.btn-glass:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--primary-pink);
}

/* Mobile navbar styles */
@media (max-width: 600px) {
    .btn-download .btn-text,
    .btn-login .btn-text {
        display: none;
    }

    .btn-download,
    .btn-login {
        padding: 10px 12px;
    }

    /* Logo floating - mai mic pe mobile dar tot mare */
    .logo-center .logo-img {
        width: 130px;
        height: 130px;
    }

    .user-avatar {
        width: 40px;
        height: 40px;
    }
}

@media (max-width: 400px) {
    .logo-center .logo-img {
        width: 110px;
        height: 110px;
    }

    .btn-download,
    .btn-login {
        padding: 8px 10px;
    }

    .btn-download svg,
    .btn-login svg {
        width: 18px;
        height: 18px;
    }

    .logo-text {
        font-size: 1rem;
    }

    .btn-primary {
        padding: 10px 16px;
        font-size: 0.8rem;
    }
}

/* ========================================
   HERO SECTION
   ======================================== */

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 160px 5% 60px; /* Mai mult spațiu pentru logo-ul floating */
    position: relative;
}

.hero-content {
    max-width: 800px;
    text-align: center;
    position: relative;
    z-index: 1;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(247, 37, 133, 0.1);
    border: 1px solid rgba(247, 37, 133, 0.3);
    padding: 8px 18px;
    border-radius: 50px;
    margin-bottom: 24px;
    font-size: 0.85rem;
    color: var(--primary-pink);
    animation: badgePulse 3s ease-in-out infinite;
}

@keyframes badgePulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(247, 37, 133, 0.3); }
    50% { box-shadow: 0 0 15px 3px rgba(247, 37, 133, 0.1); }
}

.hero h1 {
    font-size: clamp(2rem, 8vw, 3.5rem);
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 20px;
    letter-spacing: -0.5px;
}

.hero h1 .gradient-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: clamp(1rem, 3vw, 1.15rem);
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto 30px;
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.btn-lg {
    padding: 14px 28px;
    font-size: 1rem;
}

/* Store Buttons */
.store-buttons {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

.store-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 12px 20px;
    border-radius: 14px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.store-btn:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--primary-pink);
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3);
}

.store-btn svg {
    width: 28px;
    height: 28px;
    fill: white;
    flex-shrink: 0;
}

.store-btn-text {
    text-align: left;
}

.store-btn-text small {
    font-size: 0.7rem;
    color: var(--text-muted);
    display: block;
}

.store-btn-text span {
    font-size: 1rem;
    font-weight: 600;
    color: white;
}

/* ========================================
   SECTION GENERAL
   ======================================== */

section {
    padding: 60px 5%;
}

.section-header {
    text-align: center;
    margin-bottom: 40px;
}

.section-badge {
    display: inline-block;
    background: rgba(247, 37, 133, 0.1);
    border: 1px solid rgba(247, 37, 133, 0.3);
    padding: 6px 16px;
    border-radius: 30px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--primary-pink);
    margin-bottom: 16px;
}

.section-header h2 {
    font-size: clamp(1.6rem, 5vw, 2.2rem);
    font-weight: 700;
    margin-bottom: 12px;
}

.section-header p {
    color: var(--text-secondary);
    font-size: 1rem;
    max-width: 600px;
    margin: 0 auto;
}

.gradient-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ========================================
   INKSCAN / FIDELIZARE SECTIONS
   ======================================== */

.inkscan-section {
    padding: 60px 5%;
}

/* Mobile optimized InkScan */
.inkscan-mobile-optimized {
    background: linear-gradient(180deg, rgba(76, 201, 240, 0.03) 0%, transparent 100%);
}

.inkscan-container {
    display: flex;
    flex-direction: column;
    gap: 30px;
    max-width: 1100px;
    margin: 0 auto;
    align-items: center;
}

/* On mobile, show content first, then visual */
.inkscan-reverse {
    flex-direction: column;
}

.inkscan-content {
    text-align: center;
    max-width: 600px;
    order: 1;
}

.inkscan-visual {
    order: 2;
}

.inkscan-content h2 {
    font-size: clamp(1.5rem, 5vw, 2.2rem);
    font-weight: 700;
    margin-bottom: 16px;
    line-height: 1.3;
}

.inkscan-description {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 24px;
    line-height: 1.7;
}

.inkscan-content > p {
    color: var(--text-secondary);
    font-size: 1rem;
    margin-bottom: 24px;
    line-height: 1.7;
}

.inkscan-features {
    display: grid;
    gap: 12px;
}

.inkscan-feature {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    text-align: left;
    padding: 14px;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
}

.inkscan-feature:hover {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(247, 37, 133, 0.2);
    transform: translateX(5px);
}

.inkscan-feature-icon {
    width: 40px;
    height: 40px;
    min-width: 40px;
    background: rgba(247, 37, 133, 0.1);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.inkscan-feature-text h4 {
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 3px;
}

.inkscan-feature-text p {
    font-size: 0.8rem;
    color: var(--text-muted);
    line-height: 1.4;
}

/* Mobile specific for InkScan */
@media (max-width: 600px) {
    .inkscan-section {
        padding: 40px 4%;
    }

    .inkscan-mobile-optimized .inkscan-visual {
        max-width: 200px;
        margin-top: 10px;
    }

    .inkscan-mobile-optimized .phone-mockup {
        padding: 20px 15px;
        border-radius: 25px;
    }

    .inkscan-feature {
        padding: 12px;
        gap: 10px;
    }

    .inkscan-feature-icon {
        width: 36px;
        height: 36px;
        min-width: 36px;
        font-size: 1rem;
    }

    .inkscan-feature-text h4 {
        font-size: 0.9rem;
    }

    .inkscan-feature-text p {
        font-size: 0.75rem;
    }
}

/* Phone Mockup */
.inkscan-visual {
    width: 100%;
    max-width: 280px;
}

.inkscan-phone {
    position: relative;
}

.phone-mockup {
    background: linear-gradient(145deg, rgba(30, 30, 45, 0.9), rgba(20, 20, 30, 0.95));
    border: 3px solid rgba(255, 255, 255, 0.1);
    border-radius: 35px;
    padding: 30px 20px;
    box-shadow:
        0 30px 60px rgba(0, 0, 0, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.phone-screen {
    text-align: center;
    min-height: 200px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.phone-screen h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 6px;
}

.phone-screen p {
    color: var(--text-muted);
    font-size: 0.85rem;
}

.unique-badge {
    position: absolute;
    top: -12px;
    right: -12px;
    background: var(--gradient-gold);
    color: #000;
    padding: 8px 14px;
    border-radius: 20px;
    font-weight: 700;
    font-size: 0.75rem;
    box-shadow: 0 8px 20px rgba(255, 215, 0, 0.3);
    animation: floatBadge 3s ease-in-out infinite;
}

@keyframes floatBadge {
    0%, 100% { transform: translateY(0) rotate(-3deg); }
    50% { transform: translateY(-6px) rotate(3deg); }
}

/* Loyalty Points Display */
.loyalty-display {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 16px;
}

.points-circle {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(247, 37, 133, 0.2), rgba(76, 201, 240, 0.2));
    border: 3px solid var(--primary-pink);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    box-shadow: 0 0 30px rgba(247, 37, 133, 0.3), inset 0 0 20px rgba(247, 37, 133, 0.1);
    animation: pointsPulse 2s ease-in-out infinite;
}

@keyframes pointsPulse {
    0%, 100% {
        box-shadow: 0 0 30px rgba(247, 37, 133, 0.3), inset 0 0 20px rgba(247, 37, 133, 0.1);
        transform: scale(1);
    }
    50% {
        box-shadow: 0 0 45px rgba(247, 37, 133, 0.5), inset 0 0 30px rgba(247, 37, 133, 0.2);
        transform: scale(1.02);
    }
}

.points-number {
    font-size: 1.6rem;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
}

.points-label {
    font-size: 0.65rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-top: 4px;
}

/* Scan Animation */
.scan-animation {
    margin-bottom: 16px;
    animation: scanPulse 2s ease-in-out infinite;
}

@keyframes scanPulse {
    0%, 100% { transform: scale(1); opacity: 0.7; }
    50% { transform: scale(1.1); opacity: 1; }
}

/* ========================================
   COMMUNITY SECTION
   ======================================== */

.community-section {
    background: linear-gradient(180deg, transparent, rgba(76, 201, 240, 0.03), transparent);
}

.community-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
    max-width: 900px;
    margin: 0 auto;
}

.community-card {
    padding: 24px 20px;
    text-align: center;
}

.community-icon {
    width: 60px;
    height: 60px;
    background: rgba(76, 201, 240, 0.1);
    border: 1px solid rgba(76, 201, 240, 0.3);
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin: 0 auto 16px;
    transition: all 0.3s ease;
}

.community-card:hover .community-icon {
    background: rgba(76, 201, 240, 0.15);
    transform: scale(1.05) rotate(3deg);
    box-shadow: 0 10px 30px rgba(76, 201, 240, 0.2);
}

.community-card h3 {
    font-size: 1.15rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.community-card p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.6;
}

/* ========================================
   FEATURES GRID
   ======================================== */

.features-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
    max-width: 1000px;
    margin: 0 auto;
}

.feature-card {
    padding: 24px 20px;
}

.feature-icon {
    width: 50px;
    height: 50px;
    background: rgba(247, 37, 133, 0.1);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    font-size: 1.5rem;
    transition: all 0.3s ease;
}

.feature-card:hover .feature-icon {
    background: rgba(247, 37, 133, 0.15);
    transform: translateY(-3px);
}

.feature-card h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.feature-card p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.5;
}

/* ========================================
   STATS SECTION
   ======================================== */

.stats-section {
    padding: 50px 5%;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    max-width: 800px;
    margin: 0 auto;
}

.stat-item {
    text-align: center;
    padding: 20px 16px;
}

.stat-item h3 {
    font-size: clamp(2rem, 6vw, 2.8rem);
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 6px;
}

.stat-item p {
    color: var(--text-muted);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

/* ========================================
   REFERRAL SECTION
   ======================================== */

.referral-section {
    background: linear-gradient(180deg, transparent, rgba(123, 44, 191, 0.05), transparent);
}

.referral-container {
    display: flex;
    flex-direction: column;
    gap: 40px;
    max-width: 1000px;
    margin: 0 auto;
    align-items: center;
}

.referral-content {
    text-align: center;
    max-width: 500px;
}

.referral-content h2 {
    font-size: clamp(1.6rem, 5vw, 2.2rem);
    font-weight: 700;
    margin-bottom: 16px;
}

.referral-content > p {
    color: var(--text-secondary);
    font-size: 1rem;
    margin-bottom: 24px;
    line-height: 1.6;
}

.referral-steps {
    display: flex;
    flex-direction: column;
    gap: 16px;
    text-align: left;
}

.referral-step {
    display: flex;
    align-items: flex-start;
    gap: 14px;
}

.step-number {
    width: 38px;
    height: 38px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1rem;
    flex-shrink: 0;
}

.step-content h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 2px;
}

.step-content p {
    color: var(--text-muted);
    font-size: 0.85rem;
}

.referral-visual {
    width: 100%;
    max-width: 280px;
}

.referral-card {
    background: var(--bg-glass);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border-glass);
    border-radius: 24px;
    padding: 35px 25px;
    text-align: center;
}

.referral-card .icon {
    font-size: 3rem;
    margin-bottom: 16px;
}

.referral-card h3 {
    font-size: 1.2rem;
    margin-bottom: 12px;
}

.points-display {
    font-size: 2.8rem;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 10px;
}

.referral-card .subtitle {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* ========================================
   CTA SECTION
   ======================================== */

.cta-section {
    padding: 80px 5%;
    text-align: center;
    position: relative;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    max-width: 600px;
    height: 400px;
    background: radial-gradient(circle, rgba(247, 37, 133, 0.1) 0%, transparent 60%);
    pointer-events: none;
}

.cta-content {
    position: relative;
    z-index: 1;
    max-width: 600px;
    margin: 0 auto;
}

.cta-content h2 {
    font-size: clamp(1.6rem, 5vw, 2.4rem);
    font-weight: 700;
    margin-bottom: 16px;
}

.cta-content p {
    color: var(--text-secondary);
    font-size: 1rem;
    margin-bottom: 30px;
}

/* ========================================
   FOOTER
   ======================================== */

.footer {
    padding: 50px 5% 30px;
    border-top: 1px solid var(--border-glass);
    background: rgba(0, 0, 0, 0.3);
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    max-width: 1100px;
    margin: 0 auto 40px;
}

.footer-brand {
    text-align: center;
}

.footer-brand .logo {
    margin-bottom: 16px;
    justify-content: center;
}

.footer-brand p {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 16px;
    max-width: 300px;
    margin-left: auto;
    margin-right: auto;
}

.footer-social {
    display: flex;
    gap: 10px;
    justify-content: center;
}

.social-link {
    width: 40px;
    height: 40px;
    background: var(--bg-glass);
    border: 1px solid var(--border-glass);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: var(--primary-pink);
    border-color: var(--primary-pink);
    transform: translateY(-2px);
}

.footer-links {
    text-align: center;
}

.footer-links h4 {
    color: white;
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 16px;
}

.footer-links a {
    display: block;
    color: var(--text-muted);
    text-decoration: none;
    margin-bottom: 10px;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--primary-pink);
}

.footer-bottom {
    display: flex;
    flex-direction: column;
    gap: 16px;
    align-items: center;
    padding-top: 30px;
    border-top: 1px solid var(--border-glass);
    max-width: 1100px;
    margin: 0 auto;
    text-align: center;
}

.footer-bottom p {
    color: var(--text-muted);
    font-size: 0.85rem;
}

.footer-legal {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
}

.footer-legal a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.85rem;
    transition: color 0.3s ease;
}

.footer-legal a:hover {
    color: white;
}

/* ========================================
   AUTH MODAL
   ======================================== */

.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(10px);
    z-index: 2000;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal-overlay.active {
    display: flex;
    opacity: 1;
}

.modal-content {
    background: #1a1a2e;
    border: 1px solid var(--border-glass);
    border-radius: 24px;
    padding: 40px 30px;
    max-width: 400px;
    width: 100%;
    text-align: center;
    position: relative;
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.modal-overlay.active .modal-content {
    transform: scale(1);
}

.modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 36px;
    height: 36px;
    background: var(--bg-glass);
    border: 1px solid var(--border-glass);
    border-radius: 50%;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    transition: all 0.3s ease;
}

.modal-close:hover {
    background: var(--primary-pink);
    border-color: var(--primary-pink);
}

.modal-icon {
    width: 70px;
    height: 70px;
    background: rgba(247, 37, 133, 0.1);
    border: 1px solid rgba(247, 37, 133, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 2rem;
}

.modal-content h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.modal-content > p {
    color: var(--text-secondary);
    margin-bottom: 24px;
    font-size: 0.95rem;
}

.auth-buttons {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.auth-btn {
    width: 100%;
    padding: 14px 20px;
    border-radius: 14px;
    border: 1px solid var(--border-glass);
    background: var(--bg-glass);
    color: white;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.3s ease;
}

.auth-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--primary-pink);
    transform: translateY(-2px);
}

.auth-btn svg {
    width: 22px;
    height: 22px;
}

.auth-divider {
    display: flex;
    align-items: center;
    gap: 16px;
    margin: 16px 0;
    color: var(--text-muted);
    font-size: 0.85rem;
}

.auth-divider::before,
.auth-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--border-glass);
}

.success-modal .modal-icon {
    background: rgba(76, 175, 80, 0.1);
    border-color: rgba(76, 175, 80, 0.3);
}

/* ========================================
   REFERRAL EMAIL MODAL - NEW SYSTEM
   ======================================== */

.referral-modal-content {
    max-width: 440px;
    padding: 35px 28px;
}

.referral-modal-header {
    margin-bottom: 20px;
}

.referral-modal-header h3 {
    font-size: 1.6rem;
    margin-top: 10px;
}

.referral-icon {
    background: linear-gradient(135deg, rgba(247, 37, 133, 0.15), rgba(76, 201, 240, 0.15));
    border: 2px solid rgba(247, 37, 133, 0.4);
    animation: giftPulse 2s ease-in-out infinite;
}

@keyframes giftPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.referrer-info {
    display: flex;
    align-items: center;
    gap: 14px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 16px 20px;
    margin-bottom: 20px;
}

.referrer-avatar {
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.referrer-details {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.referrer-label {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.referrer-name {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
}

.referral-bonus-info {
    text-align: center;
    margin-bottom: 24px;
}

.bonus-badge {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.15), rgba(255, 165, 0, 0.1));
    border: 2px solid rgba(255, 215, 0, 0.4);
    border-radius: 20px;
    padding: 14px 28px;
    margin-bottom: 12px;
}

.bonus-points {
    font-size: 2rem;
    font-weight: 800;
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
}

.bonus-label {
    font-size: 0.7rem;
    color: var(--accent-gold);
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-top: 2px;
}

.referral-bonus-info > p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.5;
}

.referral-email-form {
    margin-bottom: 20px;
}

.referral-email-form label {
    display: block;
    font-size: 0.95rem;
    font-weight: 500;
    margin-bottom: 10px;
    color: var(--text-primary);
}

.email-input-wrapper {
    position: relative;
    margin-bottom: 8px;
}

.email-icon {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    pointer-events: none;
}

.referral-email-form input {
    width: 100%;
    padding: 16px 16px 16px 48px;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 255, 255, 0.15);
    border-radius: 14px;
    color: white;
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.3s ease;
}

.referral-email-form input::placeholder {
    color: var(--text-muted);
}

.referral-email-form input:focus {
    outline: none;
    border-color: var(--primary-pink);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 20px rgba(247, 37, 133, 0.2);
}

.referral-email-form input.error {
    border-color: #ff6b6b;
    animation: shake 0.5s ease;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    20%, 60% { transform: translateX(-8px); }
    40%, 80% { transform: translateX(8px); }
}

.email-hint {
    font-size: 0.8rem;
    color: var(--secondary-cyan);
    font-style: italic;
}

.btn-confirm-referral {
    width: 100%;
    padding: 16px 24px;
    font-size: 1rem;
    margin-bottom: 16px;
}

.btn-confirm-referral:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none !important;
}

.referral-modal-footer {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin: 0;
}

.success-icon {
    background: rgba(76, 175, 80, 0.15);
    border: 2px solid rgba(76, 175, 80, 0.5);
    color: #4CAF50;
}

/* Mobile adjustments for referral modal */
@media (max-width: 500px) {
    .referral-modal-content {
        padding: 28px 20px;
    }

    .referral-modal-header h3 {
        font-size: 1.4rem;
    }

    .referrer-info {
        padding: 14px 16px;
    }

    .referrer-avatar {
        width: 44px;
        height: 44px;
        font-size: 1.3rem;
    }

    .referrer-name {
        font-size: 1rem;
    }

    .bonus-points {
        font-size: 1.6rem;
    }

    .bonus-badge {
        padding: 12px 22px;
    }

    .referral-email-form input {
        padding: 14px 14px 14px 44px;
        font-size: 0.95rem;
    }

    .btn-confirm-referral {
        padding: 14px 20px;
        font-size: 0.95rem;
    }
}

/* ========================================
   TABLET BREAKPOINT
   ======================================== */

@media (min-width: 600px) {
    .navbar {
        padding: 16px 5%;
    }

    .logo-img {
        width: 48px;
        height: 48px;
    }

    .logo-text {
        font-size: 1.4rem;
    }

    .btn {
        padding: 12px 24px;
        font-size: 0.9rem;
    }

    .user-menu span {
        display: block;
    }

    .hero {
        padding: 120px 5% 80px;
    }

    .community-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .stats-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .footer-content {
        grid-template-columns: repeat(2, 1fr);
        text-align: left;
    }

    .footer-brand {
        text-align: left;
    }

    .footer-brand .logo {
        justify-content: flex-start;
    }

    .footer-brand p {
        margin-left: 0;
    }

    .footer-social {
        justify-content: flex-start;
    }

    .footer-links {
        text-align: left;
    }

    .footer-bottom {
        flex-direction: row;
        justify-content: space-between;
    }
}

/* ========================================
   DESKTOP BREAKPOINT
   ======================================== */

@media (min-width: 900px) {
    .navbar {
        padding: 20px 5%;
    }

    .logo-img {
        width: 52px;
        height: 52px;
    }

    .logo-text {
        font-size: 1.5rem;
    }

    .nav-actions {
        gap: 14px;
    }

    .inkscan-container {
        flex-direction: row;
        gap: 60px;
        text-align: left;
    }

    .inkscan-content {
        text-align: left;
        flex: 1;
    }

    .inkscan-visual {
        flex-shrink: 0;
    }

    .referral-container {
        flex-direction: row;
        gap: 60px;
    }

    .referral-content {
        text-align: left;
        flex: 1;
    }

    .features-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .footer-content {
        grid-template-columns: 2fr 1fr 1fr 1fr;
    }
}

/* ========================================
   ANIMATIONS
   ======================================== */

.fade-in {
    animation: fadeIn 0.8s ease-out;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Card Entrance Animation */
.glass-card {
    animation: cardEntrance 0.5s ease-out backwards;
}

.glass-card:nth-child(1) { animation-delay: 0.1s; }
.glass-card:nth-child(2) { animation-delay: 0.2s; }
.glass-card:nth-child(3) { animation-delay: 0.3s; }
.glass-card:nth-child(4) { animation-delay: 0.4s; }
.glass-card:nth-child(5) { animation-delay: 0.5s; }
.glass-card:nth-child(6) { animation-delay: 0.6s; }

@keyframes cardEntrance {
    from {
        opacity: 0;
        transform: translateY(20px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* ========================================
   LEGAL MODALS STYLES
   ======================================== */

.legal-modal-content {
    max-width: 600px;
    max-height: 85vh;
    overflow-y: auto;
    padding: 30px 24px;
}

.legal-modal-content::-webkit-scrollbar {
    width: 6px;
}

.legal-modal-content::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 3px;
}

.legal-modal-content::-webkit-scrollbar-thumb {
    background: var(--primary-pink);
    border-radius: 3px;
}

.legal-modal-header {
    text-align: center;
    margin-bottom: 24px;
}

.legal-icon {
    width: 70px;
    height: 70px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    font-size: 2rem;
}

.terms-icon {
    background: linear-gradient(135deg, rgba(123, 44, 191, 0.2), rgba(76, 201, 240, 0.2));
    border: 2px solid rgba(123, 44, 191, 0.4);
}

.privacy-icon {
    background: linear-gradient(135deg, rgba(76, 201, 240, 0.2), rgba(0, 128, 128, 0.2));
    border: 2px solid rgba(76, 201, 240, 0.4);
}

.gdpr-icon {
    background: linear-gradient(135deg, rgba(76, 175, 80, 0.2), rgba(33, 150, 243, 0.2));
    border: 2px solid rgba(76, 175, 80, 0.4);
}

.cookies-icon {
    background: linear-gradient(135deg, rgba(255, 152, 0, 0.2), rgba(255, 193, 7, 0.2));
    border: 2px solid rgba(255, 152, 0, 0.4);
}

.legislation-icon {
    background: linear-gradient(135deg, rgba(63, 81, 181, 0.2), rgba(0, 150, 136, 0.2));
    border: 2px solid rgba(63, 81, 181, 0.4);
}

.legal-modal-header h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: white;
}

.legal-subtitle {
    color: var(--text-muted);
    font-size: 0.85rem;
    margin: 0;
}

.legal-modal-body {
    text-align: left;
}

.legal-section {
    margin-bottom: 24px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.legal-section:last-of-type {
    border-bottom: none;
}

.legal-section h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary-pink);
    margin-bottom: 12px;
}

.legal-section p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 12px;
}

.legal-section ul,
.legal-section ol {
    padding-left: 20px;
    margin: 0;
}

.legal-section li {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 8px;
}

.legal-section li strong {
    color: white;
}

.legal-warning {
    background: rgba(255, 87, 87, 0.1);
    border: 1px solid rgba(255, 87, 87, 0.3);
    border-radius: 12px;
    padding: 16px;
    margin-top: 20px;
}

.legal-warning strong {
    color: #ff6b6b;
    display: block;
    margin-bottom: 10px;
}

.legal-warning ul {
    margin: 10px 0 0 20px;
}

.legal-warning li {
    color: var(--text-secondary);
    font-size: 0.85rem;
}

.legal-modal-footer {
    text-align: center;
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 20px;
}

.legal-modal-footer span {
    color: var(--text-muted);
    font-size: 0.8rem;
}

/* Privacy Modal - Data Grid */
.data-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-top: 12px;
}

.data-item {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 14px;
}

.data-item strong {
    display: block;
    color: white;
    font-size: 0.85rem;
    margin-bottom: 6px;
}

.data-item span {
    color: var(--text-muted);
    font-size: 0.8rem;
    line-height: 1.4;
}

/* GDPR Modal - Stats */
.gdpr-stats {
    display: flex;
    justify-content: space-around;
    margin-bottom: 24px;
    padding: 16px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.gdpr-stat {
    text-align: center;
}

.gdpr-stat .stat-value {
    display: block;
    font-size: 1.8rem;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.gdpr-stat .stat-label {
    font-size: 0.7rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.gdpr-rights-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.gdpr-right {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 14px;
}

.gdpr-right strong {
    display: block;
    color: white;
    font-size: 0.95rem;
    margin-bottom: 6px;
}

.gdpr-right p {
    color: var(--text-muted);
    font-size: 0.85rem;
    margin: 0;
    line-height: 1.4;
}

/* Cookie Modal - Types */
.cookie-types {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 12px;
}

.cookie-type {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    padding: 14px;
    border-left: 3px solid;
}

.cookie-type.essential {
    border-color: #4CAF50;
}

.cookie-type.functional {
    border-color: #2196F3;
}

.cookie-type.analytics {
    border-color: #9C27B0;
}

.cookie-type.marketing {
    border-color: #FF9800;
}

.cookie-type strong {
    display: block;
    color: white;
    font-size: 0.9rem;
    margin-bottom: 4px;
}

.cookie-type p {
    color: var(--text-muted);
    font-size: 0.8rem;
    margin: 0;
}

.cookie-badge {
    display: inline-block;
    background: rgba(244, 67, 54, 0.2);
    color: #ff6b6b;
    padding: 2px 8px;
    border-radius: 10px;
    font-size: 0.65rem;
    font-weight: 600;
    margin-left: 8px;
    vertical-align: middle;
}

.cookie-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 12px;
    font-size: 0.8rem;
}

.cookie-table th,
.cookie-table td {
    padding: 10px 8px;
    text-align: left;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.cookie-table th {
    color: var(--primary-pink);
    font-weight: 600;
    background: rgba(255, 255, 255, 0.03);
}

.cookie-table td {
    color: var(--text-secondary);
}

/* Legislation Modal - Codes */
.legislation-codes {
    display: flex;
    justify-content: space-around;
    margin-bottom: 24px;
    padding: 16px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.code-item {
    text-align: center;
}

.code-item .code-value {
    display: block;
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--secondary-cyan);
}

.code-item .code-label {
    font-size: 0.7rem;
    color: var(--text-muted);
}

.legislation-item {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 16px;
    margin-top: 12px;
}

.legislation-item.main {
    border-color: rgba(76, 175, 80, 0.4);
    background: rgba(76, 175, 80, 0.05);
}

.legislation-item strong {
    color: #4CAF50;
    font-size: 0.95rem;
}

.legislation-item p {
    color: var(--text-secondary);
    font-size: 0.85rem;
    margin: 8px 0 12px;
}

.legislation-item ul {
    margin: 0;
    padding-left: 20px;
}

.legislation-item li {
    font-size: 0.85rem;
    margin-bottom: 6px;
}

/* Mobile Responsive for Legal Modals */
@media (max-width: 600px) {
    .legal-modal-content {
        padding: 24px 18px;
        max-height: 90vh;
    }

    .legal-icon {
        width: 60px;
        height: 60px;
        font-size: 1.6rem;
    }

    .legal-modal-header h3 {
        font-size: 1.3rem;
    }

    .legal-section h4 {
        font-size: 1rem;
    }

    .legal-section li,
    .legal-section p {
        font-size: 0.85rem;
    }

    .data-grid {
        grid-template-columns: 1fr;
    }

    .gdpr-stats {
        flex-direction: column;
        gap: 16px;
    }

    .gdpr-stat .stat-value {
        font-size: 1.5rem;
    }

    .legislation-codes {
        flex-direction: column;
        gap: 12px;
    }

    .cookie-table {
        font-size: 0.7rem;
    }

    .cookie-table th,
    .cookie-table td {
        padding: 8px 5px;
    }
}
