:root {
    --bg-main: #f8fafc;
    --bg-white: #ffffff;
    --bg-light-gray: #f1f5f9;
    --primary: #2563eb;
    --primary-hover: #1d4ed8;
    --secondary: #0f172a;
    --accent: #3b82f6;
    --text-main: #1e293b;
    --text-muted: #64748b;
    --border-color: #e2e8f0;
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
}

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

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

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

h1, h2, h3, h4 {
    font-family: var(--font-heading);
    color: var(--secondary);
    letter-spacing: -0.02em;
}

/* Gradient Text for Light Theme */
.gradient-text {
    background: linear-gradient(135deg, var(--primary) 0%, #8b5cf6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Header */
.navbar {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color);
    padding: 16px 0;
}

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

.brand-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.logo-img {
    height: 50px;
    width: auto;
    object-fit: contain;
}

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

.nav-links a:not(.btn) {
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.2s ease;
}

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

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 24px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
    cursor: pointer;
    border: none;
    font-family: var(--font-body);
}

.btn-primary {
    background: var(--primary);
    color: #fff;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.2);
}

.btn-primary:hover {
    background: var(--primary-hover);
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(37, 99, 235, 0.3);
}

.btn-secondary {
    background: var(--bg-white);
    color: var(--secondary);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
    background: var(--bg-light-gray);
    border-color: #cbd5e1;
}

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

.w-full {
    width: 100%;
}

/* Badges */
.badge {
    display: inline-block;
    padding: 6px 14px;
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    color: var(--primary);
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 24px;
}

.badge-accent {
    background: #f5f3ff;
    border-color: #ddd6fe;
    color: #7c3aed;
}

/* Hero Section */
.hero {
    position: relative;
    padding: 120px 0 100px;
    text-align: center;
    background: linear-gradient(to bottom, #ffffff, var(--bg-main));
    overflow: hidden;
}

.hero-bg-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(#cbd5e1 1px, transparent 1px);
    background-size: 32px 32px;
    opacity: 0.4;
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
}

.hero-title {
    font-size: 3.5rem;
    line-height: 1.15;
    font-weight: 800;
    margin-bottom: 24px;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-muted);
    max-width: 700px;
    margin: 0 auto 40px;
}

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

/* Metrics Strip */
.metrics-strip {
    display: inline-flex;
    gap: 40px;
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    padding: 20px 40px;
    border-radius: 100px;
    box-shadow: var(--shadow-md);
}

.metric-item {
    display: flex;
    align-items: center;
    gap: 10px;
}

.metric-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    background: #eff6ff;
    color: var(--primary);
    border-radius: 50%;
    font-weight: bold;
    font-size: 0.9rem;
}

.metric-lbl {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--secondary);
}

/* Services Section */
.section {
    padding: 100px 0;
}

.section-light-gray {
    background-color: var(--bg-white);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.section-header {
    text-align: center;
    margin-bottom: 64px;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 16px;
}

.section-desc {
    color: var(--text-muted);
    font-size: 1.15rem;
    max-width: 600px;
    margin: 0 auto;
}

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

.service-card {
    background: var(--bg-main);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 40px 32px;
    transition: all 0.3s ease;
}

.service-card:hover {
    background: var(--bg-white);
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: #cbd5e1;
}

.card-icon {
    font-size: 2.5rem;
    margin-bottom: 24px;
}

.service-card h3 {
    font-size: 1.4rem;
    margin-bottom: 16px;
}

.service-card p {
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.6;
}

/* Flagship Product Demo Section */
.flagship-container {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    align-items: center;
    margin-top: 48px;
}

.flagship-info h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
}

.flagship-info p {
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-bottom: 32px;
}

.feature-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 40px;
}

.pill {
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--secondary);
    box-shadow: var(--shadow-sm);
}

.flagship-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.tab-btn {
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    color: var(--text-muted);
    padding: 12px 20px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.2s ease;
    font-family: var(--font-body);
}

.tab-btn.active, .tab-btn:hover {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.2);
}

/* Interactive Screen Frame Mockup (Light) */
.flagship-screen-frame {
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
    overflow: hidden;
}

.screen-header {
    background: #f1f5f9;
    padding: 14px 20px;
    display: flex;
    align-items: center;
    gap: 8px;
    border-bottom: 1px solid var(--border-color);
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.dot.red { background: #ef4444; }
.dot.yellow { background: #f59e0b; }
.dot.green { background: #10b981; }

.screen-title {
    margin-left: 12px;
    font-size: 0.85rem;
    color: var(--text-muted);
    font-family: var(--font-body);
    font-weight: 500;
}

.screen-content {
    padding: 24px;
    display: none;
}

.screen-content.active {
    display: block;
}

.screen-banner {
    background: #eff6ff;
    color: var(--primary);
    padding: 12px 16px;
    font-weight: 700;
    font-size: 0.95rem;
    border-radius: 8px;
    margin-bottom: 24px;
    border: 1px solid #bfdbfe;
}

.mock-table {
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
    font-size: 0.9rem;
}

.mock-row {
    display: grid;
    grid-template-columns: 1fr 1.5fr 1fr 1fr 1fr;
    padding: 12px 16px;
    border-bottom: 1px solid var(--border-color);
    color: var(--text-main);
}

.mock-row:last-child {
    border-bottom: none;
}

.mock-row.head {
    background: var(--bg-light-gray);
    font-weight: 700;
    color: var(--secondary);
}

.badge-exp { color: #dc2626; font-weight: 600; }
.badge-inc { color: #16a34a; font-weight: 600; }


/* Contact Section */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 60px;
    align-items: center;
}

.founder-card {
    background: var(--bg-main);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    text-align: center;
}

.founder-image-wrapper {
    width: 100%;
    height: 300px;
    background: #e2e8f0;
    overflow: hidden;
}

.founder-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
}

.founder-info {
    padding: 32px 24px;
}

.founder-info h3 {
    font-size: 1.6rem;
    margin-bottom: 4px;
}

.founder-title {
    color: var(--primary);
    font-weight: 600;
    font-size: 1rem;
    margin-bottom: 16px;
}

.founder-bio {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
}

.contact-form-wrapper {
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    padding: 48px;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
}

.contact-form h3 {
    font-size: 1.8rem;
    margin-bottom: 8px;
}

.form-desc {
    color: var(--text-muted);
    margin-bottom: 32px;
}

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

.form-group label {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--secondary);
    margin-bottom: 8px;
}

.form-group input, .form-group textarea {
    width: 100%;
    padding: 14px 16px;
    background: var(--bg-main);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: var(--text-main);
    font-family: var(--font-body);
    font-size: 1rem;
    transition: all 0.2s ease;
}

.form-group input:focus, .form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
    background: var(--bg-white);
}

/* Footer */
.footer {
    padding: 48px 0;
    background: var(--bg-white);
    border-top: 1px solid var(--border-color);
    font-size: 0.95rem;
    color: var(--text-muted);
}

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

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

.footer a {
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
}

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

/* Responsive */
@media (max-width: 900px) {
    .flagship-container, .contact-grid {
        grid-template-columns: 1fr;
    }
    .hero-title {
        font-size: 2.8rem;
    }
    .metrics-strip {
        flex-direction: column;
        gap: 20px;
        padding: 24px;
        border-radius: 16px;
    }
}
