/* Landing Page Styles */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

:root {
    --primary-color: #2E2BE2;
    --primary-light: #4F4CE6;
    --primary-dark: #1E1B9F;
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-300: #d1d5db;
    --gray-400: #9ca3af;
    --gray-500: #6b7280;
    --gray-600: #4b5563;
    --gray-700: #374151;
    --gray-800: #1f2937;
    --gray-900: #111827;
    --white: #ffffff;
    --black: #000000;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

body {
    font-family: 'Inter', sans-serif;
    background: var(--white);
    color: #1a1a1a;
    line-height: 1.6;
}

/* Header Styles */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: white;
    border-bottom: 1px solid #f3f4f6;
    z-index: 1000;
}

.header-content {
    max-width: 1280px;
    margin: 0 auto;
    padding: 1rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.logo-container:hover {
    opacity: 0.85;
}

.logo-icon {
    width: 48px;
    height: 48px;
    /* background: linear-gradient(135deg, var(--primary-color), var(--primary-light)); */
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 1.25rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    /* box-shadow: 0 2px 8px rgba(46, 43, 226, 0.15); */
}

.logo-icon:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(46, 43, 226, 0.25);
}

/* Logo placeholder text (FN initials) */
.logo-placeholder {
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: 0.5px;
}

/* When using an image, add this class to the img tag */
.logo-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 8px;
}

.logo-text {
    display: flex;
    flex-direction: column;
    gap: 0.125rem;
}

.logo-brand {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--gray-900);
    line-height: 1.2;
}

.logo-tagline {
    font-size: 0.75rem;
    font-weight: 400;
    color: var(--gray-500);
    line-height: 1;
}

.btn-primary {
    background: var(--primary-color);
    color: white;
    padding: 0.625rem 1.5rem;
    font-size: 0.875rem;
    font-weight: 500;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 1px 3px rgba(46, 43, 226, 0.1);
}

.btn-primary:hover {
    background: var(--primary-light);
    box-shadow: 0 4px 12px rgba(46, 43, 226, 0.3);
    transform: translateY(-1px);
}

.btn-primary:active {
    background: var(--primary-dark);
    transform: translateY(0);
}

/* Hero Section */
.hero-section {
    padding-top: 12rem;
    padding-bottom: 6rem;
    background: white;
}

.hero-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

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

@media (min-width: 768px) {
    .hero-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.hero-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

@media (min-width: 768px) {
    .hero-title {
        font-size: 4rem;
    }
}

.hero-title span {
    color: var(--primary-color);
}

.hero-description {
    font-size: 1.125rem;
    color: var(--gray-600);
    margin-bottom: 2rem;
    line-height: 1.75;
}

.trust-bar {
    display: flex;
    align-items: center;
    gap: 2rem;
    opacity: 0.4;
}

.trust-bar span {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--gray-500);
}

/* Dashboard Mockup */
.dashboard-mockup {
    position: relative;
}

.mockup-card {
    background: var(--gray-900);
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.mockup-header {
    background: var(--primary-color);
    border-radius: 0.75rem;
    padding: 1rem;
    margin-bottom: 1.5rem;
    transition: background 0.3s ease;
}

.mockup-card:hover .mockup-header {
    background: var(--primary-light);
}

.card-type {
    color: white;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.card-number {
    color: white;
    font-size: 0.75rem;
    opacity: 0.75;
}

.mockup-stats {
    margin-bottom: 1.5rem;
}

.stat-amount {
    color: white;
    font-size: 2.25rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.stat-label {
    color: var(--gray-400);
    font-size: 0.875rem;
}

.chart-container {
    background: var(--gray-800);
    border-radius: 0.5rem;
    padding: 1rem;
}

.chart-bars {
    height: 6rem;
    display: flex;
    align-items: flex-end;
    gap: 0.25rem;
}

.chart-bar {
    width: 100%;
    border-radius: 0.25rem 0.25rem 0 0;
    transition: all 0.3s ease;
}

.chart-bar.bar-1 {
    background: var(--primary-color);
    height: 50%;
}

.chart-bar.bar-2 {
    background: var(--primary-color);
    height: 66%;
}

.chart-bar.bar-3 {
    background: var(--primary-color);
    height: 83%;
}

.chart-bar.bar-4 {
    background: var(--gray-600);
    height: 100%;
}

.mockup-card:hover .chart-bar {
    transform: scaleY(1.05);
}

/* Section Styles */
.section {
    padding: 5rem 0;
}

.section-white {
    background: white;
}

.section-gray {
    background: #111827;
    color: white;
}

.section-border {
    border-top: 1px solid #f3f4f6;
}

.section-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 3.2rem 1.5rem;
}

.section-title {
    font-size: 1.875rem;
    font-weight: 700;
    color: var(--gray-900);
    text-align: center;
    margin-bottom: 4rem;
}

.section-title-white {
    font-size: 2.25rem;
    font-weight: 700;
    color: var(--white);
    text-align: center;
    margin-bottom: 4rem;
}

.section-gray .section-title {
    color: white;
}

/* Feature Grid */
.feature-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
}

@media (min-width: 768px) {
    .feature-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

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

.feature-icon {
    width: 4rem;
    height: 4rem;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(46, 43, 226, 0.1);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.feature-item:hover .feature-icon {
    background: var(--primary-color);
    transform: scale(1.1);
}

.feature-icon i {
    color: var(--primary-color);
    font-size: 1.875rem;
    transition: color 0.3s ease;
}

.feature-item:hover .feature-icon i {
    color: white;
}

.feature-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 0.75rem;
}

.feature-description {
    color: var(--gray-600);
    line-height: 1.75;
}

/* Stats Grid */
.stats-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

@media (min-width: 768px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.stat-card {
    background: var(--gray-50);
    border-radius: 1rem;
    padding: 2rem;
    transition: all 0.3s ease;
}

.stat-card:hover {
    box-shadow: 0 10px 25px rgba(46, 43, 226, 0.1);
    transform: translateY(-4px);
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 0.75rem;
}

.stat-description {
    font-size: 1.125rem;
    color: var(--gray-600);
}

.stat-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.stat-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 1rem;
}

.stat-content {
    color: var(--gray-600);
    line-height: 1.75;
}

.stats-reverse {
    grid-template-columns: 1fr;
}

@media (min-width: 768px) {
    .stats-reverse {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Chart Card */
.chart-card {
    background: var(--gray-50);
    border-radius: 1rem;
    padding: 2rem;
    transition: all 0.3s ease;
}

.chart-card:hover {
    box-shadow: 0 10px 25px rgba(46, 43, 226, 0.1);
    transform: translateY(-4px);
}

.chart-bars-vertical {
    height: 12rem;
    display: flex;
    align-items: flex-end;
    gap: 0.5rem;
}

.chart-bar-v {
    width: 100%;
    border-radius: 0.25rem 0.25rem 0 0;
    transition: all 0.3s ease;
}

.chart-bar-v.bar-v-1 {
    background: var(--gray-300);
    height: 42%;
}

.chart-bar-v.bar-v-2 {
    background: var(--gray-400);
    height: 58%;
}

.chart-bar-v.bar-v-3 {
    background: var(--gray-500);
    height: 67%;
}

.chart-bar-v.bar-v-4 {
    background: var(--gray-600);
    height: 83%;
}

.chart-bar-v.bar-v-5 {
    background: var(--primary-color);
    height: 100%;
}

.chart-card:hover .chart-bar-v {
    transform: scaleY(1.05);
}

.chart-card:hover .chart-bar-v.bar-v-5 {
    background: var(--primary-light);
}

.chart-label {
    margin-top: 1rem;
    text-align: right;
}

.chart-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--gray-900);
}

/* Feature Cards */
.feature-cards {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 768px) {
    .feature-cards {
        grid-template-columns: repeat(3, 1fr);
    }
}

.feature-card-dark {
    background: var(--gray-800);
    border-radius: 1rem;
    padding: 2rem;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.feature-card-dark:hover {
    border-color: var(--primary-color);
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(46, 43, 226, 0.2);
}

.feature-card-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--white);
}

.feature-card-description {
    color: var(--gray-400);
    line-height: 1.75;
}

/* Stats Row */
.trust-metrics {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    margin-bottom: 5rem;
}

@media (min-width: 768px) {
    .trust-metrics {
        grid-template-columns: repeat(3, 1fr);
    }
}

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

.metric-number {
    font-size: 3.75rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 0.75rem;
    transition: color 0.3s ease;
}

.metric-item:hover .metric-number {
    color: var(--primary-color);
}

.metric-label {
    color: var(--gray-600);
}

/* How It Works */
.how-it-works {
    background: var(--gray-50);
    border-radius: 1rem;
    padding: 3rem;
}

.how-it-works-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--gray-900);
    text-align: center;
    margin-bottom: 3rem;
}

.steps-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 768px) {
    .steps-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

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

.step-number {
    width: 4rem;
    height: 4rem;
    background: var(--primary-color);
    color: white;
    font-size: 1.5rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    border-radius: 50%;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(46, 43, 226, 0.3);
}

.step-item:hover .step-number {
    background: var(--primary-light);
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 6px 16px rgba(46, 43, 226, 0.4);
}

.step-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 0.5rem;
}

.step-description {
    color: var(--gray-600);
}

/* CTA Section */
.cta-section {
    background: var(--gray-900);
    color: white;
    padding: 4rem 0;
}

.cta-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .cta-container {
        flex-direction: row;
    }
}

.cta-title {
    font-size: 1.5rem;
    font-weight: 600;
}

@media (min-width: 768px) {
    .cta-title {
        font-size: 1.875rem;
    }
}

.cta-buttons {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.btn-cta {
    background: var(--primary-color);
    color: white;
    padding: 0.75rem 2rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    border-radius: 0.375rem;
    box-shadow: 0 4px 12px rgba(46, 43, 226, 0.3);
}

.btn-cta:hover {
    background: var(--primary-light);
    box-shadow: 0 6px 16px rgba(46, 43, 226, 0.4);
    transform: translateY(-2px);
}

.btn-cta:active {
    background: var(--primary-dark);
    transform: translateY(0);
}

.btn-cta-link {
    color: white;
    font-weight: 500;
    text-decoration: none;
    transition: color 0.2s;
}

.btn-cta-link:hover {
    color: var(--gray-300);
}

/* Footer */
.footer {
    background: white;
    border-top: 1px solid #f3f4f6;
    padding: 3rem 0;
}

.footer-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

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

@media (min-width: 768px) {
    .footer-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.footer-brand:hover {
    opacity: 0.85;
}

.footer-brand-icon {
    width: 44px;
    height: 44px;
    /* background: linear-gradient(135deg, var(--primary-color), var(--primary-light)); */
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 1.125rem;
    /* box-shadow: 0 2px 8px rgba(46, 43, 226, 0.15); */
}

/* Footer logo placeholder */
.footer-logo-placeholder {
    font-size: 1.125rem;
    font-weight: 700;
    letter-spacing: 0.5px;
}

/* When using an image in footer */
.footer-brand-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 8px;
}

.footer-brand-text h3 {
    font-weight: 700;
    color: var(--gray-900);
}

.footer-brand-text p {
    font-size: 0.75rem;
    color: var(--gray-600);
}

.footer-description {
    font-size: 0.875rem;
    color: var(--gray-600);
}

.footer-column h4 {
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 1rem;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    font-size: 0.875rem;
    color: var(--gray-600);
    text-decoration: none;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: var(--primary-color);
}

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid var(--gray-100);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

@media (min-width: 768px) {
    .footer-bottom {
        flex-direction: row;
    }
}

.footer-copyright {
    font-size: 0.875rem;
    color: var(--gray-600);
}

.footer-badges {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.footer-badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-badge i {
    color: #10b981;
}

.footer-badge.blue i {
    color: #3b82f6;
}

.footer-badge span {
    font-size: 0.75rem;
    color: var(--gray-600);
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    z-index: 9999;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal-active {
    display: flex;
    opacity: 1;
}

.modal-content {
    background: white;
    border-radius: 16px;
    width: 90%;
    max-width: 480px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    transform: scale(0.9) translateY(20px);
    transition: transform 0.3s ease;
    animation: modalSlideIn 0.3s ease forwards;
}

@keyframes modalSlideIn {
    to {
        transform: scale(1) translateY(0);
    }
}

.modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem 2rem;
    border-bottom: 1px solid var(--gray-200);
}

.modal-header h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--gray-900);
    margin: 0;
}

.modal-close {
    background: none;
    border: none;
    font-size: 2rem;
    color: var(--gray-400);
    cursor: pointer;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    transition: all 0.2s ease;
    line-height: 1;
}

.modal-close:hover {
    background: var(--gray-100);
    color: var(--gray-600);
}

.modal-body {
    padding: 2rem;
}

.modal-description {
    font-size: 0.9375rem;
    color: var(--gray-600);
    margin-bottom: 1.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--gray-700);
    margin-bottom: 0.5rem;
}

.form-group input {
    width: 100%;
    padding: 0.875rem 1rem;
    font-size: 1rem;
    border: 2px solid var(--gray-200);
    border-radius: 8px;
    transition: all 0.2s ease;
    font-family: 'Inter', sans-serif;
}

.form-group input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(46, 43, 226, 0.1);
}

.form-group input::placeholder {
    color: var(--gray-400);
}

.form-hint {
    display: block;
    font-size: 0.75rem;
    color: var(--gray-500);
    margin-top: 0.375rem;
}

.btn-modal-submit {
    width: 100%;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    color: white;
    padding: 1rem 1.5rem;
    font-size: 1rem;
    font-weight: 600;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(46, 43, 226, 0.25);
}

.btn-modal-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(46, 43, 226, 0.35);
}

.btn-modal-submit:active {
    transform: translateY(0);
}

/* Smooth Scroll */
html {
    scroll-behavior: smooth;
}