/* ===== RESET & BASE STYLES ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #000000;
    --secondary-color: #ffffff;
    --accent-blue: #0066ff;
    --gradient-start: #1a1a4d;
    --gradient-mid: #2d4a8a;
    --gradient-end: #4d7bc7;
    --text-primary: #000000;
    --text-secondary: #666666;
    --text-light: #999999;
    --border-color: #e0e0e0;
    --success-color: #00c853;
    --error-color: #ff3d00;
    --bg-light: #f5f5f5;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background: var(--secondary-color);
}

a {
    text-decoration: none;
    color: inherit;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===== NAVIGATION ===== */
.navbar {
    background: var(--secondary-color);
    padding: 20px 0;
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo svg {
    display: block;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
    align-items: center;
}

.nav-link {
    color: var(--text-primary);
    font-size: 15px;
    font-weight: 400;
    transition: color 0.3s;
    display: flex;
    align-items: center;
    gap: 5px;
}

.nav-link:hover {
    color: var(--text-secondary);
}

.arrow {
    font-size: 10px;
}

.nav-buttons {
    display: flex;
    gap: 15px;
    align-items: center;
}

.btn-link {
    color: var(--text-primary);
    font-size: 15px;
    padding: 8px 16px;
    transition: color 0.3s;
}

.btn-link:hover {
    color: var(--text-secondary);
}

.btn-primary {
    background: var(--primary-color);
    color: var(--secondary-color);
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 500;
    border: none;
    cursor: pointer;
    transition: all 0.3s;
    display: inline-block;
}

.btn-primary:hover {
    background: #333;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.btn-large {
    padding: 16px 32px;
    font-size: 16px;
}

.btn-full {
    width: 100%;
}

/* ===== HERO SECTION ===== */
.hero {
    padding: 80px 0 100px;
    background: var(--secondary-color);
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-text {
    max-width: 600px;
}

.hero-title {
    font-size: 56px;
    font-weight: 600;
    line-height: 1.1;
    margin-bottom: 20px;
    letter-spacing: -0.02em;
}

.hero-subtitle {
    font-size: 28px;
    font-weight: 400;
    margin-bottom: 20px;
    color: var(--text-primary);
}

.hero-description {
    font-size: 16px;
    color: var(--text-secondary);
    margin-bottom: 40px;
    line-height: 1.8;
}

/* ===== PHONE MOCKUP ===== */
.hero-image {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.phone-mockup {
    width: 350px;
    height: 700px;
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-mid), var(--gradient-end));
    border-radius: 40px;
    padding: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    position: relative;
    overflow: hidden;
}

.phone-mockup::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, transparent, rgba(255, 255, 255, 0.1));
    pointer-events: none;
}

.phone-screen {
    background: var(--secondary-color);
    border-radius: 30px;
    height: 100%;
    padding: 20px;
    overflow-y: auto;
}

.app-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.app-logo {
    font-size: 24px;
    font-weight: 700;
}

.btc-price {
    font-size: 12px;
    color: var(--text-secondary);
}

.loans-section h3 {
    font-size: 18px;
    margin-bottom: 20px;
}

.loan-card {
    background: var(--bg-light);
    border-radius: 16px;
    padding: 20px;
    margin-bottom: 15px;
}

.loan-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.loan-id {
    font-size: 14px;
    font-weight: 500;
}

.loan-status {
    font-size: 11px;
    padding: 4px 12px;
    border-radius: 12px;
    background: #e8f5e9;
    color: #2e7d32;
}

.loan-stats {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
}

.stat {
    display: flex;
    flex-direction: column;
}

.stat .label {
    font-size: 16px;
    font-weight: 600;
}

.stat .value {
    font-size: 12px;
    color: var(--text-secondary);
}

.progress-bar {
    height: 8px;
    background: #e0e0e0;
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 15px;
}

.progress {
    height: 100%;
    background: linear-gradient(90deg, #4caf50, #81c784);
    transition: width 0.3s;
}

.loan-amount {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.loan-amount .amount {
    font-size: 18px;
    font-weight: 600;
}

.loan-amount .label {
    font-size: 12px;
    color: var(--text-secondary);
}

/* ===== FEATURES SECTION ===== */
.features {
    padding: 80px 0;
    background: var(--bg-light);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
}

.feature-card {
    text-align: center;
    padding: 30px;
}

.feature-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.feature-card h3 {
    font-size: 20px;
    margin-bottom: 15px;
}

.feature-card p {
    color: var(--text-secondary);
    font-size: 15px;
    line-height: 1.6;
}

/* ===== AUTH PAGES ===== */
.auth-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--secondary-color);
}

.auth-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    width: 100%;
    max-width: 1400px;
    min-height: 100vh;
}

.auth-form-section {
    padding: 60px 80px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.logo-section {
    margin-bottom: 40px;
}

.auth-title {
    font-size: 36px;
    font-weight: 600;
    margin-bottom: 15px;
}

.auth-subtitle {
    font-size: 15px;
    color: var(--text-secondary);
    margin-bottom: 40px;
}

.auth-link {
    color: var(--primary-color);
    text-decoration: underline;
}

.auth-form {
    max-width: 450px;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.form-input {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-size: 15px;
    transition: all 0.3s;
    background: var(--secondary-color);
}

.form-input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.05);
}

.password-input-wrapper {
    position: relative;
}

.password-toggle {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    color: var(--text-secondary);
}

.password-toggle:hover {
    color: var(--text-primary);
}

.forgot-password {
    text-align: right;
    margin-bottom: 25px;
}

.recaptcha-box {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    background: var(--bg-light);
}

.checkbox-container {
    display: flex;
    align-items: center;
    cursor: pointer;
    position: relative;
}

.checkbox-container input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    cursor: pointer;
}

.checkmark {
    width: 24px;
    height: 24px;
    border: 2px solid var(--border-color);
    border-radius: 4px;
    margin-right: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.checkbox-container input[type="checkbox"]:checked ~ .checkmark {
    background: var(--primary-color);
    border-color: var(--primary-color);
}

.checkbox-container input[type="checkbox"]:checked ~ .checkmark::after {
    content: '✓';
    color: white;
    font-size: 14px;
}

.checkbox-label {
    font-size: 14px;
}

.recaptcha-logo {
    font-size: 11px;
    color: var(--text-light);
}

.terms-text {
    text-align: center;
    font-size: 13px;
    color: var(--text-secondary);
    margin-top: 25px;
}

.terms-text a {
    color: var(--primary-color);
    text-decoration: underline;
}

.error-message {
    color: var(--error-color);
    font-size: 13px;
    margin-top: 5px;
    display: block;
}

/* ===== BUTTON LOADER ===== */
.btn-loader {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.spinner {
    animation: rotate 1s linear infinite;
}

.spinner-circle {
    stroke-dasharray: 60;
    stroke-dashoffset: 0;
    animation: dash 1.5s ease-in-out infinite;
}

@keyframes rotate {
    100% {
        transform: rotate(360deg);
    }
}

@keyframes dash {
    0% {
        stroke-dasharray: 1, 150;
        stroke-dashoffset: 0;
    }
    50% {
        stroke-dasharray: 90, 150;
        stroke-dashoffset: -35;
    }
    100% {
        stroke-dasharray: 90, 150;
        stroke-dashoffset: -124;
    }
}

.btn-primary:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.btn-primary:disabled:hover {
    transform: none;
    box-shadow: none;
}

/* ===== AUTH VISUAL SECTION ===== */
.auth-visual-section {
    position: relative;
    overflow: hidden;
}

.gradient-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-mid), var(--gradient-end));
}

.phone-mockup-large {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 400px;
    height: 800px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 50px;
    padding: 25px;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.4);
}

/* ===== LOAN APPLICATION ===== */
.loan-application {
    padding: 60px 0 80px;
    background: var(--bg-light);
}

.application-wrapper {
    max-width: 900px;
    margin: 0 auto;
}

.application-header {
    text-align: center;
    margin-bottom: 60px;
}

.application-header h1 {
    font-size: 42px;
    font-weight: 600;
    margin-bottom: 15px;
}

.application-header p {
    font-size: 18px;
    color: var(--text-secondary);
}

.loan-calculator {
    background: var(--secondary-color);
    border-radius: 16px;
    padding: 40px;
    margin-bottom: 40px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.loan-calculator h2 {
    font-size: 28px;
    margin-bottom: 10px;
}

.calculator-subtitle {
    color: var(--text-secondary);
    margin-bottom: 30px;
}

.calculator-form {
    margin-bottom: 40px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.range-slider {
    width: 100%;
    height: 6px;
    border-radius: 3px;
    background: var(--border-color);
    outline: none;
    -webkit-appearance: none;
}

.range-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--primary-color);
    cursor: pointer;
}

.range-slider::-moz-range-thumb {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--primary-color);
    cursor: pointer;
    border: none;
}

.range-labels {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    color: var(--text-secondary);
    margin-top: 5px;
}

.calculator-results {
    background: var(--bg-light);
    border-radius: 12px;
    padding: 30px;
    margin-top: 30px;
}

.calculator-results h3 {
    font-size: 24px;
    margin-bottom: 25px;
}

.results-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 30px;
}

.result-item {
    display: flex;
    flex-direction: column;
}

.result-label {
    font-size: 13px;
    color: var(--text-secondary);
    margin-bottom: 5px;
}

.result-value {
    font-size: 24px;
    font-weight: 600;
    color: var(--primary-color);
}

.payment-schedule {
    margin-top: 30px;
}

.payment-schedule h4 {
    font-size: 18px;
    margin-bottom: 20px;
}

.progress-bar-large {
    height: 40px;
    background: var(--border-color);
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    margin-bottom: 15px;
}

.progress-segment {
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 13px;
    font-weight: 500;
    transition: all 0.3s;
}

.progress-segment.principal {
    background: #2196f3;
}

.progress-segment.interest {
    background: #ff9800;
}

.breakdown-legend {
    display: flex;
    gap: 30px;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
}

.legend-color {
    width: 16px;
    height: 16px;
    border-radius: 3px;
}

.legend-color.principal {
    background: #2196f3;
}

.legend-color.interest {
    background: #ff9800;
}

.application-form {
    background: var(--secondary-color);
    border-radius: 16px;
    padding: 40px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.application-form h2 {
    font-size: 28px;
    margin-bottom: 10px;
}

.form-subtitle {
    color: var(--text-secondary);
    margin-bottom: 30px;
}

.form-section {
    margin-bottom: 35px;
}

.form-section h3 {
    font-size: 20px;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--border-color);
}

.form-group small {
    display: block;
    font-size: 13px;
    color: var(--text-secondary);
    margin-top: 5px;
}

/* ===== TRUST SECTION ===== */
.trust-section {
    padding: 80px 0;
    background: var(--bg-light);
    text-align: center;
}

.section-title {
    font-size: 36px;
    font-weight: 600;
    margin-bottom: 50px;
    text-align: center;
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 40px;
    align-items: center;
    max-width: 1000px;
    margin: 0 auto;
}

.partner-logo {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-secondary);
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.partner-logo img {
    max-width: 120px;
    max-height: 50px;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: grayscale(100%) opacity(0.6);
    transition: all 0.3s ease;
}

.partner-logo img:hover {
    filter: grayscale(0%) opacity(1);
    transform: scale(1.05);
}

.partner-logo svg {
    max-width: 120px;
    height: 50px;
}

.partner-logo span {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-secondary);
}

/* ===== CALCULATOR SECTION ===== */
.calculator-section {
    padding: 80px 0;
    background: var(--secondary-color);
}

.calculator-label {
    color: var(--accent-blue);
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-align: center;
    margin-bottom: 15px;
}

.calculator-widget {
    max-width: 900px;
    margin: 50px auto 0;
}

.calculator-card {
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-mid), var(--gradient-end));
    border-radius: 24px;
    padding: 60px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.3);
    position: relative;
    overflow: hidden;
}

.calculator-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    animation: pulse 8s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: translate(0, 0) scale(1);
        opacity: 0.5;
    }
    50% {
        transform: translate(-10%, -10%) scale(1.1);
        opacity: 0.8;
    }
}

.calc-input-group,
.calc-output-group {
    color: var(--secondary-color);
}

.calc-input-group label,
.calc-output-group label {
    display: block;
    font-size: 16px;
    margin-bottom: 20px;
    opacity: 0.9;
}

.crypto-input {
    display: flex;
    gap: 15px;
    align-items: center;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 16px;
    padding: 18px 24px;
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.crypto-input:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.calc-input {
    flex: 1;
    background: transparent;
    border: none;
    color: var(--secondary-color);
    font-size: 28px;
    font-weight: 700;
    outline: none;
    letter-spacing: -0.5px;
}

.calc-input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.crypto-select {
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: var(--secondary-color);
    font-size: 16px;
    font-weight: 700;
    padding: 10px 18px;
    border-radius: 12px;
    cursor: pointer;
    outline: none;
    transition: all 0.3s ease;
}

.crypto-select:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: scale(1.05);
}

.crypto-select option {
    background: var(--primary-color);
    color: var(--secondary-color);
}

.usd-value {
    margin-top: 10px;
    font-size: 14px;
    opacity: 0.8;
}

.borrow-details {
    background: rgba(255, 255, 255, 0.15);
    border-radius: 16px;
    padding: 28px;
    margin-bottom: 25px;
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.detail-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
}

.detail-item:not(:last-child) {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.detail-label {
    font-size: 13px;
    opacity: 0.8;
}

.detail-value {
    font-size: 20px;
    font-weight: 700;
    letter-spacing: -0.3px;
}

/* ===== WHY SECTION ===== */
.why-section {
    padding: 80px 0;
    background: var(--secondary-color);
}

.why-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.why-subtitle {
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 50px;
    max-width: 900px;
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    margin-top: 40px;
}

.why-card {
    background: var(--bg-light);
    border-radius: 16px;
    padding: 40px;
}

.why-card h3 {
    font-size: 28px;
    margin-bottom: 15px;
}

.why-card p {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 30px;
}

.why-image {
    background: var(--secondary-color);
    border-radius: 12px;
    padding: 30px;
    min-height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.partner-badges {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    justify-content: center;
}

.badge {
    background: var(--bg-light);
    padding: 10px 20px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
}

.flexibility-visual {
    width: 100%;
}

.ltv-bar {
    background: linear-gradient(90deg, var(--accent-blue), #00d4ff);
    padding: 20px;
    border-radius: 8px;
    text-align: center;
    color: var(--secondary-color);
    font-weight: 600;
    font-size: 18px;
}

/* ===== GUIDES SECTION ===== */
.guides-section {
    padding: 80px 0;
    background: var(--bg-light);
}

.guide-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    background: var(--secondary-color);
    border-radius: 20px;
    padding: 60px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.guide-label {
    color: var(--accent-blue);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    display: block;
    margin-bottom: 20px;
}

.guide-content h2 {
    font-size: 36px;
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 20px;
}

.guide-content p {
    color: var(--text-secondary);
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 30px;
}

.guide-image {
    position: relative;
    height: 400px;
    overflow: hidden;
    border-radius: 16px;
}

.section-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 16px;
    transition: transform 0.3s ease;
}

.section-image:hover {
    transform: scale(1.05);
}

/* ===== RETAIL SECTION ===== */
.retail-section {
    padding: 80px 0;
    background: var(--secondary-color);
}

.retail-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.retail-label {
    color: var(--accent-blue);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    display: block;
    margin-bottom: 20px;
}

.retail-content h2 {
    font-size: 36px;
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 20px;
}

.retail-content p {
    color: var(--text-secondary);
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 30px;
}

.retail-image {
    position: relative;
    height: 400px;
    overflow: hidden;
    border-radius: 16px;
}

/* ===== HOW IT WORKS SECTION ===== */
.how-it-works {
    padding: 80px 0;
    background: var(--secondary-color);
}

.how-it-works-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
    margin-top: 60px;
}

.how-it-works-steps {
    display: flex;
    flex-direction: column;
    gap: 50px;
}

.step-item {
    position: relative;
    padding-left: 0;
}

.step-item h3 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 15px;
    border-bottom: 2px solid var(--primary-color);
    padding-bottom: 10px;
    display: inline-block;
}

.step-item p {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 20px;
    font-size: 16px;
}

.step-item .btn-primary {
    display: inline-block;
}

.how-it-works-visual {
    position: sticky;
    top: 100px;
}

.visual-mockup {
    background: var(--bg-light);
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.mockup-screen {
    background: var(--secondary-color);
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.screen-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border-color);
}

.screen-logo {
    font-size: 24px;
    font-weight: 700;
}

.screen-prices {
    display: flex;
    gap: 15px;
    font-size: 12px;
}

.price-item {
    background: var(--bg-light);
    padding: 6px 12px;
    border-radius: 6px;
    font-weight: 500;
}

.screen-content h4 {
    font-size: 20px;
    margin-bottom: 20px;
}

.loan-preview-card {
    background: var(--bg-light);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 20px;
}

.loan-preview-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.loan-preview-header span:first-child {
    font-weight: 600;
    font-size: 14px;
}

.status-badge {
    background: #e8f5e9;
    color: #2e7d32;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 600;
}

.loan-preview-stats {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
}

.stat-group {
    display: flex;
    flex-direction: column;
}

.stat-label {
    font-size: 18px;
    font-weight: 600;
}

.stat-sublabel {
    font-size: 12px;
    color: var(--text-secondary);
}

.loan-preview-bar {
    height: 8px;
    background: #e0e0e0;
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 15px;
}

.bar-fill {
    height: 100%;
    background: linear-gradient(90deg, #4caf50, #81c784);
}

.loan-preview-payment {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.payment-amount {
    font-size: 18px;
    font-weight: 600;
}

.payment-label {
    font-size: 12px;
    color: var(--text-secondary);
}

.info-banner {
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-mid), var(--gradient-end));
    border-radius: 12px;
    padding: 25px;
    color: var(--secondary-color);
}

.banner-content h5 {
    font-size: 10px;
    letter-spacing: 1px;
    opacity: 0.8;
    margin-bottom: 10px;
}

.banner-content p {
    font-size: 14px;
    margin-bottom: 8px;
}

.banner-content p:first-of-type {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 5px;
}

.banner-text {
    font-size: 13px;
    line-height: 1.6;
    opacity: 0.9;
    margin-bottom: 15px;
}

.banner-btn {
    background: var(--secondary-color);
    color: var(--primary-color);
    border: none;
    padding: 10px 20px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.banner-btn:hover {
    background: var(--bg-light);
    transform: translateY(-2px);
}

/* ===== INSTITUTIONAL SECTION ===== */
.institutional-section {
    padding: 80px 0;
    background: var(--bg-light);
}

.institutional-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.institutional-label {
    color: var(--accent-blue);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    display: block;
    margin-bottom: 20px;
}

.institutional-content h2 {
    font-size: 36px;
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 20px;
}

.institutional-content p {
    color: var(--text-secondary);
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 30px;
}

.institutional-image {
    position: relative;
    height: 400px;
    overflow: hidden;
    border-radius: 16px;
}

/* ===== WHITE LABEL SECTION ===== */
.white-label-section {
    padding: 80px 0;
    background: var(--secondary-color);
}

.white-label-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.white-label-label {
    color: var(--accent-blue);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    display: block;
    margin-bottom: 20px;
}

.white-label-content h2 {
    font-size: 36px;
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 20px;
}

.white-label-content p {
    color: var(--text-secondary);
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 30px;
}

.white-label-image {
    position: relative;
    height: 400px;
    overflow: hidden;
    border-radius: 16px;
}

/* ===== ADDITIONAL FEATURES SECTION ===== */
.additional-features {
    padding: 80px 0;
    background: var(--bg-light);
}

.additional-features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.additional-feature-card {
    background: var(--secondary-color);
    border-radius: 16px;
    padding: 40px;
    display: flex;
    flex-direction: column;
}

.additional-feature-card h3 {
    font-size: 28px;
    margin-bottom: 15px;
    font-weight: 600;
}

.additional-feature-card > p {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 30px;
    flex-grow: 0;
}

.feature-visual {
    flex-grow: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: auto;
}

.visual-card {
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-mid), var(--gradient-end));
    border-radius: 16px;
    padding: 30px;
    width: 100%;
    color: var(--secondary-color);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

.visual-header {
    font-size: 12px;
    opacity: 0.8;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.visual-content p {
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 20px;
}

.visual-btn {
    background: var(--primary-color);
    color: var(--secondary-color);
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.visual-btn:hover {
    background: #333;
    transform: translateY(-2px);
}

.checklist-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.checklist-item:last-child {
    border-bottom: none;
}

.check-icon {
    width: 24px;
    height: 24px;
    background: #4caf50;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    flex-shrink: 0;
}

.number-icon {
    width: 24px;
    height: 24px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    flex-shrink: 0;
}

.checklist-item span:nth-child(2) {
    flex-grow: 1;
    font-size: 14px;
}

.edit-link {
    font-size: 13px;
    opacity: 0.7;
    cursor: pointer;
    transition: opacity 0.3s;
}

.edit-link:hover {
    opacity: 1;
}

.blockchain-card {
    background: var(--secondary-color);
    color: var(--text-primary);
}

.blockchain-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--border-color);
}

.blockchain-icon {
    font-size: 20px;
}

.blockchain-header span:last-child {
    font-size: 14px;
    font-weight: 600;
}

.blockchain-content h4 {
    font-size: 20px;
    margin-bottom: 20px;
}

.blockchain-detail {
    display: flex;
    flex-direction: column;
    gap: 5px;
    margin-bottom: 15px;
}

.blockchain-detail:last-child {
    margin-bottom: 0;
}

.detail-icon {
    font-size: 16px;
    margin-bottom: 5px;
}

.blockchain-detail .detail-label {
    font-size: 12px;
    color: var(--text-secondary);
}

.blockchain-detail .detail-value {
    font-size: 14px;
    font-weight: 600;
    font-family: 'Courier New', monospace;
}

/* ===== FOOTER ===== */
.footer {
    background: var(--primary-color);
    color: var(--secondary-color);
    padding: 40px 0;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-links {
    display: flex;
    gap: 30px;
}

.footer-links a {
    color: var(--secondary-color);
    font-size: 14px;
    transition: opacity 0.3s;
}

.footer-links a:hover {
    opacity: 0.7;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 968px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .hero-title {
        font-size: 42px;
    }

    .hero-subtitle {
        font-size: 22px;
    }

    .phone-mockup {
        width: 300px;
        height: 600px;
    }

    .auth-container {
        grid-template-columns: 1fr;
    }

    .auth-visual-section {
        display: none;
    }

    .auth-form-section {
        padding: 40px 20px;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .results-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .nav-menu {
        display: none;
    }

    .partners-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .calculator-card {
        grid-template-columns: 1fr;
        gap: 40px;
        padding: 40px;
    }

    .why-grid {
        grid-template-columns: 1fr;
    }

    .why-header {
        flex-direction: column;
        gap: 20px;
        align-items: flex-start;
    }

    .guide-card {
        grid-template-columns: 1fr;
        gap: 40px;
        padding: 40px;
    }

    .guide-image,
    .retail-image,
    .institutional-image,
    .white-label-image {
        height: 300px;
    }

    .retail-card {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .institutional-card {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .white-label-card {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .guide-image,
    .retail-image,
    .institutional-image,
    .white-label-image {
        height: 300px;
    }

    .how-it-works-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .how-it-works-visual {
        position: relative;
        top: 0;
    }

    .additional-features-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .hero-title {
        font-size: 32px;
    }

    .hero-subtitle {
        font-size: 18px;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .results-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    .partners-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    /* ===== CALCULATOR MOBILE FIX ===== */
    .calculator-section {
        padding: 50px 0;
    }

    .calculator-widget {
        margin: 24px auto 0;
    }

    .calculator-card {
        padding: 24px 16px;
        border-radius: 16px;
        gap: 28px;
    }

    .calc-input-group label,
    .calc-output-group label {
        font-size: 14px;
        margin-bottom: 12px;
    }

    .crypto-input {
        flex-wrap: wrap;
        gap: 10px;
        padding: 14px 16px;
    }

    .calc-input {
        font-size: 22px;
        width: 100%;
        min-width: 0;
    }

    .crypto-select {
        width: 100%;
        font-size: 15px;
        padding: 10px 14px;
        border-radius: 10px;
    }

    .usd-value {
        font-size: 13px;
    }

    .borrow-details {
        padding: 16px;
        margin-bottom: 18px;
    }

    .detail-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 3px;
        padding: 10px 0;
    }

    .detail-label {
        font-size: 12px;
    }

    .detail-value {
        font-size: 17px;
    }
    /* ===== END CALCULATOR MOBILE FIX ===== */

    .section-title {
        font-size: 28px;
    }

    .guide-content h2,
    .retail-content h2,
    .institutional-content h2,
    .white-label-content h2 {
        font-size: 28px;
    }

    .guide-card,
    .retail-card,
    .institutional-card,
    .white-label-card {
        padding: 30px 20px;
    }

    .step-item h3 {
        font-size: 20px;
    }

    .visual-mockup {
        padding: 20px;
    }

    .mockup-screen {
        padding: 20px;
    }
}
