:root {

    --primary: #0f172a;
    --primary-light: #334155;
    --accent: #f97316;
    --accent-hover: #ea580c;


    --bg-body: #f8fafc;
    --bg-card: #ffffff;
    --bg-input: #f1f5f9;


    --text-main: #1e293b;
    --text-muted: #64748b;
    --text-light: #ffffff;


    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-hover: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);

    --font-main: 'Inter', system-ui, -apple-system, sans-serif;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);


    --npw-bg: #ffffff;
    --npw-ink: #002b4d;
    --npw-ink-2: rgba(0, 43, 77, .78);
    --npw-line: rgba(0, 43, 77, .18);
    --npw-shadow: 0 18px 55px rgba(0, 43, 77, .18);
    --npw-radius: 18px;
}

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

body {
    font-family: var(--font-main);
    background-color: var(--bg-body);
    color: var(--text-main);
    line-height: 1.6;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}


.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    width: 100%;
}

h1,
h2,
h3,
h4 {
    font-weight: 700;
    line-height: 1.2;
    color: var(--primary);
}

h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

h2 {
    font-size: 2rem;
    margin-bottom: 0.75rem;
}

h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

p {
    margin-bottom: 1rem;
    color: var(--text-muted);
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
    display: inline-block;
    width: 100%;
}


.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    border: none;
    transition: var(--transition);
    gap: 8px;
    letter-spacing: 0.02em;
}

.btn-primary {
    background: var(--primary);
    color: var(--text-light);
    box-shadow: 0 4px 6px rgba(15, 23, 42, 0.2);
}

.btn-primary:hover {
    background: var(--primary-light);
    transform: translateY(-2px);
    box-shadow: 0 6px 10px rgba(15, 23, 42, 0.25);
}

.btn-accent {
    background: linear-gradient(135deg, var(--accent), #f59e0b);
    color: var(--text-light);
    box-shadow: 0 4px 10px rgba(249, 115, 22, 0.3);
}

.btn-accent:hover {
    filter: brightness(1.1);
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(249, 115, 22, 0.4);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
}

.btn-outline:hover {
    background: var(--primary);
    color: var(--text-light);
}


header {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary);
    display: flex;
    align-items: center;
    gap: 12px;
    letter-spacing: -0.03em;
}

.logo img {
    height: 40px;
}

.nav-links {
    display: flex;
    gap: 32px;
}

.nav-links a {
    font-weight: 500;
    color: var(--text-main);
    font-size: 0.95rem;
    position: relative;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--accent);
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -4px;
    left: 0;
    background-color: var(--accent);
    transition: width 0.3s ease;
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

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

.hamburger {
    display: none;
    font-size: 1.5rem;
    color: var(--primary);
    cursor: pointer;
}


main {
    flex: 1;
    padding: 60px 0;
}

.hero {
    background: radial-gradient(circle at top right, #1e293b, #0f172a);
    color: var(--text-light);
    padding: 100px 0 120px;
    text-align: center;
    border-radius: 0 0 40px 40px;
    margin-bottom: 60px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -20%;
    width: 80%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.05) 0%, transparent 60%);
    transform: rotate(30deg);
}

.hero h1 {
    color: var(--text-light);
    font-size: 3.5rem;
    letter-spacing: -0.02em;
    max-width: 800px;
    margin: 0 auto 20px;
}

.hero p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.25rem;
    max-width: 600px;
    margin: 0 auto 40px;
}

.hero-btns {
    display: flex;
    justify-content: center;
    gap: 16px;
}


.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.card {
    background: var(--bg-card);
    padding: 32px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(0, 0, 0, 0.04);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
    border-color: rgba(0, 0, 0, 0.08);
}

.card img {
    height: 60px;
    object-fit: contain;
    margin-bottom: 24px;
    align-self: center;
}

.card h3 {
    text-align: center;
    margin-bottom: 12px;
}

.card p {
    text-align: center;
    font-size: 0.95rem;
    flex: 1;
}

.card .btn {
    width: 100%;
    margin-top: 20px;
}


.features-section {
    padding: 80px 0;
}

.feature-item {
    text-align: center;
    background: var(--bg-card);
    padding: 30px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
}

.feature-item i {
    font-size: 2.5rem;
    background: linear-gradient(135deg, var(--accent), #f59e0b);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 20px;
}

.step {
    background: var(--bg-card);
    padding: 24px;
    border-left: 4px solid var(--accent);
    margin-bottom: 20px;
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
}

.step h3 {
    color: var(--primary);
    margin-bottom: 8px;
}


.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--primary);
}

input,
textarea,
select {
    width: 100%;
    padding: 14px 16px;
    background: var(--bg-input);
    border: 1px solid transparent;
    border-radius: var(--radius-sm);
    font-size: 1rem;
    color: var(--text-main);
    font-family: var(--font-main);
    transition: var(--transition);
}

input:focus,
textarea:focus,
select:focus {
    outline: none;
    background: var(--bg-card);
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.1);
}

.newsletter {
    background: linear-gradient(135deg, var(--primary), #1e293b);
    color: var(--text-light);
    padding: 60px 20px;
    border-radius: var(--radius-lg);
    text-align: center;
    margin-top: 80px;
    box-shadow: var(--shadow-lg);
}

.newsletter-form {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 30px;
    flex-wrap: wrap;
}

.newsletter-form input {
    width: 350px;
    max-width: 100%;
    border: none;
}


.number-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(48px, 1fr));
    gap: 12px;
    margin-bottom: 30px;
}

.num-btn {
    width: 100%;
    aspect-ratio: 1;
    border: 1px solid var(--bg-input);
    background: var(--bg-card);
    border-radius: 50%;
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--text-muted);
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.num-btn:hover {
    border-color: var(--accent);
    color: var(--accent);
    transform: scale(1.05);
}

.num-btn.selected {
    background: var(--accent);
    color: var(--text-light);
    border-color: var(--accent);
    box-shadow: 0 4px 10px rgba(249, 115, 22, 0.4);
    transform: scale(1.1);
}

.saved-item {
    background: var(--bg-card);
    padding: 16px;
    margin-bottom: 12px;
    border-radius: var(--radius-sm);
    display: flex;
    justify-content: space-between;
    align-items: center;
    border: 1px solid #eee;
    box-shadow: var(--shadow-sm);
}

.ball {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 32px;
    height: 32px;
    background: linear-gradient(145deg, #ffffff, #e2e8f0);
    border: 1px solid #cbd5e1;
    border-radius: 50%;
    margin-right: 6px;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--primary);
    box-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
}


.msg-success {
    background-color: #ecfdf5;
    color: #047857;
    padding: 12px;
    border-radius: var(--radius-sm);
    font-weight: 500;
    border: 1px solid #a7f3d0;
    margin-top: 15px;
    display: none;
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.9);
    backdrop-filter: blur(5px);
    z-index: 2000;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.modal {
    background: var(--bg-card);
    padding: 40px;
    border-radius: var(--radius-md);
    max-width: 500px;
    width: 100%;
    text-align: center;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.cookie-banner {
    position: fixed;
    bottom: 20px;
    left: 20px;
    right: 20px;
    max-width: 1200px;
    margin: 0 auto;
    background: var(--primary);
    color: var(--text-light);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    padding: 24px;
    z-index: 1000;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 20px;
}

.cookie-banner .btn-outline {
    border-color: rgba(255, 255, 255, 0.3);
    color: var(--text-light);
}

.cookie-banner .btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
}



.disclaimer {
    margin-top: 60px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
    font-size: 0.85rem;
    text-align: center;
    opacity: 0.6;
}


@media (max-width: 768px) {
    .navbar {
        height: 70px;
    }

    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        background: var(--bg-card);
        box-shadow: var(--shadow-lg);
        padding: 30px;
        gap: 20px;
        text-align: center;
    }

    .nav-links.active {
        display: flex;
    }

    .hamburger {
        display: block;
    }

    .nav-auth {
        display: none;
    }

    .mobile-auth {
        display: block !important;
        margin-top: 20px;
        padding-top: 20px;
        border-top: 1px solid var(--bg-input);
    }

    .hero h1 {
        font-size: 2.2rem;
    }

    .cards-grid {
        grid-template-columns: 1fr;
    }

    .newsletter-form input {
        width: 100%;
    }

    .cookie-banner {
        flex-direction: column;
        text-align: center;
    }

    .cookie-btns {
        width: 100%;
        display: flex;
        flex-direction: column;
    }

    .cookie-btns .btn {
        width: 100%;
    }
}

.npw-noscroll {
    overflow: hidden;
}

.npw-btn {
    border: 1px solid var(--npw-line);
    background: var(--npw-bg);
    color: var(--npw-ink);
    padding: 12px 14px;
    border-radius: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: transform .12s ease, box-shadow .12s ease, background .12s ease;
    box-shadow: 0 8px 20px rgba(0, 43, 77, .08);
}

.npw-btn:active {
    transform: translateY(1px);
}

.npw-btn:focus {
    outline: 3px solid rgba(0, 43, 77, .20);
    outline-offset: 2px;
}

.npw-btn--primary {
    background: var(--npw-ink);
    color: #fff;
    border-color: var(--npw-ink);
}

.npw-btn--primary:hover {
    box-shadow: 0 14px 26px rgba(0, 43, 77, .18);
}

.npw-btn--ghost {
    background: #fff;
}

.npw-btn--ghost:hover {
    background: rgba(0, 43, 77, .04);
}

.npw-iconbtn {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    border: 1px solid var(--npw-line);
    background: #fff;
    color: var(--npw-ink);
    cursor: pointer;
    font-weight: 900;
}

.npw-cookie {
    position: fixed;
    left: 16px;
    right: 16px;
    bottom: 16px;
    z-index: 9998;
    display: none;
}

.npw-cookie.is-open {
    display: block;
}

.npw-cookie__inner {
    background: #fff;
    border: 1px solid var(--npw-line);
    border-radius: var(--npw-radius);
    box-shadow: var(--npw-shadow);
    padding: 14px;
    display: flex;
    gap: 14px;
    align-items: center;
    justify-content: space-between;
}

.npw-cookie__text {
    display: flex;
    flex-direction: column;
    gap: 4px;
    color: var(--npw-ink);
    max-width: 680px;
}

.npw-cookie__text span {
    color: var(--npw-ink-2);
    font-weight: 600;
}

.npw-cookie__actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

@media (max-width: 720px) {
    .npw-cookie__inner {
        flex-direction: column;
        align-items: stretch;
    }

    .npw-cookie__actions {
        justify-content: stretch;
    }

    .npw-cookie__actions .npw-btn {
        width: 100%;
    }
}

.npw-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: none;
}

.npw-modal.is-open {
    display: block;
}

.npw-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 43, 77, .55);
}

.npw-modal__card {
    position: relative;
    width: min(640px, calc(100% - 32px));
    margin: min(10vh, 80px) auto 0;
    background: #fff;
    border-radius: var(--npw-radius);
    border: 1px solid var(--npw-line);
    box-shadow: var(--npw-shadow);
    overflow: hidden;
}

.npw-modal__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 16px 16px;
    border-bottom: 1px solid var(--npw-line);
}

.npw-modal__title {
    margin: 0;
    color: var(--npw-ink);
    font-size: 18px;
}

.npw-modal__body {
    padding: 14px 16px;
}

.npw-modal__actions {
    padding: 14px 16px;
    border-top: 1px solid var(--npw-line);
    display: flex;
    gap: 10px;
    justify-content: flex-end;
    flex-wrap: wrap;
}

.npw-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 12px 0;
    border-bottom: 1px dashed rgba(0, 43, 77, .18);
}

.npw-row:last-child {
    border-bottom: none;
}

.npw-row__text strong {
    color: var(--npw-ink);
}

.npw-row__text p {
    margin: 4px 0 0;
    color: var(--npw-ink-2);
    font-weight: 600;
}

.npw-toggle {
    width: 54px;
    height: 32px;
    border-radius: 999px;
    border: 1px solid var(--npw-line);
    background: rgba(0, 43, 77, .08);
    position: relative;
}

.npw-toggle__pill {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: var(--npw-ink);
    position: absolute;
    top: 2px;
    left: 26px;
}

.npw-toggle--disabled {
    opacity: .55;
}

.npw-switch {
    position: relative;
    width: 54px;
    height: 32px;
    display: inline-block;
}

.npw-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.npw-switch__ui {
    position: absolute;
    inset: 0;
    border-radius: 999px;
    border: 1px solid var(--npw-line);
    background: rgba(0, 43, 77, .08);
    transition: background .12s ease;
}

.npw-switch__ui::after {
    content: "";
    position: absolute;
    width: 26px;
    height: 26px;
    left: 2px;
    top: 2px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 10px 20px rgba(0, 43, 77, .20);
    transition: transform .12s ease, background .12s ease;
}

.npw-switch input:checked+.npw-switch__ui {
    background: var(--npw-ink);
}

.npw-switch input:checked+.npw-switch__ui::after {
    transform: translateX(22px);
    background: #fff;
}

.npw-age {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: none;
}

.npw-age.is-open {
    display: block;
}

.npw-age__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 43, 77, .65);
}

.npw-age__card {
    position: relative;
    width: min(720px, calc(100% - 32px));
    margin: min(10vh, 80px) auto 0;
    background: #fff;
    border-radius: var(--npw-radius);
    border: 1px solid var(--npw-line);
    box-shadow: var(--npw-shadow);
    overflow: hidden;
    padding: 0 0 16px;
}

.npw-age__head {
    background: var(--npw-ink);
    padding: 16px;
}

.npw-age__title {
    margin: 0;
    color: #fff;
    font-size: 20px;
}

.npw-age__desc {
    margin: 14px 16px 0;
    color: var(--npw-ink);
    font-weight: 650;
    line-height: 1.45;
}

.npw-age__actions {
    margin: 14px 16px 0;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.npw-age__actions .npw-btn {
    flex: 1 1 180px;
}

.npw-age__note {
    margin: 12px 16px 0;
    color: var(--npw-ink-2);
    font-weight: 600;
}

.footer-imgs {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
}

.footer-imgs img { 
    padding: 12px;
    margin: 12px;
    height: 55px;
    background: white;
    border-radius: 10px;
}