/* ========================================
   Domain Sale Landing Page – Multi Domain
   Czysty, bezpieczny i responsywny kod
   Grafiki w katalogu /img/
   ======================================== */

:root {
    --bg-dark: #0b0f1a;
    --bg-card: rgba(255, 255, 255, 0.045);
    --bg-card-hover: rgba(255, 255, 255, 0.08);
    --primary: #6366f1;
    --primary-hover: #818cf8;
    --primary-glow: rgba(99, 102, 241, 0.4);
    --accent: #a78bfa;
    --text-main: #f1f5f9;
    --text-muted: #94a3b8;
    --text-soft: #cbd5e1;
    --border: rgba(255, 255, 255, 0.09);
    --radius: 20px;
    --radius-sm: 14px;
    --shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.55);
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', system-ui, -apple-system, sans-serif;
    background: var(--bg-dark);
    color: var(--text-main);
    min-height: 100vh;
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

/* Background decorative shapes – używają grafik z /img/ */
.bg-shapes {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.shape {
    position: absolute;
    border-radius: 50%;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    opacity: 0.55;
    mix-blend-mode: screen;
    will-change: transform;
}

.shape-1 {
    width: 620px;
    height: 620px;
    background-image: url('../img/orb-indigo.jpg');
    top: -200px;
    right: -160px;
    animation: float 14s ease-in-out infinite;
}

.shape-2 {
    width: 520px;
    height: 520px;
    background-image: url('../img/orb-purple.png');
    bottom: -180px;
    left: -140px;
    animation: float 17s ease-in-out infinite reverse;
}

.shape-3 {
    width: 400px;
    height: 400px;
    background-image: url('../img/orb-cyan.jpg');
    top: 42%;
    left: 50%;
    transform: translateX(-50%);
    opacity: 0.35;
    animation: float 20s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0) scale(1); }
    50% { transform: translateY(-28px) scale(1.04); }
}

/* Main container */
.container {
    position: relative;
    z-index: 1;
    max-width: 1100px;
    margin: 0 auto;
    padding: 3.5rem 1.5rem 4rem;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* Header */
.header {
    text-align: center;
    margin-bottom: 3.5rem;
    animation: fadeUp 0.7s ease-out;
}

.badge {
    display: inline-block;
    background: rgba(99, 102, 241, 0.15);
    color: var(--primary-hover);
    font-size: 0.78rem;
    font-weight: 500;
    letter-spacing: 0.09em;
    text-transform: uppercase;
    padding: 0.45rem 1.15rem;
    border-radius: 999px;
    border: 1px solid rgba(99, 102, 241, 0.3);
    margin-bottom: 1.4rem;
}

.page-title {
    font-size: clamp(1.9rem, 5.5vw, 2.9rem);
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1.2;
    color: var(--text-main);
    margin-bottom: 0.9rem;
}

.tagline {
    font-size: 1.1rem;
    color: var(--text-muted);
    font-weight: 300;
    max-width: 520px;
    margin: 0 auto;
}

/* Domains grid */
.domains-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-bottom: 3.5rem;
    animation: fadeUp 0.7s ease-out 0.1s both;
}

@media (min-width: 700px) {
    .domains-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.domain-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 2rem 1.6rem;
    display: flex;
    flex-direction: column;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    transition: var(--transition);
    box-shadow: var(--shadow);
}

.domain-card:hover {
    background: var(--bg-card-hover);
    border-color: rgba(99, 102, 241, 0.35);
    transform: translateY(-6px);
    box-shadow: 0 30px 60px -15px rgba(99, 102, 241, 0.25);
}

.domain-tag {
    display: inline-block;
    align-self: flex-start;
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--accent);
    background: rgba(167, 139, 250, 0.12);
    padding: 0.3rem 0.75rem;
    border-radius: 999px;
    margin-bottom: 1.1rem;
}

.domain-name {
    font-size: 1.45rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 0.85rem;
    background: linear-gradient(135deg, #ffffff 0%, #c7d2fe 60%, #a78bfa 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    word-break: break-all;
}

.domain-desc {
    font-size: 0.92rem;
    color: var(--text-muted);
    line-height: 1.55;
    flex-grow: 1;
    margin-bottom: 1.6rem;
}

/* Buttons */
.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background: var(--primary);
    color: #fff;
    font-family: inherit;
    font-size: 0.95rem;
    font-weight: 600;
    padding: 0.85rem 1.4rem;
    border-radius: 999px;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 0 0 0 var(--primary-glow);
    width: 100%;
}

.btn-primary:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 12px 28px -6px var(--primary-glow);
}

.btn-primary:active {
    transform: translateY(0);
}

.btn-arrow {
    transition: transform var(--transition);
    font-size: 1.15rem;
}

.btn-primary:hover .btn-arrow {
    transform: translateX(4px);
}

/* Info box */
.info-box {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 2.4rem 2rem;
    margin-bottom: 3rem;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    animation: fadeUp 0.7s ease-out 0.2s both;
}

.info-box h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1.6rem;
    text-align: center;
}

.benefits {
    list-style: none;
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.4rem;
}

@media (min-width: 700px) {
    .benefits {
        grid-template-columns: repeat(3, 1fr);
    }
}

.benefits li {
    display: flex;
    gap: 0.9rem;
    align-items: flex-start;
}

.benefits .icon {
    flex-shrink: 0;
    width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(99, 102, 241, 0.15);
    color: var(--primary-hover);
    border-radius: 10px;
    font-size: 0.85rem;
}

.benefits strong {
    display: block;
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--text-main);
    margin-bottom: 0.15rem;
}

.benefits p {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.45;
}

/* Footer */
.footer {
    margin-top: auto;
    padding-top: 1rem;
    text-align: center;
    font-size: 0.85rem;
    color: var(--text-muted);
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
    animation: fadeUp 0.7s ease-out 0.3s both;
}

.footer-link {
    color: var(--text-soft);
    text-decoration: none;
    transition: color var(--transition);
}

.footer-link:hover {
    color: var(--primary-hover);
}

/* Animations */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(22px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    .shape,
    .header,
    .domains-grid,
    .info-box,
    .footer {
        animation: none;
    }

    .domain-card:hover,
    .btn-primary:hover {
        transform: none;
    }
}

/* Focus styles for accessibility */
.btn-primary:focus-visible,
.footer-link:focus-visible {
    outline: 2px solid var(--primary-hover);
    outline-offset: 3px;
}
