@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

:root {
    --do-blue: #0069ff;
    --do-hover: #0056d6;
    --text-dark: #111827;
    --text-gray: #4b5563;
    --border-color: #e5e7eb;
    --max-width: 1140px; /* Standard width for alignment */
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

* {
    box-sizing: border-box;
}

body {
    font-family: var(--font-sans);
    color: var(--text-dark);
    margin: 0;
    padding: 0;
    line-height: 1.5;
    background-color: #fff;
    -webkit-font-smoothing: antialiased;
}

/* --- Utility: Centering Container --- */
.container-xl {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
    width: 100%;
}

/* --- Top Blue Strip (Animated) --- */
/* --- Top Blue Strip (Animated) --- */
.nav-top-strip {
    background: var(--do-blue);
    color: white;
    font-size: 0.85rem;
    height: 48px;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.top-strip-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    height: 100%;
}

.top-links {
    display: flex;
    gap: 20px;
    font-weight: 500;
}
.top-links a { color: white; text-decoration: none; opacity: 0.9; transition: opacity 0.2s; }
.top-links a:hover { opacity: 1; }

/* UPDATED TICKER STYLES (Supports JS Rotation) */
.ticker-wrapper {
    height: 100%;
    width: 600px; /* Limits width so it doesn't overlap links */
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
}

.ticker-item {
    position: absolute;
    width: 100%;
    opacity: 0;
    transform: translateY(20px); /* Start slightly below */
    transition: opacity 0.5s ease, transform 0.5s ease;
    pointer-events: none; /* Can't click hidden items */
}

.ticker-item.active {
    opacity: 1;
    transform: translateY(0); /* Move to normal position */
    pointer-events: auto; /* Clickable */
}

.ticker-item a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.ticker-item a:hover {
    text-decoration: underline;
}

@media (max-width: 900px) {
    .top-links { display: none; } /* Hide links on mobile */
    .ticker-wrapper { width: 100%; text-align: center; }
}

/* --- Navbar (Centered Layout) --- */
.do-navbar {
    height: 80px;
    border-bottom: 1px solid var(--border-color);
    background: white;
    position: relative;
    display: flex;
    z-index: 1000;
    align-items: center;
}

.nav-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
    position: relative; /* Context for absolute centering */
}

.nav-left {
    display: flex;
    align-items: center;
    z-index: 10; /* Keep above center links */
}

/* --- LOGO STYLING --- */
.nav-logo {
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
    /* Move logo slightly left to create more space */
    margin-left: -10px; 
}

.logo-text-group {
    display: flex;
    align-items: baseline;
    font-family: 'Inter', sans-serif;
}

.logo-main {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--do-blue);
    letter-spacing: -0.5px;
}

.logo-suffix {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--do-blue);
    opacity: 0.8;
    
    overflow: hidden;
    white-space: nowrap;
    border-right: 3px solid var(--do-blue);
    width: 0;
    
    /* steps(8) corresponds to the 8 characters in ".systems" */
    animation: 
        typing 2s steps(8, end) 0.5s forwards, 
        blink-caret 0.75s step-end infinite;
}

/* 
   FIX: Increased to 7.2rem. 
   This extra space ensures the cursor sits clearly AFTER the last 's'.
*/
@keyframes typing {
    from { width: 0; }
    to { width: 7.2rem; } 
}

@keyframes blink-caret {
    from, to { border-color: transparent; }
    50% { border-color: var(--do-blue); }
}

@media (max-width: 600px) {
    .logo-main, .logo-suffix { font-size: 1.25rem; }
    @keyframes typing { from { width: 0; } to { width: 6rem; } }
}

/* Absolute Center for Menu Links */
.nav-center {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 32px;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 20px;
    z-index: 10; /* Keep above center links */
}

.nav-main-link {
    text-decoration: none;
    color: inherit; /* Inherits from .nav-item-dropdown */
    display: flex;
    align-items: center;
    height: 100%;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-gray);
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.2s;
}
.nav-links a:hover { color: var(--do-blue); }

/* --- Buttons --- */
.btn {
    padding: 10px 20px;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    font-size: 0.95rem;
    transition: all 0.2s;
    display: inline-block;
    cursor: pointer;
}

.btn-primary {
    background-color: var(--do-blue);
    color: white;
    border: 1px solid var(--do-blue);
}
.btn-primary:hover { background-color: var(--do-hover); }

.btn-outline {
    background-color: transparent;
    color: var(--text-dark);
    border: 1px solid #cbd5e1;
}
.btn-outline:hover { border-color: var(--text-dark); background-color: #f8fafc; }

.btn-sm { padding: 8px 16px; font-size: 0.9rem; }

/* --- Hero Section --- */
.hero {
    text-align: center;
    padding: 100px 20px 60px;
}

.hero h1 {
    font-size: 3.75rem;
    font-weight: 800;
    letter-spacing: -1.5px;
    line-height: 1.1;
    margin-bottom: 30px;
    color: #111827;
}

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

/* --- Mockups & Video --- */
.mockups-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    padding-bottom: 100px;
    overflow-x: hidden; /* Prevent horizontal scroll on small screens */
}

.mockup-side {
    width: 300px;
    height: 220px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    opacity: 0.5;
    transition: opacity 0.3s;
}
.mockup-side:hover { opacity: 1; }

/* The Center Video Card */
.mockup-center {
    width: 600px;
    border-radius: 12px;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    background: white;
    border: 1px solid #cbd5e1;
    overflow: hidden; /* Ensures video rounded corners work */
    z-index: 5;
    transform: scale(1.05);
}

.mockup-video {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

/* --- Footer --- */
footer {
    text-align: center;
    padding: 40px;
    border-top: 1px solid #eee;
    margin-top: 50px;
    color: #666;
    font-size: 0.9rem;
}

/* --- Responsive Adjustments --- */
@media (max-width: 1024px) {
    .nav-center {
        position: static;
        transform: none;
    }
    .mockups-container {
        flex-direction: column;
    }
    .mockup-side {
        display: none; /* Hide side cards on tablet/mobile */
    }
    .mockup-center {
        width: 100%;
        max-width: 600px;
        transform: none;
    }
}

/* =========================================
   TRUSTED BY SECTION (Social Proof)
   ========================================= */
.trusted-section {
    background: linear-gradient(180deg, #0069ff 0%, #1e40af 100%);
    padding: 80px 0;
    color: white;
    text-align: center;
    overflow: hidden; /* Hides the scrolling logos when they go off-screen */
}

.trusted-content {
    max-width: 800px;
    margin: 0 auto 60px auto;
    padding: 0 20px;
}

.trusted-content p {
    font-size: 1.25rem;
    line-height: 1.6;
    font-weight: 500;
    margin: 0;
}

/* --- Infinite Logo Slider --- */
.logo-slider {
    position: relative;
    width: 100%;
    height: 60px;
    overflow: hidden;
    /* Fade mask on edges so logos don't just "pop" out */
    -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.slide-track {
    display: flex;
    align-items: center;
    width: max-content; /* vital for scrolling */
    animation: scroll 30s linear infinite;
}

.company-logo {
    width: 180px; /* Space per logo */
    padding: 0 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0.8;
    transition: opacity 0.3s;
}

.company-logo:hover {
    opacity: 1;
}

.company-logo svg {
    height: 35px; /* Fixed height for consistency */
    width: auto;
    fill: white; /* Forces SVGs to be white */
}

/* The Animation */
@keyframes scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); } /* Moves exactly half the width (one set of logos) */
}

/* Pause animation on hover for better UX */
.logo-slider:hover .slide-track {
    animation-play-state: paused;
}

/* Mobile Adjustment */
@media (max-width: 768px) {
    .trusted-content p {
        font-size: 1.1rem;
    }
    .company-logo {
        width: 140px;
        padding: 0 15px;
    }
}

/* =========================================
   CUSTOMER STORIES (Testimonials Loop)
   ========================================= */
.stories-section {
    padding: 100px 0;
    background-color: #fff;
    overflow: hidden; /* Hides cards going off screen */
}

.stories-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 60px auto;
    padding: 0 20px;
}

.stories-header h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 20px;
    letter-spacing: -1px;
}

.stories-header p {
    color: var(--text-gray);
    font-size: 1.1rem;
    margin-bottom: 20px;
}

.stories-link {
    color: var(--do-blue);
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}
.stories-link:hover { text-decoration: underline; }

/* --- The Infinite Card Slider --- */
.stories-slider {
    position: relative;
    width: 100%;
    overflow: hidden;
    padding-bottom: 20px; /* Space for shadows */
}

.stories-track {
    display: flex;
    gap: 30px;
    width: max-content;
    animation: scrollStories 60s linear infinite; /* Slower speed for reading */
}

.story-card {
    width: 380px;
    height: 500px;
    border-radius: 16px;
    padding: 40px;
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    flex-shrink: 0;
    background-size: cover;
    background-position: center;
    transition: transform 0.3s ease;
    cursor: pointer;
}

.story-card:hover {
    transform: translateY(-10px);
}

/* --- Card Variants (The "Tint" Effect) --- */

/* BLUE CARD (Photo Tinted Blue) */
.card-blue {
    background-color: #0069ff; /* The tint color */
    background-blend-mode: multiply; /* Blends photo with color */
}

/* PURPLE CARD (Solid or Tint) */
.card-purple {
    background-color: #a855f7;
    background-image: linear-gradient(135deg, #a855f7 0%, #d946ef 100%);
}

/* DARK NAVY CARD (Photo Tinted) */
.card-navy {
    background-color: #1e3a8a;
    background-blend-mode: multiply;
}

/* TEAL CARD */
.card-teal {
    background-color: #0f766e;
    background-image: linear-gradient(135deg, #0f766e 0%, #115e59 100%);
}

/* --- Card Content Typography --- */
.card-top {
    position: relative;
    z-index: 2;
}

.user-name {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 4px;
}

.user-title {
    font-size: 0.9rem;
    opacity: 0.9;
    font-weight: 500;
}

.card-logo {
    margin-top: 20px;
    margin-bottom: 20px;
    height: 24px;
    width: auto;
    fill: white;
}

.card-quote {
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1.3;
}

.card-quote-long {
    font-size: 1.25rem;
    font-weight: 600;
    line-height: 1.4;
}

/* --- Animation --- */
@keyframes scrollStories {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* Pause on hover */
.stories-slider:hover .stories-track {
    animation-play-state: paused;
}

@media (max-width: 768px) {
    .story-card {
        width: 300px;
        height: 400px;
        padding: 25px;
    }
    .stories-header h2 { font-size: 2rem; }
    .card-quote { font-size: 1.2rem; }
}

/* =========================================
   ZIG-ZAG FEATURE SECTION
   ========================================= */
.features-section {
    padding: 100px 0;
    background-color: #fff;
}

/* Section Main Heading */
.features-header {
    text-align: center;
    max-width: 900px;
    margin: 0 auto 100px auto;
    padding: 0 20px;
}

.features-header h2 {
    font-size: 2.75rem;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -1px;
    color: var(--text-dark);
}

/* --- The Row Layout --- */
.feature-row {
    display: flex;
    align-items: center;
    gap: 80px; /* Space between text and image */
    margin-bottom: 120px; /* Space between rows */
}

/* This class flips the image to the left */
.feature-row.reverse {
    flex-direction: row-reverse;
}

/* Text Side */
.feature-text {
    flex: 1; /* Takes up half space */
    padding-right: 20px;
}

.feature-text h3 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
}

.feature-text p {
    font-size: 1.15rem;
    color: var(--text-gray);
    line-height: 1.6;
    margin-bottom: 0;
}

/* Image Side */
.feature-image-wrapper {
    flex: 1; /* Takes up half space */
    position: relative;
}

.feature-img {
    width: 100%;
    height: auto;
    border-radius: 24px;
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.feature-img:hover {
    transform: scale(1.02);
}

/* Mobile Responsiveness */
@media (max-width: 900px) {
    .feature-row, .feature-row.reverse {
        flex-direction: column-reverse; /* Image on top, Text on bottom */
        gap: 40px;
        margin-bottom: 80px;
    }

    .feature-text {
        text-align: center;
        padding-right: 0;
    }

    .features-header h2 {
        font-size: 2rem;
    }
}

/* =========================================
   DIVE IN (RESOURCES) SECTION
   ========================================= */
.dive-in-section {
    /* The specific light blue/cyan background */
    background: linear-gradient(180deg, #e0f2fe 0%, #f0f9ff 100%); 
    padding: 100px 0;
    color: var(--text-dark);
}

.dive-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px auto;
}

.dive-header h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 15px;
}

.dive-header p {
    color: var(--text-gray);
    font-size: 1.1rem;
    line-height: 1.6;
}

/* --- Card Grid --- */
.resource-grid {
    display: grid;
    /* Auto-fit creates 3 columns that wrap nicely on mobile */
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.resource-card {
    background: white;
    border-radius: 12px;
    padding: 32px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    height: 100%; /* Ensures cards are same height */
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.02), 0 2px 4px -1px rgba(0, 0, 0, 0.02);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    cursor: pointer;
    text-decoration: none; /* In case we make the whole card a link */
    color: inherit;
}

.resource-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

/* --- Card Elements --- */
.resource-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.resource-icon-box {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Icon Color Variants */
.icon-purple { background-color: #f3e8ff; color: #7e22ce; }
.icon-cyan   { background-color: #cffafe; color: #0891b2; }
.icon-blue   { background-color: #dbeafe; color: #2563eb; }

.resource-type {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-dark);
}

.resource-title {
    font-size: 1.35rem;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 30px;
    flex-grow: 1; /* Pushes the 'Read more' to the bottom */
}

.resource-link {
    font-weight: 600;
    color: var(--text-dark);
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.95rem;
    transition: color 0.2s;
}

.resource-card:hover .resource-link {
    color: var(--do-blue);
}

/* =========================================
   CTA BANNER SECTION
   ========================================= */
.cta-section {
    padding: 80px 0 100px;
    background-color: #fff;
    text-align: center;
}

.cta-banner {
    position: relative;
    border-radius: 24px;
    overflow: hidden; /* Clips the background waves */
    padding: 80px 20px;
    
    /* COMPLEX OCEAN GRADIENT BACKGROUND */
    /* This layers gradients to create a "wave" feel without an image file */
    background-color: #bae6fd; /* Fallback */
    background-image: 
        /* The dark blue wave at bottom right */
        radial-gradient(circle at 90% 100%, #1e3a8a 0%, #1e3a8a 15%, transparent 16%),
        /* The medium blue wave at bottom left */
        radial-gradient(circle at 10% 100%, #0069ff 0%, #0069ff 20%, transparent 21%),
        /* The main light blue gradient */
        linear-gradient(180deg, #ddf5ff 0%, #bae6fd 100%);
    
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.cta-content {
    position: relative;
    z-index: 2; /* Ensures text sits on top of background */
    max-width: 600px;
    margin: 0 auto;
}

.cta-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 16px;
    letter-spacing: -1px;
}

.cta-text {
    font-size: 1.15rem;
    color: #334155;
    margin-bottom: 32px;
    line-height: 1.5;
}

/* Specific button style for this banner */
.btn-cta {
    background-color: #0044cc; /* Deep Blue */
    color: white;
    padding: 14px 32px;
    font-size: 1.1rem;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    box-shadow: 0 10px 15px -3px rgba(0, 68, 204, 0.3);
    transition: transform 0.2s, background-color 0.2s;
    display: inline-block;
}

.btn-cta:hover {
    background-color: #003399;
    transform: translateY(-2px);
}

/* The disclaimer text below the box */
.cta-disclaimer {
    margin-top: 24px;
    font-size: 0.85rem;
    color: #64748b;
}

@media (max-width: 768px) {
    .cta-banner { padding: 50px 20px; }
    .cta-title { font-size: 2rem; }
}

/* =========================================
   FOOTER SECTION
   ========================================= */
.do-footer {
    background-color: #f9fafe; /* Very subtle blue-white tint */
    padding: 80px 0 40px;
    color: var(--text-dark);
    font-size: 0.95rem;
    border-top: 1px solid var(--border-color);
}

.footer-grid {
    display: grid;
    /* 5 Columns for desktop */
    grid-template-columns: repeat(5, 1fr); 
    gap: 40px;
    margin-bottom: 60px;
}

.footer-col h4 {
    font-weight: 700;
    margin-bottom: 24px;
    font-size: 1.05rem;
    color: #111827;
}

.footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-col li {
    margin-bottom: 14px;
}

.footer-col a {
    text-decoration: none;
    color: #4b5563; /* Gray text */
    transition: color 0.2s;
}

.footer-col a:hover {
    color: var(--do-blue);
    text-decoration: underline;
}

/* --- Bottom Bar (Copyright & Socials) --- */
.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 30px;
    border-top: 1px solid #e5e7eb;
}

.footer-left {
    display: flex;
    align-items: center;
    gap: 20px;
    color: #6b7280;
    font-size: 0.9rem;
}

.footer-logo-small {
    color: #111827;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
}

.footer-socials {
    display: flex;
    gap: 20px;
}

.social-icon {
    color: #6b7280;
    width: 20px;
    height: 20px;
    transition: color 0.2s;
}

.social-icon:hover {
    color: var(--do-blue);
}

/* --- Mobile Responsiveness --- */
@media (max-width: 900px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr); /* 2 cols on tablet */
    }
}
@media (max-width: 600px) {
    .footer-grid {
        grid-template-columns: 1fr; /* 1 col on mobile */
    }
    .footer-bottom {
        flex-direction: column;
        gap: 20px;
    }
}

/* BLOG STYLES */
.blog-header-section {
    background: linear-gradient(180deg, #e0f7fa 0%, #ffffff 100%);
    padding: 60px 0;
}
.blog-categories span {
    display: inline-block;
    padding: 6px 12px;
    background: #f1f5f9;
    border-radius: 4px;
    font-size: 0.85rem;
    font-weight: 600;
    margin: 0 5px 5px 0;
    color: #334155;
}
/* Featured Card */
.featured-card {
    background-color: #0069ff;
    color: white;
    border-radius: 16px;
    overflow: hidden;
    position: relative;
    height: 400px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 40px;
    text-decoration: none;
    transition: transform 0.2s;
}
.featured-card:hover { transform: translateY(-5px); }
.featured-card img {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    object-fit: cover;
    opacity: 0.2; /* Darkens image */
    z-index: 1;
}
.featured-content { position: relative; z-index: 2; }

/* Grid Cards */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    padding: 60px 0;
}
.blog-card {
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    transition: box-shadow 0.2s;
}
.blog-card:hover { box-shadow: 0 10px 20px rgba(0,0,0,0.05); }
.blog-img { height: 200px; width: 100%; object-fit: cover; }
.blog-body { padding: 20px; }
.blog-meta { font-size: 0.8rem; color: #64748b; margin-bottom: 10px; display: flex; gap: 10px; }
.blog-badge { background: #e0f2fe; color: #0069ff; padding: 2px 8px; border-radius: 4px; font-weight: 600; }

/* =========================================
   LEGAL & TEXT PAGES (Terms, Privacy)
   ========================================= */
.legal-header {
    background: #f9fafe;
    padding: 60px 0;
    border-bottom: 1px solid var(--border-color);
    text-align: center;
}

.legal-layout {
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: 60px;
    padding: 60px 0;
}

.legal-sidebar {
    position: sticky;
    top: 100px; /* Sticks when scrolling */
    align-self: start;
}

.legal-sidebar h4 {
    font-size: 0.9rem;
    text-transform: uppercase;
    color: var(--text-gray);
    margin-bottom: 15px;
    letter-spacing: 1px;
}

.legal-nav a {
    display: block;
    padding: 10px 0;
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 500;
    border-left: 2px solid transparent;
    padding-left: 15px;
}

.legal-nav a.active {
    color: var(--do-blue);
    border-left-color: var(--do-blue);
}

.legal-content h2 { font-size: 1.8rem; margin-top: 40px; margin-bottom: 20px; }
.legal-content p { color: #4b5563; margin-bottom: 20px; font-size: 1.05rem; }
.legal-content ul { color: #4b5563; margin-bottom: 20px; padding-left: 20px; }
.legal-content li { margin-bottom: 10px; }

/* =========================================
   SUPPORT & SALES PAGES
   ========================================= */
.page-hero {
    text-align: center;
    padding: 80px 0;
    background: linear-gradient(180deg, #f0f9ff 0%, #ffffff 100%);
}

.contact-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    padding: 60px 0;
    align-items: center;
}

.contact-form-card {
    background: white;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    border: 1px solid #e2e8f0;
}

.form-group { margin-bottom: 20px; }
.form-group label { display: block; margin-bottom: 8px; font-weight: 600; font-size: 0.9rem; }
.form-input, .form-textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    font-family: inherit;
}
.form-textarea { resize: vertical; min-height: 120px; }

/* Mobile */
@media (max-width: 900px) {
    .legal-layout { grid-template-columns: 1fr; }
    .legal-sidebar { display: none; } /* Hide sidebar on mobile for simplicity */
    .contact-split { grid-template-columns: 1fr; }
}

/* =========================================
   MEGA MENU (High-Fidelity & Centered Fix)
   ========================================= */

/* Ensure the container helps centering */
.nav-center {
    height: 100%;
    display: flex;
    justify-content: center;
}

/* The Link Wrapper */
.nav-item-dropdown {
    height: 100%;
    display: flex;
    align-items: center;
    padding: 0 18px;
    cursor: pointer;
    font-weight: 500;
    color: #4b5563;
    transition: color 0.2s;
    
    /* CRITICAL FIX: 'static' allows the dropdown to position 
       relative to the main navbar, not this specific text link. 
       This prevents it from cutting off on the left side. */
    position: static; 
}

.nav-item-dropdown:hover {
    color: #0069ff;
}

/* Caret Icon */
.nav-caret {
    font-size: 0.6rem;
    margin-left: 6px;
    transition: transform 0.2s;
    opacity: 0.7;
}
.nav-item-dropdown:hover .nav-caret { transform: rotate(180deg); }

/* --- The Dropdown Container --- */
.mega-menu {
    visibility: hidden;
    opacity: 0;
    position: absolute;
    
    /* Position exactly below the 80px header */
    top: 80px; 
    
    /* Center horizontally relative to the PAGE/NAVBAR */
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    
    /* Standard Width */
    width: 960px; 
    max-width: 95vw; /* Prevent overflow on mobile/tablet */
    
    background: white;
    border-radius: 16px;
    box-shadow: 0 20px 40px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    border: 1px solid #e2e8f0;
    padding: 8px; /* Creates the gap for the "card-inside-card" look */
    z-index: 100;
    transition: all 0.2s ease-in-out;
    cursor: default;
    
    /* Layout */
    display: grid;
    grid-template-columns: 280px 1fr; /* Fixed Sidebar | Fluid Content */
    gap: 0; 
}

/* Show State */
.nav-item-dropdown:hover .mega-menu {
    visibility: visible;
    opacity: 1;
    /* Maintain the centering transform when showing */
    transform: translateX(-50%) translateY(0);
}

/* --- Left Side: Featured (The Gray Box) --- */
.mega-featured {
    background-color: #f8fafc; /* Very light cool gray */
    border-radius: 8px; /* Rounded inside the white box */
    padding: 32px 24px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.mega-featured-title {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #111827;
    font-weight: 700;
    margin-bottom: 8px;
}

.featured-link {
    text-decoration: none;
    display: block;
}

.featured-link h6 {
    font-size: 1rem;
    font-weight: 600;
    color: #111827; /* Dark title */
    margin: 0 0 4px 0;
}

.featured-link p {
    font-size: 0.9rem;
    color: #64748b; /* Muted description */
    margin: 0;
    line-height: 1.4;
}

.featured-link:hover h6 { color: #0069ff; }

/* --- Right Side: Categories (The White Grid) --- */
.mega-grid {
    padding: 32px 40px;
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 3 Cols default */
    gap: 40px; /* Space between columns */
    align-content: start;
}

/* Category Headers (e.g., "Compute", "Storage") */
.mega-col h5 {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #111827; /* Dark, bold */
    font-weight: 800;
    margin: 0 0 16px 0;
    border-bottom: 1px solid #f1f5f9; /* Subtle separator line */
    padding-bottom: 8px;
}

.mega-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mega-col li {
    margin-bottom: 10px;
}

.mega-col a {
    text-decoration: none;
    font-size: 0.95rem;
    color: #4b5563;
    font-weight: 500;
    transition: color 0.15s;
    display: block;
}

.mega-col a:hover {
    color: #0069ff;
}

/* --- Mobile / Tablet Adjustment --- */
@media (max-width: 1024px) {
    .nav-center { display: none; } /* Hide complex menu on tablet for now */
}

/* =========================================
   BLOG SINGLE POST TYPOGRAPHY
   ========================================= */
.blog-content h2 {
    font-size: 2rem;
    font-weight: 700;
    color: #111827;
    margin-top: 50px;
    margin-bottom: 20px;
}

.blog-content h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #111827;
    margin-top: 40px;
    margin-bottom: 15px;
}

.blog-content p {
    margin-bottom: 24px;
}

.blog-content ul, .blog-content ol {
    margin-bottom: 24px;
    padding-left: 20px;
}

.blog-content li {
    margin-bottom: 10px;
}

.blog-content pre {
    background: #1e293b;
    color: #f8fafc;
    padding: 20px;
    border-radius: 8px;
    overflow-x: auto;
    font-family: monospace;
    font-size: 0.9rem;
    margin-bottom: 30px;
}

.blog-content code {
    background: #f1f5f9;
    padding: 2px 6px;
    border-radius: 4px;
    font-family: monospace;
    font-size: 0.9em;
    color: #0f172a;
}

/* --- FAQ ACCORDION --- */
.faq-section {
    max-width: 800px;
    margin: 60px auto;
}

.faq-item {
    border-bottom: 1px solid #e2e8f0;
    margin-bottom: 15px;
}

.faq-item summary {
    padding: 20px 0;
    cursor: pointer;
    font-weight: 600;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #111827;
    font-size: 1.1rem;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::after {
    content: '+';
    font-size: 1.5rem;
    color: #0069ff;
    font-weight: 400;
}

.faq-item[open] summary::after {
    content: '-';
}

.faq-item p {
    padding-bottom: 20px;
    color: #4b5563;
    line-height: 1.6;
}

/* --- ALERT MESSAGES --- */
.alert-box {
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
    text-align: center;
    font-weight: 500;
}
.alert-success { background: #dcfce7; color: #166534; border: 1px solid #bbf7d0; }
.alert-error { background: #fee2e2; color: #991b1b; border: 1px solid #fecaca; }

/* =========================================
   CATALOG PAGES (/products, /services)
   ========================================= */
.catalog-hero {
    background-color: #f8fafc;
    padding: 80px 0;
    text-align: center;
    border-bottom: 1px solid #e2e8f0;
}

.catalog-hero h1 {
    font-size: 3rem;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 15px;
    letter-spacing: -1px;
}

.catalog-hero p {
    font-size: 1.25rem;
    color: #64748b;
    max-width: 700px;
    margin: 0 auto;
}

.catalog-section {
    padding: 60px 0;
}

.catalog-category-header {
    font-size: 1.5rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 1px solid #e2e8f0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.catalog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 80px;
}

.catalog-card {
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 30px;
    transition: all 0.2s ease;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.catalog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    border-color: #cbd5e1;
}

.catalog-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 10px 0;
}

.catalog-card p {
    font-size: 0.95rem;
    color: #64748b;
    line-height: 1.5;
    flex-grow: 1; /* Pushes arrow to bottom */
}

.catalog-arrow {
    color: var(--do-blue);
    font-weight: 600;
    font-size: 0.9rem;
    margin-top: 20px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.catalog-card:hover .catalog-arrow {
    text-decoration: underline;
}

/* =========================================
   PRICING SECTION
   ========================================= */
.pricing-section {
    padding: 80px 0;
    background-color: #f9fafe;
    border-top: 1px solid #e2e8f0;
}

.pricing-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 60px auto;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    align-items: stretch;
}

.pricing-card {
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 30px 20px;
    display: flex;
    flex-direction: column;
    transition: transform 0.2s, box-shadow 0.2s;
    position: relative;
}

.pricing-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    border-color: #cbd5e1;
}

/* Specific styling for the popular/enterprise card */
.pricing-card.featured {
    border: 2px solid #0069ff;
    box-shadow: 0 10px 15px -3px rgba(0, 105, 255, 0.1);
}

.pricing-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #111827;
    margin-bottom: 10px;
}

.pricing-price {
    font-size: 2.5rem;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 20px;
}

.pricing-price span {
    font-size: 1rem;
    font-weight: 500;
    color: #64748b;
}

.pricing-features {
    list-style: none;
    padding: 0;
    margin: 0 0 30px 0;
    text-align: left;
    flex-grow: 1; /* Pushes button to bottom */
}

.pricing-features li {
    padding: 8px 0;
    border-bottom: 1px solid #f1f5f9;
    font-size: 0.9rem;
    color: #4b5563;
    display: flex;
    gap: 8px;
}

.check-icon {
    color: #16a34a; /* Green check */
    font-weight: bold;
}

.btn-pricing {
    width: 100%;
    padding: 12px;
    border-radius: 6px;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    transition: background 0.2s;
    display: block;
}

.btn-pricing-outline {
    border: 1px solid #cbd5e1;
    color: #111827;
    background: white;
}
.btn-pricing-outline:hover { background: #f8fafc; }

.btn-pricing-primary {
    background: #0069ff;
    color: white;
    border: 1px solid #0069ff;
}
.btn-pricing-primary:hover { background: #0056d6; }

/* Mobile */
@media (max-width: 1024px) {
    .pricing-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
    .pricing-grid { grid-template-columns: 1fr; }
}

/* =========================================
   INTEGRATIONS SECTION
   ========================================= */
.integrations-section {
    padding: 100px 0;
    background-color: #fff;
    border-bottom: 1px solid #e2e8f0;
}

.integrations-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px auto;
}

.integrations-header h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 15px;
    color: #0f172a;
}

.int-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.int-card {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 30px;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    transition: all 0.2s ease;
}

.int-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px -5px rgba(0, 0, 0, 0.05);
    border-color: var(--do-blue);
}

.int-icon {
    width: 50px;
    height: 50px;
    flex-shrink: 0;
}

.int-content h4 {
    margin: 0 0 8px 0;
    font-size: 1.1rem;
    font-weight: 700;
    color: #1e293b;
}

.int-content p {
    margin: 0;
    font-size: 0.9rem;
    color: #64748b;
    line-height: 1.5;
}

/* API Card Special Styling */
.int-card.api-card {
    background: #f8fafc;
    border: 1px dashed #cbd5e1;
}

