/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

/* Root Variables - Logo Based Theme */
:root {
    --bg-primary: #0b0f14;
    --bg-secondary: #0f1720;
    --bg-card: rgba(15, 23, 32, 0.75);

    --accent-primary: #00e0a4;
    --accent-secondary: #00b894;
    --accent-glow: rgba(0, 224, 164, 0.35);

    --text-primary: #ffffff;
    --text-secondary: #9ca3af;
    --border-color: rgba(255, 255, 255, 0.08);
}

/* Global Styles */
* {
    font-family: 'Inter', sans-serif;
}

body {
    background: radial-gradient(circle at top, #101820 0%, #0b0f14 60%);
    color: var(--text-primary);
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: var(--bg-primary);
}
::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--accent-primary), var(--accent-secondary));
    border-radius: 10px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--accent-primary);
}

/* Placeholder */
::placeholder {
    color: var(--text-secondary);
    opacity: 1;
}

/* Gradient Glow Section */
.gradient-glow {
    background: linear-gradient(135deg, #0f1720 0%, #0b0f14 100%);
    box-shadow: 0 0 60px var(--accent-glow);
    border: 1px solid var(--border-color);
    backdrop-filter: blur(15px);
}

/* Primary Button */
.btn-primary {
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    color: #0b0f14;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
}

.btn-primary:hover {
    box-shadow: 0 0 25px var(--accent-glow);
    transform: translateY(-3px);
}

/* Secondary Button */
.btn-secondary {
    background: transparent;
    border: 1px solid var(--accent-primary);
    color: var(--accent-primary);
    transition: 0.3s ease;
}

.btn-secondary:hover {
    background: rgba(0, 224, 164, 0.08);
    box-shadow: 0 0 15px var(--accent-glow);
}

/* Feature Card */
.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    backdrop-filter: blur(20px);
    border-radius: 14px;
    transition: 0.3s ease;
}

.feature-card:hover {
    border-color: var(--accent-primary);
    box-shadow: 0 0 35px rgba(0, 224, 164, 0.15);
    transform: translateY(-6px);
}

/* Stat Card */
.stat-card {
    background: rgba(0, 224, 164, 0.05);
    border: 1px solid rgba(0, 224, 164, 0.15);
    backdrop-filter: blur(10px);
    border-radius: 12px;
}

/* Section Title */
.section-title {
    background: linear-gradient(90deg, #ffffff, var(--accent-primary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Step Number */
.step-number {
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 20px;
    font-weight: bold;
    color: #0b0f14;
    box-shadow: 0 0 20px var(--accent-glow);
}

/* Command Card */
.command-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    backdrop-filter: blur(15px);
    transition: 0.3s ease;
}

.command-card:hover {
    border-color: var(--accent-primary);
    box-shadow: 0 0 25px rgba(0, 224, 164, 0.15);
}

/* Category Badge */
.category-badge {
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    color: #0b0f14;
    font-weight: 600;
}

/* Permission Badge */
.permission-badge {
    background: rgba(255, 59, 59, 0.15);
    border: 1px solid rgba(255, 59, 59, 0.4);
    color: #ff6b6b;
}

.copy-command {
    position: relative;
    transition: text-shadow 0.2s ease, transform 0.15s ease;
}

.copy-command::after {
    content: "Kliknij aby skopiować";
    position: absolute;
    bottom: 130%;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(15, 23, 32, 0.95);
    color: #00e0a4;
    font-size: 12px;
    padding: 6px 10px;
    border-radius: 6px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    border: 1px solid rgba(0,224,164,.3);
    transition: opacity .15s ease, transform .15s ease;
}

.copy-command:hover::after {
    opacity: 1;
    transform: translateX(-50%) translateY(-4px);
}

.copy-command.glow {
    text-shadow:
        0 0 6px rgba(0,224,164,.8),
        0 0 14px rgba(0,224,164,.6),
        0 0 24px rgba(0,224,164,.4);
    transform: scale(1.03);
}

.dev-progress {
    position: absolute;
    bottom: 0;
    left: -40%;
    height: 3px;
    width: 40%;
    background: linear-gradient(
        90deg,
        transparent,
        #00e0a4,
        transparent
    );
    animation: devLoad 1.6s infinite ease-in-out;
}

@keyframes devLoad {
    0% { left: -40%; }
    100% { left: 100%; }
}

.flip-card { perspective: 1200px; }

.flip-inner {
    transition: transform .65s cubic-bezier(.4,.2,.2,1);
    transform-style: preserve-3d;
}

.flip-card.flipped .flip-inner {
    transform: rotateY(180deg);
}

.flip-face { backface-visibility: hidden; }

.flip-back {
    position: absolute;
    inset: 0;
    transform: rotateY(180deg);
}

.flip-card.flash {
    box-shadow:
        0 0 14px rgba(0,224,164,.7),
        0 0 35px rgba(0,224,164,.45);
}

[data-category] {
    transition: opacity .2s ease, transform .2s ease;
}

mark {
    font-weight: 600;
}

.premium-link:hover {
    color: #facc15; /* złoty */
    text-shadow:
        0 0 6px rgba(250,204,21,.6),
        0 0 14px rgba(250,204,21,.35);
}

.premium-link:hover::before {
    content: "⭐";
    margin-right: 4px;
    animation: starPop .4s ease;
}

@keyframes starPop {
    0% { transform: scale(.6) translateY(4px); opacity: 0; }
    60% { transform: scale(1.2) translateY(-2px); opacity: 1; }
    100% { transform: scale(1) translateY(0); }
}

#scrollTopBtn{
    animation: floatUp 2.5s ease-in-out infinite;
}

@keyframes floatUp{
    0%,100%{transform:translateY(0)}
    50%{transform:translateY(-6px)}
}

#scrollTopBtn{
animation:pulseGlow 2s infinite;
}

@keyframes pulseGlow{
0%{box-shadow:0 0 6px #00e0a4}
50%{box-shadow:0 0 18px #00e0a4}
100%{box-shadow:0 0 6px #00e0a4}
}

@keyframes bottomBounce{
0%{transform:translateY(0)}
40%{transform:translateY(-10px)}
70%{transform:translateY(0)}
100%{transform:translateY(-4px)}
}

#scrollWrapper.bounce{
animation:bottomBounce .6s ease;
}

.inline-info{
    display:inline-flex;
    align-items:center;
    gap:6px;
}

.inline-info-dot{
    width:16px;
    height:16px;
    border-radius:50%;
    background:#00e0a4;
    color:#06261e;
    font-size:11px;
    font-weight:700;
    display:flex;
    align-items:center;
    justify-content:center;
    cursor:pointer;
    position:relative; /* anchor */
}

.inline-tooltip{
    position:absolute;
    bottom:-10px;
    left:50%;
    transform:translate(-50%, 100%) scale(.95);

    width:190px;
    background:#0b0f14;
    color:#e5e7eb;

    font-size:10.5px;        /* mniejszy */
    font-weight:400;        /* bez pogrubienia */
    line-height:1.45;       /* lepszy flow */

    padding:7px 10px;
    border-radius:8px;
    border:1px solid rgba(0,224,164,.35);
    box-shadow:0 12px 26px rgba(0,0,0,.6);

    opacity:0;
    pointer-events:none;
    transition:.18s ease;
    z-index:80;
}

.inline-tooltip strong{
  color:#00e0a4;
  font-weight:500;
}

/* arrow */
.inline-tooltip::before{
    content:"";
    position:absolute;
    top:-5px;
    left:50%;
    transform:translateX(-50%) rotate(45deg);
    width:8px;
    height:8px;
    background:#0b0f14;
    border-left:1px solid rgba(0,224,164,.35);
    border-top:1px solid rgba(0,224,164,.35);
}

/* show with float in */
.inline-info-dot:hover .inline-tooltip,
.inline-info-dot.active .inline-tooltip{
    opacity:1;
    transform:translate(-50%, 110%) scale(1);
    pointer-events:auto;
}

.faq-answer{
max-height:0;
overflow:hidden;
opacity:0;
transition:max-height .35s ease,opacity .25s ease;
}

.faq-item.active .faq-answer{
max-height:300px;
opacity:1;
}

.faq-item.active{
border-color:#00e0a4;
box-shadow:0 0 12px rgba(0,224,164,.35),0 0 24px rgba(0,224,164,.15);
}

.faq-question span:last-child{
transition:transform .3s ease;
}

.faq-item.active .faq-question span:last-child{
transform:rotate(180deg);
}

mark{
background:rgba(0,224,164,.25);
padding:2px 4px;
border-radius:4px;
color:white;
}

.faq-item{
    transition: transform .25s ease, box-shadow .25s ease;
}

.faq-item:hover{
    transform: translateY(-3px);
    box-shadow: 0 0 10px rgba(0,224,164,.15);
}