/* ==========================================================================
   CSS Variables (Design Tokens) - Modern SaaS Aesthetic
   ========================================================================== */
   :root {
    /* Primary Colors (Gold theme) */
    --primary: #d4af37;
    --primary-hover: #b5952f;
    --primary-light: #fdfbf5;
    --secondary: #f8f9fa;
    --secondary-hover: #e2e6ea;
    
    /* Product Colors */
    --prod-blue: #0d6efd;
    --prod-blue-light: #cfe2ff;
    --prod-green: #198754;
    --prod-green-light: #d1e7dd;
    --prod-orange: #fd7e14;
    --prod-orange-light: #ffe5d0;
    --prod-purple: #6f42c1;
    --prod-purple-light: #e2d9f3;

    /* Neutrals */
    --text-main: #212529;
    --text-muted: #6c757d;
    --bg-main: #ffffff;
    --bg-light: #f8f9fc;
    --bg-dark: #121820;
    --border: #e9ecef;

    /* Utilities */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 16px;
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.05);
    --shadow-md: 0 10px 20px rgba(0,0,0,0.08);
    --shadow-lg: 0 20px 40px rgba(0,0,0,0.12);
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    
    /* Typography */
    --font-family: 'Inter', system-ui, -apple-system, sans-serif;
}

/* ==========================================================================
   Reset & Base Styles
   ========================================================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

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

a {
    text-decoration: none;
    color: var(--primary);
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.text-center { text-align: center; }
.mt-xl { margin-top: 3rem; }

/* ==========================================================================
   Typography
   ========================================================================== */
h1, h2, h3, h4 {
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-main);
    letter-spacing: -0.02em;
}

.section-label {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1.5rem;
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn-primary, .btn-secondary, .btn-outline, .btn-white, .btn-outline-white {
    display: inline-block;
    padding: 10px 20px;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    text-align: center;
    border: 2px solid transparent;
}

.btn-lg {
    padding: 14px 28px;
    font-size: 1.05rem;
}

.btn-primary {
    background-color: var(--primary);
    color: #fff;
}
.btn-primary:hover {
    background-color: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-secondary {
    background-color: var(--primary-light);
    color: var(--primary);
}
.btn-secondary:hover {
    background-color: #d1e3ff;
}

.btn-outline {
    border-color: var(--border);
    color: var(--text-main);
}
.btn-outline:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.btn-text {
    font-weight: 600;
    color: var(--text-main);
    padding: 10px;
}
.btn-text:hover {
    color: var(--primary);
}

.btn-white {
    background-color: #fff;
    color: var(--primary);
}
.btn-white:hover {
    box-shadow: var(--shadow-md);
}
.btn-outline-white {
    border-color: #fff;
    color: #fff;
}
.btn-outline-white:hover {
    background-color: rgba(255,255,255,0.1);
}

/* ==========================================================================
   Header & Navbar (SaaS Style)
   ========================================================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid var(--border);
    transition: var(--transition);
}

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

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

.logo-text {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary);
    letter-spacing: -0.03em;
}

.nav-menu {
    flex: 1;
    margin-left: 2rem;
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links li a {
    color: var(--text-main);
    font-weight: 500;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 4px;
}

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

.nav-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.hamburger {
    display: none;
    cursor: pointer;
}
.hamburger .bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    background-color: var(--text-main);
    transition: var(--transition);
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero {
    padding: 160px 0 100px;
    background: linear-gradient(180deg, #fdfbf5 0%, #ffffff 100%);
    overflow: hidden;
}

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

.badge {
    display: inline-block;
    background: #e3f2fd;
    color: var(--primary);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.hero-title {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
}

.hero-subtitle {
    font-size: 1.15rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    max-width: 500px;
}

.hero-actions {
    display: flex;
    gap: 1rem;
}

/* Dashboard Mockup (CSS only placeholder) */
.glass-panel {
    background: white;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border);
    overflow: hidden;
}

.dashboard-mockup {
    width: 100%;
    height: 400px;
    display: flex;
    flex-direction: column;
    animation: float 6s ease-in-out infinite;
}

.mockup-header {
    height: 40px;
    background: #f8f9fa;
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    padding: 0 1rem;
    gap: 8px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}
.dot.red { background: #ff5f56; }
.dot.yellow { background: #ffbd2e; }
.dot.green { background: #27c93f; }

.mockup-body {
    display: flex;
    flex: 1;
}

.sidebar {
    width: 80px;
    border-right: 1px solid var(--border);
    background: #fafafa;
}

.main-content {
    flex: 1;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.stat-boxes {
    display: flex;
    gap: 1rem;
}
.stat-boxes .box {
    flex: 1;
    height: 60px;
    background: var(--bg-light);
    border-radius: var(--radius-md);
}
.chart-area {
    flex: 1;
    background: var(--primary-light);
    border-radius: var(--radius-md);
    opacity: 0.5;
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
    100% { transform: translateY(0px); }
}

/* ==========================================================================
   Trusted By (Clients)
   ========================================================================== */
.trusted-by {
    padding: 4rem 0;
    overflow: hidden;
}
.bg-light {
    background-color: var(--bg-light);
}

.marquee {
    width: 100%;
    overflow: hidden;
    position: relative;
    white-space: nowrap;
    padding: 1rem 0;
}

.marquee::before,
.marquee::after {
    position: absolute;
    top: 0;
    width: 100px;
    height: 100%;
    content: "";
    z-index: 2;
}

.marquee::before {
    left: 0;
    background: linear-gradient(to right, var(--bg-light) 0%, transparent 100%);
}

.marquee::after {
    right: 0;
    background: linear-gradient(to left, var(--bg-light) 0%, transparent 100%);
}

.marquee-content {
    display: flex;
    white-space: nowrap;
    width: max-content;
    animation: marquee 20s linear infinite;
}

.marquee-content .partner-logo {
    display: inline-block;
    margin: 0 3rem;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-main);
    opacity: 0.5;
    filter: grayscale(100%);
    transition: var(--transition);
}

.marquee-content .partner-logo:hover {
    opacity: 1;
    filter: grayscale(0%);
    color: var(--primary);
}

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

/* ==========================================================================
   Product Suite
   ========================================================================== */
.product-suite {
    padding: 8rem 0;
}

.section-header {
    max-width: 600px;
    margin: 0 auto 4rem;
}
.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}
.section-header p {
    font-size: 1.1rem;
    color: var(--text-muted);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.product-card {
    background: white;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 2rem;
    display: flex;
    flex-direction: column;
    position: relative;
    color: var(--text-main);
}

.product-card:hover {
    box-shadow: var(--shadow-md);
    border-color: transparent;
    transform: translateY(-5px);
}

.product-icon {
    width: 56px;
    height: 56px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.bg-blue-light { background: var(--prod-blue-light); }
.bg-green-light { background: var(--prod-green-light); }
.bg-orange-light { background: var(--prod-orange-light); }
.bg-purple-light { background: var(--prod-purple-light); }

.product-info h3 {
    font-size: 1.25rem;
    margin-bottom: 0.25rem;
}

.product-tag {
    font-size: 0.85rem;
    color: var(--primary);
    font-weight: 600;
    margin-bottom: 1rem;
}

.product-desc {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.5;
}

.arrow-icon {
    position: absolute;
    bottom: 2rem;
    right: 2rem;
    color: var(--text-muted);
    transition: var(--transition);
}

.product-card:hover .arrow-icon {
    color: var(--primary);
    transform: translateX(5px);
}

/* ==========================================================================
   Features Section
   ========================================================================== */
.features {
    padding: 8rem 0;
}
.bg-dark {
    background-color: var(--bg-dark);
}
.text-white {
    color: #fff;
}
.text-white h2, .text-white h4 {
    color: #fff;
}
.text-white p {
    color: #a0aec0;
}

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

.feature-text h2 {
    font-size: 2.5rem;
    margin-bottom: 3rem;
}

.feature-list li {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.icon-check {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-weight: bold;
}

/* Abstract Integration Diagram */
.feature-visual {
    position: relative;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.integration-diagram {
    position: relative;
    width: 300px;
    height: 300px;
}

.center-node {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: var(--primary);
    color: white;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    z-index: 2;
    box-shadow: 0 0 40px rgba(10, 88, 202, 0.5);
}

.orbit-nodes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    animation: spin 20s linear infinite;
}

.node {
    position: absolute;
    width: 60px;
    height: 60px;
    background: #fff;
    color: var(--text-main);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 0.85rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

.node.n1 { top: -30px; left: 50%; transform: translateX(-50%); }
.node.n2 { bottom: -30px; left: 50%; transform: translateX(-50%); }
.node.n3 { top: 50%; left: -30px; transform: translateY(-50%); }
.node.n4 { top: 50%; right: -30px; transform: translateY(-50%); }

@keyframes spin {
    100% { transform: rotate(360deg); }
}

/* ==========================================================================
   Bottom CTA
   ========================================================================== */
.bottom-cta {
    padding: 6rem 0;
    background: var(--bg-light);
}

.cta-box {
    padding: 4rem;
    border-radius: var(--radius-lg);
    text-align: center;
    color: white;
    background: linear-gradient(135deg, var(--primary) 0%, #a88a24 100%);
}

.cta-box h2 {
    color: white;
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cta-box p {
    font-size: 1.15rem;
    margin-bottom: 2.5rem;
    opacity: 0.9;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
    background: white;
    padding: 5rem 0 2rem;
    border-top: 1px solid var(--border);
}

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

.footer-col h3 {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    color: var(--text-main);
}

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

.footer-col ul li a {
    color: var(--text-muted);
    font-size: 0.95rem;
}
.footer-col ul li a:hover {
    color: var(--primary);
}

.brand-col p {
    color: var(--text-muted);
    margin: 1rem 0;
    font-size: 0.95rem;
}

.social-links {
    display: flex;
    gap: 1rem;
}
.social-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--bg-light);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    font-weight: bold;
    font-size: 0.85rem;
}
.social-icon:hover {
    background: var(--primary);
    color: white;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 2rem;
    border-top: 1px solid var(--border);
    color: var(--text-muted);
    font-size: 0.9rem;
}

.certifications {
    display: flex;
    gap: 1rem;
}
.certifications span {
    background: var(--bg-light);
    padding: 4px 10px;
    border-radius: var(--radius-sm);
    font-size: 0.8rem;
    font-weight: 600;
}

/* ==========================================================================
   Responsive Design
   ========================================================================== */
@media (max-width: 992px) {
    .hero-title { font-size: 2.8rem; }
    .hero-layout { grid-template-columns: 1fr; text-align: center; }
    .hero-subtitle { margin: 0 auto 2.5rem; }
    .hero-actions { justify-content: center; }
    
    .feature-layout { grid-template-columns: 1fr; gap: 3rem; }
    .footer-content { grid-template-columns: 1fr 1fr; }
    .brand-col { grid-column: span 2; }
}

@media (max-width: 768px) {
    .nav-menu {
        display: none;
        position: absolute;
        top: 80px;
        left: 0;
        width: 100%;
        background: white;
        flex-direction: column;
        padding: 2rem 2rem 0;
        border-top: 1px solid var(--border);
    }
    .nav-menu.active {
        display: flex;
    }
    .nav-links {
        flex-direction: column;
        gap: 1.5rem;
    }

    .nav-actions {
        display: none;
        position: absolute;
        top: calc(80px + 230px);
        left: 0;
        width: 100%;
        background: white;
        flex-direction: column;
        padding: 1.5rem 2rem 2rem;
        box-shadow: 0 15px 20px rgba(0,0,0,0.05);
        border-bottom-left-radius: var(--radius-md);
        border-bottom-right-radius: var(--radius-md);
    }
    .nav-actions.active {
        display: flex;
        gap: 1rem;
    }
    
    .hamburger { display: block; }
    
    .hero-title { font-size: 2.2rem; }
    
    .products-grid { grid-template-columns: 1fr; }
    
    .footer-content { grid-template-columns: 1fr; }
    .brand-col { grid-column: span 1; }
    .footer-bottom { flex-direction: column; gap: 1rem; text-align: center; }
    
    /* CTA Mobile Adjustments */
    .cta-box { padding: 2.5rem 1.5rem; }
    .cta-box h2 { font-size: 1.75rem; margin-bottom: 0.75rem; }
    .cta-box p { font-size: 1rem; margin-bottom: 2rem; }
    .cta-buttons { flex-direction: column; width: 100%; gap: 0.75rem; }
    .cta-buttons a { width: 100%; display: block; }
}
