/* =========================
   Smooth Scrolling
   ========================= */
html {
    scroll-behavior: smooth;
}

/* =========================
   CSS Variables
   ========================= */
:root {
    /* Primary Colors */
    --primary-blue: #2563EB;
    --primary-purple: #7C3AED;
    --primary-green: #10B981;
    --primary-red: #EF4444;
    
    /* Neutral Colors */
    --white: #FFFFFF;
    --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;
    
    /* Accent Colors */
    --light-blue: #DBEAFE;
    --light-purple: #EDE9FE;
    --light-green: #D1FAE5;
    --light-red: #FEE2E2;
    
    /* Dark Colors */
    --dark-blue: #1E3A8A;
    --dark-purple: #5B21B6;
    
    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

/* =========================
   Reset & Base Styles
   ========================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: var(--gray-800);
    background-color: var(--white);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* =========================
   Navigation
   ========================= */
.navbar {
    background: var(--white);
    border-bottom: 1px solid var(--gray-200);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, 0.95);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.nav-logo {
    display: flex;
    align-items: center;
}

.logo-frame {
    display: none;
}

.logo-text {
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--gray-900);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-menu a {
    text-decoration: none;
    color: var(--gray-600);
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-menu a:hover {
    color: var(--primary-blue);
}

.nav-cta .btn-primary {
    background: var(--primary-blue);
    color: var(--white);
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.nav-cta .btn-primary:hover {
    background: var(--dark-blue);
    transform: translateY(-1px);
}

/* =========================
   Hero Section
   ========================= */
.hero {
    padding: 120px 0 80px;
    background: linear-gradient(135deg, var(--gray-50) 0%, var(--light-blue) 50%, var(--light-purple) 100%);
    position: relative;
    overflow: visible;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-content {
    max-width: 500px;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.1;
    color: var(--gray-900);
    margin-bottom: 2rem;
}

.hero-description {
    margin-bottom: 3rem;
}

.hero-description h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--gray-800);
    margin-bottom: 1rem;
}

.hero-description p {
    font-size: 1.125rem;
    color: var(--gray-600);
    line-height: 1.6;
    margin-bottom: 2rem;
}

.hero-sections {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-bottom: 3rem;
}

.hero-section h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--gray-800);
    margin-bottom: 0.75rem;
}

.hero-section p {
    font-size: 1.125rem;
    color: var(--gray-600);
    line-height: 1.6;
}

.hero-cta .btn-primary {
    background: var(--primary-blue);
    color: var(--white);
    padding: 1rem 2rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.125rem;
    transition: all 0.3s ease;
    display: inline-block;
}

.hero-cta .btn-primary:hover {
    background: var(--dark-blue);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* =========================
   Laptop Dashboard
   ========================= */
.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: visible;
    width: 100%;
}

.laptop-frame {
    perspective: 1000px;
    transform-style: preserve-3d;
}

.laptop-screen {
    width: 100%;
    max-width: 600px;
    aspect-ratio: 16 / 10;
    height: auto;
    background: var(--white);
    border-radius: 20px 20px 0 0;
    box-shadow: var(--shadow-xl);
    border: 1px solid var(--gray-200);
    overflow: hidden;
    position: relative;
}

.laptop-base {
    width: 100%;
    max-width: 600px;
    height: 20px;
    background: linear-gradient(135deg, #2d3748, #4a5568);
    border-radius: 0 0 20px 20px;
    margin: 0 auto;
    box-shadow: var(--shadow-lg);
}

/* =========================
   Dashboard Header
   ========================= */
.dashboard-header {
    background: var(--white);
    padding: 0.75rem 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid var(--gray-200);
}

.dashboard-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo-icon {
    width: 28px;
    height: 28px;
    background: linear-gradient(135deg, var(--primary-blue), var(--primary-purple));
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-weight: 700;
    font-size: 1rem;
}

.dashboard-logo span {
    font-weight: 600;
    color: var(--gray-900);
    font-size: 1.1rem;
}

.dashboard-tabs {
    display: flex;
    gap: 0.5rem;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    white-space: nowrap;
}

.dashboard-user {
    color: var(--gray-600);
    font-size: 1.1rem;
    cursor: pointer;
    transition: color 0.3s ease;
}

.dashboard-user:hover {
    color: var(--primary-blue);
}

.tab {
    padding: 0.3rem 0.6rem;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    color: var(--gray-600);
    display: inline-block;
}

.tab.active {
    background: var(--primary-blue);
    color: var(--white);
}

.tab:hover:not(.active) {
    background: var(--gray-100);
}

/* =========================
   Dashboard Content
   ========================= */
.dashboard-content {
    display: flex;
    height: calc(100% - 80px);
    background: var(--white);
}

.sidebar {
    width: 180px;
    background: var(--gray-50);
    padding: 1rem;
    border-right: 1px solid var(--gray-200);
}

.sidebar h3 {
    font-size: 0.9rem;
    color: var(--gray-900);
    margin-bottom: 0.75rem;
    font-weight: 600;
}

.time-filters {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.time-filter {
    padding: 0.4rem;
    border-radius: 4px;
    font-size: 0.8rem;
    color: var(--gray-600);
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.time-filter:hover {
    background: var(--gray-200);
}

.time-filter.active {
    background: var(--primary-blue);
    color: var(--white);
}

.main-content {
    flex: 1;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.transactions-section {
    flex: 1;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.section-header h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--gray-900);
}

.currency-filter select {
    padding: 0.5rem;
    border: 1px solid var(--gray-200);
    border-radius: 4px;
    background: var(--white);
    color: var(--gray-700);
    font-size: 0.875rem;
}

.transactions-chart {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: 8px;
    padding: 1rem;
    height: 200px;
    position: relative;
    margin-bottom: 20px;
}

.chart-container {
    position: relative;
    height: 100%;
    overflow: visible;
}

.chart-y-axis {
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    font-size: 0.75rem;
    color: var(--gray-600);
    width: 30px;
}

.chart-y-axis span {
    position: relative;
    padding-right: 8px;
}

.chart-y-axis span::after {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    width: 8px;
    height: 1px;
    background: var(--gray-200);
}

.chart-lines {
    position: absolute;
    top: 0;
    left: 40px;
    right: 0;
    height: 100%;
    padding: 20px 0 20px 0;
}

.chart-svg {
    width: 100%;
    height: 100%;
}

.parabola-path {
    fill: none;
    stroke: var(--primary-blue);
    stroke-width: 4;
    vector-effect: non-scaling-stroke;
    stroke-linecap: round;
    stroke-linejoin: round;
    filter: drop-shadow(0 2px 4px rgba(37, 99, 235, 0.2));
    transition: all 0.3s ease;
}

.parabola-path:hover {
    stroke-width: 5;
    filter: drop-shadow(0 4px 8px rgba(37, 99, 235, 0.3));
}

.chart-x-axis {
    position: absolute;
    bottom: -15px;
    left: 40px;
    right: 0;
    display: flex;
    justify-content: space-between;
    font-size: 0.6rem;
    color: var(--gray-600);
    padding: 0 20px;
}

/* =========================
   Charts Section
   ========================= */
.charts-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1rem;
}

.additional-charts {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.chart-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: 8px;
    padding: 1rem;
}

.chart-card h4 {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 0.75rem;
}

.pie-chart {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.pie-segments {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: conic-gradient(
        var(--primary-blue) 0deg 252deg,
        var(--primary-green) 252deg 360deg
    );
    position: relative;
}

.pie-segments::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 30px;
    height: 30px;
    background: var(--white);
    border-radius: 50%;
}

.chart-legend {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8rem;
    color: var(--gray-700);
}

.legend-color {
    width: 12px;
    height: 12px;
    border-radius: 2px;
}

.legend-color.usd {
    background: var(--primary-blue);
}

.legend-color.pln {
    background: var(--primary-green);
}

.legend-color.load-test {
    background: var(--primary-blue);
}

.legend-color.nmi {
    background: var(--primary-green);
}

.legend-color.payu {
    background: var(--primary-purple);
}

.legend-color.visa {
    background: var(--primary-blue);
}

.legend-color.mastercard {
    background: var(--primary-red);
}

.legend-color.paypal {
    background: var(--primary-green);
}

.legend-color.success {
    background: var(--primary-green);
}

.legend-color.failed {
    background: var(--primary-red);
}

.legend-color.pending {
    background: var(--primary-purple);
}

/* =========================
   How it Works Section
   ========================= */
.how-it-works {
    padding: 80px 0;
    background: var(--gray-50);
}

.how-it-works .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Section 1: Split Header */
.how-it-works-header {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    margin-bottom: 4rem;
}

.header-left .section-title {
    text-align: left;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 0;
}

.header-right .header-description {
    font-size: 1.125rem;
    color: var(--gray-600);
    line-height: 1.6;
    margin: 0;
}

/* Section 2: Grid of Cards */
.how-it-works-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.how-it-works-cards .card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-sm);
}

.how-it-works-cards .card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.how-it-works-cards .card-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, var(--primary-blue), var(--primary-purple));
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: var(--white);
    font-size: 1.5rem;
}

.how-it-works-cards .card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 1rem;
}

.how-it-works-cards .card p {
    color: var(--gray-600);
    line-height: 1.6;
    font-size: 1rem;
}



/* Responsive Design for How it Works */
@media (max-width: 1024px) {
    .how-it-works-header {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .header-left .section-title {
        text-align: center;
    }
    
    .how-it-works-cards {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }
}

@media (max-width: 768px) {
    .how-it-works-cards {
        grid-template-columns: 1fr;
    }
    
    .payment-providers {
        position: static;
        transform: none;
        margin-top: 1rem;
    }
}

/* =========================
   Use Cases Section
   ========================= */
.use-cases {
    padding: 80px 0;
    background: var(--gray-50);
}

.use-cases .section-title {
    text-align: left;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 4rem;
}

.use-cases-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 3rem;
    position: relative;
}

.use-cases-content::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(135deg, var(--primary-blue), var(--primary-purple));
    transform: translateX(-50%);
    opacity: 0.3;
}

.use-case-item {
    display: flex;
    gap: 2rem;
    align-items: flex-start;
    position: relative;
}

.use-case-item:nth-child(odd) {
    padding-right: 2rem;
}

.use-case-item:nth-child(even) {
    padding-left: 2rem;
}

.use-case-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, var(--primary-blue), var(--primary-purple));
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.5rem;
    flex-shrink: 0;
    box-shadow: var(--shadow-sm);
}

.use-case-text h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 1rem;
    line-height: 1.3;
}

.use-case-text p {
    font-size: 1rem;
    color: var(--gray-600);
    line-height: 1.6;
    margin: 0;
}

/* Responsive Design for Use Cases */
@media (max-width: 1024px) {
    .use-cases-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .use-cases-content::before {
        display: none;
    }
    
    .use-case-item {
        padding: 0 !important;
    }
}

@media (max-width: 768px) {
    .use-case-item {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .use-case-icon {
        margin: 0 auto;
    }
}

/* =========================
   Stats Section
   ========================= */
.stats {
    padding: 80px 0;
    background: var(--gray-50);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1rem;
    color: var(--gray-600);
    line-height: 1.4;
}

/* =========================
   Advantages Section
   ========================= */
.advantages {
    padding: 80px 0;
    background: var(--white);
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
    gap: 2rem;
}

.advantage-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: 12px;
    padding: 2rem;
    transition: all 0.3s ease;
}

.advantage-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.advantage-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 1rem;
}

.advantage-card p {
    color: var(--gray-600);
    line-height: 1.6;
}

/* =========================
   Markets Section
   ========================= */
.markets {
    padding: 80px 0;
    background: var(--gray-50);
}

.markets-cta {
    text-align: center;
    margin-top: 3rem;
}

/* =========================
   Why Choose Section
   ========================= */
.why-choose {
    padding: 80px 0;
    background: var(--white);
}

.capabilities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 3rem;
}

.capability-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: var(--gray-50);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.capability-item:hover {
    background: var(--light-blue);
    transform: translateX(4px);
}

.capability-item i {
    color: var(--primary-blue);
    font-size: 1.25rem;
    width: 24px;
}

.capability-item span {
    font-weight: 500;
    color: var(--gray-700);
}

/* =========================
   Modal Styles - Solidgate Inspired
   ========================= */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.modal.active {
    display: flex;
}

.modal-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    cursor: pointer;
}

.modal-dialog {
    background: #ffffff;
    border-radius: 16px;
    padding: 0;
    max-width: 480px;
    width: 100%;
    position: relative;
    z-index: 2001;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    max-height: 90vh;
    overflow: hidden;
    animation: modalSlideIn 0.3s ease-out;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-20px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    color: #6b7280;
    cursor: pointer;
    padding: 8px;
    border-radius: 8px;
    transition: all 0.2s ease;
    z-index: 10;
}

.modal-close:hover {
    background: #f3f4f6;
    color: #374151;
}

.modal-close svg {
    width: 20px;
    height: 20px;
}

.modal-header {
    padding: 32px 32px 0 32px;
    text-align: center;
}

.modal-header h2 {
    font-size: 28px;
    font-weight: 700;
    color: #111827;
    margin: 0;
    line-height: 1.2;
}

.modal-form {
    padding: 24px 32px 32px 32px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group:last-of-type {
    margin-bottom: 24px;
}

.modal input,
.modal select,
.modal textarea {
    width: 100%;
    padding: 16px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-size: 16px;
    font-family: inherit;
    background: #ffffff;
    transition: all 0.2s ease;
    box-sizing: border-box;
}

.modal input:focus,
.modal select:focus,
.modal textarea:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.modal input::placeholder,
.modal textarea::placeholder {
    color: #9ca3af;
}

.modal select {
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3e%3c/svg%3e");
    background-position: right 12px center;
    background-repeat: no-repeat;
    background-size: 16px;
    padding-right: 40px;
    appearance: none;
}

.modal textarea {
    resize: vertical;
    min-height: 100px;
    font-family: inherit;
}

.modal-submit-btn {
    width: 100%;
    background: #111827;
    color: #ffffff;
    border: none;
    border-radius: 8px;
    padding: 16px 24px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 16px;
}

.modal-submit-btn:hover {
    background: #374151;
    transform: translateY(-1px);
}

.modal-submit-btn:active {
    transform: translateY(0);
}

.modal-submit-btn svg {
    width: 16px;
    height: 16px;
}

.modal-disclaimer {
    text-align: center;
    font-size: 14px;
    color: #6b7280;
    margin: 0;
    line-height: 1.5;
}

.privacy-link {
    color: #3b82f6;
    text-decoration: none;
    font-weight: 500;
}

.privacy-link:hover {
    text-decoration: underline;
}

/* =========================
   Features Section
   ========================= */
.features {
    padding: 80px 0;
    background: var(--gray-50);
}

.features .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.features-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
    margin-bottom: 4rem;
}

.features-text {
    max-width: 500px;
}

.features-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.features-description {
    font-size: 1.125rem;
    color: var(--gray-600);
    line-height: 1.6;
}

.features-cards {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.feature-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--gray-200);
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-blue), var(--primary-purple));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.feature-icon i {
    font-size: 1.5rem;
    color: var(--white);
}

.feature-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 1rem;
    line-height: 1.3;
}

.feature-card p {
    font-size: 1rem;
    color: var(--gray-600);
    line-height: 1.6;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .features-content {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }
    
    .features-text {
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .features-title {
        font-size: 2rem;
    }
    
    .feature-card {
        padding: 1.5rem;
    }
}

/* Stats Section */
.stats-section {
    margin-top: 4rem;
    padding-top: 3rem;
    border-top: 1px solid var(--gray-200);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 2rem;
    text-align: center;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-blue);
    line-height: 1;
}

.stat-label {
    font-size: 0.875rem;
    color: var(--gray-600);
    line-height: 1.4;
    text-align: center;
    max-width: 120px;
}

/* Responsive Stats */
@media (max-width: 1024px) {
    .stats-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .stat-label {
        font-size: 0.8rem;
        max-width: 100px;
    }
}

/* =========================
   Contact Section
   ========================= */
.contact {
    padding: 80px 0;
    background: var(--gray-50);
}

.contact-tabs {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin: 2rem 0;
}

.contact-tab {
    padding: 0.75rem 1.5rem;
    border: 1px solid var(--gray-200);
    background: var(--white);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
}

.contact-tab.active {
    background: var(--primary-blue);
    color: var(--white);
    border-color: var(--primary-blue);
}

.contact-tab:hover:not(.active) {
    background: var(--gray-100);
}

.contact-forms {
    max-width: 800px;
    margin: 0 auto;
}

.contact-form {
    display: none;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: 12px;
    padding: 2rem;
    animation: fadeIn 0.3s ease;
}

.contact-form.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.contact-form h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 2rem;
    text-align: center;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1rem;
}

.form-row:last-of-type {
    grid-template-columns: 1fr;
}

.form-row input,
.form-row select,
.form-row textarea {
    padding: 0.75rem;
    border: 1px solid var(--gray-200);
    border-radius: 6px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
    outline: none;
    border-color: var(--primary-blue);
}

.form-row textarea {
    resize: vertical;
    min-height: 100px;
}

.contact-form button {
    width: 100%;
    margin-top: 1rem;
}

.form-footnote {
    text-align: center;
    margin-top: 1rem;
    font-size: 0.875rem;
    color: var(--gray-500);
}

.form-footnote a {
    color: var(--primary-blue);
    text-decoration: none;
}

/* =========================
   Footer
   ========================= */
.footer {
    background: var(--gray-900);
    color: var(--white);
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-logo {
    margin-bottom: 1rem;
}

.footer-logo .logo-frame {
    display: none;
}

.footer-logo .logo-text {
    color: var(--white);
}

.footer-section h4 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: var(--gray-300);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: var(--white);
}

.footer-bottom {
    border-top: 1px solid var(--gray-700);
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--gray-400);
}

.footer-bottom a {
    color: var(--gray-400);
    text-decoration: none;
}

.footer-bottom a:hover {
    color: var(--white);
}

/* =========================
   Buttons
   ========================= */
.btn-primary {
    background: var(--primary-blue);
    color: var(--white);
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.btn-primary:hover {
    background: var(--dark-blue);
    transform: translateY(-1px);
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.125rem;
}

/* =========================
   Responsive Design
   ========================= */
@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }
    
    .hero-content {
        max-width: 100%;
    }
    
    .laptop-screen {
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    /* Center and make CTAs full-width on mobile */
    .hero-cta a {
        width: 100%;
        text-align: center;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .advantages-grid {
        grid-template-columns: 1fr;
    }
    
    .capabilities-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-tabs {
        flex-direction: column;
        align-items: center;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .laptop-screen {
        max-width: 100%;
        aspect-ratio: 4 / 3;
    }
    
    .laptop-base {
        width: 100%;
    }
    
    .dashboard-content {
        flex-direction: column;
    }
    
    .sidebar {
        width: 100%;
        border-right: none;
        border-bottom: 1px solid var(--gray-200);
    }
    
    .charts-section {
        grid-template-columns: 1fr;
    }
}

/* =========================
   Premium Fintech Styles
   ========================= */

/* Custom Colors */
:root {
    --ink-900: #0A0F1E;
    --line: rgba(255, 255, 255, 0.10);
}

/* Brand Gradient */
.bg-brand-gradient {
    background: linear-gradient(135deg, #4F46E5 0%, #06B6D4 50%, #22C55E 100%);
}

/* Animated Gradient */
@keyframes gradshift {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

.animate-gradshift {
    animation: gradshift 6s ease-in-out infinite;
    background-size: 200% 200%;
}

/* Spotlight Effects */
.spotlight-header {
    position: absolute;
    left: 50%;
    top: 2rem;
    transform: translateX(-50%);
    height: 16rem;
    width: 40rem;
    background: radial-gradient(closest-side, rgba(79, 70, 229, 0.25), transparent 70%);
    pointer-events: none;
}

.spotlight-card {
    position: absolute;
    right: 4rem;
    top: 13rem;
    height: 18rem;
    width: 18rem;
    filter: blur(2rem);
    opacity: 0.7;
    background: radial-gradient(circle at 30% 30%, rgba(34, 197, 94, 0.4), transparent 60%);
    pointer-events: none;
}

/* Conic Gradient Halo */
.conic-halo {
    position: absolute;
    inset: 0;
    border-radius: 1.5rem;
    opacity: 0;
    filter: blur(1rem);
    transition: opacity 0.3s ease;
    background: conic-gradient(at 30% 10%, #4F46E5, transparent 25%, #06B6D4, transparent 60%, #22C55E, transparent 85%);
    pointer-events: none;
}

.group:hover .conic-halo {
    opacity: 0.2;
}

/* Feature Grid Shadow */
.feature-shadow {
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

/* Responsive Spotlight Adjustments */
@media (max-width: 1024px) {
    .spotlight-header {
        width: 30rem;
        height: 12rem;
    }
    
    .spotlight-card {
        right: 2rem;
        top: 10rem;
        height: 14rem;
        width: 14rem;
    }
}

@media (max-width: 768px) {
    .spotlight-header {
        width: 20rem;
        height: 8rem;
        top: 1rem;
    }
    
    .spotlight-card {
        display: none;
    }
}

/* =========================
   Global Responsive Helpers
   ========================= */
img, video, canvas, svg {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Ensure embedded iframes scale within containers */
.responsive-embed {
    position: relative;
    width: 100%;
    padding-top: 56.25%; /* 16:9 */
}
.responsive-embed > iframe,
.responsive-embed > object,
.responsive-embed > embed {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* Make wide tables scroll on small screens */
.table-responsive {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

/* Prevent layout breaks with long strings/URLs */
body, p, h1, h2, h3, h4, h5, h6, a, span, li, div {
    overflow-wrap: anywhere;
}






