/* ==========================================
   HERO - WittyOS
   ========================================== */
.wos-hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    margin-top: 80px;
    padding: 4rem 5%;
    overflow: hidden;
    background: linear-gradient(135deg, #0a0e27 0%, #0d1829 50%, #0a0e27 100%);
}

.wos-hero-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.35;
    animation: float 18s infinite ease-in-out;
}

.wos-glow-1 {
    width: 700px;
    height: 700px;
    background: var(--cyan);
    top: -250px;
    left: -250px;
}

.wos-glow-2 {
    width: 500px;
    height: 500px;
    background: var(--violet);
    bottom: -150px;
    right: -150px;
    animation-delay: -7s;
}

.wos-glow-3 {
    width: 350px;
    height: 350px;
    background: var(--blue);
    top: 60%;
    left: 40%;
    animation-delay: -13s;
}

/* Grid overlay */
.wos-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(0, 212, 255, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 212, 255, 0.04) 1px, transparent 1px);
    background-size: 60px 60px;
    pointer-events: none;
}

/* Ghost watermark */
.wos-hero-ghost {
    position: absolute;
    right: -2%;
    top: 50%;
    transform: translateY(-50%);
    font-size: clamp(8rem, 18vw, 18rem);
    font-weight: 900;
    letter-spacing: -0.05em;
    color: transparent;
    -webkit-text-stroke: 1px rgba(0, 212, 255, 0.07);
    pointer-events: none;
    user-select: none;
    white-space: nowrap;
    z-index: 1;
}

.wos-hero-inner {
    position: relative;
    z-index: 10;
    max-width: 1600px;
    margin: 0 auto;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

/* ---- Left: tekst ---- */
.wos-hero-text {
    display: flex;
    flex-direction: column;
    gap: 1.4rem;
}

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

.wos-hero-badge {
    display: inline-block;
    padding: 0.45rem 1.2rem;
    background: rgba(0, 212, 255, 0.1);
    border: 1px solid rgba(0, 212, 255, 0.35);
    border-radius: 4px;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--cyan);
}

/* Pulsujący IN DEV pill */
.wos-status-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.45rem 1rem;
    background: rgba(255, 60, 60, 0.1);
    border: 1px solid rgba(255, 60, 60, 0.35);
    border-radius: 4px;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 2px;
    color: #ff4444;
}

.wos-status-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #ff4444;
    box-shadow: 0 0 6px #ff4444;
    animation: wos-pulse 1.5s ease-in-out infinite;
    flex-shrink: 0;
}

@keyframes wos-pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.4; transform: scale(0.7); }
}

.wos-hero-title {
    font-size: clamp(3.5rem, 9vw, 6.5rem);
    font-weight: 900;
    line-height: 1;
    letter-spacing: -0.02em;
    background: linear-gradient(135deg, #fff 0%, var(--cyan) 50%, var(--violet) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: -0.2rem;
}

/* Tagline pod tytułem */
.wos-hero-tagline {
    font-size: clamp(1.4rem, 3vw, 2rem);
    font-weight: 800;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.3;
    letter-spacing: -0.01em;
    border-left: 3px solid var(--cyan);
    padding-left: 1rem;
}

.wos-hero-subtitle {
    font-size: clamp(0.9rem, 1.8vw, 1.1rem);
    color: rgba(255, 255, 255, 0.55);
    line-height: 1.7;
    max-width: 500px;
}

.wos-tech-stack {
    display: flex;
    gap: 0.6rem;
    flex-wrap: wrap;
}

.wos-tech-tag {
    padding: 0.3rem 0.8rem;
    background: rgba(0, 212, 255, 0.06);
    border: 1px solid rgba(0, 212, 255, 0.2);
    border-radius: 3px;
    font-size: 0.7rem;
    font-weight: 700;
    color: rgba(0, 212, 255, 0.8);
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* Coming soon pasek */
.wos-hero-coming {
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    padding: 0.7rem 1.4rem;
    border: 1px dashed rgba(255, 255, 255, 0.15);
    border-radius: 4px;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.3);
    width: fit-content;
}

.wos-coming-icon {
    font-size: 1rem;
}

/* ---- Right: logo ---- */
.wos-hero-mockup {
    display: flex;
    justify-content: center;
    align-items: center;
}

.wos-hero-logo-right {
    width: 100%;
    max-width: 420px;
    filter:
        drop-shadow(0 0 40px rgba(0, 212, 255, 0.5))
        drop-shadow(0 0 80px rgba(139, 0, 255, 0.3));
    animation: wos-float 8s ease-in-out infinite;
}

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

/* ==========================================
   SECTION HEADERS z numerami
   ========================================== */
.wos-section {
    position: relative;
}

.wos-section-header {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 4rem;
    position: relative;
}

.wos-section-header::after {
    content: '';
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, rgba(0, 212, 255, 0.3), transparent);
}

.wos-section-num {
    font-size: 0.7rem;
    font-weight: 900;
    letter-spacing: 3px;
    color: var(--cyan);
    opacity: 0.6;
    flex-shrink: 0;
    font-variant-numeric: tabular-nums;
}

.wos-section-title {
    font-size: clamp(1.6rem, 3.5vw, 2.4rem);
    font-weight: 900;
    white-space: nowrap;
    background: linear-gradient(90deg, #fff 0%, var(--cyan) 60%, var(--violet) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 2px;
    text-transform: uppercase;
    flex-shrink: 0;
}

/* ==========================================
   ABOUT SECTION
   ========================================== */
.wos-about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.wos-about-text p {
    color: rgba(255, 255, 255, 0.65);
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 2rem;
}

.wos-checklist {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.wos-checklist li {
    display: flex;
    align-items: flex-start;
    gap: 0.9rem;
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.92rem;
    line-height: 1.55;
    padding-bottom: 0.85rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.wos-checklist li:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.wos-checklist li::before {
    content: '//';
    color: var(--cyan);
    font-weight: 900;
    font-size: 0.85rem;
    flex-shrink: 0;
    margin-top: 0.1rem;
    letter-spacing: -1px;
}

/* Ramka na screenshot / grafikę */
.wos-about-frame {
    position: relative;
    border-radius: 12px;
    border: 1px solid rgba(0, 212, 255, 0.15);
    background: rgba(10, 14, 39, 0.9);
    min-height: 380px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Narożne akcenty */
.wos-about-frame::before,
.wos-about-frame::after {
    content: '';
    position: absolute;
    width: 24px;
    height: 24px;
    border-color: var(--cyan);
    border-style: solid;
    opacity: 0.5;
}

.wos-about-frame::before {
    top: 12px;
    left: 12px;
    border-width: 2px 0 0 2px;
}

.wos-about-frame::after {
    bottom: 12px;
    right: 12px;
    border-width: 0 2px 2px 0;
}

/* Placeholder gradient gdy brak img */
.wos-about-frame:not(:has(img)) {
    background:
        radial-gradient(ellipse at 25% 35%, rgba(0, 212, 255, 0.07) 0%, transparent 55%),
        radial-gradient(ellipse at 75% 65%, rgba(139, 0, 255, 0.07) 0%, transparent 55%),
        rgba(10, 14, 39, 0.9);
}

/* Gdy jest obrazek */
.wos-about-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 11px;
}

/* ==========================================
   FEATURES CARDS
   ========================================== */
.wos-feat-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.wos-feat-card {
    position: relative;
    background: rgba(10, 14, 39, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 8px;
    padding: 1.8rem 1.6rem 1.6rem;
    transition: all 0.3s;
    overflow: hidden;
}

/* Accent linia na górze — kolor przesuwa się cyan→violet→magenta przez karty */
.wos-feat-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 2px;
    transition: opacity 0.3s;
}

#wos-feature-1::before { background: rgba(0, 212, 255, 1); }
#wos-feature-2::before { background: linear-gradient(90deg, rgba(0, 212, 255, 1), rgba(80, 140, 255, 1)); }
#wos-feature-3::before { background: linear-gradient(90deg, rgba(80, 140, 255, 1), rgba(130, 70, 255, 1)); }
#wos-feature-4::before { background: linear-gradient(90deg, rgba(130, 70, 255, 1), rgba(200, 0, 200, 1)); }
#wos-feature-5::before { background: linear-gradient(90deg, rgba(0, 212, 255, 0.8), rgba(80, 140, 255, 0.8)); }
#wos-feature-6::before { background: linear-gradient(90deg, rgba(80, 140, 255, 0.8), rgba(139, 0, 255, 0.8)); }
#wos-feature-7::before { background: linear-gradient(90deg, rgba(139, 0, 255, 0.8), rgba(200, 0, 200, 0.8)); }
#wos-feature-8::before { background: linear-gradient(90deg, rgba(200, 0, 200, 0.8), rgba(255, 0, 150, 0.8)); }

.wos-feat-card:hover {
    border-color: rgba(0, 212, 255, 0.25);
    background: rgba(10, 14, 39, 1);
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
}

.wos-feat-num {
    position: absolute;
    top: 1.2rem;
    right: 1.2rem;
    font-size: 0.65rem;
    font-weight: 900;
    letter-spacing: 1px;
    color: rgba(255, 255, 255, 0.08);
}

.wos-feat-title {
    font-size: 0.82rem;
    font-weight: 900;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: #fff;
    margin-bottom: 1rem;
    padding-bottom: 0.9rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
    line-height: 1.35;
    padding-right: 2rem;
}

.wos-feat-title::before {
    content: '// ';
    color: var(--cyan);
    opacity: 0.7;
}

.wos-feat-desc {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.83rem;
    line-height: 1.65;
}

/* ==========================================
   SYSTEM REQUIREMENTS
   ========================================== */
.wos-req-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    max-width: 900px;
    margin: 0 auto;
}

.wos-req-card {
    border-radius: 12px;
    padding: 2.5rem 2rem;
    position: relative;
    overflow: hidden;
}

.wos-req-min {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.wos-req-rec {
    background: rgba(0, 212, 255, 0.04);
    border: 1px solid rgba(0, 212, 255, 0.25);
    box-shadow: 0 0 40px rgba(0, 212, 255, 0.05);
}

.wos-req-rec::after {
    content: '★ ZALECANE';
    position: absolute;
    top: 1rem;
    right: 1rem;
    font-size: 0.6rem;
    font-weight: 800;
    letter-spacing: 1.5px;
    color: var(--cyan);
    background: rgba(0, 212, 255, 0.1);
    padding: 0.3rem 0.7rem;
    border-radius: 3px;
    border: 1px solid rgba(0, 212, 255, 0.25);
}

.wos-req-title {
    font-size: 0.75rem;
    font-weight: 900;
    letter-spacing: 3px;
    margin-bottom: 2rem;
    text-transform: uppercase;
}

.wos-req-min .wos-req-title { color: rgba(255, 255, 255, 0.4); }
.wos-req-rec .wos-req-title { color: var(--cyan); }

.wos-req-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.wos-req-list li {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.7);
    padding-bottom: 0.85rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.wos-req-list li:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.wos-req-list li span.req-key {
    font-weight: 800;
    color: rgba(255, 255, 255, 0.3);
    width: 50px;
    flex-shrink: 0;
    font-size: 0.68rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ==========================================
   NEWS CARDS
   ========================================== */
.wos-news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.wos-news-card {
    background: rgba(10, 14, 39, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-left: 2px solid var(--cyan);
    border-radius: 8px;
    padding: 1.6rem;
    transition: all 0.3s;
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
}

.wos-news-card:hover {
    border-left-color: var(--violet);
    border-color: rgba(0, 212, 255, 0.2);
    background: rgba(10, 14, 39, 1);
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
}

.wos-news-meta {
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.wos-news-tag {
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--cyan);
    background: rgba(0, 212, 255, 0.08);
    border: 1px solid rgba(0, 212, 255, 0.2);
    padding: 0.25rem 0.7rem;
    border-radius: 3px;
}

.wos-news-title {
    font-size: 0.92rem;
    font-weight: 800;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    line-height: 1.4;
}

.wos-news-title::before {
    content: '> ';
    color: var(--cyan);
    opacity: 0.6;
}

.wos-news-desc {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.83rem;
    line-height: 1.65;
    flex: 1;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding-top: 0.7rem;
}

/* ==========================================
   RESPONSIVE
   ========================================== */
@media (max-width: 1200px) {
    .wos-feat-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 1024px) {
    .wos-hero-inner {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .wos-hero-ghost { display: none; }
    .wos-hero-top-row { justify-content: center; }
    .wos-hero-tagline { border-left: none; border-top: 3px solid var(--cyan); padding-left: 0; padding-top: 0.8rem; }
    .wos-hero-subtitle { margin: 0 auto; }
    .wos-tech-stack { justify-content: center; }
    .wos-hero-coming { margin: 0 auto; }

    .wos-hero-logo-right { max-width: 240px; margin-top: 2rem; }

    .wos-section-header { flex-wrap: wrap; }
    .wos-section-header::after { display: none; }

    .wos-about-grid { grid-template-columns: 1fr; }
    .wos-req-grid { grid-template-columns: 1fr; }
    .wos-req-rec::after { content: none; }
}

@media (max-width: 768px) {
    .wos-feat-grid { grid-template-columns: 1fr; }
    .wos-news-grid { grid-template-columns: 1fr; }
}
