/* --- VARIABLES & RESET --- */
:root {
    /* Colors - Light Mode Corporate Web3 */
    --bg-main: #ffffff;
    --bg-secondary: #f8fafc;
    --text-primary: #0f172a;
    --text-secondary: #64748b;
    
    /* Brand Colors */
    --accent-blue: #2563eb;
    --accent-violet: #7c3aed;
    --accent-cyan: #06b6d4;
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, var(--accent-blue) 0%, var(--accent-violet) 100%);
    --gradient-surface: linear-gradient(180deg, rgba(255,255,255,0.8), rgba(248,250,252,0.8));
    
    /* UI Elements */
    --border-light: #e2e8f0;
    --border-focus: #94a3b8;
    --shadow-card: 0 10px 30px -10px rgba(0,0,0,0.08);
    --shadow-hover: 0 20px 40px -15px rgba(37, 99, 235, 0.15);
    
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    
    --font-sans: 'Inter', sans-serif;
    --font-heading: 'Space Grotesk', sans-serif;
}

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

body {
    background-color: var(--bg-main);
    color: var(--text-primary);
    font-family: var(--font-sans);
    line-height: 1.6;
    overflow-x: hidden;
}

/* --- BACKGROUND FX --- */
.bg-grid {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background-image: 
        radial-gradient(#e2e8f0 1.5px, transparent 1.5px),
        radial-gradient(#e2e8f0 1.5px, transparent 1.5px);
    background-size: 30px 30px;
    background-position: 0 0, 15px 15px;
    opacity: 0.6;
    z-index: -2;
}

.glow-orb {
    position: fixed;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    filter: blur(100px);
    z-index: -1;
    opacity: 0.15;
}

.top-right {
    top: -200px;
    right: -200px;
    background: var(--accent-blue);
}

.bottom-left {
    bottom: -200px;
    left: -200px;
    background: var(--accent-violet);
}

/* --- LAYOUT UTILS --- */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

.section-spacing {
    padding: 100px 0;
}

.bg-offset {
    background: linear-gradient(to bottom, transparent, #f1f5f9 20%, #f1f5f9 80%, transparent);
}

.gradient-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* --- HEADER --- */
header {
    position: sticky;
    top: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-light);
    z-index: 1000;
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
    position: relative;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    z-index: 1001;
  }

.logo-icon {
    width: 32px;
    height: 32px;
    background: var(--gradient-primary);
    border-radius: 8px;
    transform: rotate(45deg);
}

.logo-text {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.25rem;
    letter-spacing: -0.02em;
    color: var(--text-primary);
}

.logo-text .highlight {
    color: var(--accent-blue);
}

.nav-menu {
    display: flex;
    gap: 32px;
    list-style: none;
    align-items: center;
}

.nav-menu a {
    text-decoration: none;
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.2s;
}

.nav-menu a:hover, .nav-menu a.active {
    color: var(--accent-blue);
}

.btn-primary-sm {
    padding: 10px 20px;
    background: var(--text-primary);
    color: white !important;
    border-radius: 50px;
    font-size: 0.9rem;
}

.mobile-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 1001;
    color: var(--text-primary);
    user-select: none;
}

/* --- PAGE HEADER --- */
.page-header {
    padding: 120px 0 60px;
    text-align: center;
    background: linear-gradient(180deg, rgba(255,255,255,0) 0%, #f1f5f9 100%);
    border-bottom: 1px solid var(--border-light);
}

.page-header h1 {
    font-family: var(--font-heading);
    font-size: 3rem;
    margin-bottom: 16px;
    color: var(--text-primary);
    line-height: 1.1;
}

.breadcrumb {
    color: var(--text-secondary);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: block;
    margin-bottom: 10px;
}

/* --- HERO --- */
.hero-section {
    padding: 140px 0 100px;
    text-align: center;
}

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

.badge {
    display: inline-block;
    padding: 6px 16px;
    background: #e0f2fe;
    color: var(--accent-blue);
    border-radius: 100px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 32px;
    border: 1px solid #bae6fd;
}

.hero-section h1 {
    font-family: var(--font-heading);
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 24px;
    letter-spacing: -0.03em;
}

.hero-desc {
    font-size: 1.25rem;
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto 48px;
}

.hero-actions {
    display: flex;
    justify-content: center;
    gap: 16px;
}

.btn-primary {
    padding: 16px 36px;
    background: var(--gradient-primary);
    color: white;
    text-decoration: none;
    border-radius: var(--radius-sm);
    font-weight: 600;
    transition: transform 0.2s, box-shadow 0.2s;
    display: inline-block;
}

.btn-secondary {
    padding: 16px 36px;
    background: white;
    color: var(--text-primary);
    text-decoration: none;
    border-radius: var(--radius-sm);
    font-weight: 600;
    border: 1px solid var(--border-light);
    transition: background 0.2s;
    display: inline-block;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(37, 99, 235, 0.3);
}

.btn-secondary:hover {
    background: #f8fafc;
    border-color: #cbd5e1;
}

/* --- CONTENT PAGES --- */
.content-wrapper {
    padding: 80px 24px;
    max-width: 900px;
    margin: 0 auto;
}

.content-block {
    margin-bottom: 60px;
}

.content-block h2 {
    font-family: var(--font-heading);
    font-size: 2rem;
    margin-bottom: 20px;
    color: var(--text-primary);
}

.content-block h3 {
    font-size: 1.5rem;
    margin-bottom: 16px;
    color: var(--accent-blue);
}

.content-block p {
    margin-bottom: 16px;
    color: var(--text-secondary);
    font-size: 1.05rem;
}

.content-block ul {
    list-style: none;
    margin-bottom: 24px;
}

.content-block ul li {
    padding: 8px 0;
    border-bottom: 1px solid var(--border-light);
    color: var(--text-primary);
}

.content-block ul li::before {
    content: "•";
    color: var(--accent-violet);
    font-weight: bold;
    display: inline-block;
    width: 1em;
    margin-right: 8px;
}

/* --- TABLES (Responsive) --- */
.table-container {
    overflow-x: auto;
    margin: 20px 0;
}

table {
    width: 100%;
    min-width: 600px;
    border-collapse: collapse;
    font-size: 0.95rem;
}

th, td {
    padding: 12px;
    border: 1px solid var(--border-light);
    text-align: left;
}

th {
    background-color: #f8fafc;
    font-weight: 600;
}

/* --- PARTNERS --- */
.partners-strip {
    border-top: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);
    background: white;
    padding: 40px 0;
}

.strip-label {
    text-align: center;
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 2px;
    color: var(--text-secondary);
    margin-bottom: 24px;
    font-weight: 600;
}

.partners-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 40px;
    align-items: center;
}

.partner-logo {
    font-family: var(--font-heading);
    font-weight: 700;
    color: #94a3b8;
    font-size: 1.3rem;
    letter-spacing: 1px;
}

/* --- ABOUT / GRID SYSTEM --- */
.row {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 60px;
    align-items: center;
}

.section-title {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    margin-bottom: 24px;
    line-height: 1.2;
}

.lead-text {
    font-size: 1.15rem;
    color: var(--text-primary);
    margin-bottom: 24px;
}

.check-list {
    list-style: none;
    margin-top: 32px;
}

.check-list li {
    padding: 12px 0;
    border-top: 1px solid var(--border-light);
    display: flex;
    align-items: center;
    color: var(--text-primary);
    font-weight: 500;
}

.check-list li::before {
    content: "→";
    color: var(--accent-blue);
    margin-right: 16px;
    font-weight: bold;
    flex-shrink: 0;
}

.card-glass {
    background: rgba(255,255,255,0.6);
    backdrop-filter: blur(20px);
    border: 1px solid white;
    padding: 40px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card);
    display: grid;
    gap: 30px;
}

.stat-box h3 {
    font-size: 1.1rem;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.stat-box p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* --- SOLUTIONS GRID --- */
.center-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 80px;
}

.grid-layout {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
}

.feature-card {
    background: white;
    padding: 40px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-light);
    transition: all 0.3s ease;
    height: 100%;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
    border-color: var(--accent-blue);
}

.icon-wrapper {
    font-size: 2.5rem;
    margin-bottom: 24px;
    background: #f1f5f9;
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
}

.feature-card h3 {
    font-size: 1.4rem;
    margin-bottom: 16px;
    font-family: var(--font-heading);
}

.feature-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* --- CONTACT SECTION --- */
.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 0;
    background: white;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-card);
    border: 1px solid var(--border-light);
}

.contact-info {
    background: var(--text-primary);
    color: white;
    padding: 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.contact-info h2 {
    font-family: var(--font-heading);
    font-size: 2rem;
    margin-bottom: 24px;
}

.contact-info p {
    color: #cbd5e1;
    margin-bottom: 40px;
    line-height: 1.7;
}

.contact-note {
    margin-top: auto;
    color: #64748b;
    border-top: 1px solid #334155;
    padding-top: 20px;
}

.contact-form-container {
    padding: 60px;
    background: white;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-primary);
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 12px 16px;
    border-radius: 8px;
    border: 1px solid var(--border-light);
    background: #f8fafc;
    font-family: var(--font-sans);
    font-size: 1rem;
    width: 100%;
}

.btn-submit {
    padding: 16px;
    background: var(--text-primary);
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: background 0.2s;
}

.btn-submit:hover {
    background: var(--accent-blue);
}

/* --- FOOTER --- */
footer {
    background: #fff;
    border-top: 1px solid var(--border-light);
    padding: 80px 0 30px;
}

.footer-top {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 40px;
    margin-bottom: 60px;
}

.footer-brand h4 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.footer-links {
    display: flex;
    gap: 60px;
}

.link-col h5 {
    font-size: 0.9rem;
    text-transform: uppercase;
    color: var(--text-primary);
    margin-bottom: 20px;
}

.link-col a {
    display: block;
    text-decoration: none;
    color: var(--text-secondary);
    margin-bottom: 12px;
    font-size: 0.95rem;
}

.footer-bottom {
    text-align: center;
    border-top: 1px solid var(--border-light);
    padding-top: 30px;
}

.disclaimer {
    font-size: 0.8rem !important;
    opacity: 0.7;
    margin-top: 8px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}


@media (max-width: 900px) {

    /* Nav Toggle */
    .mobile-toggle {
        display: block;
    }

    /* Mobile Menu Styling */
    .nav-menu {
        position: absolute;
        top: 80px;
        left: 0;
        width: 100%;
        background: white;
        flex-direction: column;
        padding: 30px 24px;
        gap: 20px;
        border-bottom: 1px solid var(--border-light);
        box-shadow: 0 10px 30px rgba(0,0,0,0.1);
        transform: translateY(-150%);
        transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 999;
    }

    .nav-menu.active {
        transform: translateY(0);
    }

    .nav-menu li {
        width: 100%;
        text-align: center;
    }

    .nav-menu a {
        display: block;
        padding: 10px;
        font-size: 1.1rem;
    }

    .btn-primary-sm {
        display: block;
        width: 100%;
        text-align: center;
    }

    /* Typography Adjustments */
    .hero-section h1, .page-header h1 {
        font-size: 2.8rem;
    }
    
    .section-title {
        font-size: 2rem;
    }

    /* Layout Adjustments */
    .row {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .card-glass {
        order: -1;
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
    }

    .contact-info, .contact-form-container {
        padding: 40px 24px;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .footer-top {
        flex-direction: column;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 30px;
    }
}

@media (max-width: 480px) {
    .hero-section h1, .page-header h1 {
        font-size: 2.2rem;
    }
    
    .hero-actions {
        flex-direction: column;
    }
    
    .btn-primary, .btn-secondary {
        width: 100%;
        text-align: center;
    }

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