/*
 * OmnioIQ Design System
 * Clear Bank-inspired fintech aesthetic
 * Version 1.0
 */

/* =====================================================
   RESET & BASE
   ===================================================== */

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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: #1a1a1a;
    background: #ffffff;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* =====================================================
   TYPOGRAPHY
   ===================================================== */

.text-hero {
    font-size: 5rem;
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -3px;
}

.text-display {
    font-size: 4rem;
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -2px;
}

.text-h1 {
    font-size: 3rem;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -1.5px;
}

.text-h2 {
    font-size: 2rem;
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: -1px;
}

.text-h3 {
    font-size: 1.5rem;
    font-weight: 600;
    line-height: 1.4;
    letter-spacing: -0.5px;
}

.text-h4 {
    font-size: 1.25rem;
    font-weight: 600;
    line-height: 1.4;
}

.text-large {
    font-size: 1.25rem;
    line-height: 1.8;
}

.text-body {
    font-size: 1rem;
    line-height: 1.8;
}

.text-small {
    font-size: 0.9rem;
    line-height: 1.6;
}

.text-tiny {
    font-size: 0.85rem;
    line-height: 1.6;
}

/* =====================================================
   COLORS
   ===================================================== */

:root {
    --color-primary: #1a1a1a;
    --color-secondary: #2d3748;
    --color-white: #ffffff;
    --color-gray-50: #f9fafb;
    --color-gray-100: #f3f4f6;
    --color-gray-200: #e5e7eb;
    --color-gray-300: #d1d5db;
    --color-gray-400: #9ca3af;
    --color-gray-500: #6b7280;
    --color-gray-600: #4b5563;
    --color-success: #10b981;
    --color-danger: #ef4444;
}

.text-primary { color: var(--color-primary); }
.text-secondary { color: var(--color-secondary); }
.text-gray { color: var(--color-gray-500); }
.text-light-gray { color: var(--color-gray-400); }
.text-success { color: var(--color-success); }
.text-white { color: var(--color-white); }

.bg-white { background: var(--color-white); }
.bg-gray { background: var(--color-gray-50); }
.bg-primary { background: var(--color-primary); }

/* =====================================================
   LAYOUT
   ===================================================== */

.container {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 3rem;
}

.container-narrow {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 3rem;
}

.section {
    padding: 8rem 3rem;
}

.section-large {
    padding: 10rem 3rem;
}

.section-medium {
    padding: 6rem 3rem;
}

.section-small {
    padding: 4rem 3rem;
}

/* =====================================================
   NAVIGATION
   ===================================================== */

nav {
    position: fixed;
    top: 0;
    width: 100%;
    background: #ffffff;
    border-bottom: 1px solid var(--color-gray-200);
    z-index: 1000;
}

.nav-container {
    max-width: 1600px;
    margin: 0 auto;
    padding: 1.5rem 3rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-primary);
    letter-spacing: -0.5px;
    text-decoration: none;
}

.nav-links {
    display: flex;
    gap: 2.5rem;
    align-items: center;
}

.nav-links a {
    color: var(--color-primary);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: opacity 0.3s;
}

.nav-links a:hover {
    opacity: 0.6;
}

.nav-links .btn-primary {
    color: var(--color-white);
    padding: 0.75rem 1.5rem;
}

.nav-links .btn-primary:hover {
    opacity: 1;
    color: var(--color-white);
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    color: var(--color-primary);
}

.mobile-menu-btn svg {
    width: 24px;
    height: 24px;
}

/* =====================================================
   BUTTONS - Unified Design System
   ===================================================== */

/* Base button reset */
.btn,
.btn-primary,
.btn-secondary,
.btn-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    text-decoration: none;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    transition: all 0.25s ease;
    border: none;
    outline: none;
    white-space: nowrap;
}

/* Standard buttons - rounded corners */
.btn,
.btn-primary,
.btn-secondary {
    padding: 0.875rem 1.75rem;
    border-radius: 8px;
    font-size: 0.9rem;
    letter-spacing: 0.2px;
}

.btn-primary {
    background: var(--color-primary);
    color: var(--color-white);
    box-shadow: 0 2px 8px rgba(26, 26, 26, 0.15);
}

.btn-primary:hover {
    background: var(--color-secondary);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(26, 26, 26, 0.2);
}

.btn-primary:active {
    transform: translateY(0);
    box-shadow: 0 2px 6px rgba(26, 26, 26, 0.15);
}

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

.btn-secondary:hover {
    background: var(--color-primary);
    color: var(--color-white);
    transform: translateY(-1px);
}

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

/* Large button variant */
.btn-large {
    padding: 1.125rem 2.25rem;
    font-size: 1rem;
    border-radius: 10px;
}

/* Pill buttons - fully rounded */
.btn-pill {
    display: block;
    width: 100%;
    padding: 1rem 1.75rem;
    border-radius: 50px;
    font-size: 0.9rem;
    letter-spacing: 0.3px;
}

.btn-pill-primary {
    background: var(--color-primary);
    color: var(--color-white);
    box-shadow: 0 4px 14px rgba(26, 26, 26, 0.2);
}

.btn-pill-primary:hover {
    background: var(--color-secondary);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(26, 26, 26, 0.25);
}

.btn-pill-outline {
    background: var(--color-white);
    color: var(--color-primary);
    border: 2px solid var(--color-gray-200);
}

.btn-pill-outline:hover {
    border-color: var(--color-primary);
    background: var(--color-primary);
    color: var(--color-white);
    transform: translateY(-2px);
}

/* Ghost button - minimal style */
.btn-ghost {
    background: transparent;
    color: var(--color-primary);
    padding: 0.75rem 1.25rem;
    border-radius: 6px;
}

.btn-ghost:hover {
    background: var(--color-gray-100);
}

/* =====================================================
   HERO
   ===================================================== */

.hero {
    margin-top: 80px;
    padding: 8rem 3rem 6rem;
    text-align: center;
    background: #ffffff;
}

.hero h1 {
    font-size: 5rem;
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -3px;
    color: var(--color-primary);
    margin-bottom: 2rem;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.hero p {
    font-size: 1.25rem;
    color: var(--color-gray-500);
    max-width: 700px;
    margin: 0 auto 3rem;
}

/* =====================================================
   SECTION ELEMENTS
   ===================================================== */

.section-number {
    font-size: 0.85rem;
    color: var(--color-gray-400);
    font-weight: 500;
    letter-spacing: 2px;
    margin-bottom: 3rem;
}

.section-intro {
    margin-bottom: 4rem;
}

.section-intro h2 {
    font-size: 3rem;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -1.5px;
    color: var(--color-primary);
    margin-bottom: 2rem;
    max-width: 800px;
}

.section-intro p {
    font-size: 1.25rem;
    color: var(--color-gray-500);
    max-width: 700px;
    line-height: 1.8;
}

/* =====================================================
   GRIDS
   ===================================================== */

.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 4rem;
}

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

.grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

/* =====================================================
   USP CARDS
   ===================================================== */

.usp-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    margin-top: 4rem;
}

.usp-card {
    padding: 0;
    transition: transform 0.3s;
}

.usp-card:hover {
    transform: translateY(-4px);
}

.usp-icon {
    width: 48px;
    height: 48px;
    margin-bottom: 1.5rem;
    color: var(--color-primary);
}

.usp-badge {
    display: inline-block;
    background: var(--color-success);
    color: var(--color-white);
    padding: 0.35rem 0.75rem;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
    margin-bottom: 1rem;
    letter-spacing: 0.5px;
}

.usp-card h4 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--color-primary);
    margin-bottom: 1rem;
    line-height: 1.4;
}

.usp-card p {
    font-size: 0.95rem;
    color: var(--color-gray-500);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.competitive-reality {
    background: var(--color-gray-50);
    border-radius: 4px;
    padding: 1rem;
    font-size: 0.85rem;
    border-left: 3px solid var(--color-primary);
}

.competitive-reality .label {
    font-weight: 600;
    color: var(--color-primary);
    margin-bottom: 0.5rem;
    display: block;
}

.competitive-reality strong {
    color: var(--color-primary);
}

/* =====================================================
   PRICING CARDS
   ===================================================== */

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-top: 4rem;
}

.pricing-card {
    background: var(--color-white);
    border: 1px solid var(--color-gray-200);
    border-radius: 4px;
    padding: 3rem 2rem;
    transition: all 0.3s;
}

.pricing-card:hover {
    border-color: var(--color-primary);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.pricing-card.featured {
    border: 2px solid var(--color-primary);
    position: relative;
}

.pricing-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--color-primary);
    color: var(--color-white);
    padding: 0.35rem 1rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.pricing-tier {
    font-size: 0.85rem;
    color: var(--color-gray-400);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
}

.pricing-name {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 1rem;
}

.pricing-price {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--color-primary);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.pricing-price .currency {
    font-size: 1.5rem;
    vertical-align: super;
}

.pricing-period {
    font-size: 0.9rem;
    color: var(--color-gray-500);
    margin-bottom: 2rem;
}

.pricing-description {
    font-size: 0.9rem;
    color: var(--color-gray-500);
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--color-gray-200);
}

.pricing-features {
    list-style: none;
    margin-bottom: 2rem;
}

.pricing-feature {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.5rem 0;
    font-size: 0.9rem;
    color: var(--color-gray-600);
}

.pricing-feature svg {
    color: var(--color-success);
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    margin-top: 2px;
}

/* =====================================================
   STATS SECTION
   ===================================================== */

.stats-section {
    background: var(--color-gray-50);
    padding: 6rem 3rem;
    text-align: center;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 4rem;
    max-width: 1200px;
    margin: 0 auto;
}

.stat-item h3 {
    font-size: 4rem;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 0.5rem;
    letter-spacing: -2px;
    line-height: 1;
}

.stat-item p {
    font-size: 1rem;
    color: var(--color-gray-500);
}

/* =====================================================
   PRODUCT TABS
   ===================================================== */

.product-tabs {
    display: flex;
    gap: 3rem;
    margin-bottom: 4rem;
    border-bottom: 1px solid var(--color-gray-200);
}

.product-tab {
    padding-bottom: 1rem;
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--color-gray-400);
    cursor: pointer;
    transition: color 0.3s;
    border-bottom: 3px solid transparent;
    letter-spacing: -0.5px;
}

.product-tab.active {
    color: var(--color-primary);
    border-bottom-color: var(--color-primary);
}

.product-content {
    display: none;
}

.product-content.active {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    align-items: center;
}

.product-info h3 {
    font-size: 2rem;
    font-weight: 700;
    line-height: 1.3;
    color: var(--color-primary);
    margin-bottom: 1.5rem;
    letter-spacing: -1px;
}

.product-info p {
    font-size: 1.1rem;
    color: var(--color-gray-500);
    line-height: 1.8;
    margin-bottom: 2rem;
}

.product-visual {
    background: var(--color-gray-50);
    border-radius: 12px;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.product-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.product-visual:hover img {
    transform: scale(1.03);
}

/* =====================================================
   USE CASE CARDS
   ===================================================== */

.use-cases-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-top: 4rem;
}

.use-case-card {
    padding: 2.5rem 0;
    border-top: 1px solid var(--color-gray-200);
}

.use-case-icon {
    width: 32px;
    height: 32px;
    color: var(--color-primary);
    margin-bottom: 1.25rem;
    stroke-width: 1.5;
}

.use-case-card h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--color-primary);
    margin-bottom: 1rem;
}

.use-case-card p {
    font-size: 0.9rem;
    color: var(--color-gray-500);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.link-arrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--color-primary);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: gap 0.3s;
}

.link-arrow:hover {
    gap: 1rem;
}

/* =====================================================
   CLIENT TICKER
   ===================================================== */

.client-ticker {
    padding: 4rem 0;
    background: #ffffff;
    border-top: 1px solid var(--color-gray-200);
    border-bottom: 1px solid var(--color-gray-200);
    overflow: hidden;
}

.ticker-wrapper {
    display: flex;
    animation: scroll 30s linear infinite;
}

.ticker-item {
    min-width: 200px;
    padding: 0 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--color-gray-400);
    white-space: nowrap;
}

@keyframes scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* =====================================================
   CTA SECTION
   ===================================================== */

.cta-section {
    padding: 8rem 3rem;
    text-align: center;
    background: var(--color-primary);
    color: var(--color-white);
}

.cta-section h2 {
    font-size: 3rem;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -1.5px;
    margin-bottom: 2rem;
}

.cta-section p {
    font-size: 1.25rem;
    opacity: 0.8;
    margin-bottom: 3rem;
}

.cta-section .btn-primary {
    background: var(--color-white);
    color: var(--color-primary);
    box-shadow: 0 2px 8px rgba(255, 255, 255, 0.2);
}

.cta-section .btn-primary:hover {
    background: var(--color-gray-50);
    box-shadow: 0 4px 12px rgba(255, 255, 255, 0.25);
}

/* =====================================================
   FOOTER
   ===================================================== */

footer {
    background: #ffffff;
    border-top: 1px solid var(--color-gray-200);
    padding: 4rem 3rem 2rem;
}

.footer-grid {
    max-width: 1600px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-section h4 {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--color-primary);
    margin-bottom: 1.5rem;
    letter-spacing: 0.5px;
}

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

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

.footer-links a {
    color: var(--color-gray-500);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s;
}

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

.footer-bottom {
    max-width: 1600px;
    margin: 0 auto;
    padding-top: 2rem;
    border-top: 1px solid var(--color-gray-200);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
    color: var(--color-gray-400);
}

/* =====================================================
   RESPONSIVE
   ===================================================== */

@media (max-width: 1200px) {
    .text-hero { font-size: 4rem; letter-spacing: -2px; }
    .text-display { font-size: 3rem; }
    .text-h1 { font-size: 2.5rem; }
    .text-h2 { font-size: 1.75rem; }
    
    .hero h1 { font-size: 4rem; }
    .section-intro h2 { font-size: 2.5rem; }
    
    .usp-grid { grid-template-columns: repeat(2, 1fr); }
    .pricing-grid { grid-template-columns: repeat(2, 1fr); }
    .use-cases-grid { grid-template-columns: repeat(2, 1fr); }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    
    .product-content.active {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .container,
    .container-narrow {
        padding: 0 1.5rem;
    }
    
    .section { padding: 4rem 1.5rem; }
    .section-large { padding: 5rem 1.5rem; }
    .section-medium { padding: 3rem 1.5rem; }
    
    .nav-container {
        padding: 1rem 1.5rem;
        flex-wrap: wrap;
    }

    .mobile-menu-btn {
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .nav-links {
        display: none;
        width: 100%;
        flex-direction: column;
        gap: 1rem;
        padding: 1.5rem 0;
        border-top: 1px solid var(--color-gray-200);
        margin-top: 1rem;
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links a {
        padding: 0.5rem 0;
    }

    .nav-links .btn-primary {
        width: 100%;
        justify-content: center;
        margin-top: 0.5rem;
    }
    
    .hero {
        padding: 5rem 1.5rem 3rem;
    }
    
    .hero h1,
    .text-hero {
        font-size: 2.5rem;
        letter-spacing: -1px;
    }
    
    .text-display { font-size: 2rem; }
    .text-h1 { font-size: 1.75rem; }
    .text-h2 { font-size: 1.5rem; }
    
    .section-intro h2 {
        font-size: 2rem;
    }
    
    .grid-2,
    .grid-3,
    .grid-4 {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .usp-grid { grid-template-columns: 1fr; }
    .pricing-grid { grid-template-columns: 1fr; }
    .use-cases-grid { grid-template-columns: 1fr; }
    .stats-grid { grid-template-columns: 1fr; gap: 3rem; }
    
    .stat-item h3 { font-size: 3rem; }
    
    .product-tabs {
        flex-direction: column;
        gap: 1rem;
    }
    
    .product-tab {
        font-size: 1.25rem;
        border-bottom: none;
        padding: 1rem 0;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .cta-section h2 {
        font-size: 2rem;
    }
}

/* =====================================================
   UTILITIES
   ===================================================== */

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

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

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

.opacity-80 { opacity: 0.8; }
.opacity-60 { opacity: 0.6; }

.max-w-700 { max-width: 700px; }
.max-w-800 { max-width: 800px; }
.max-w-1000 { max-width: 1000px; }

.mx-auto {
    margin-left: auto;
    margin-right: auto;
}
