/* =========================================================
   OLSZEWSKI.CLOUD
   Modern Design System
   ========================================================= */

:root {
    --primary: #2563eb;
    --primary-dark: #1e40af;
    --primary-light: #eff6ff;

    --secondary: #0f172a;

    --background: #ffffff;
    --surface: #f8fafc;
    --surface-hover: #f1f5f9;

    --text-main: #1e293b;
    --text-muted: #64748b;

    --border: #e2e8f0;

    --success: #16a34a;

    --container-width: 1200px;
    --header-height: 80px;

    --radius-sm: 0.5rem;
    --radius-md: 1rem;
    --radius-lg: 1.5rem;

    --shadow-sm:
        0 1px 2px 0 rgb(0 0 0 / 0.05);

    --shadow-md:
        0 4px 6px -1px rgb(0 0 0 / 0.1),
        0 2px 4px -2px rgb(0 0 0 / 0.1);

    --shadow-lg:
        0 10px 15px -3px rgb(0 0 0 / 0.1),
        0 4px 6px -4px rgb(0 0 0 / 0.1);

    --shadow-hover:
        0 20px 25px -5px rgb(0 0 0 / 0.1),
        0 8px 10px -6px rgb(0 0 0 / 0.1);

    --transition:
        all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}


/* =========================================================
   RESET
   ========================================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 90px;
}

body {
    font-family: "Outfit", sans-serif;
    background: var(--background);
    color: var(--text-main);
    line-height: 1.6;

    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

button,
a {
    -webkit-tap-highlight-color: transparent;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

section {
    padding: 6rem 0;
}


/* =========================================================
   LAYOUT
   ========================================================= */

.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 1.5rem;
}

.narrow-container {
    max-width: 850px;
}


/* =========================================================
   TYPOGRAPHY
   ========================================================= */

h1,
h2,
h3,
h4,
h5,
h6 {
    color: var(--secondary);
    line-height: 1.2;
}

h1 {
    font-size: clamp(2.6rem, 6vw, 4.5rem);
    font-weight: 800;
    letter-spacing: -0.04em;
    margin-bottom: 1.5rem;
}

h1 span {
    display: block;
    color: var(--primary);
}

h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    letter-spacing: -0.025em;
    margin-bottom: 1rem;
}

h3 {
    font-size: 1.45rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

p {
    color: var(--text-muted);
    font-size: 1.075rem;
    margin-bottom: 1.5rem;
}

.eyebrow {
    display: inline-block;
    margin-bottom: 1rem;

    color: var(--primary);
    font-size: 0.78rem;
    font-weight: 700;

    letter-spacing: 0.12em;
    text-transform: uppercase;
}


/* =========================================================
   BUTTONS
   ========================================================= */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 0.9rem 1.5rem;

    border-radius: var(--radius-sm);

    font-weight: 600;
    font-size: 1rem;

    transition: var(--transition);

    cursor: pointer;

    border: none;

    gap: 0.5rem;
}

.btn-primary {
    background: var(--primary);
    color: white;
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--border);
    color: var(--text-main);
}

.btn-outline:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: var(--primary-light);
}


/* =========================================================
   HEADER
   ========================================================= */

.site-header {
    height: var(--header-height);

    background: rgba(255, 255, 255, 0.92);

    backdrop-filter: blur(12px);

    position: sticky;
    top: 0;

    z-index: 1000;

    border-bottom: 1px solid var(--border);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;

    height: 100%;
}

.logo-link {
    display: flex;
    align-items: center;

    gap: 0.75rem;

    font-weight: 700;
    font-size: 1.15rem;

    color: var(--secondary);

    min-width: 0;
}

.logo-img {
    height: 48px;
    width: auto;
}

.logo-link span {
    white-space: nowrap;
}

.nav-links {
    display: flex;
    gap: 1.5rem;
}

.nav-link {
    font-weight: 500;
    color: var(--text-muted);
}

.nav-link:hover {
    color: var(--primary);
}

.header-phone {
    padding: 0.7rem 1rem;
    font-size: 0.9rem;
}


/* =========================================================
   HAMBURGER
   ========================================================= */

.hamburger {
    display: none;

    cursor: pointer;

    background: transparent;
    border: none;

    padding: 0.5rem;

    z-index: 1100;
}

.hamburger span {
    display: block;

    width: 25px;
    height: 3px;

    background: var(--secondary);

    margin: 5px 0;

    border-radius: 2px;

    transition: var(--transition);
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 6px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -6px);
}


/* =========================================================
   HERO
   ========================================================= */

.hero {
    padding: 7rem 0 6rem;

    background:
        radial-gradient(
            circle at top right,
            rgba(37, 99, 235, 0.08),
            transparent 35%
        ),
        linear-gradient(
            135deg,
            var(--surface) 0%,
            #ffffff 100%
        );

    overflow: hidden;

    position: relative;
}

.hero-content {
    max-width: 900px;

    margin: 0 auto;

    text-align: center;
}

.hero-badges {
    display: inline-flex;

    align-items: center;

    gap: 0.5rem;

    background: var(--primary-light);

    padding: 0.5rem 1rem;

    border-radius: 2rem;

    margin-bottom: 2rem;

    color: var(--primary-dark);

    font-weight: 600;

    font-size: 0.875rem;
}

.hero-lead {
    max-width: 760px;

    margin: 0 auto;

    font-size: clamp(1.1rem, 2vw, 1.3rem);

    line-height: 1.75;
}

.hero-buttons {
    display: flex;

    gap: 1rem;

    justify-content: center;

    flex-wrap: wrap;

    margin-top: 2rem;
}

.hero-trust {
    display: flex;

    justify-content: center;

    flex-wrap: wrap;

    gap: 1rem 2rem;

    margin-top: 2rem;

    color: var(--text-muted);

    font-size: 0.9rem;
}


/* =========================================================
   INTRO
   ========================================================= */

.intro-section {
    background: white;

    padding-bottom: 3rem;
}

.intro-section .section-header {
    margin-bottom: 0;
}


/* =========================================================
   SECTION HEADER
   ========================================================= */

.section-header {
    text-align: center;

    max-width: 720px;

    margin: 0 auto 4rem;
}

.section-header p:last-child {
    margin-bottom: 0;
}


/* =========================================================
   PRICING
   ========================================================= */

.pricing-section {
    background: var(--surface);
}

.pricing-grid {
    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 2rem;

    max-width: 1000px;

    margin: 0 auto;
}

.pricing-card {
    position: relative;

    background: white;

    padding: 2.5rem;

    border-radius: var(--radius-lg);

    border: 1px solid var(--border);

    box-shadow: var(--shadow-sm);

    transition: var(--transition);
}

.pricing-card:hover {
    transform: translateY(-6px);

    box-shadow: var(--shadow-hover);
}

.pricing-card-featured {
    border: 2px solid var(--primary);

    box-shadow:
        0 15px 40px rgba(37, 99, 235, 0.12);
}

.popular-badge {
    position: absolute;

    top: -14px;
    left: 50%;

    transform: translateX(-50%);

    background: var(--primary);

    color: white;

    padding: 0.4rem 1rem;

    border-radius: 2rem;

    font-size: 0.8rem;

    font-weight: 700;

    white-space: nowrap;
}

.pricing-icon {
    width: 56px;
    height: 56px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: var(--primary-light);

    border-radius: var(--radius-sm);

    font-size: 1.5rem;

    margin-bottom: 1.5rem;
}

.pricing-card-header p {
    min-height: 75px;
}

.price {
    display: flex;

    align-items: baseline;

    gap: 0.4rem;

    margin: 2rem 0 1.5rem;
}

.price strong {
    color: var(--secondary);

    font-size: 2.5rem;

    line-height: 1;

    letter-spacing: -0.04em;
}

.price span {
    color: var(--text-muted);

    font-size: 0.9rem;
}

.pricing-button {
    width: 100%;

    margin-bottom: 1.5rem;
}

.feature-list {
    display: flex;

    flex-direction: column;

    gap: 0.8rem;
}

.feature-list li {
    color: var(--text-main);

    font-size: 0.98rem;

    line-height: 1.5;
}

.pricing-note {
    text-align: center;

    max-width: 800px;

    margin: 2rem auto 0;

    font-size: 0.9rem;
}


/* =========================================================
   PROCESS
   ========================================================= */

.process-section {
    background: white;
}

.process-grid {
    display: grid;

    grid-template-columns:
        repeat(4, minmax(0, 1fr));

    gap: 1.5rem;
}

.process-card {
    padding: 2rem;

    border: 1px solid var(--border);

    border-radius: var(--radius-md);

    background: white;
}

.process-number {
    color: var(--primary);

    font-size: 0.85rem;

    font-weight: 800;

    letter-spacing: 0.1em;

    margin-bottom: 1.5rem;
}

.process-card p {
    font-size: 1rem;
}


/* =========================================================
   SEO
   ========================================================= */

.seo-section {
    background: var(--secondary);

    color: white;
}

.seo-container {
    display: grid;

    grid-template-columns:
        1fr 1fr;

    gap: 5rem;

    align-items: center;
}

.seo-content h2 {
    color: white;
}

.seo-content > p {
    color: #cbd5e1;
}

.seo-content .eyebrow {
    color: #60a5fa;
}

.seo-price {
    display: flex;

    align-items: baseline;

    gap: 0.4rem;

    margin: 2rem 0;
}

.seo-price span {
    color: #94a3b8;
}

.seo-price strong {
    font-size: 2.5rem;

    color: white;
}

.seo-features {
    display: flex;

    flex-direction: column;

    gap: 1rem;
}

.seo-feature {
    display: flex;

    gap: 1rem;

    padding: 1.25rem;

    background: rgba(255, 255, 255, 0.05);

    border: 1px solid rgba(255, 255, 255, 0.08);

    border-radius: var(--radius-md);
}

.seo-feature > span {
    width: 32px;
    height: 32px;

    flex: 0 0 32px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: rgba(37, 99, 235, 0.2);

    color: #60a5fa;

    font-weight: 700;
}

.seo-feature strong {
    display: block;

    color: white;

    margin-bottom: 0.25rem;
}

.seo-feature p {
    color: #94a3b8;

    font-size: 0.95rem;

    margin-bottom: 0;
}


/* =========================================================
   COMPARISON TABLE
   ========================================================= */

.comparison-section {
    background: var(--surface);
}

.comparison-wrapper {
    max-width: 950px;

    margin: 0 auto;

    overflow-x: auto;

    border-radius: var(--radius-md);

    border: 1px solid var(--border);

    box-shadow: var(--shadow-sm);
}

.comparison-table {
    width: 100%;

    border-collapse: collapse;

    background: white;

    min-width: 650px;
}

.comparison-table th,
.comparison-table td {
    padding: 1.15rem 1.5rem;

    text-align: left;

    border-bottom: 1px solid var(--border);
}

.comparison-table th {
    background: var(--secondary);

    color: white;

    font-weight: 600;
}

.comparison-table th:not(:first-child),
.comparison-table td:not(:first-child) {
    text-align: center;
}

.comparison-table td {
    color: var(--text-main);

    font-size: 0.98rem;
}

.comparison-table tbody tr:last-child td {
    border-bottom: none;
}

.comparison-table tbody td:not(:first-child) {
    color: var(--primary);

    font-weight: 700;
}


/* =========================================================
   SERVICES
   ========================================================= */

.services {
    background: white;
}

.grid {
    display: grid;

    grid-template-columns:
        repeat(4, minmax(0, 1fr));

    gap: 1.5rem;
}

.card {
    background: white;

    padding: 2rem;

    border-radius: var(--radius-md);

    border: 1px solid var(--border);

    transition: var(--transition);

    height: 100%;

    display: flex;

    flex-direction: column;
}

.card:hover {
    transform: translateY(-6px);

    box-shadow: var(--shadow-hover);

    border-color: #bfdbfe;
}

.card-icon {
    width: 52px;
    height: 52px;

    display: flex;
    align-items: center;
    justify-content: center;

    margin-bottom: 1.5rem;

    background: var(--primary-light);

    border-radius: var(--radius-sm);

    font-size: 1.5rem;
}

.card p {
    font-size: 1rem;

    flex-grow: 1;
}

.card-link {
    color: var(--primary);

    font-weight: 600;

    margin-top: 1rem;
}

.card-link:hover {
    color: var(--primary-dark);
}


/* =========================================================
   WHY
   ========================================================= */

.why-section {
    background: var(--surface);
}

.stats-grid {
    display: grid;

    grid-template-columns:
        repeat(4, minmax(0, 1fr));

    gap: 1rem;

    margin-bottom: 4rem;
}

.stats-grid-centered {
    display: flex;
    justify-content: center;
    gap: 80px;
}

.stats-grid-centered .stat {
    min-width: 180px;
    text-align: center;
}

.stat {
    text-align: center;

    padding: 2rem 1rem;

    background: white;

    border: 1px solid var(--border);

    border-radius: var(--radius-md);
}

.stat strong {
    display: block;

    color: var(--primary);

    font-size: 2.5rem;

    line-height: 1;

    margin-bottom: 0.75rem;
}

.stat span {
    color: var(--text-muted);

    font-size: 0.95rem;
}

.why-grid {
    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 2rem;
}

.why-grid article {
    text-align: center;

    padding: 2rem;
}

.why-icon {
    font-size: 2rem;

    margin-bottom: 1rem;
}

.why-grid p {
    font-size: 1rem;
}


/* =========================================================
   TRUSTED
   ========================================================= */

.trusted-section {
    background: white;

    border-top: 1px solid var(--border);

    border-bottom: 1px solid var(--border);
}

.logo-grid {
    display: flex;

    flex-wrap: wrap;

    justify-content: center;

    gap: 4rem;

    align-items: center;

    opacity: 0.7;
}

.logo-grid a img {
    height: 42px;

    width: auto;

    filter: grayscale(100%);

    transition: var(--transition);
}

.logo-grid a:hover img {
    filter: grayscale(0%);

    transform: scale(1.05);
}


/* =========================================================
   FAQ
   ========================================================= */

.faq-section {
    background: var(--surface);
}

.faq-grid {
    max-width: 850px;

    margin: 0 auto;

    display: flex;

    flex-direction: column;

    gap: 1rem;
}

.faq-item {
    background: white;

    border: 1px solid var(--border);

    border-radius: var(--radius-md);

    overflow: hidden;

    transition: var(--transition);
}

.faq-item:hover {
    border-color: var(--primary);

    box-shadow: var(--shadow-md);
}

.faq-item[open] {
    border-color: var(--primary);

    box-shadow: var(--shadow-sm);
}

.faq-summary {
    padding: 1.4rem 1.5rem;

    cursor: pointer;

    list-style: none;

    display: flex;

    justify-content: space-between;

    align-items: center;

    gap: 1rem;

    font-weight: 600;

    font-size: 1.05rem;

    color: var(--secondary);
}

.faq-summary::-webkit-details-marker {
    display: none;
}

.faq-summary:hover {
    color: var(--primary);
}

.faq-icon {
    display: flex;

    align-items: center;

    justify-content: center;

    flex: 0 0 26px;

    width: 26px;
    height: 26px;

    background: var(--surface);

    border-radius: 50%;

    color: var(--primary);

    transition: var(--transition);
}

.faq-item[open] .faq-icon {
    transform: rotate(45deg);

    background: var(--primary);

    color: white;
}

.faq-content {
    padding: 0 1.5rem 1.5rem;

    color: var(--text-muted);

    font-size: 1rem;

    line-height: 1.7;
}

.faq-content p {
    font-size: 1rem;

    margin-bottom: 0;
}


/* =========================================================
   FINAL CTA
   ========================================================= */

.final-cta {
    background:
        linear-gradient(
            135deg,
            var(--primary-dark),
            var(--primary)
        );

    padding: 6rem 0;
}

.final-cta-content {
    max-width: 850px;

    text-align: center;

    margin: 0 auto;
}

.final-cta h2 {
    color: white;
}

.final-cta p {
    color: #dbeafe;

    max-width: 650px;

    margin: 0 auto;
}

.final-cta .eyebrow {
    color: #bfdbfe;
}

.light-button {
    color: white;

    border-color: rgba(255, 255, 255, 0.35);
}

.light-button:hover {
    background: white;

    border-color: white;

    color: var(--primary);
}


/* =========================================================
   FOOTER
   ========================================================= */

footer {
    background: var(--secondary);

    color: white;

    padding: 4rem 0 2rem;
}

.footer-grid {
    display: grid;

    grid-template-columns:
        2fr 1fr 1fr;

    gap: 3rem;

    margin-bottom: 3rem;
}

.footer-logo {
    height: 44px;

    width: auto;

    margin-bottom: 1.25rem;
}

.footer-col h4 {
    color: white;

    margin-bottom: 1.25rem;

    font-size: 1.05rem;
}

.footer-col p {
    color: #94a3b8;

    max-width: 350px;

    font-size: 0.95rem;
}

.footer-col ul li {
    margin-bottom: 0.75rem;

    color: #94a3b8;

    font-size: 0.95rem;
}

.footer-col a {
    color: #94a3b8;
}

.footer-col a:hover {
    color: white;
}

.copyright {
    border-top: 1px solid rgba(255, 255, 255, 0.1);

    padding-top: 2rem;

    text-align: center;

    color: #64748b;

    font-size: 0.875rem;
}


/* =========================================================
   REVEAL ANIMATION
   ========================================================= */

.reveal {
    opacity: 0;

    transform: translateY(20px);

    transition:
        opacity 0.6s ease,
        transform 0.6s ease;
}

.reveal.visible {
    opacity: 1;

    transform: translateY(0);
}


/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 1100px) {

    .nav-links {
        gap: 1rem;
    }

    .grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

    .process-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

    .stats-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }
}


@media (max-width: 1024px) {

    .header-phone {
        display: none;
    }

    .hamburger {
        display: block;
    }

    .nav-links {
        display: none;

        position: absolute;

        top: 100%;
        left: 0;

        width: 100%;

        background: white;

        flex-direction: column;

        align-items: center;

        padding: 1.5rem;

        gap: 0.5rem;

        box-shadow: var(--shadow-lg);

        border-top: 1px solid var(--border);

        border-bottom: 1px solid var(--border);
    }

    .nav-links.active {
        display: flex;
    }

    .nav-link {
        width: 100%;

        text-align: center;

        padding: 0.8rem;
    }

    .seo-container {
        grid-template-columns: 1fr;

        gap: 3rem;
    }

    .why-grid {
        grid-template-columns:
            repeat(3, minmax(0, 1fr));
    }
}


@media (max-width: 768px) {

    section {
        padding: 4rem 0;
    }

    .container {
        padding: 0 1.25rem;
    }

    .logo-link span {
        font-size: 0.85rem;

        max-width: 190px;

        white-space: normal;

        line-height: 1.2;
    }

    .logo-img {
        height: 38px;
    }

    .hero {
        padding: 5rem 0 4rem;
    }

    h1 {
        font-size: 2.65rem;
    }

    h2 {
        font-size: 2rem;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .hero-buttons .btn {
        width: 100%;
    }

    .hero-trust {
        flex-direction: column;

        gap: 0.5rem;
    }

    .pricing-grid {
        grid-template-columns: 1fr;
    }

    .pricing-card-featured {
        order: -1;
    }

    .process-grid {
        grid-template-columns: 1fr;
    }

    .grid {
        grid-template-columns: 1fr;
    }

    .why-grid {
        grid-template-columns: 1fr;
    }

    .stats-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .comparison-wrapper {
        margin-left: -0.25rem;

        margin-right: -0.25rem;
    }

    .seo-price {
        margin-bottom: 1.5rem;
    }
}


@media (max-width: 480px) {

    .logo-link span {
        display: none;
    }

    .hero-badges {
        font-size: 0.75rem;
    }

    .hero {
        padding-top: 4rem;
    }

    h1 {
        font-size: 2.3rem;
    }

    .pricing-card {
        padding: 1.75rem;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }

    .stat strong {
        font-size: 2.2rem;
    }

    .logo-grid {
        gap: 2rem;
    }

    .logo-grid a img {
        max-width: 140px;
    }
}


/* =========================================================
   ACCESSIBILITY
   ========================================================= */

:focus-visible {
    outline: 3px solid rgba(37, 99, 235, 0.35);

    outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {

    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;

        animation-iteration-count: 1 !important;

        transition-duration: 0.01ms !important;
    }

    .reveal {
        opacity: 1;

        transform: none;
    }
}