/* CSS Variables for Consistency */
:root {
    --color-base: #FFFFFF;
    --color-action: #FFCE00; /* Vibrant Yellow from image */
    --color-action-hover: #E5B800;
    --color-text: #111827;
    --color-text-light: #4B5563;
    --color-bg-light: #F9FAFB;
    --color-bg-dark: #111827; /* Dark Black/Charcoal */
    --color-border: #F3F4F6;
    --color-border-dark: #1F2937;
    
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.05), 0 1px 2px rgba(0,0,0,0.024);
    --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.05), 0 2px 4px -1px rgba(0,0,0,0.03);
    --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.05), 0 4px 6px -2px rgba(0,0,0,0.02);
    --shadow-hover: 0 20px 25px -5px rgba(0,0,0,0.05), 0 10px 10px -5px rgba(0,0,0,0.02);
    
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --border-radius: 20px;
}

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

body {
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    color: var(--color-text);
    background-color: var(--color-base);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

ul {
    list-style: none;
}

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

/* Typography Enhancements */
h1, h2, h3, h4 {
    color: var(--color-text);
    font-weight: 700;
    line-height: 1.15;
}

h1 {
    font-size: clamp(2.5rem, 4vw + 1rem, 4rem);
    letter-spacing: -0.03em;
}

h2 {
    font-size: clamp(2rem, 3vw + 0.5rem, 2.75rem);
    letter-spacing: -0.02em;
    margin-bottom: 0.5rem;
}

h3 {
    font-size: clamp(1.25rem, 2vw + 0.25rem, 1.5rem);
    margin-bottom: 0.5rem;
}

p {
    color: var(--color-text-light);
    font-size: clamp(1rem, 1vw + 0.5rem, 1.125rem);
}

.mt-8 { margin-top: 32px; }
.text-yellow { color: var(--color-action); }

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    gap: 8px;
    letter-spacing: 0.3px;
}

.btn-primary {
    background-color: var(--color-action);
    color: #000000;
    box-shadow: 0 4px 14px 0 rgba(255, 206, 0, 0.4);
}

.btn-primary:hover {
    background-color: var(--color-action-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 206, 0, 0.5);
}

.btn-dark {
    background-color: #000;
    color: #FFF;
}
.btn-dark:hover {
    background-color: #333;
    transform: translateY(-2px);
}

.btn-large {
    padding: 18px 40px;
    font-size: 1.125rem;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(12px);
    z-index: 1000;
    transition: var(--transition);
}

.navbar.scrolled {
    box-shadow: var(--shadow-sm);
    padding: 0;
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 90px;
    transition: var(--transition);
}

.navbar.scrolled .nav-content {
    height: 70px;
}

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

.brand-logo {
    height: 44px;
}

.logo-box {
    background-color: var(--color-action);
    color: #000;
    display:flex; align-items:center; justify-content:center;
    width: 40px; height: 40px; border-radius: 8px;
}

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

.nav-links a {
    font-weight: 500;
    color: var(--color-text-light);
    font-size: 0.95rem;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    display: block;
    margin-top: 4px;
    right: 0;
    background: var(--color-action);
    transition: width 0.3s ease;
}

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

.nav-links a:hover::after {
    width: 100%;
    left: 0;
    background: var(--color-action);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--color-text);
    padding: 8px;
    border-radius: 8px;
    transition: var(--transition);
}

.mobile-menu {
    display: none;
    background-color: var(--color-base);
    padding: 0 6% 24px;
    border-top: 1px solid var(--color-border);
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    box-shadow: var(--shadow-md);
}

.mobile-menu.active {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding-top: 24px;
}

.mobile-link {
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--color-text);
}

/* =========================================
   SPLIT HERO SECTION (White / Yellow / Black)
   ========================================= */
.split-hero {
    display: flex;
    position: relative;
    width: 100%;
    min-height: 100vh;
    padding-top: 90px;
    background: var(--color-bg-dark); /* Fallback background */
    overflow: hidden;
}

/* Left Hero (White) */
.hero-left {
    flex: 0 0 50%;
    position: relative;
    background-color: var(--color-base);
    padding: 100px 5% 100px 8%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    z-index: 3;
    /* Creating the angled slit on desktop */
    clip-path: polygon(0 0, 100% 0, 80% 100%, 0 100%);
}

.hero-left-content {
    max-width: 500px;
}

/* Beautiful highlighted Pill */
.highlight-pill {
    background: var(--color-bg-dark);
    color: var(--color-action);
    padding: 4px 16px;
    border-radius: 8px;
    display: inline-block;
    transform: rotate(-2deg);
}

.hero-sub {
    margin-top: 24px;
    margin-bottom: 40px;
}

/* Hero Bullets matching the image */
.hero-bullets {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.hero-bullets li {
    display: flex;
    align-items: center;
    gap: 16px;
    background: var(--color-base);
    padding: 12px 24px;
    border-radius: 50px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    display: inline-flex;
    width: fit-content;
}
.hero-bullets li .material-icons-outlined {
    color: #111;
    background: var(--color-action);
    border-radius: 50%;
    font-size: 20px;
}
.hero-bullets li strong {
    font-size: 0.85rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

/* Yellow Accent Slash */
.hero-yellow-accent {
    position: absolute;
    top: 0;
    left: 0;
    width: 55%;
    height: 100%;
    background-color: var(--color-action);
    z-index: 2;
    clip-path: polygon(0 0, 100% 0, 80% 100%, 0 100%);
}

/* Right Hero (Black) */
.hero-right {
    flex: 0 0 50%;
    position: relative;
    background-color: var(--color-bg-dark);
    padding: 100px 8% 100px 5%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
}

.hero-right-content {
    text-align: center;
    width: 100%;
}

.hero-right h2 {
    color: #FFF;
    font-size: clamp(1.8rem, 2.5vw, 2.5rem);
    line-height: 1.2;
}

.hero-right p.subtitle {
    color: #9CA3AF;
    font-size: 0.95rem;
    margin-top: 16px;
    margin-bottom: 40px;
}

/* Phone Mockup Styling */
.mockup-container {
    position: relative;
    max-width: 320px;
    margin: 0 auto;
}

.phone-frame {
    background: #1F2937;
    border: 8px solid #374151;
    border-radius: 40px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    aspect-ratio: 9/19;
}

.phone-screen {
    background: #FFFFFF;
    height: 100%;
    width: 100%;
    display: flex;
    flex-direction: column;
}

.mockup-header {
    background: #000;
    padding: 30px 20px 20px;
    text-align: center;
}
.mockup-logo-text {
    color: #FFF;
    font-weight: 800;
    font-size: 1.25rem;
    margin-top: 8px;
}
.mockup-small-text {
    color: #9CA3AF;
    font-size: 0.75rem;
}

.mockup-body {
    padding: 24px 20px;
    background: #FFF;
    flex: 1;
}
.mockup-title {
    font-size: 0.8rem;
    color: #6B7280;
    margin-bottom: 16px;
    text-align: left;
}
.mockup-card {
    border: 1px solid #E5E7EB;
    border-radius: 12px;
    padding: 12px;
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    text-align: left;
}
.icon-role {
    color: var(--color-action);
    background: #FFF9E6;
    padding: 8px;
    border-radius: 8px;
}
.role-text strong {
    display: block;
    font-size: 0.85rem;
    color: #111;
}
.badge {
    background: #FEF3C7;
    color: #D97706;
    font-size: 0.6rem;
    padding: 2px 6px;
    border-radius: 4px;
    margin-left: 4px;
    vertical-align: middle;
}

.mockup-ticks {
    margin-top: 24px;
    text-align: left;
}
.mockup-ticks li {
    font-size: 0.75rem;
    color: #4B5563;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
}
.mockup-ticks .material-icons-outlined {
    color: var(--color-action);
    font-size: 14px;
}

.mockup-arrow {
    position: absolute;
    top: 30%;
    left: -80px;
    width: 60px;
    height: 60px;
    animation: bounceX 2s infinite ease-in-out;
}

@keyframes bounceX {
    0%, 100% { transform: translateX(0); }
    50% { transform: translateX(10px); }
}

/* General Section */
.section {
    padding: 120px 0;
}

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

.section-header {
    text-align: center;
    margin-bottom: 80px;
}
.dark-header h2 { color: #FFF; }
.dark-header p { color: #9CA3AF; }

.divider {
    height: 4px;
    width: 80px;
    background-color: var(--color-action);
    margin: 24px auto;
    border-radius: 4px;
}

.section-header p {
    max-width: 650px;
    margin: 0 auto;
}

/* Grids */
.grid-4 { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 32px; }
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 40px; }
.grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 40px; }

/* Ecosystem Cards */
.card {
    background: var(--color-base);
    border-radius: var(--border-radius);
    padding: 48px 32px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--color-border);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}
.card-dark {
    background-color: #1F2937;
    border-color: #374151;
}
.card-dark h3 { color: #FFF; }
.card-dark .card-info { color: #9CA3AF; }

.card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 4px;
    background: var(--color-action);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
    border-color: transparent;
}
.card:hover::before { transform: scaleX(1); }

.card-icon {
    width: 88px; height: 88px;
    background: #FFF9E6;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 32px;
    color: var(--color-action);
    transition: var(--transition);
}
.card-dark .card-icon { background: rgba(255, 206, 0, 0.1); }

.card:hover .card-icon {
    background: var(--color-action);
    color: #000;
    transform: scale(1.05);
}

.card-icon .material-icons-outlined { font-size: 40px; }
.card h3 { margin-bottom: 12px; }
.card > p {
    color: var(--color-action);
    font-weight: 700;
    margin-bottom: 20px;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}
.card-info { font-size: 0.95rem; line-height: 1.7; }

/* Fleet Directory Grid */
.fleet-item {
    background: var(--color-base);
    border-radius: var(--border-radius);
    padding: 40px;
    border: 1px solid var(--color-border);
    transition: var(--transition);
}
.fleet-item:hover {
    box-shadow: var(--shadow-hover);
    transform: translateY(-4px);
    border-color: transparent;
}
.fleet-header {
    display: flex; align-items: center; margin-bottom: 32px; gap: 20px;
}
.fleet-icon {
    font-size: 32px;
    color: var(--color-action);
    background: #111;
    padding: 16px;
    border-radius: 16px;
}
.fleet-list li {
    display: flex; align-items: flex-start; gap: 16px; margin-bottom: 16px; color: var(--color-text-light);
}
.fleet-list li .material-icons-outlined {
    color: var(--color-action); font-size: 24px; margin-top: 2px;
}

/* Strategy Banner (Download bottom style) */
.strategy-banner {
    background-color: var(--color-action);
    color: #000;
    padding: 100px 0;
    position: relative;
    overflow: hidden;
    text-align: center;
}
.strategy-content {
    display: flex; flex-direction: column; align-items: center; justify-content: center;
}
.strategy-banner h2 { color: #000; margin-bottom: 16px; font-size: clamp(2rem, 4vw, 3rem); }
.strategy-banner p { color: #333; font-size: 1.1rem; }
.badge {
    display: inline-block;
    padding: 8px 16px; border-radius: 50px;
    font-size: 0.85rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1.5px;
    margin-bottom: 24px;
}
.badge-dark { background: rgba(0,0,0,0.1); color: #000; }

/* Footer */
.footer {
    background-color: #000000; color: var(--color-base); padding: 80px 0 32px;
}
.footer h3 {
    color: var(--color-base); font-size: 1.25rem; margin-bottom: 32px;
}
.footer-brand p { color: #9CA3AF; max-width: 300px; line-height: 1.8; }
.footer-links li { margin-bottom: 16px; }
.footer-links a { color: #9CA3AF; }
.footer-links a:hover { color: var(--color-action); }
.footer-mail {
    display:flex; align-items:center; gap:10px; color:#9CA3AF; font-size:1rem;
}
.footer-mail .material-icons-outlined { color: var(--color-action); }
.footer-bottom {
    margin-top: 80px; padding-top: 32px; border-top: 1px solid rgba(255, 255, 255, 0.1); text-align: center; color: #6B7280; font-size: 0.95rem;
}

/* Animations */
.fade-in-up {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.fade-in-up.visible { opacity: 1; transform: translateY(0); }
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }

/* Responsive Adjustments for Mobile Perfect Fit */
@media (max-width: 992px) {
    /* Stack split hero on mobile */
    .split-hero {
        flex-direction: column;
    }
    .hero-left {
        flex: 1;
        clip-path: none;
        padding: 60px 5% 40px;
    }
    .hero-yellow-accent {
        display: none; /* Hide diagonal slash on mobile */
    }
    .hero-right {
        flex: 1;
        padding: 40px 5% 80px;
        border-top: 8px solid var(--color-action); /* Straight line separator instead */
    }
    .mockup-arrow {
        display: none; /* Hide decorative arrow on mobile */
    }
}

@media (max-width: 768px) {
    .nav-links, .navbar .btn { display: none; }
    .mobile-menu-btn { display: block; }
    .section { padding: 80px 0; }
    .section-header { margin-bottom: 48px; }
    .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; gap: 24px; }
    .card { padding: 40px 24px; }
    .footer { padding: 60px 0 24px; }
    .footer-bottom { margin-top: 40px; }
}
