/* ===== CSS Variables ===== */
:root {
    --primary-color: #6366f1;
    --primary-dark: #4f46e5;
    --primary-light: #818cf8;
    --secondary-color: #10b981;
    --accent-color: #f59e0b;
    --text-primary: #0f172a;
    --text-secondary: #475569;
    --text-muted: #94a3b8;
    --bg-primary: #ffffff;
    --bg-secondary: #f8fafc;
    --bg-gray: #f1f5f9;
    --border-color: #e2e8f0;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --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-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --radius-sm: 0.5rem;
    --radius-md: 1rem;
    --radius-lg: 1.5rem;
    --radius-xl: 2rem;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ===== Reset & Base ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background: var(--bg-primary);
    overflow-x: hidden;
}

/* ===== Container ===== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

@media (max-width: 768px) {
    .container {
        padding: 0 1rem;
    }
}

/* ===== Header & Navigation ===== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(226, 232, 240, 0.6);
    transition: var(--transition);
}

.header.scrolled {
    background: rgba(255, 255, 255, 0.95);
    box-shadow: var(--shadow-md);
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 5rem;
}

.nav__logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
    text-decoration: none;
    transition: var(--transition);
}

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

.logo-icon {
    font-size: 1.75rem;
}

.nav__list {
    display: flex;
    align-items: center;
    gap: 2.5rem;
    list-style: none;
}

.nav__link {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.938rem;
    transition: var(--transition);
    position: relative;
}

.nav__link::after {
    content: '';
    position: absolute;
    bottom: -0.5rem;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

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

.nav__link:hover::after {
    width: 100%;
}

.nav__toggle {
    display: none;
    flex-direction: column;
    gap: 0.25rem;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.nav__toggle span {
    width: 1.5rem;
    height: 2px;
    background: var(--text-primary);
    transition: var(--transition);
}

@media (max-width: 768px) {
    .nav__menu {
        position: fixed;
        top: 5rem;
        left: -100%;
        width: 100%;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(12px);
        padding: 2rem;
        transition: left 0.3s ease;
        border-bottom: 1px solid var(--border-color);
    }

    .nav__menu.active {
        left: 0;
    }

    .nav__list {
        flex-direction: column;
        gap: 1.5rem;
        align-items: flex-start;
    }

    .nav__toggle {
        display: flex;
    }
}

/* ===== Hero Section ===== */
.hero {
    padding: 10rem 0 6rem;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #667eea15 0%, #764ba215 100%);
    z-index: -1;
}

.hero__container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero__title {
    font-size: 4rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero__description {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    line-height: 1.7;
}

.hero__stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 2.5rem;
}

.stat {
    display: flex;
    flex-direction: column;
}

.stat__number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary-color);
    line-height: 1;
}

.stat__label {
    font-size: 0.938rem;
    color: var(--text-muted);
    margin-top: 0.5rem;
}

.hero__image {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.hero__card {
    width: 100%;
    aspect-ratio: 1;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1) 0%, rgba(139, 92, 246, 0.1) 100%);
    border-radius: var(--radius-xl);
    position: relative;
    animation: float 6s ease-in-out infinite;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(99, 102, 241, 0.2);
}

.card__glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
    height: 80%;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.4) 0%, transparent 70%);
    filter: blur(40px);
    animation: pulse 4s ease-in-out infinite;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-20px);
    }
}

@keyframes pulse {
    0%, 100% {
        opacity: 0.6;
        transform: translate(-50%, -50%) scale(1);
    }
    50% {
        opacity: 0.8;
        transform: translate(-50%, -50%) scale(1.1);
    }
}

.hero__scroll {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-muted);
    font-size: 0.875rem;
    cursor: pointer;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    50% {
        transform: translateX(-50%) translateY(10px);
    }
}

@media (max-width: 968px) {
    .hero__container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .hero__title {
        font-size: 3rem;
    }

    .hero__image {
        display: none;
    }
}

@media (max-width: 576px) {
    .hero {
        padding: 8rem 0 4rem;
    }

    .hero__title {
        font-size: 2.5rem;
    }

    .hero__description {
        font-size: 1.125rem;
    }

    .hero__stats {
        grid-template-columns: repeat(3, 1fr);
        gap: 1rem;
    }

    .stat__number {
        font-size: 1.75rem;
    }

    .stat__label {
        font-size: 0.813rem;
    }
}

/* ===== Buttons ===== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: var(--radius-md);
    text-decoration: none;
    cursor: pointer;
    border: none;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn:hover::before {
    width: 300px;
    height: 300px;
}

.btn--primary {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
}

.btn--primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn--large {
    padding: 1.125rem 2.5rem;
    font-size: 1.125rem;
}

.btn--full {
    width: 100%;
    justify-content: center;
}

/* ===== Sections ===== */
.section {
    padding: 6rem 0;
}

.section--gray {
    background: var(--bg-gray);
}

.section__title {
    font-size: 2.5rem;
    font-weight: 800;
    text-align: center;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.section__subtitle {
    text-align: center;
    color: var(--text-muted);
    margin-bottom: 3rem;
    font-size: 1.125rem;
}

@media (max-width: 768px) {
    .section {
        padding: 4rem 0;
    }

    .section__title {
        font-size: 2rem;
    }
}

/* ===== Content Block ===== */
.content-block {
    max-width: 800px;
    margin: 0 auto 3rem;
}

.content-block p {
    font-size: 1.125rem;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

/* ===== Features ===== */
.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.feature {
    background: var(--bg-primary);
    padding: 2rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.feature:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.feature__icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.feature__title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
}

.feature__text {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ===== Steps ===== */
.steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.step {
    position: relative;
    padding: 2rem;
    background: var(--bg-primary);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

.step__number {
    position: absolute;
    top: -1.5rem;
    left: 2rem;
    width: 3rem;
    height: 3rem;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    font-weight: 700;
    box-shadow: var(--shadow-lg);
}

.step__title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    margin-top: 1rem;
    color: var(--text-primary);
}

.step__text {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ===== Loan Cards ===== */
.loan-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.loan-card {
    background: var(--bg-primary);
    border-radius: var(--radius-xl);
    padding: 2rem;
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
    position: relative;
    border: 2px solid transparent;
}

.loan-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-light);
}

.loan-card--featured {
    border-color: var(--primary-color);
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.03) 0%, rgba(139, 92, 246, 0.03) 100%);
}

.loan-card__badge {
    position: absolute;
    top: -0.75rem;
    right: 1.5rem;
    background: linear-gradient(135deg, var(--accent-color) 0%, #ea580c 100%);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: var(--radius-md);
    font-size: 0.875rem;
    font-weight: 600;
    box-shadow: var(--shadow-md);
}

.loan-card__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--border-color);
}

.loan-card__logo {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 120px;
    height: 60px;
    /*background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);*/
    border-radius: var(--radius-md);
    font-size: 1.125rem;
    font-weight: 700;
    color: white;
    text-align: center;
    padding: 0.5rem;
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.2);
    line-height: 1.2;
    transition: var(--transition);
}

.loan-card:hover .loan-card__logo {
    transform: scale(1.05);
}

/* Unique gradient for each lender */
/*.loan-card__logo--altero { background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); }
.loan-card__logo--finbee { background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%); }
.loan-card__logo--credit24 { background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%); }
.loan-card__logo--banknote { background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%); }
.loan-card__logo--creditking { background: linear-gradient(135deg, #fa709a 0%, #fee140 100%); }
.loan-card__logo--creditea { background: linear-gradient(135deg, #30cfd0 0%, #330867 100%); }
.loan-card__logo--bobutes { background: linear-gradient(135deg, #ffecd2 0%, #fcb69f 100%); color: #333; }*/

.loan-card__rating {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.rating {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
}

.rating-stars {
    font-size: 0.875rem;
}

.loan-card__amount {
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.loan-card__subtitle {
    font-size: 0.938rem;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    font-style: italic;
}

.loan-card__features {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--text-secondary);
    font-size: 0.938rem;
}

.loan-card__details {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    padding: 1.5rem;
    background: var(--bg-gray);
    border-radius: var(--radius-md);
    margin-bottom: 1.5rem;
}

.detail {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.detail__label {
    font-size: 0.813rem;
    color: var(--text-muted);
}

.detail__value {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--text-primary);
}

/* ===== Tips ===== */
.tips {
    display: grid;
    gap: 2rem;
    margin-top: 3rem;
}

.tip {
    background: var(--bg-primary);
    padding: 2rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    border-left: 4px solid var(--primary-color);
}

.tip__title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.tip__text {
    color: var(--text-secondary);
    line-height: 1.8;
    font-size: 1.063rem;
}

/* ===== FAQ ===== */
.faq {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.faq__item {
    background: var(--bg-primary);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    overflow: hidden;
}

.faq__question {
    width: 100%;
    padding: 1.5rem 2rem;
    background: none;
    border: none;
    text-align: left;
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-primary);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition);
}

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

.faq__question svg {
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.faq__item.active .faq__question svg {
    transform: rotate(180deg);
}

.faq__answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq__item.active .faq__answer {
    max-height: 500px;
}

.faq__answer p {
    padding: 0 2rem 1.5rem;
    color: var(--text-secondary);
    line-height: 1.8;
}

/* ===== CTA Section ===== */
.cta {
    padding: 6rem 0;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    position: relative;
    overflow: hidden;
}

.cta::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.cta__content {
    text-align: center;
    position: relative;
    z-index: 1;
}

.cta__title {
    font-size: 3rem;
    font-weight: 800;
    color: white;
    margin-bottom: 1rem;
}

.cta__text {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2.5rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

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

.cta .btn--primary:hover {
    background: var(--bg-gray);
}

@media (max-width: 768px) {
    .cta__title {
        font-size: 2rem;
    }

    .cta__text {
        font-size: 1.125rem;
    }
}

/* ===== Footer ===== */
.footer {
    background: var(--text-primary);
    color: white;
    padding: 4rem 0 2rem;
}

.footer__content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer__logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.25rem;
    font-weight: 700;
    color: white;
    text-decoration: none;
    margin-bottom: 1rem;
}

.footer__text {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.7;
    max-width: 350px;
}

.footer__title {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.footer__links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer__links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: var(--transition);
}

.footer__links a:hover {
    color: white;
}

.footer__links li {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.938rem;
}

.footer__bottom {
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    color: rgba(255, 255, 255, 0.5);
}

.footer__disclaimer {
    margin-top: 1rem;
    font-size: 0.875rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

@media (max-width: 968px) {
    .footer__content {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }
}

@media (max-width: 576px) {
    .footer__content {
        grid-template-columns: 1fr;
    }
}

/* ===== Animations ===== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-in {
    animation: fadeInUp 0.6s ease-out;
}

/* ===== Utility Classes ===== */
.text-center {
    text-align: center;
}

.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }

.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }

/* ===== Calculator ===== */
.calculator {
    background: var(--bg-primary);
    border-radius: var(--radius-xl);
    padding: 3rem;
    box-shadow: var(--shadow-xl);
    max-width: 900px;
    margin: 0 auto;
}

.calculator__inputs {
    display: grid;
    gap: 2rem;
    margin-bottom: 3rem;
}

.input-group {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.input-label {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-primary);
}

.input-range {
    width: 100%;
    height: 8px;
    background: var(--bg-gray);
    border-radius: 10px;
    outline: none;
    -webkit-appearance: none;
}

.input-range::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 24px;
    height: 24px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    cursor: pointer;
    border-radius: 50%;
    box-shadow: var(--shadow-md);
}

.input-range::-moz-range-thumb {
    width: 24px;
    height: 24px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    cursor: pointer;
    border-radius: 50%;
    box-shadow: var(--shadow-md);
    border: none;
}

.input-value {
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary-color);
    text-align: center;
}

.calculator__results {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}

.result-card {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.05) 0%, rgba(139, 92, 246, 0.05) 100%);
    padding: 2rem;
    border-radius: var(--radius-lg);
    text-align: center;
    border: 2px solid rgba(99, 102, 241, 0.1);
}

.result-label {
    font-size: 0.938rem;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
}

.result-value {
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary-color);
}

@media (max-width: 768px) {
    .calculator {
        padding: 2rem 1.5rem;
    }

    .input-value {
        font-size: 1.5rem;
    }

    .result-value {
        font-size: 1.5rem;
    }
}

/* ===== Comparison Table ===== */
.comparison-table-wrapper {
    overflow-x: auto;
    background: var(--bg-primary);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 900px;
}

.comparison-table thead {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
}

.comparison-table th {
    padding: 1.25rem 1rem;
    text-align: left;
    font-weight: 600;
    font-size: 0.938rem;
}

.comparison-table td {
    padding: 1.25rem 1rem;
    border-bottom: 1px solid var(--border-color);
    font-size: 0.938rem;
    color: var(--text-secondary);
}

.comparison-table tbody tr {
    transition: var(--transition);
}

.comparison-table tbody tr:hover {
    background: var(--bg-gray);
}

.table-row--featured {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.03) 0%, rgba(139, 92, 246, 0.03) 100%);
}

.td-provider {
    font-weight: 600;
    color: var(--text-primary);
}

.provider-cell {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius-sm);
    font-size: 0.75rem;
    font-weight: 600;
    white-space: nowrap;
}

.badge--popular {
    background: linear-gradient(135deg, var(--accent-color) 0%, #ea580c 100%);
    color: white;
}

.badge--success {
    background: var(--secondary-color);
    color: white;
}

.badge--info {
    background: #3b82f6;
    color: white;
}

.badge--warning {
    background: var(--accent-color);
    color: white;
}

.rating-badge {
    font-weight: 600;
    color: var(--primary-color);
}

/* ===== Reviews ===== */
.reviews {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.review-card {
    background: var(--bg-primary);
    padding: 2rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.review-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.review-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.review-avatar {
    width: 3rem;
    height: 3rem;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    font-weight: 700;
}

.review-info {
    flex: 1;
}

.review-name {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
}

.review-stars {
    font-size: 0.875rem;
}

.review-text {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 1rem;
    font-style: italic;
}

.review-date {
    font-size: 0.813rem;
    color: var(--text-muted);
}

.review-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    padding: 3rem;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.05) 0%, rgba(139, 92, 246, 0.05) 100%);
    border-radius: var(--radius-xl);
    text-align: center;
}

.review-stat .stat-number {
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary-color);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.review-stat .stat-stars {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.review-stat .stat-label {
    color: var(--text-muted);
    font-size: 1rem;
}

@media (max-width: 768px) {
    .reviews {
        grid-template-columns: 1fr;
    }
}

/* ===== Use Cases ===== */
.use-cases {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.use-case {
    background: var(--bg-primary);
    padding: 2rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    text-align: center;
}

.use-case:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.use-case__icon {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.use-case__title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.use-case__text {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ===== Warning Section ===== */
.section--warning {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
}

.warning-box {
    display: flex;
    gap: 2rem;
    background: white;
    padding: 3rem;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    border-left: 6px solid var(--accent-color);
}

.warning-icon {
    font-size: 4rem;
    flex-shrink: 0;
}

.warning-content {
    flex: 1;
}

.warning-title {
    font-size: 2rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.warning-text {
    font-size: 1.125rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.warning-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.warning-list li {
    padding-left: 2rem;
    position: relative;
    color: var(--text-secondary);
    line-height: 1.6;
}

.warning-list li::before {
    content: '⚠️';
    position: absolute;
    left: 0;
    top: 0;
}

@media (max-width: 768px) {
    .warning-box {
        flex-direction: column;
        padding: 2rem;
    }

    .warning-title {
        font-size: 1.5rem;
    }
}

/* ===== Guide Sections ===== */
.guide-sections {
    display: flex;
    flex-direction: column;
    gap: 3rem;
    margin-top: 3rem;
}

.guide-section {
    background: var(--bg-primary);
    padding: 2.5rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

.guide-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 3px solid var(--primary-color);
}

.guide-text {
    font-size: 1.063rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.guide-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin: 1.5rem 0;
}

.guide-list li {
    padding-left: 2rem;
    position: relative;
    color: var(--text-secondary);
    line-height: 1.7;
    font-size: 1.063rem;
}

.guide-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 0;
    color: var(--secondary-color);
    font-weight: 700;
    font-size: 1.25rem;
}

.price-example {
    background: var(--bg-gray);
    padding: 2rem;
    border-radius: var(--radius-md);
    margin: 2rem 0;
}

.price-example h4 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    text-align: center;
}

.price-breakdown {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.price-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border-color);
}

.price-item--total {
    border-top: 2px solid var(--primary-color);
    border-bottom: none;
    padding-top: 1rem;
    margin-top: 0.5rem;
}

.price-label {
    font-size: 1rem;
    color: var(--text-secondary);
}

.price-item--total .price-label {
    font-weight: 700;
    font-size: 1.125rem;
    color: var(--text-primary);
}

.price-value {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--primary-color);
}

.price-item--total .price-value {
    font-size: 1.5rem;
    font-weight: 800;
}

@media (max-width: 768px) {
    .guide-section {
        padding: 1.5rem;
    }

    .guide-title {
        font-size: 1.5rem;
    }
}

/* ===== Articles/Blog ===== */
.articles {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.article-card {
    background: var(--bg-primary);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.article-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.article-image {
    height: 200px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.article-category {
    background: rgba(255, 255, 255, 0.95);
    color: var(--primary-color);
    padding: 0.5rem 1rem;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 0.875rem;
}

.article-content {
    padding: 2rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.article-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1rem;
    line-height: 1.4;
}

.article-excerpt {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 1.5rem;
    flex: 1;
}

.article-meta {
    display: flex;
    gap: 1.5rem;
    font-size: 0.875rem;
    color: var(--text-muted);
    padding-top: 1rem;
    border-top: 1px solid var(--border-color);
}

.article-date,
.article-read {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

@media (max-width: 768px) {
    .articles {
        grid-template-columns: 1fr;
    }
}

/* ===== Trust Signals ===== */
.trust-signals {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.trust-signal {
    text-align: center;
    padding: 2rem;
    background: var(--bg-primary);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.trust-signal:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.trust-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.trust-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
}

.trust-text {
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ===== Statistics Section Dark ===== */
.section--dark {
    background: linear-gradient(135deg, var(--text-primary) 0%, #1e293b 100%);
    color: white;
}

.section__title--light {
    color: white;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.stat-box {
    text-align: center;
    padding: 3rem 2rem;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: var(--transition);
}

.stat-box:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-5px);
}

.stat-box__number {
    font-size: 4rem;
    font-weight: 800;
    color: var(--primary-light);
    line-height: 1;
    margin-bottom: 1rem;
}

.stat-box__label {
    font-size: 1.125rem;
    font-weight: 600;
    color: white;
    margin-bottom: 0.5rem;
}

.stat-box__sublabel {
    font-size: 0.938rem;
    color: rgba(255, 255, 255, 0.6);
}

@media (max-width: 768px) {
    .stat-box__number {
        font-size: 3rem;
    }
}

/* ===== Comparison Cards ===== */
.comparison-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.comparison-card {
    background: var(--bg-primary);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.comparison-header {
    padding: 2rem;
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.comparison-header--primary {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
}

.comparison-header--secondary {
    background: linear-gradient(135deg, #64748b 0%, #475569 100%);
}

.comparison-header h3 {
    font-size: 1.5rem;
    font-weight: 700;
}

.comparison-badge {
    background: rgba(255, 255, 255, 0.2);
    padding: 0.5rem 1rem;
    border-radius: var(--radius-sm);
    font-size: 0.875rem;
    font-weight: 600;
    backdrop-filter: blur(10px);
}

.comparison-list {
    list-style: none;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.comparison-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.75rem;
    border-radius: var(--radius-sm);
    transition: var(--transition);
}

.comparison-item .icon {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    flex-shrink: 0;
}

.comparison-item--pro {
    background: rgba(16, 185, 129, 0.1);
}

.comparison-item--pro .icon {
    background: var(--secondary-color);
    color: white;
}

.comparison-item--con {
    background: rgba(239, 68, 68, 0.1);
}

.comparison-item--con .icon {
    background: #ef4444;
    color: white;
}

.comparison-item span:last-child {
    color: var(--text-secondary);
    line-height: 1.5;
}

.comparison-conclusion {
    margin-top: 3rem;
    padding: 2.5rem;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.05) 0%, rgba(139, 92, 246, 0.05) 100%);
    border-radius: var(--radius-lg);
    border-left: 4px solid var(--primary-color);
}

.comparison-conclusion h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.comparison-conclusion p {
    font-size: 1.063rem;
    color: var(--text-secondary);
    line-height: 1.8;
}

@media (max-width: 968px) {
    .comparison-cards {
        /* ===== TRUST BADGES ===== */

        .section--trust {
            background: var(--bg-light);
            padding: 3rem 0;
        }

        .trust-badges {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
            gap: 2rem;
        }

        .trust-badge {
            text-align: center;
            padding: 2rem;
        }

        .trust-badge__icon {
            font-size: 3rem;
            margin-bottom: 1rem;
        }

        .trust-badge__title {
            font-size: 1.25rem;
            font-weight: 700;
            margin-bottom: 0.5rem;
            color: var(--text-primary);
        }

        .trust-badge__text {
            color: var(--text-secondary);
        }

        /* ===== FAQ SECTION ===== */

        .section--faq {
            background: white;
        }

        .faq {
            max-width: 900px;
            margin: 0 auto;
        }

        .faq-item {
            background: white;
            border: 2px solid var(--border-color);
            border-radius: var(--radius-lg);
            margin-bottom: 1rem;
            transition: var(--transition);
        }

        .faq-item:hover {
            border-color: var(--primary-color);
            box-shadow: var(--shadow-md);
        }

        .faq-item[open] {
            border-color: var(--primary-color);
        }

        .faq-question {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 1.5rem;
            font-size: 1.125rem;
            font-weight: 600;
            color: var(--text-primary);
            cursor: pointer;
            list-style: none;
        }

        .faq-question::-webkit-details-marker {
            display: none;
        }

        .faq-question svg {
            flex-shrink: 0;
            margin-left: 1rem;
            transition: var(--transition);
        }

        .faq-item[open] .faq-question svg {
            transform: rotate(180deg);
        }

        .faq-answer {
            padding: 0 1.5rem 1.5rem;
            color: var(--text-secondary);
            line-height: 1.7;
        }

        .faq-answer p {
            margin-bottom: 1rem;
        }

        .faq-answer ul, .faq-answer ol {
            margin-left: 1.5rem;
            margin-bottom: 1rem;
        }

        .faq-answer li {
            margin-bottom: 0.5rem;
        }

        /* ===== STEPS SECTION ===== */

        .section--how {
            background: var(--bg-light);
        }

        .steps {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 3rem;
            margin-top: 3rem;
        }

        .step {
            position: relative;
            text-align: center;
        }

        .step__number {
            width: 80px;
            height: 80px;
            margin: 0 auto 1.5rem;
            background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
            color: white;
            font-size: 2.5rem;
            font-weight: 700;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            box-shadow: var(--shadow-lg);
        }

        .step__title {
            font-size: 1.5rem;
            margin-bottom: 1rem;
            color: var(--text-primary);
        }

        .step__text {
            color: var(--text-secondary);
            line-height: 1.7;
        }

        /* ===== TIPS SECTION ===== */

        .section--tips {
            background: white;
        }

        .tips-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 2rem;
            margin-top: 3rem;
        }

        .tip-card {
            background: white;
            border: 2px solid var(--border-color);
            border-radius: var(--radius-lg);
            padding: 2rem;
            transition: var(--transition);
        }

        .tip-card:hover {
            transform: translateY(-5px);
            box-shadow: var(--shadow-lg);
            border-color: var(--primary-color);
        }

        .tip-card--primary {
            background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
            color: white;
            border-color: var(--primary-color);
        }

        .tip-icon {
            font-size: 3rem;
            margin-bottom: 1rem;
        }

        .tip-title {
            font-size: 1.25rem;
            font-weight: 700;
            margin-bottom: 1rem;
            color: inherit;
        }

        .tip-text {
            color: inherit;
            opacity: 0.9;
            line-height: 1.7;
        }

        /* ===== REVIEWS SECTION ===== */

        .section--reviews {
            background: var(--bg-light);
        }

        .reviews {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 2rem;
            margin-top: 3rem;
        }

        .review-card {
            background: white;
            padding: 2rem;
            border-radius: var(--radius-lg);
            box-shadow: var(--shadow-md);
        }

        .review-rating {
            font-size: 1.5rem;
            margin-bottom: 1rem;
        }

        .review-text {
            font-style: italic;
            color: var(--text-secondary);
            line-height: 1.7;
            margin-bottom: 1.5rem;
        }

        .review-author {
            display: flex;
            flex-direction: column;
            gap: 0.25rem;
        }

        .review-author strong {
            color: var(--text-primary);
        }

        .review-author span {
            color: var(--text-secondary);
            font-size: 0.875rem;
        }

        /* ===== CATEGORIES SECTION ===== */

        .section--categories {
            background: white;
        }

        .categories-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
            gap: 2rem;
            margin-top: 3rem;
        }

        .category-card {
            background: white;
            border: 2px solid var(--border-color);
            border-radius: var(--radius-lg);
            padding: 2rem;
            text-align: center;
            transition: var(--transition);
        }

        .category-card:hover {
            transform: translateY(-5px);
            box-shadow: var(--shadow-lg);
            border-color: var(--primary-color);
        }

        .category-icon {
            font-size: 3rem;
            margin-bottom: 1rem;
        }

        .category-title {
            font-size: 1.25rem;
            font-weight: 700;
            margin-bottom: 0.5rem;
            color: var(--text-primary);
        }

        .category-text {
            color: var(--text-secondary);
            margin-bottom: 1.5rem;
        }

        .category-recommended {
            padding-top: 1rem;
            border-top: 2px solid var(--border-color);
            text-align: left;
        }

        .category-recommended strong {
            display: block;
            font-size: 0.875rem;
            color: var(--text-primary);
            margin-bottom: 0.5rem;
        }

        .category-recommended span {
            color: var(--primary-color);
            font-weight: 600;
        }

        /* ===== RESPONSIVE ===== */
        @media (max-width: 768px) {
            .calculator {
                padding: 2rem 1.5rem;
            }

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

            .result-value {
                font-size: 1.75rem;
            }

            .steps, .tips-grid, .reviews, .categories-grid {
                grid-template-columns: 1fr;
            }

            .trust-badges {
                grid-template-columns: repeat(2, 1fr);
            }
        }

        @media (max-width: 480px) {
            .trust-badges {
                grid-template-columns: 1fr;
            }
        }
    }
}

.hero__card {
    position: relative;
    width: 100%;
    max-width: 500px;
    aspect-ratio: 1;
    border-radius: 20px;
    overflow: hidden;
}

.card__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px;
    position: relative;
    z-index: 1;
}

.card__glow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 50%, rgba(99, 102, 241, 0.3), transparent 70%);
    pointer-events: none;
    z-index: 2;
}

@media (max-width: 768px) {
    .hero__card {
        max-width: 100%;
    }
}

.loan-card__logo {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 40px;
}

.loan-card__logo img {
    max-width: 120px;
    max-height: 100%;
    object-fit: contain;
}

.loan-card__company-title {
    font-size: 20px;
    font-weight: 700;
    color: #878787;
    margin-bottom: 16px;
}
