* {
    font-style: normal !important;
}

body {
    font-family: 'Inter', sans-serif;
    scroll-behavior: smooth;
}

:root {
    --primary-color: #0f172a;
    --accent-color: #2563eb;
    --gold-color: #eab308;
    --gold-bg: #fffbeb;
    --logo-dark: #1a466a;
    --logo-light: #add8e6;
}

h2 {
    font-size: 2.25rem !important;
    line-height: 2.75rem;
    font-weight: 700 !important;
    letter-spacing: -0.025em;
    text-transform: uppercase;
}

.gradient-hero {
    position: relative;
    background-image: linear-gradient(135deg, rgba(15, 23, 42, 0.9) 0%, rgba(15, 23, 42, 0.75) 100%), url('3070961.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

/* Stylizacja Logo */
.logo-wrap {
    display: flex;
    flex-direction: column;
    line-height: 1;
}
.logo-top {
    font-family: 'Poppins', sans-serif;
    display: flex;
    align-items: center;
    gap: 4px;
}
.logo-seo {
    color: var(--logo-dark);
    font-weight: 800;
    font-size: 26px;
    letter-spacing: -0.5px;
}
.logo-ai-box {
    background-color: var(--logo-light);
    color: var(--logo-dark);
    padding: 2px 8px;
    border-radius: 6px;
    font-weight: 800;
    font-size: 20px;
}
.logo-bottom {
    font-family: 'Poppins', sans-serif;
    color: var(--logo-dark);
    font-size: 10px;
    letter-spacing: 3px;
    font-weight: 700;
    margin-top: 3px;
    text-transform: uppercase;
}

/* Style Tabeli Rankingu */
.ranking-table th {
    background-color: var(--primary-color);
    color: white;
    padding: 1.25rem 1rem;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
.ranking-row:hover {
    background-color: #f8fafc;
}
.highlight-row {
    background-color: var(--gold-bg);
    border: 2px solid var(--gold-color);
}

/* Wspólna animacja Shimmer z lewej do prawej */
@keyframes shimmerRight {
    0% { background-position: -150% center; }
    100% { background-position: 150% center; }
}

/* Wolniejszy shimmer dla tła */
@keyframes shimmerSlow {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}
.animate-shimmer-slow {
    animation: shimmerSlow 8s linear infinite;
    background-size: 200% 100%;
}

/* Efekt dla tekstu w Hero */
.animate-ai-text {
    background: linear-gradient(90deg, #60a5fa 0%, #22d3ee 25%, #ffffff 50%, #22d3ee 75%, #60a5fa 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    animation: shimmerRight 3s linear infinite;
    display: inline-block;
}

/* Efekt dla tekstu na belce */
.nav-shimmer-text {
    background: linear-gradient(90deg, #475569 0%, #2563eb 25%, #60a5fa 50%, #2563eb 75%, #475569 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    animation: shimmerRight 3.5s linear infinite;
}

/* Efekt dla przycisku na belce - tło motion */
.nav-shimmer-button {
    background: linear-gradient(90deg, #2563eb 0%, #3b82f6 25%, #60a5fa 50%, #3b82f6 75%, #2563eb 100%);
    background-size: 200% auto;
    animation: shimmerRight 3.5s linear infinite;
    color: white;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

/* Tło pod napisami w Hero */
.hero-text-container {
    background: rgba(15, 23, 42, 0.45);
    backdrop-filter: blur(12px);
    padding: 3rem;
    border-radius: 3rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.gpw-tag {
    background: #dcfce7;
    color: #166534;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 10px;
    font-weight: 800;
}

/* --- ANIMOWANA RAMKA TYLKO DLA POLA URL --- */
.url-input-beam-wrapper {
    position: relative;
    padding: 2px;
    border-radius: 1.25rem;
    overflow: hidden;
    background: #f1f5f9;
}

.url-input-beam-wrapper::before {
    content: '';
    position: absolute;
    width: 200%;
    height: 200%;
    background: conic-gradient(from 0deg, transparent 70%, #2563eb, #60a5fa, #2563eb);
    top: -50%;
    left: -50%;
    animation: rotateBorder 4s linear infinite;
}

@keyframes rotateBorder {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.url-input-inner {
    position: relative;
    z-index: 1;
    background: white;
    border-radius: calc(1.25rem - 2px);
}

/* FAQ Accordion Styles */
.faq-item {
    transition: all 0.3s ease;
}
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.faq-item.active .faq-answer {
    max-height: 800px;
    padding-bottom: 1.5rem;
}
.faq-item.active .faq-icon {
    transform: rotate(180deg);
}
#mailForm input {
    border: 2px solid transparent;
}
#errorInfo {
    color: red;
    font-weight: 500;
    margin-bottom: 2rem;
}
.inputError {
    border: 2px solid red !important;
    border-radius: 1rem;
}
.mobile-open {
    display: flex !important;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: #f4f5f6;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
}