:root {
    --primary-color: #020912;
    --secondary-color: #050f1f;
    --accent-color: #c5a059;
    --accent-hover: #e8c97a;
    --accent-glow: rgba(197, 160, 89, 0.35);
    --gold-light: #ffe89a;

    --text-main: #f0f4ff;
    --text-muted: #7a8aaa;

    --glass-bg: rgba(8, 20, 42, 0.55);
    --glass-border: rgba(197, 160, 89, 0.12);
    --glass-blur: blur(18px);

    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
}

*, *::before, *::after {
    margin: 0; padding: 0;
    box-sizing: border-box;
}

html { scroll-behavior: smooth; }

body {
    background-color: var(--primary-color);
    color: var(--text-main);
    font-family: var(--font-body);
    overflow-x: hidden;
    line-height: 1.7;
    /* Aurora animated background */
    background-image:
        radial-gradient(ellipse 80% 50% at 20% 10%, rgba(197,160,89,0.06) 0%, transparent 60%),
        radial-gradient(ellipse 60% 40% at 80% 90%, rgba(56,108,200,0.05) 0%, transparent 60%);
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
}

a { text-decoration: none; color: inherit; transition: color 0.3s ease; }

.text-accent { color: var(--accent-color); }

.container { max-width: 1300px; margin: 0 auto; padding: 0 2.5rem; }

/* ─── NAV ─── */
.glass-nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    height: 76px;
    z-index: 1000;
    display: flex;
    align-items: center;
    transition: all 0.5s ease;
    border-bottom: 1px solid transparent;
}

.glass-nav.scrolled {
    background: rgba(2, 9, 18, 0.85);
    backdrop-filter: blur(24px) saturate(1.5);
    border-bottom: 1px solid var(--glass-border);
    box-shadow: 0 4px 30px rgba(0,0,0,0.4);
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo-text {
    font-family: var(--font-heading);
    font-size: 1.9rem;
    font-weight: 800;
    letter-spacing: 2px;
    background: linear-gradient(135deg, #fff 40%, var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.desktop-menu {
    display: flex;
    align-items: center;
    gap: 2.2rem;
}

.desktop-menu a {
    font-size: 0.92rem;
    font-weight: 500;
    color: rgba(240,244,255,0.8);
    position: relative;
    letter-spacing: 0.3px;
    transition: color 0.3s;
}

.desktop-menu a:hover { color: var(--accent-color); }

.desktop-menu a::after {
    content: '';
    position: absolute;
    width: 0; height: 1px;
    bottom: -5px; left: 0;
    background: linear-gradient(90deg, var(--accent-color), var(--gold-light));
    transition: width 0.35s ease;
}

.desktop-menu a:hover::after { width: 100%; }

/* ─── CTA BUTTON ─── */
.cta-button {
    background: linear-gradient(135deg, #a87830, var(--accent-color), #e8c97a, var(--accent-color));
    background-size: 300% 300%;
    color: #09160a;
    padding: 0.75rem 1.8rem;
    border-radius: 50px;
    font-weight: 800;
    font-size: 0.88rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    display: inline-block;
    border: none;
    cursor: pointer;
    animation: movingGradient 4s ease infinite;
    transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
    text-shadow: none;
    box-shadow: 0 0 20px rgba(197,160,89,0.5), inset 0 1px 0 rgba(255,255,255,0.3);
    position: relative;
    overflow: hidden;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0; left: -100%;
    width: 60%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transform: skewX(-20deg);
    transition: none;
}

.cta-button:hover::before { animation: btn-shine 0.6s ease; }

@keyframes btn-shine {
    from { left: -100%; }
    to   { left: 200%; }
}

.cta-button::after { display: none !important; }

.cta-button:hover {
    transform: translateY(-4px) scale(1.04);
    color: #05100a;
    box-shadow: 0 12px 40px rgba(197,160,89,0.7), 0 0 60px rgba(197,160,89,0.3);
}

.cta-button.large { padding: 1.1rem 2.5rem; font-size: 1rem; }

/* ─── DROPDOWN ─── */
.dropdown { position: relative; }

.dropdown-menu {
    position: absolute;
    top: calc(100% + 12px);
    left: 0;
    background: rgba(5, 15, 31, 0.95);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 0.75rem 0;
    min-width: 270px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: all 0.3s cubic-bezier(0.34,1.56,0.64,1);
    display: flex;
    flex-direction: column;
    backdrop-filter: blur(20px);
    box-shadow: 0 20px 60px rgba(0,0,0,0.6);
}

.dropdown:hover .dropdown-menu {
    opacity: 1; visibility: visible; transform: translateY(0);
}

.dropdown-menu a, .dropdown-menu span {
    padding: 0.7rem 1.5rem;
    display: block;
    cursor: pointer;
    font-size: 0.9rem;
    color: var(--text-muted);
    transition: all 0.2s;
    border-left: 2px solid transparent;
}

.dropdown-menu a:hover, .dropdown-menu span:hover {
    background: rgba(197,160,89,0.07);
    color: var(--accent-color);
    border-left-color: var(--accent-color);
    padding-left: 1.8rem;
}

.lang-selector { display: flex; align-items: center; gap: 0.5rem; cursor: pointer; }
.lang-menu { min-width: 130px; left: auto; right: 0; }

.mobile-menu-btn { display: none; background: none; border: none; color: white; cursor: pointer; }

/* ─── AUDIO ─── */
.audio-controller {
    position: fixed;
    bottom: 32px; left: 32px;
    z-index: 99;
    display: flex; align-items: center; gap: 0.6rem;
    background: rgba(5,15,31,0.7);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(20px);
    padding: 0.6rem 1.2rem;
    border-radius: 40px;
    cursor: pointer;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    transition: all 0.3s ease;
    color: var(--text-muted);
}

.audio-controller:hover {
    border-color: var(--accent-color);
    color: var(--accent-color);
    box-shadow: 0 0 20px var(--accent-glow);
}

/* ─── FLOATING SOCIALS ─── */
.floating-socials {
    position: fixed;
    bottom: 32px; right: 32px;
    z-index: 99;
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
}

.social-btn {
    width: 52px; height: 52px;
    border-radius: 50%;
    display: flex; justify-content: center; align-items: center;
    background: rgba(5,15,31,0.7);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(16px);
    transition: all 0.35s cubic-bezier(0.34,1.56,0.64,1);
    color: var(--text-muted);
}

.social-btn:hover { transform: scale(1.18) translateY(-3px); }
.social-btn.whatsapp:hover { background: #25D366; border-color: #25D366; color: #fff; box-shadow: 0 8px 25px rgba(37,211,102,0.5); }
.social-btn.telegram:hover { background: #0088cc; border-color: #0088cc; color: #fff; box-shadow: 0 8px 25px rgba(0,136,204,0.5); }

/* ─── FOOTER ─── */
.main-footer {
    background: #010509;
    border-top: 1px solid var(--glass-border);
    margin-top: 5rem;
}

.footer-cta {
    background: linear-gradient(135deg, rgba(197,160,89,0.08), rgba(2,9,18,0.8));
    padding: 6rem 2rem;
    text-align: center;
    border-bottom: 1px solid var(--glass-border);
    position: relative;
    overflow: hidden;
}

.footer-cta::before {
    content: '';
    position: absolute;
    top: 50%; left: 50%;
    width: 600px; height: 300px;
    background: radial-gradient(ellipse, rgba(197,160,89,0.12), transparent 70%);
    transform: translate(-50%,-50%);
    pointer-events: none;
}

.footer-cta h2 { font-size: 2.8rem; margin-bottom: 1rem; }
.footer-cta p { color: var(--text-muted); font-size: 1.15rem; margin-bottom: 2.5rem; }

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 4rem;
    padding: 5rem 2rem;
}

.footer-col h4 { font-size: 1.1rem; margin-bottom: 1.5rem; color: var(--accent-color); letter-spacing: 0.5px; }
.footer-col a { display: block; margin-bottom: 0.8rem; color: var(--text-muted); font-size: 0.9rem; transition: all 0.2s; }
.footer-col a:hover { color: white; padding-left: 4px; }

.footer-social { display: flex; gap: 1rem; margin-top: 1.5rem; }
.footer-social a { color: var(--text-muted); transition: color 0.3s; }
.footer-social a:hover { color: var(--accent-color); }

.contact-info p { display: flex; align-items: center; gap: 0.6rem; margin-bottom: 1rem; color: var(--text-muted); font-size: 0.9rem; }

.footer-bottom {
    text-align: center;
    padding: 2rem;
    border-top: 1px solid var(--glass-border);
    color: var(--text-muted);
    font-size: 0.85rem;
}

/* ─── SCROLL PROGRESS ─── */
.scroll-progress-container {
    position: fixed; top: 0; left: 0;
    width: 100%; height: 3px;
    background: transparent;
    z-index: 10001;
}

.scroll-progress-bar {
    height: 100%; width: 0%;
    background: linear-gradient(90deg, var(--accent-color), var(--gold-light), var(--accent-color));
    background-size: 200% 100%;
    animation: shimmerBar 2s linear infinite;
    box-shadow: 0 0 12px var(--accent-color);
    transition: width 0.1s linear;
}

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

/* ─── CUSTOM CURSOR ─── */
body { cursor: none; }
a, button, input, textarea, .glass-card { cursor: none; }

.custom-cursor-dot {
    position: fixed; top: 50%; left: 50%;
    width: 6px; height: 6px;
    background: #fff;
    border-radius: 50%;
    pointer-events: none;
    z-index: 10002;
    transform: translate(-50%, -50%);
    transition: width 0.15s, height 0.15s;
}

.custom-cursor-glow {
    position: fixed; top: 50%; left: 50%;
    width: 36px; height: 36px;
    border: 1.5px solid rgba(197,160,89,0.6);
    border-radius: 50%;
    pointer-events: none;
    z-index: 10001;
    transform: translate(-50%, -50%);
    transition: width 0.25s ease-out, height 0.25s ease-out, background 0.25s, border-color 0.25s;
}

.custom-cursor-glow.hover-effect {
    width: 56px; height: 56px;
    background: rgba(197,160,89,0.12);
    border-color: rgba(197,160,89,0.9);
}

/* ─── FLOAT UTILITY ─── */
@keyframes floatY {
    0% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0); }
}
.float-effect { animation: floatY 6s ease-in-out infinite; }

/* ─── HERO CLASSES ─── */
.hero-full {
    height: 100vh;
    min-height: 600px;
}

.hero-container {
    position: relative;
    z-index: 2;
    padding-top: 80px;
}

.hero-content {
    max-width: 820px;
}

.hero-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    background: rgba(197,160,89,0.1);
    border: 1px solid rgba(197,160,89,0.3);
    border-radius: 40px;
    padding: 0.5rem 1.2rem;
    margin-bottom: 2rem;
    font-size: 0.82rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--accent-color);
}

.hero-title {
    font-size: 4.2rem;
    margin-bottom: 1.8rem;
    line-height: 1.05;
    letter-spacing: -1px;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 3rem;
    max-width: 580px;
    line-height: 1.85;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    align-items: center;
}

.hero-btn-primary {
    font-size: 1.05rem;
    padding: 1rem 2.2rem;
}

.hero-btn-secondary {
    padding: 1rem 2.2rem;
    border-radius: 50px;
    border: 1px solid var(--glass-border);
    background: rgba(255,255,255,0.04);
    color: var(--text-muted);
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s;
    letter-spacing: 0.5px;
    font-family: var(--font-body);
}

.hero-btn-secondary:hover,
.hero-btn-secondary.hovered {
    border-color: var(--accent-color);
    color: var(--accent-color);
}

.hero-badges {
    display: flex;
    gap: 1.2rem;
    margin-top: 5rem;
    flex-wrap: wrap;
}

/* ─── GRID CLASSES ─── */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    text-align: center;
}

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

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

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

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

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    max-width: 800px;
    margin: 0 auto;
}

/* ─── RESPONSIVE ─── */
@media(max-width: 1024px) {
    .desktop-menu { gap: 1.5rem; }
    .hero-title { font-size: 3.4rem; }
}

@media(max-width: 900px) {
    .desktop-menu { display: none; }
    .mobile-menu-btn { display: block; }
    .footer-grid { grid-template-columns: 1fr; gap: 2.5rem; }
    .container { padding: 0 1.5rem; }
}

@media(max-width: 768px) {
    .hero-full {
        height: auto;
        min-height: 100svh;
    }
    .hero-container { padding-top: 100px; padding-bottom: 2rem; }
    .hero-content { max-width: 100%; }
    .hero-title {
        font-size: clamp(1.9rem, 6vw, 2.6rem);
        margin-bottom: 1.2rem;
        letter-spacing: -0.5px;
        line-height: 1.15;
    }
    .hero-subtitle {
        font-size: 1rem;
        max-width: 100%;
        margin-bottom: 2rem;
    }
    .hero-buttons {
        flex-direction: column;
        align-items: stretch;
        gap: 0.8rem;
    }
    .hero-btn-primary,
    .hero-btn-secondary {
        width: 100%;
        text-align: center;
        font-size: 1rem;
        padding: 0.95rem 1.5rem;
    }
    .hero-badges {
        margin-top: 2.5rem;
        gap: 0.6rem;
    }
    .team-grid {
        grid-template-columns: 1fr 1fr;
        gap: 1rem;
    }
    .services-grid { grid-template-columns: 1fr; gap: 1.2rem; }
    .audience-grid { grid-template-columns: 1fr 1fr; gap: 1rem; }
    .why-poland-grid { grid-template-columns: 1fr; gap: 1.2rem; }
    .cities-grid { grid-template-columns: 1fr; gap: 1.2rem; }
    .contact-grid { grid-template-columns: 1fr; gap: 1.2rem; }
}

@media(max-width: 480px) {
    .hero-title { font-size: clamp(1.65rem, 7vw, 2rem); }
    .team-grid { grid-template-columns: 1fr; }
    .audience-grid { grid-template-columns: 1fr; }
    .footer-cta h2 { font-size: 1.5rem; }
}

/* ─── WHY US SECTION ─── */
.why-us-section { position: relative; }

@media(max-width: 768px) {
    .why-us-section { padding: 5rem 0 !important; }
    .why-us-title {
        font-size: 2rem !important;
        max-width: 100% !important;
        margin-bottom: 1.5rem !important;
    }
    .why-us-subtitle {
        font-size: 1rem !important;
        max-width: 100% !important;
        margin-bottom: 2rem !important;
    }
    .about-title { font-size: 2.2rem !important; }
    .contact-hero { padding-top: 100px !important; padding-bottom: 5rem !important; }
    .contact-h1 { font-size: clamp(1.9rem, 7vw, 2.6rem) !important; }
    .contact-address { margin-top: 3rem !important; }
    .service-hero-title { font-size: 2rem !important; }
    .service-hero-subtitle { font-size: 1rem !important; }
}
