:root {
    --primary-color: #007DFC;
    --primary-hover: #0062cc;
    --text-dark: #1F2937;
    --text-light: #6B7280;
    --bg-white: #FFFFFF;
    --bg-light: #F3F4F6;
    --bg-card: #FFFFFF;
    --border-radius-pill: 50px;
    --border-radius-card: 16px;
    --shadow-soft: 0 4px 20px rgba(0, 0, 0, 0.05);
    --shadow-hover: 0 10px 25px rgba(0, 125, 252, 0.15);
    --font-heading: 'Urbanist', sans-serif;
    --font-body: 'Roboto', sans-serif;
    --container-width: 1200px;
}

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

body {
    font-family: var(--font-body);
    color: var(--text-dark);
    background-color: var(--bg-white);
    line-height: 1.6;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

ul {
    list-style: none;
}

/* Utilities */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 80px 0;
}

.bg-light {
    background-color: var(--bg-light);
}

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

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

.btn {
    display: inline-block;
    padding: 12px 32px;
    border-radius: var(--border-radius-pill);
    font-weight: 600;
    font-family: var(--font-heading);
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
}

.btn-primary {
    background-color: var(--primary-color);
    color: white;
}

.btn-primary:hover {
    background-color: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 125, 252, 0.3);
}

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

.btn-outline:hover {
    background-color: var(--primary-color);
    color: white;
}

.btn-white {
    background: white;
    color: var(--primary-color);
}

.btn-white:hover {
    background: #f0f0f0;
}

/* Header */
header {
    position: sticky;
    top: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.05);
    padding: 20px 0;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 40px;
    width: auto;
}

.nav-links {
    display: flex;
    gap: 32px;
}

.nav-links a {
    font-weight: 500;
    color: var(--text-dark);
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--primary-color);
}

/* Hero */
.hero {
    padding: 100px 0 60px;
    background: radial-gradient(circle at top right, rgba(0, 125, 252, 0.05) 0%, transparent 40%);
}

.hero h1 {
    font-size: 48px;
    line-height: 1.2;
    margin-bottom: 24px;
}

.hero .hero-sub {
    font-size: 20px;
    max-width: 800px;
    margin: 0 auto 32px;
}

/* Architecture Diagram Placeholder */
.architecture-diagram {
    background: #f8fafc;
    border: 1px dashed #cbd5e1;
    border-radius: 12px;
    padding: 40px;
    margin: 40px auto 0;
    max-width: 900px;
    position: relative;
    text-align: center;
}

.architecture-diagram img {
    max-width: 100%;
    height: auto;
}

.architecture-label {
    font-weight: 600;
    color: var(--primary-color);
    margin-top: 10px;
    display: block;
}


/* Gateway Cards (Home) */
.gateway-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.gateway-card {
    background: white;
    padding: 40px 30px;
    border-radius: var(--border-radius-card);
    box-shadow: var(--shadow-soft);
    border: 1px solid transparent;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.gateway-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.gateway-icon {
    font-size: 32px;
    margin-bottom: 20px;
    padding: 12px;
    background: var(--bg-light);
    border-radius: 50%;
}

.gateway-card h3 {
    font-size: 24px;
    margin-bottom: 12px;
}

.gateway-card .sub-text {
    font-size: 14px;
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.gateway-link {
    margin-top: auto;
    font-weight: 600;
    color: var(--primary-color);
    display: flex;
    align-items: center;
}

.gateway-link::after {
    content: '→';
    margin-left: 6px;
    transition: margin 0.3s;
}

.gateway-card:hover .gateway-link::after {
    margin-left: 10px;
}

/* Stats/Proof Grid */
.stats-grid {
    display: flex;
    justify-content: center;
    gap: 24px;
    flex-wrap: wrap;
    margin-top: 40px;
}

.stat-card {
    flex: 1;
    min-width: 200px;
    max-width: 280px;
    background: var(--bg-light);
    padding: 30px;
    border-radius: var(--border-radius-card);
    text-align: center;
}

.stat-value {
    font-size: 36px;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 8px;
    font-family: var(--font-heading);
}

.stat-label {
    font-size: 16px;
    color: var(--text-dark);
    font-weight: 500;
    margin-bottom: 0;
}


/* Existing Components retained */
.split-offers {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    margin-top: 40px;
}

.offer-card {
    background: var(--bg-white);
    border-radius: var(--border-radius-card);
    padding: 40px;
    box-shadow: var(--shadow-soft);
    border: 1px solid #eee;
    transition: transform 0.3s ease;
    position: relative;
    overflow: hidden;
}

.offer-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
    border-color: var(--primary-color);
}

.offer-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 6px;
}

.offer-white-label::before {
    background-color: var(--primary-color);
}

.offer-switch::before {
    background-color: #F59E0B;
}

.offer-icon {
    font-size: 32px;
    margin-bottom: 20px;
    display: inline-block;
    padding: 12px;
    border-radius: 50%;
    background: var(--bg-light);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
    margin-top: 40px;
}

.feature-card {
    background: var(--bg-white);
    padding: 32px;
    border-radius: var(--border-radius-card);
    box-shadow: var(--shadow-soft);
    border: 1px solid transparent;
}

.feature-card:hover {
    border-color: rgba(0, 125, 252, 0.2);
}

.feature-card h4 {
    color: var(--primary-color);
    margin-bottom: 12px;
}

.switch-section {
    background-color: var(--bg-light);
}

.code-block {
    background: #1e1e1e;
    color: #fff;
    padding: 24px;
    border-radius: 12px;
    font-family: 'Fira Code', monospace;
    font-size: 14px;
    text-align: left;
    margin: 0 auto;
    max-width: 600px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.comparison-table-wrapper {
    overflow-x: auto;
    margin-top: 40px;
    background: white;
    border-radius: var(--border-radius-card);
    box-shadow: var(--shadow-soft);
    padding: 20px;
}

table {
    width: 100%;
    border-collapse: collapse;
}

th,
td {
    padding: 16px 24px;
    text-align: left;
    border-bottom: 1px solid #eee;
}

th {
    background-color: #f8f9fa;
    font-family: var(--font-heading);
    color: var(--text-dark);
}

tr:last-child td {
    border-bottom: none;
}


/* Contact Section */
.cta-footer {
    background: var(--primary-color);
    color: white;
    padding: 80px 0;
}

.cta-footer h2,
.cta-footer p {
    color: white;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    margin-top: 40px;
    text-align: left;
}

.contact-form {
    background: white;
    padding: 30px;
    border-radius: var(--border-radius-card);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: var(--text-dark);
    font-weight: 500;
    font-size: 14px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-family: var(--font-body);
    font-size: 16px;
    transition: all 0.3s;
}

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

.contact-info-list {
    margin-top: 30px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 24px;
    font-size: 18px;
    color: rgba(255, 255, 255, 0.9);
}

.contact-icon {
    margin-right: 16px;
    font-size: 20px;
}

.contact-link {
    color: white;
    text-decoration: underline;
    opacity: 0.9;
}

.contact-link:hover {
    opacity: 1;
}

/* Responsive */
@media (max-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .hero h1 {
        font-size: 36px;
    }

    .split-offers,
    .gateway-grid,
    .stats-grid {
        grid-template-columns: 1fr;
    }


    .feature-list {
        padding-left: 20px;
        list-style: disc;
        color: var(--text-light);
    }

    .feature-list li {
        margin-bottom: 8px;
    }
}

/* Trusted By / Logo Grid */
.logo-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 48px;
    flex-wrap: nowrap;
    /* Forces straight line */
    margin-top: 32px;
    overflow-x: auto;
    /* Safe scrolling on small screens */
    -ms-overflow-style: none;
    /* IE and Edge */
    scrollbar-width: none;
    /* Firefox */
}

.logo-grid::-webkit-scrollbar {
    display: none;
}

.client-logo-img {
    height: 60px;
    width: auto;
    object-fit: contain;
    transition: all 0.3s ease;
}

.client-logo-img:hover {
    transform: scale(1.05);
}

/* Domain Cards (About Page) */
.domain-card {
    background: white;
    padding: 30px;
    border-radius: var(--border-radius-card);
    box-shadow: var(--shadow-soft);
    border: 1px solid #eee;
    height: 100%;
    transition: transform 0.3s ease;
}

.domain-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
}

.domain-section-title {
    font-size: 14px;
    font-weight: 700;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 12px;
    margin-top: 20px;
}

.role-badge {
    background: white;
    color: var(--primary-color);
    padding: 12px 24px;
    border-radius: 30px;
    font-weight: 600;
    box-shadow: var(--shadow-soft);
    border: 1px solid #eee;
}

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

.domain-list li {
    position: relative;
    padding-left: 18px;
    margin-bottom: 8px;
    font-size: 15px;
    color: var(--text-dark);
}

.domain-list li::before {
    content: '•';
    color: var(--primary-color);
    position: absolute;
    left: 0;
    font-weight: bold;
}

/* Responsive */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 36px;
    }

    .split-offers,
    .gateway-grid,
    .stats-grid {
        grid-template-columns: 1fr;
    }

    .nav-links {
        display: none;
    }
}