/* PDAT s.r.o. — v5-lovable production styles */

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

:root {
    --bg: hsl(220, 20%, 6%);
    --bg-card: hsl(220, 18%, 10%);
    --text: hsl(0, 0%, 95%);
    --text-dim: hsl(220, 10%, 55%);
    --primary: hsl(330, 90%, 60%);
    --accent: hsl(25, 95%, 55%);
    --border: hsl(220, 15%, 20%);
    --border-half: hsla(220, 15%, 20%, 0.5);
    --gradient: linear-gradient(135deg, hsl(330, 90%, 60%) 0%, hsl(25, 95%, 55%) 100%);
    --gradient-hover: linear-gradient(135deg, hsl(330, 90%, 65%) 0%, hsl(25, 95%, 60%) 100%);
    --gradient-text: linear-gradient(135deg, hsl(330, 90%, 65%) 0%, hsl(25, 95%, 60%) 50%, hsl(330, 90%, 65%) 100%);
    --glass-bg: hsla(220, 18%, 10%, 0.6);
    --glass-border: hsla(220, 15%, 25%, 0.5);
    --shadow-glow: 0 0 30px hsla(330, 90%, 60%, 0.15);
    --radius: 0.75rem;

    /* Logo color — change here to recolor the logo everywhere */
    --logo-color: hsl(25, 95%, 55%);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', system-ui, sans-serif;
    background-color: var(--bg);
    color: var(--text);
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
}

.container {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

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

/* ── Custom Scrollbar ────────────────────────────────── */

::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: hsl(220, 10%, 28%); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--primary); }

/* ── Utility Classes ─────────────────────────────────── */

.glass {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
}

.gradient-text {
    background-image: var(--gradient-text);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradient-shift 8s ease infinite;
}

.gradient-bg {
    background: var(--gradient);
}

.grid-pattern {
    background-image:
        linear-gradient(hsla(220, 15%, 17%, 0.5) 1px, transparent 1px),
        linear-gradient(90deg, hsla(220, 15%, 17%, 0.5) 1px, transparent 1px);
    background-size: 60px 60px;
}

/* ── Scroll Reveal ───────────────────────────────────── */

.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* ── Animations ──────────────────────────────────────── */

@keyframes gradient-shift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

@keyframes pulse-slow {
    0%, 100% { opacity: 0.4; }
    50% { opacity: 0.8; }
}

@keyframes slide-up {
    0% { opacity: 0; transform: translateY(30px); }
    100% { opacity: 1; transform: translateY(0); }
}

@keyframes fade-in {
    0% { opacity: 0; }
    100% { opacity: 1; }
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

@keyframes bounce-slow {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(6px); }
}

.animate-pulse-slow { animation: pulse-slow 4s ease-in-out infinite; }
.animate-slide-up { animation: slide-up 0.6s ease-out forwards; }
.animate-fade-in { animation: fade-in 0.8s ease-out forwards; }

/* ── Header ──────────────────────────────────────────── */

header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 1rem 3rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    transition: all 0.3s;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
}

.logo span {
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--text);
    -webkit-text-fill-color: var(--text);
}

.logo-icon {
    width: 32px;
    height: 32px;
    flex-shrink: 0;
}

.logo-icon circle,
.logo-icon path,
.logo-icon line {
    stroke: var(--logo-color);
}

.logo-triangle {
    transform-origin: 15px 16px;
    will-change: transform;
}

nav {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

nav a {
    color: var(--text-dim);
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
    transition: color 0.2s;
}

nav a:hover {
    color: var(--text);
}

.nav-cta {
    padding: 0.625rem 1.25rem;
    background: var(--gradient);
    color: white !important;
    border-radius: 8px;
    font-weight: 500;
    font-size: 0.875rem;
    transition: all 0.2s;
}

.nav-cta:hover {
    box-shadow: var(--shadow-glow);
}

/* ── Language Switcher ───────────────────────────────── */

.lang-switch {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.25rem;
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 8px;
}

.lang-btn {
    padding: 0.375rem 0.75rem;
    background: none;
    border: none;
    color: var(--text-dim);
    font-family: inherit;
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    border-radius: 6px;
    transition: all 0.2s;
}

.lang-btn:hover {
    color: var(--text);
}

.lang-btn.is-active {
    background: var(--gradient);
    color: white;
}

/* ── Hero ────────────────────────────────────────────── */

.hero {
    min-height: 100vh;
    padding: 8rem 3rem 4rem;
    text-align: center;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-bg-grid {
    position: absolute;
    inset: 0;
    opacity: 0.3;
}

.hero-bg-glow {
    position: absolute;
    top: 25%;
    left: 50%;
    transform: translateX(-50%);
    width: 800px;
    height: 800px;
    border-radius: 50%;
    background: radial-gradient(circle, hsla(330, 90%, 60%, 0.15) 0%, hsla(25, 95%, 55%, 0.1) 40%, transparent 70%);
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
    margin: 0 auto;
}

.hero-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1.25rem;
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 9999px;
    font-size: 0.8rem;
    color: var(--text-dim);
    margin-bottom: 2.5rem;
    animation: fade-in 0.8s ease-out;
}

.hero-pill .dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--gradient);
    animation: pulse-slow 2s ease-in-out infinite;
}

.hero h1 {
    font-size: 6rem;
    font-weight: 700;
    line-height: 1;
    letter-spacing: -2px;
    margin-bottom: 1.5rem;
    animation: slide-up 0.6s ease-out;
}

.hero h1 .grad {
    background-image: var(--gradient-text);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradient-shift 8s ease infinite;
}

.hero-text {
    font-size: 1.25rem;
    color: var(--text-dim);
    line-height: 1.5;
    max-width: 560px;
    margin: 0 auto 3rem;
    animation: fade-in 0.8s ease-out 0.2s both;
}

.hero-btns {
    display: flex;
    gap: 1rem;
    justify-content: center;
    animation: fade-in 0.8s ease-out 0.4s both;
}

.btn-grad {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.85rem 2rem;
    background: var(--gradient);
    color: white;
    font-family: inherit;
    font-size: 0.9rem;
    font-weight: 700;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    text-decoration: none;
    transition: transform 0.2s, box-shadow 0.2s;
}

.btn-grad:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px hsla(330, 90%, 60%, 0.3);
}

.btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.85rem 2rem;
    background: hsla(220, 15%, 15%, 0.5);
    color: var(--text);
    font-family: inherit;
    font-size: 0.9rem;
    font-weight: 600;
    border: 1px solid var(--border);
    border-radius: 10px;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.2s;
}

.btn-outline:hover {
    border-color: var(--text-dim);
    background: hsla(220, 15%, 15%, 0.8);
}

.hero-scroll {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    color: var(--text-dim);
    text-decoration: none;
    animation: bounce-slow 2s ease-in-out infinite;
    opacity: 0.5;
    transition: opacity 0.2s;
}

.hero-scroll:hover {
    opacity: 1;
}

/* ── Stats ───────────────────────────────────────────── */

.stats {
    padding: 4rem 3rem;
}

.stats-card {
    max-width: 1100px;
    margin: 0 auto;
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 3.5rem 2rem;
}

.stats-inner {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    text-align: center;
}

.stat-value {
    font-size: 3rem;
    font-weight: 700;
    letter-spacing: -1px;
    margin-bottom: 0.35rem;
    background-image: var(--gradient-text);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradient-shift 8s ease infinite;
}

.stat-label {
    font-size: 0.7rem;
    color: var(--text-dim);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

/* ── Features ────────────────────────────────────────── */

.features {
    padding: 5rem 3rem;
}

.features-inner {
    max-width: 1100px;
    margin: 0 auto;
}

.features-header {
    text-align: center;
    margin-bottom: 3.5rem;
}

.features-header h2 {
    font-size: 3rem;
    font-weight: 700;
    letter-spacing: -1px;
    margin-bottom: 0.75rem;
}

.features-header p {
    color: var(--text-dim);
    font-size: 1.05rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
}

.feature-card {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 2rem 2.5rem;
    transition: all 0.3s;
    display: flex;
    align-items: flex-start;
    gap: 1.25rem;
}

.feature-card:hover {
    border-color: var(--border);
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
}

.feature-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    flex-shrink: 0;
}

.feature-icon.purple {
    background: linear-gradient(135deg, hsla(330, 90%, 60%, 0.2), hsla(25, 95%, 55%, 0.2));
    color: var(--primary);
}

.feature-icon.pink {
    background: linear-gradient(135deg, hsla(330, 90%, 60%, 0.2), hsla(25, 95%, 55%, 0.2));
    color: var(--accent);
}

.feature-icon.orange {
    background: linear-gradient(135deg, hsla(330, 90%, 60%, 0.2), hsla(25, 95%, 55%, 0.2));
    color: var(--primary);
}

.feature-icon.mixed {
    background: linear-gradient(135deg, hsla(330, 90%, 60%, 0.2), hsla(25, 95%, 55%, 0.2));
    color: var(--accent);
}

.feature-body {
    flex: 1;
}

.feature-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.feature-desc {
    font-size: 0.9rem;
    color: var(--text-dim);
    line-height: 1.6;
}

/* ── Philosophy ──────────────────────────────────────── */

.philosophy {
    padding: 5rem 3rem;
}

.philosophy-inner {
    max-width: 1100px;
    margin: 0 auto;
}

.philosophy-header {
    text-align: center;
    margin-bottom: 3.5rem;
}

.philosophy-header h2 {
    font-size: 3rem;
    font-weight: 700;
    letter-spacing: -1px;
    margin-bottom: 0.75rem;
}

.philosophy-header p {
    color: var(--text-dim);
    font-size: 1.05rem;
}

.philosophy-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
}

.phil-card {
    padding: 2.5rem;
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    transition: all 0.3s;
}

.phil-card:hover {
    border-color: var(--border);
    box-shadow: var(--shadow-glow);
}

.phil-num {
    font-size: 3.5rem;
    font-weight: 700;
    background-image: var(--gradient-text);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradient-shift 8s ease infinite;
    line-height: 1;
    margin-bottom: 1rem;
    opacity: 0.7;
}

.phil-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.phil-text {
    font-size: 0.9rem;
    color: var(--text-dim);
    line-height: 1.6;
}

/* ── CTA ─────────────────────────────────────────────── */

.cta {
    padding: 6rem 3rem;
    text-align: center;
    position: relative;
}

.cta-grid {
    position: absolute;
    inset: 0;
    opacity: 0.2;
}

.cta-glow {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 1000px;
    height: 400px;
    border-radius: 50%;
    background: linear-gradient(to top, hsla(330, 90%, 60%, 0.2), transparent);
    filter: blur(100px);
    pointer-events: none;
}

.cta-card {
    max-width: 900px;
    margin: 0 auto;
    padding: 4rem 3rem;
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    position: relative;
    z-index: 1;
    box-shadow: var(--shadow-glow);
}

.cta h2 {
    font-size: 3rem;
    font-weight: 700;
    letter-spacing: -1px;
    margin-bottom: 1rem;
    position: relative;
}

.cta p {
    color: var(--text-dim);
    font-size: 1.05rem;
    margin-bottom: 2rem;
    position: relative;
}

.cta .btn-grad {
    position: relative;
}

/* ── Footer ──────────────────────────────────────────── */

footer {
    border-top: 1px solid var(--border);
    font-size: 0.85rem;
    color: var(--text-dim);
}

.footer-main {
    max-width: 1100px;
    margin: 0 auto;
    padding: 3rem 3rem 2rem;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 3rem;
}

.footer-brand .logo {
    margin-bottom: 0.75rem;
}

.footer-brand .footer-company-name {
    color: var(--text-dim);
    font-size: 0.85rem;
}

.footer-col h4 {
    color: var(--text);
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.footer-col ul {
    list-style: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.footer-col li {
    font-size: 0.8rem;
    line-height: 1.5;
    color: var(--text-dim);
}

.footer-col li strong {
    color: var(--text-dim);
    font-weight: 600;
}

.footer-bottom {
    max-width: 1100px;
    margin: 0 auto;
    padding: 1.5rem 3rem;
    border-top: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8rem;
}

.footer-bottom a {
    color: var(--text-dim);
    transition: color 0.2s;
}

.footer-bottom a:hover {
    color: var(--text);
}

/* ── Responsive ──────────────────────────────────────── */

@media (max-width: 900px) {
    header {
        padding: 1rem 2rem;
    }

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

    .hero h1 {
        font-size: 3.5rem;
        letter-spacing: -1.5px;
    }

    .hero-bg-glow {
        width: 500px;
        height: 500px;
    }

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

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

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

    .footer-main {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

@media (max-width: 600px) {
    header {
        padding: 1rem 1.5rem;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    nav a:not(.nav-cta) {
        display: none;
    }

    .lang-switch {
        display: none;
    }

    .hero-btns {
        flex-direction: column;
        align-items: center;
    }

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

    .stat-value {
        font-size: 2rem;
    }

    .feature-card {
        flex-direction: column;
    }

    .cta-card {
        padding: 3rem 1.5rem;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 0.75rem;
        text-align: center;
    }
}