:root {
    --primary-color: #0056b3;
    /* Deep Blue */
    --primary-dark: #004494;
    --accent-color: #28a745;
    /* Green for Action */
    --accent-hover: #218838;
    --text-color: #333333;
    --text-light: #666666;
    --bg-light: #f8f9fa;
    --white: #ffffff;
    --border-color: #e9ecef;
    --radius: 8px;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);
    --header-height: 70px;
}

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

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    background-color: var(--white);
    padding-top: var(--header-height);
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.2s;
}

ul {
    list-style: none;
}

button {
    cursor: pointer;
    font-family: inherit;
    border: none;
    background: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.container-sm {
    max-width: 800px;
}

.text-center {
    text-align: center;
}

h1,
h2,
h3,
h4 {
    margin-bottom: 20px;
    line-height: 1.2;
}

/* --- BUTTONS --- */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: var(--radius);
    font-weight: 600;
    transition: all 0.2s;
    text-align: center;
}

.btn-primary {
    background-color: var(--accent-color);
    color: var(--white);
}

.btn-primary:hover {
    background-color: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(40, 167, 69, 0.3);
}

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

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

.btn-block {
    display: block;
    width: 100%;
}

.btn-lg {
    font-size: 1.1rem;
    padding: 15px 30px;
    text-transform: uppercase;
}

.pulse-animation {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(40, 167, 69, 0.7);
    }

    70% {
        transform: scale(1.02);
        box-shadow: 0 0 0 10px rgba(40, 167, 69, 0);
    }

    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(40, 167, 69, 0);
    }
}

/* --- HEADER --- */
.header {
    background: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    height: var(--header-height);
    display: flex;
    align-items: center;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo-text {
    font-size: 24px;
    font-weight: 800;
    color: var(--primary-color);
}

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

.nav-list {
    display: flex;
    gap: 30px;
}

.nav-link {
    font-weight: 500;
    color: var(--text-color);
}

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

.header-actions .btn {
    padding: 8px 20px;
    font-size: 14px;
}

.mobile-menu-toggle {
    display: none;
}

/* --- HERO & CALCULATOR --- */
.hero {
    background: linear-gradient(135deg, #f0f4f8 0%, #ffffff 100%);
    padding: 60px 0;
    min-height: calc(100vh - var(--header-height));
    display: flex;
    align-items: center;
}

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

.hero-content {
    flex: 1;
    max-width: 500px;
}

.hero-title {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.hero-title .highlight {
    color: var(--accent-color);
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 40px;
}

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

.feature-item {
    text-align: center;
}

.feature-icon {
    font-size: 2rem;
    margin-bottom: 10px;
    background: var(--white);
    width: 60px;
    height: 60px;
    line-height: 60px;
    border-radius: 50%;
    box-shadow: var(--shadow);
    margin: 0 auto 10px;
}

.feature-text {
    font-size: 0.9rem;
    font-weight: 500;
    line-height: 1.2;
}

/* CALCULATOR */
.calculator-card {
    flex: 1;
    max-width: 450px;
    background: var(--white);
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    border: 1px solid var(--border-color);
}

.calc-header {
    background: var(--bg-light);
    padding: 20px;
    text-align: center;
    border-bottom: 1px solid var(--border-color);
}

.calc-header h2 {
    margin: 0;
    font-size: 1.4rem;
    color: var(--primary-color);
}

.calc-body {
    padding: 30px;
}

.calc-group {
    margin-bottom: 25px;
}

.calc-label-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.calc-label-row label {
    font-weight: 500;
    color: var(--text-light);
}

.calc-value {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary-color);
}

.range-slider {
    width: 100%;
    margin-bottom: 8px;
    -webkit-appearance: none;
    height: 6px;
    background: #e9ecef;
    border-radius: 3px;
    outline: none;
}

.range-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 24px;
    height: 24px;
    background: var(--accent-color);
    border: 3px solid var(--white);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    border-radius: 50%;
    cursor: pointer;
    transition: background 0.2s;
}

.range-slider::-webkit-slider-thumb:hover {
    background: var(--accent-hover);
    transform: scale(1.1);
}

.calc-limits {
    display: flex;
    justify-content: space-between;
    font-size: 0.8rem;
    color: #999;
}

.calc-results {
    background: var(--bg-light);
    border-radius: var(--radius);
    padding: 20px;
    margin-bottom: 25px;
}

.result-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
    font-size: 1rem;
}

.result-row:last-child {
    margin-bottom: 0;
}

.result-row span:first-child {
    color: var(--text-light);
}

.result-val {
    font-weight: 700;
    font-size: 1.1rem;
}

.result-val.highlight {
    color: var(--accent-color);
    font-size: 1.3rem;
}

.result-row.sm {
    font-size: 0.9rem;
    border-top: 1px solid #ddd;
    padding-top: 10px;
    margin-top: 10px;
}

.calc-note {
    font-size: 0.75rem;
    color: #999;
    text-align: center;
    margin-top: 15px;
}

/* --- CONTENT SECTIONS --- */
.section-title {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 40px;
    position: relative;
    padding-bottom: 15px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 4px;
    background: var(--accent-color);
    border-radius: 2px;
}

.text-center .section-title::after {
    left: 50%;
    transform: translateX(-50%);
}

.steps,
.benefits,
.faq,
.cta-section {
    padding: 80px 0;
}

/* STEPS */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.step-card {
    background: var(--white);
    padding: 30px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    position: relative;
    transition: transform 0.3s;
}

.step-card:hover {
    transform: translateY(-5px);
}

.step-number {
    font-size: 3rem;
    font-weight: 900;
    color: rgba(0, 86, 179, 0.1);
    /* Primary color low opacity */
    position: absolute;
    top: 10px;
    right: 20px;
}

.step-card h3 {
    margin-top: 20px;
    font-size: 1.2rem;
}

/* BENEFITS */
.benefits {
    background: var(--bg-light);
}

.benefits-wrapper {
    display: flex;
    gap: 50px;
    align-items: center;
}

.benefits-content {
    flex: 1;
}

.benefits-list li {
    display: flex;
    gap: 15px;
    margin-bottom: 25px;
}

.check-icon {
    width: 24px;
    height: 24px;
    background: var(--accent-color);
    color: var(--white);
    border-radius: 50%;
    text-align: center;
    line-height: 24px;
    flex-shrink: 0;
    font-size: 14px;
    font-weight: bold;
}

.benefits-image {
    flex: 1;
    display: flex;
    justify-content: center;
}

.benefits-image img {
    max-width: 100%;
    height: auto;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.1));
}

.mockup-placeholder {
    width: 300px;
    height: 500px;
    background: #e0e7ff;
    border: 8px solid #333;
    border-radius: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: var(--primary-color);
}

/* FAQ */
.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid var(--border-color);
}

.faq-question {
    width: 100%;
    text-align: left;
    padding: 20px;
    font-size: 1.1rem;
    font-weight: 600;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-question::after {
    content: '+';
    font-size: 1.5rem;
    color: var(--accent-color);
}

.faq-item.active .faq-question::after {
    content: '-';
}

.faq-answer {
    padding: 0 20px 20px;
    display: none;
    color: var(--text-light);
}

.faq-item.active .faq-answer {
    display: block;
}

/* CTA BOX */
.cta-section {
    background: #002a4d;
    color: var(--white);
    text-align: center;
}

.cta-box h2 {
    color: var(--white);
}

.cta-box p {
    margin-bottom: 30px;
    font-size: 1.2rem;
    opacity: 0.9;
}

/* STATS SECTION */
.stats-section {
    background: var(--primary-color);
    color: var(--white);
    padding: 60px 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    text-align: center;
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    color: var(--accent-color);
    margin-bottom: 10px;
}

.stat-label {
    font-size: 1rem;
    opacity: 0.9;
}

/* PARTNERS */
.partners {
    background: var(--white);
    padding: 60px 0;
}

.partners-grid {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
    align-items: center;
    margin-top: 40px;
}

.partner-logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: #ccc;
    border: 2px solid #eee;
    padding: 15px 30px;
    border-radius: 8px;
    transition: all 0.3s;
    user-select: none;
}

.partner-logo:hover {
    color: var(--primary-color);
    border-color: var(--primary-color);
    transform: translateY(-3px);
}

/* TESTIMONIALS */
.testimonials {
    background: #f8f9fa;
    padding: 80px 0;
}

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

.review-card {
    background: var(--white);
    padding: 30px;
    border-radius: 12px;
    box-shadow: var(--shadow);
}

.review-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.review-avatar {
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.2rem;
}

.review-info h4 {
    margin: 0;
    font-size: 1.1rem;
    color: var(--text-color);
}

.stars {
    color: #ffc107;
    font-size: 0.9rem;
}

.review-text {
    font-style: italic;
    color: var(--text-light);
    font-size: 0.95rem;
}

/* LEGAL WARNING */
.legal-warning {
    background: #fff3cd;
    color: #856404;
    padding: 15px 0;
    text-align: center;
    font-size: 0.9rem;
    border-top: 1px solid #ffeeba;
    border-bottom: 1px solid #ffeeba;
}

/* RESPONSIVE ADJUSTMENTS */
@media (max-width: 900px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

    .partners-grid {
        gap: 20px;
    }

    .partner-logo {
        padding: 10px 20px;
        font-size: 1.2rem;
    }
}

/* REPAYMENT SECTION */
.repayment {
    background: var(--bg-light);
    padding: 80px 0;
}

.repayment-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 40px;
}

.repayment-item {
    background: var(--white);
    padding: 30px 20px;
    border-radius: var(--radius);
    text-align: center;
    box-shadow: var(--shadow);
    transition: transform 0.3s;
}

.repayment-item:hover {
    transform: translateY(-5px);
}

.repayment-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.repayment-item h4 {
    margin-bottom: 10px;
    font-size: 1.1rem;
    color: var(--primary-color);
}

.repayment-item p {
    font-size: 0.9rem;
    color: var(--text-light);
}

/* DOCUMENTS SECTION */
.documents {
    padding: 60px 0;
    background: var(--white);
}

.docs-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    max-width: 900px;
    margin: 40px auto 0;
}

.doc-item {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    transition: all 0.3s;
}

.doc-item:hover {
    border-color: var(--primary-color);
    box-shadow: var(--shadow);
    background: #f8fbff;
}

.doc-icon {
    font-size: 2.5rem;
    color: #e74c3c;
    /* PDF Red */
}

.doc-info h4 {
    margin-bottom: 5px;
    font-size: 1rem;
    color: var(--text-color);
}

.doc-info span {
    font-size: 0.85rem;
    color: #999;
}

/* COOKIE BANNER */
.cookie-banner {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--white);
    padding: 20px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 20px;
    z-index: 9999;
    width: 90%;
    max-width: 600px;
    border: 1px solid #eee;
    opacity: 0;
    pointer-events: none;
    transition: all 0.5s;
}

.cookie-banner.show {
    opacity: 1;
    pointer-events: all;
    bottom: 30px;
}

.cookie-banner p {
    font-size: 0.9rem;
    flex: 1;
    margin: 0;
}

.cookie-banner a {
    color: var(--primary-color);
    text-decoration: underline;
}

/* MOBILE STICKY BUTTON */
.mobile-sticky-btn {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: var(--white);
    padding: 15px 20px;
    box-shadow: 0 -5px 15px rgba(0, 0, 0, 0.1);
    z-index: 9998;
    display: none;
    /* Hidden on desktop */
}

/* MOBILE RESPONSIVE UPDATES */
@media (max-width: 900px) {

    .repayment-grid,
    .docs-grid {
        grid-template-columns: 1fr;
    }

    .mobile-sticky-btn {
        display: block;
    }

    .cookie-banner {
        flex-direction: column;
        text-align: center;
        bottom: 90px !important;
        /* Above sticky button */
        width: 95%;
    }

    /* Add padding to footer so it's not hidden by sticky button */
    .footer {
        padding-bottom: 100px;
    }
}

/* Add padding to footer so it's not hidden by sticky button */
.footer {
    padding-bottom: 100px;
}
}

/* MOBILE APP SECTION */
.mobile-app {
    padding: 80px 0;
    background: #f0f4f8;
    overflow: hidden;
}

.app-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
}

.app-text {
    flex: 1;
}

.app-features {
    list-style: none;
    margin: 30px 0;
}

.app-features li {
    margin-bottom: 15px;
    font-size: 1.1rem;
    color: var(--text-color);
}

.app-buttons {
    display: flex;
    gap: 20px;
}

.store-btn {
    background: #000;
    color: #fff;
    padding: 10px 20px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    transition: transform 0.3s;
    min-width: 180px;
}

.store-btn:hover {
    transform: translateY(-3px);
    background: #222;
}

.store-icon {
    font-size: 2rem;
}

.store-info {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.store-subtitle {
    font-size: 0.7rem;
    text-transform: uppercase;
}

.store-title {
    font-size: 1.2rem;
    font-weight: bold;
}

.app-image {
    flex: 1;
    display: flex;
    justify-content: center;
}

.app-image img {
    max-width: 100%;
    height: auto;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.15));
}

@media (max-width: 900px) {
    .app-content {
        flex-direction: column;
        text-align: center;
    }

    .app-buttons {
        justify-content: center;
        flex-wrap: wrap;
    }

    .app-image img {
        margin-top: 40px;
        transform: rotate(0);
        max-width: 80%;
    }
}

/* LOYALTY SECTION */
.loyalty-section {
    padding: 60px 0;
    background: var(--bg-light);
}

.loyalty-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.loyalty-card {
    background: var(--white);
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    border: 2px solid transparent;
    transition: transform 0.3s;
    position: relative;
    overflow: hidden;
}

.loyalty-card:hover {
    transform: translateY(-5px);
}

.level-icon {
    font-size: 3rem;
    margin-bottom: 15px;
}

.loyalty-card h3 {
    font-size: 1.5rem;
    margin-bottom: 5px;
    color: var(--primary-color);
}

.level-limit {
    font-size: 1.2rem;
    font-weight: bold;
    color: var(--text-color);
    margin-bottom: 15px;
}

.level-benefits {
    list-style: none;
    padding: 0;
    font-size: 0.95rem;
    color: var(--text-light);
}

.level-benefits li {
    margin-bottom: 8px;
}

/* Level Specifics */
.level-1 {
    border-color: #cd7f32;
}

/* Bronze */
.level-2 {
    border-color: #c0c0c0;
}

/* Silver */
.level-3 {
    border-color: #ffd700;
}

/* Gold */

.current-badge {
    position: absolute;
    top: 15px;
    right: -30px;
    background: var(--secondary-color);
    color: var(--white);
    padding: 5px 30px;
    transform: rotate(45deg);
    font-size: 0.7rem;
    font-weight: bold;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

@media (max-width: 768px) {
    .loyalty-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin-left: auto;
        margin-right: auto;
    }
}

/* LOGIN MODAL */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;
}

.modal-overlay.active {
    opacity: 1;
    pointer-events: all;
}

.modal-card {
    background: var(--white);
    padding: 40px;
    border-radius: 12px;
    width: 90%;
    max-width: 400px;
    position: relative;
    transform: translateY(20px);
    transition: transform 0.3s;
}

.modal-overlay.active .modal-card {
    transform: translateY(0);
}

.modal-close {
    position: absolute;
    top: 10px;
    right: 15px;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #999;
}

.form-input {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
    margin-bottom: 15px;
}

/* NOTIFICATIONS */
.notification-container {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 9900;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.toast {
    background: var(--white);
    padding: 15px 20px;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    gap: 15px;
    min-width: 300px;
    border-left: 4px solid var(--secondary-color);
    animation: slideIn 0.5s, fadeOut 0.5s 4.5s forwards;
}

@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }

    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes fadeOut {
    from {
        opacity: 1;
    }

    to {
        opacity: 0;
    }
}

.toast-icon {
    font-size: 1.5rem;
}

.toast-content h4 {
    margin: 0;
    font-size: 0.95rem;
    color: var(--text-color);
}

.toast-content p {
    margin: 0;
    font-size: 0.85rem;
    color: #666;
}

/* FOOTER */
.footer {
    background: #1a1a1a;
    color: #999;
    padding: 60px 0 20px;
    font-size: 0.9rem;
}

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

.footer-logo .logo-text {
    color: var(--white);
}

.footer-desc {
    margin-top: 15px;
    max-width: 300px;
}

.footer-col h4 {
    color: var(--white);
    margin-bottom: 20px;
}

.footer-links li,
.footer-contacts li {
    margin-bottom: 10px;
}

.footer-links a:hover,
.footer-contacts a:hover {
    color: var(--white);
}

.footer-bottom {
    border-top: 1px solid #333;
    padding-top: 20px;
    text-align: center;
}

/* RESPONSIVE */
@media (max-width: 900px) {
    .header-container {
        padding: 0 15px;
    }

    .mobile-menu-toggle {
        display: block;
        width: 30px;
        height: 20px;
        position: relative;
    }

    .mobile-menu-toggle span {
        display: block;
        width: 100%;
        height: 2px;
        background: var(--text-color);
        position: absolute;
        left: 0;
        transition: 0.3s;
    }

    .mobile-menu-toggle span:nth-child(1) {
        top: 0;
    }

    .mobile-menu-toggle span:nth-child(2) {
        top: 9px;
    }

    .mobile-menu-toggle span:nth-child(3) {
        top: 18px;
    }

    .nav {
        position: absolute;
        top: var(--header-height);
        left: 0;
        width: 100%;
        background: var(--white);
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
        display: none;
    }

    .nav.active {
        display: block;
    }

    .nav-list {
        flex-direction: column;
        padding: 20px;
        gap: 15px;
        text-align: center;
    }

    .header-actions {
        display: none;
    }

    .hero-container {
        flex-direction: column;
        padding: 40px 15px;
    }

    .hero-content {
        text-align: center;
        max-width: 100%;
    }

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

    .calculator-card {
        width: 100%;
        max-width: 100%;
    }

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

    .benefits-wrapper {
        flex-direction: column-reverse;
    }

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