/* ----------------------------------------------------
   BASE & RESET
---------------------------------------------------- */

html {
    font-size: 14px;
    position: relative;
    min-height: 100%;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

body {
    margin: 0;
    margin-bottom: 60px;
    font-family: var(--font-main);
    background: var(--bg);
    color: var(--text);
}

/* ----------------------------------------------------
   VARIABLES
---------------------------------------------------- */

:root {
    --bg: #ffffff;
    --bg-alt: #f5f7fa;
    --accent: #0066cc;
    --accent-soft: #4da3ff;
    --text: #1a1a1a;
    --muted: #555;
    --border: #d9d9d9;
    --card-bg: #ffffff;
    --paypal: #ffc439;
    --font-main: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

/* ----------------------------------------------------
   FOCUS STATES
---------------------------------------------------- */

.btn:focus,
.btn:active:focus,
.btn-link.nav-link:focus,
.form-control:focus,
.form-check-input:focus {
    box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

/* ----------------------------------------------------
   HEADER
---------------------------------------------------- */

.top-nav {
    position: sticky;
    top: 0;
    background: #ffffffcc;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
    padding: 0.75rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

    .top-nav nav a {
        color: var(--muted);
        text-decoration: none;
        padding: 0.4rem 0.7rem;
        border-radius: 8px;
    }

        .top-nav nav a:hover {
            background: var(--accent-soft);
            color: #fff;
        }

/* LOGO */

.logo-block {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo-svg {
    width: 120px;
    height: 40px;
}

.logo-bg {
    fill: #fff;
    stroke: var(--accent-soft);
    stroke-width: 1;
}

.logo-infinity {
    fill: none;
    stroke: var(--accent);
    stroke-width: 2.5;
    stroke-linecap: round;
}

.logo-core {
    fill: var(--accent-soft);
}

.logo-text {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

    .logo-text .brand {
        font-weight: 700;
        letter-spacing: 0.08em;
        text-transform: uppercase;
    }

    .logo-text .claim {
        font-size: 0.7rem;
        color: var(--muted);
        max-width: 420px;
    }

/* ----------------------------------------------------
   SECTIONS
---------------------------------------------------- */

.section {
    padding: 3rem 2rem;
    max-width: 1100px;
    margin: auto;
}

    .section.alt {
        background: var(--bg-alt);
        border-radius: 16px;
        border: 1px solid var(--border);
    }

/* ----------------------------------------------------
   CARDS
---------------------------------------------------- */

.card {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 1rem 1.25rem;
}

/* ----------------------------------------------------
   BUTTONS
---------------------------------------------------- */

.btn.primary {
    background: var(--accent);
    color: #fff;
    border-radius: 999px;
    padding: 0.6rem 1.2rem;
    text-decoration: none;
    border: none;
}

    .btn.primary:hover {
        background: var(--accent-soft);
    }

.btn.ghost {
    background: transparent;
    border: 1px solid var(--accent);
    color: var(--accent);
    border-radius: 999px;
    padding: 0.6rem 1.2rem;
    text-decoration: none;
}

    .btn.ghost:hover {
        background: var(--accent);
        color: #fff;
    }

/* ----------------------------------------------------
   CONTACT FORM — GRID VERSION
---------------------------------------------------- */

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

    .form-group.full {
        grid-column: span 2;
    }

    .form-group label {
        font-size: 0.85rem;
        color: var(--muted);
        margin-bottom: 0.35rem;
    }

    .form-group input,
    .form-group textarea {
        border: 1px solid var(--border);
        border-radius: 8px;
        padding: 0.6rem 0.75rem;
        font-size: 0.95rem;
        background: #fff;
        color: var(--text);
    }

        .form-group input:focus,
        .form-group textarea:focus {
            outline: none;
            border-color: var(--accent);
        }

.form-actions {
    margin-top: 1.5rem;
    text-align: right;
}

/* ----------------------------------------------------
   FOOTER
---------------------------------------------------- */

.footer {
    background: var(--bg-alt);
    border-top: 1px solid var(--border);
    padding: 2rem;
    color: var(--muted);
    text-align: center;
}

.footer-ring {
    font-weight: 600;
    margin-bottom: 0.5rem;
}

/* ----------------------------------------------------
   RESPONSIVE
---------------------------------------------------- */

@media (max-width: 768px) {
    .form-grid {
        grid-template-columns: 1fr;
    }

    .form-group.full {
        grid-column: span 1;
    }

    .top-nav {
        flex-direction: column;
        gap: 1rem;
    }
}
.footer-icons {
    margin-top: 1rem;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.2rem;
}

.wr-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 0.85rem;
    color: var(--muted);
}

.wr-icon {
    width: 28px;
    height: 28px;
    margin-bottom: 0.3rem;
    color: var(--accent);
}
