/* =========================================
   style.css
   ========================================= */

/* =========================================
   SECTION: RESET / BASE
   ========================================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg: #05060a;
    --bg-secondary: #0b0d12;
    --surface: rgba(255, 255, 255, 0.04);
    --surface-strong: rgba(255, 255, 255, 0.06);
    --text: #f5f7fa;
    --text-muted: #a7b0be;
    --accent: #d4af37;
    --accent-hover: #e5c35a;
    --border: rgba(255, 255, 255, 0.08);
    --border-strong: rgba(212, 175, 55, 0.24);
    --shadow: 0 18px 50px rgba(0, 0, 0, 0.35);
    --shadow-strong: 0 24px 80px rgba(0, 0, 0, 0.45);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Inter", sans-serif;
    background:
        radial-gradient(circle at top right, rgba(212, 175, 55, 0.08), transparent 20%),
        linear-gradient(180deg, #06070b 0%, #05060a 100%);
    color: var(--text);
    min-height: 100vh;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    display: block;
    max-width: 100%;
}

button {
    font: inherit;
    border: none;
    background: none;
}

ul {
    list-style: none;
}

.container {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
}

::selection {
    background: rgba(212, 175, 55, 0.25);
    color: #fff;
}

/* =========================================
   SECTION: HEADER
   ========================================= */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 18px 0;
    z-index: 100;
    background: rgba(6, 7, 11, 0.62);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.logo {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 30px;
    font-weight: 800;
    line-height: 1;
    letter-spacing: -0.04em;
    white-space: nowrap;
    color: var(--text);
    text-transform: uppercase;
    text-shadow: 0 0 18px rgba(212, 175, 55, 0.08);
    transition: transform 0.25s ease, text-shadow 0.25s ease;
}

.logo span {
    color: var(--accent);
}

.logo:hover {
    transform: translateY(-1px);
    text-shadow: 0 0 24px rgba(212, 175, 55, 0.16);
}

.nav {
    display: flex;
    align-items: center;
    gap: 28px;
}

.nav a {
    font-size: 14px;
    color: var(--text-muted);
    transition: color 0.2s ease, transform 0.2s ease;
}

.nav a:hover {
    color: var(--text);
    transform: translateY(-1px);
}

.header-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 10px 18px;
    border-radius: 14px;
    background: var(--accent);
    color: #111;
    font-size: 14px;
    font-weight: 700;
    white-space: nowrap;
    box-shadow: 0 12px 28px rgba(212, 175, 55, 0.18);
    transition: 0.25s ease;
}

.header-cta:hover {
    background: var(--accent-hover);
    transform: translateY(-2px);
}

.menu-toggle {
    display: none;
    width: 46px;
    height: 46px;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.04);
    cursor: pointer;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
    flex-shrink: 0;
}

.menu-toggle span {
    display: block;
    width: 18px;
    height: 2px;
    background: var(--text);
    border-radius: 999px;
    transition: transform 0.25s ease, opacity 0.25s ease;
}

.menu-toggle.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

.mobile-menu {
    display: none;
    border-top: 1px solid var(--border);
    background: rgba(6, 7, 11, 0.96);
    backdrop-filter: blur(12px);
    padding: 16px 20px 20px;
}

.mobile-menu.active {
    display: block;
}

.mobile-menu a {
    display: block;
    padding: 12px 0;
    color: var(--text);
    font-size: 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.mobile-menu a:last-child {
    border-bottom: none;
}

.mobile-menu-cta {
    margin-top: 10px;
    text-align: center;
    padding: 14px 18px !important;
    border-radius: 12px;
    background: var(--accent);
    color: #111 !important;
    font-weight: 700;
}

/* =========================================
   SECTION: HERO
   ========================================= */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 150px 0 110px;
    overflow: hidden;
    background-color: #040508;
    background-image:
        linear-gradient(
            to right,
            rgba(4, 5, 8, 0.98) 0%,
            rgba(4, 5, 8, 0.96) 28%,
            rgba(4, 5, 8, 0.88) 44%,
            rgba(4, 5, 8, 0.68) 58%,
            rgba(4, 5, 8, 0.42) 70%,
            rgba(4, 5, 8, 0.24) 82%,
            rgba(4, 5, 8, 0.36) 100%
        ),
        url("../images/hero-bg.webp");
    background-repeat: no-repeat, no-repeat;
    background-position: center center, right 6% bottom 0;
    background-size: cover, auto 92%;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 78% 22%, rgba(212, 175, 55, 0.10), transparent 18%),
        radial-gradient(circle at 82% 46%, rgba(212, 175, 55, 0.08), transparent 26%),
        linear-gradient(to left, rgba(4, 5, 8, 0.20), transparent 18%);
    pointer-events: none;
}

.hero::after {
    content: "";
    position: absolute;
    right: 8%;
    bottom: 2%;
    width: 36%;
    height: 18%;
    background: radial-gradient(ellipse at center, rgba(0, 0, 0, 0.52), transparent 72%);
    filter: blur(16px);
    pointer-events: none;
}

.hero .container {
    position: relative;
    z-index: 2;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr;
}

.hero-content {
    max-width: 560px;
    z-index: 2;
}

.hero-tag {
    display: inline-block;
    margin-bottom: 18px;
    padding: 10px 16px;
    border: 1px solid rgba(212, 175, 55, 0.18);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.04);
    color: var(--accent);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    backdrop-filter: blur(10px);
}

.hero h1 {
    font-size: clamp(58px, 7vw, 92px);
    line-height: 0.92;
    font-weight: 800;
    letter-spacing: -0.06em;
    margin-bottom: 28px;
    max-width: 7ch;
    text-wrap: balance;
}

.hero-text {
    font-size: 20px;
    line-height: 1.8;
    color: var(--text-muted);
    max-width: 620px;
    margin-bottom: 40px;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 20px;
}

/* ukrycie starych elementów hero jeśli nadal siedzą w HTML */
.hero-visual,
.hero-image,
.hero-floating-card,
.hero-small-card,
.hero-media {
    display: none !important;
}

/* =========================================
   SECTION: BUTTONS
   ========================================= */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 56px;
    padding: 0 28px;
    border-radius: 16px;
    border: 1px solid transparent;
    font-size: 15px;
    font-weight: 700;
    transition:
        transform 0.25s ease,
        background 0.25s ease,
        border-color 0.25s ease,
        box-shadow 0.25s ease;
}

.btn-primary {
    background: var(--accent);
    color: #111;
    box-shadow: 0 14px 34px rgba(212, 175, 55, 0.22);
}

.btn-primary:hover {
    background: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 18px 42px rgba(212, 175, 55, 0.28);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.04);
    border-color: var(--border);
    color: var(--text);
    backdrop-filter: blur(8px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.07);
    border-color: rgba(255, 255, 255, 0.14);
    transform: translateY(-2px);
}

/* =========================================
   SECTION: GLOBAL TITLES / LABELS
   ========================================= */
.section-label {
    display: inline-block;
    margin-bottom: 18px;
    color: var(--accent);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.section-title,
.about h2,
.contact-cta-box h2 {
    text-wrap: balance;
}

.section-title {
    font-size: clamp(32px, 4vw, 48px);
    line-height: 1.05;
    letter-spacing: -0.03em;
    margin-bottom: 40px;
    max-width: 18ch;
}

/* =========================================
   SECTION: BENEFITS
   ========================================= */
.benefits {
    position: relative;
    margin-top: -20px;
    padding: 0 0 100px;
    z-index: 3;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.benefit-card {
    padding: 32px 28px;
    border-radius: 24px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.025));
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
    backdrop-filter: blur(12px);
    transition:
        transform 0.25s ease,
        border-color 0.25s ease,
        background 0.25s ease,
        box-shadow 0.25s ease;
}

.benefit-card:hover {
    transform: translateY(-6px);
    border-color: var(--border-strong);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.035));
    box-shadow: var(--shadow-strong);
}

.benefit-card h3 {
    font-size: 22px;
    line-height: 1.2;
    margin-bottom: 14px;
    color: var(--text);
}

.benefit-card p {
    font-size: 16px;
    line-height: 1.75;
    color: var(--text-muted);
}

/* =========================================
   SECTION: ABOUT
   ========================================= */
.about {
    padding: 40px 0 110px;
}

.about-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 28px;
    align-items: stretch;
}

.about h2 {
    font-size: clamp(32px, 4vw, 52px);
    line-height: 1.05;
    letter-spacing: -0.04em;
    margin-bottom: 22px;
    max-width: 14ch;
}

.about-text {
    font-size: 17px;
    line-height: 1.8;
    color: var(--text-muted);
    max-width: 60ch;
    margin-bottom: 18px;
}

.about-points {
    display: grid;
    gap: 16px;
    margin-top: 28px;
}

.about-point {
    padding: 18px 20px;
    border-radius: 18px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.03));
    border: 1px solid var(--border);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.18);
}

.about-point strong {
    display: block;
    font-size: 17px;
    margin-bottom: 8px;
}

.about-point span {
    color: var(--text-muted);
    line-height: 1.7;
    font-size: 15px;
}

.about-card {
    height: 100%;
}

.about-card-media {
    position: relative;
    height: 100%;
    min-height: 620px;
    overflow: hidden;
    border-radius: 28px;
    border: 1px solid rgba(212, 175, 55, 0.18);
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.45);
    background: linear-gradient(180deg, rgba(20, 20, 24, 0.2), rgba(20, 20, 24, 0.4));
}

.about-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.about-card-media:hover .about-image {
    transform: scale(1.04);
}

.about-card-inner {
    position: absolute;
    left: 24px;
    right: 24px;
    bottom: 24px;
    padding: 24px 22px;
    border-radius: 22px;
    background: linear-gradient(180deg, rgba(8, 8, 12, 0.70), rgba(8, 8, 12, 0.88));
    border: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
}

.about-card-label {
    color: var(--accent);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.about-card h3 {
    font-size: 30px;
    line-height: 1.1;
    margin-bottom: 14px;
}

.about-card p {
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-muted);
}

/* =========================================
   SECTION: GALLERY
   ========================================= */
.gallery {
    padding: 40px 0 100px;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.gallery-grid img {
    width: 100%;
    height: 100%;
    max-height: 420px;
    object-fit: cover;
    border-radius: 22px;
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.gallery-grid img:hover {
    transform: scale(1.04);
    box-shadow: var(--shadow-strong);
}

/* =========================================
   SECTION: PRICING
   ========================================= */
.pricing {
    padding: 60px 0 120px;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.pricing-card {
    padding: 32px 28px;
    border-radius: 22px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.03));
    border: 1px solid var(--border);
    text-align: center;
    box-shadow: var(--shadow);
    transition:
        transform 0.3s ease,
        border-color 0.3s ease,
        box-shadow 0.3s ease,
        background 0.3s ease;
}

.pricing-card:hover {
    transform: translateY(-6px);
    border-color: rgba(212, 175, 55, 0.28);
    box-shadow: var(--shadow-strong);
}

.pricing-card.featured {
    border: 1px solid rgba(212, 175, 55, 0.38);
    background: linear-gradient(180deg, rgba(212, 175, 55, 0.12), rgba(255, 255, 255, 0.04));
    box-shadow: 0 22px 60px rgba(0, 0, 0, 0.42);
}

.pricing-card h3 {
    font-size: 22px;
    margin-bottom: 10px;
}

.price {
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 20px;
    color: var(--accent);
}

.pricing-card ul {
    margin-bottom: 24px;
}

.pricing-card li {
    margin-bottom: 10px;
    color: var(--text-muted);
    line-height: 1.7;
}

/* =========================================
   SECTION: TESTIMONIALS
   ========================================= */
.testimonials {
    padding: 40px 0 120px;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.testimonial-card {
    padding: 30px 26px;
    border-radius: 22px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.03));
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
    transition:
        transform 0.25s ease,
        border-color 0.25s ease,
        box-shadow 0.25s ease;
}

.testimonial-card:hover {
    transform: translateY(-6px);
    border-color: rgba(212, 175, 55, 0.3);
    box-shadow: var(--shadow-strong);
}

.testimonial-stars {
    font-size: 20px;
    letter-spacing: 0.15em;
    color: var(--accent);
    margin-bottom: 18px;
}

.testimonial-text {
    color: var(--text-muted);
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 26px;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 14px;
}

.testimonial-avatar {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(212, 175, 55, 0.12);
    border: 1px solid rgba(212, 175, 55, 0.25);
    color: var(--accent);
    font-weight: 800;
    font-size: 15px;
}

.testimonial-author strong {
    display: block;
    font-size: 16px;
    margin-bottom: 4px;
}

.testimonial-author span {
    color: var(--text-muted);
    font-size: 14px;
}

/* =========================================
   SECTION: CONTACT
   ========================================= */
.contact-cta {
    padding: 20px 0 120px;
}

.contact-cta-box {
    padding: 44px 40px;
    border-radius: 28px;
    background: linear-gradient(180deg, rgba(212, 175, 55, 0.10), rgba(255, 255, 255, 0.04));
    border: 1px solid rgba(212, 175, 55, 0.18);
    box-shadow: var(--shadow);
    text-align: center;
}

.contact-cta-box h2 {
    font-size: clamp(32px, 4vw, 52px);
    line-height: 1.05;
    letter-spacing: -0.04em;
    max-width: 14ch;
    margin: 0 auto 20px;
}

.contact-cta-text {
    max-width: 60ch;
    margin: 0 auto 30px;
    color: var(--text-muted);
    font-size: 17px;
    line-height: 1.8;
}

.contact-cta-buttons {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 34px;
}

.contact-details {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    text-align: left;
}

.contact-detail {
    padding: 20px 18px;
    border-radius: 18px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.03));
    border: 1px solid var(--border);
}

.contact-detail strong {
    display: block;
    margin-bottom: 8px;
    font-size: 15px;
}

.contact-detail span {
    color: var(--text-muted);
    line-height: 1.7;
    font-size: 15px;
}

/* =========================================
   SECTION: FOOTER
   ========================================= */
.site-footer {
    padding: 60px 0 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    background: linear-gradient(180deg, rgba(8, 8, 12, 0.88), rgba(8, 8, 12, 0.98));
}

.footer-container {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.footer-top {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 30px;
}

.footer-logo {
    font-size: 20px;
    font-weight: 800;
    margin-bottom: 14px;
}

.footer-brand p {
    color: var(--text-muted);
    line-height: 1.7;
}

.footer-title {
    font-weight: 700;
    margin-bottom: 12px;
}

.footer-nav a {
    display: block;
    margin-bottom: 8px;
    color: var(--text-muted);
    transition: color 0.2s ease;
}

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

.footer-contact p {
    color: var(--text-muted);
    margin-bottom: 6px;
}

.footer-creator {
    margin-top: 10px;
    padding: 24px 0 6px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    display: flex;
    align-items: center;
    gap: 20px;
}

.footer-creator-brand {
    background: transparent;
}

.footer-creator-logo {
    width: 120px;
    height: auto;
    transition: transform 0.3s ease;
}

.footer-creator-logo:hover {
    transform: scale(1.08);
}

.footer-creator-content {
    display: flex;
    flex-direction: column;
}

.footer-creator-label {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 4px;
}

.footer-creator-name {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 8px;
}

.footer-creator-links {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.footer-creator-links a {
    display: inline-flex;
    align-items: center;
    padding: 7px 12px;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 600;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border);
    color: var(--text-muted);
    transition: all 0.25s ease;
}

.footer-creator-links a:hover {
    background: rgba(212, 175, 55, 0.12);
    border-color: var(--border-strong);
    color: var(--text);
    transform: translateY(-2px);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding-top: 20px;
    text-align: center;
    color: var(--text-muted);
    font-size: 14px;
}

/* =========================================
   SECTION: REVEAL ANIMATION
   ========================================= */
.reveal {
    opacity: 0;
    transform: translateY(48px);
    transition: opacity 0.8s ease, transform 0.8s ease;
    will-change: opacity, transform;
}

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