:root {
    --bg-dark: #090c14;
    --text-main: #ffffff;
    --text-muted: #94a3b8;
    --accent-blue: #93c5fd;
    --brand-orange: #ef5a24;
    --btn-secondary: #e2e8f0;
}

body {
    background-color: var(--bg-dark);
    font-family: 'Inter', sans-serif;
    color: var(--text-main);
    overflow-x: hidden;
}

/* Specific Section Classnames */
.app-hero-layout {
    width: 100%;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
 background: #0c1021;
}

.app-hero-inner {
    width: 100%;
    max-width: 1280px;
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 40px;
    align-items: center;
}

.app-hero-text-panel {
    z-index: 2;
}

.app-hero-title {
    font-size: clamp(2.5rem, 5vw, 3.8rem);
    line-height: 1.1;
    font-weight: 800;
    margin-bottom: 24px;
    letter-spacing: -0.02em;
}

.app-hero-highlight {
    color: var(--accent-blue);
}

.app-hero-description {
    font-size: 1.15rem;
    color: var(--text-muted);
    max-width: 540px;
    margin-bottom: 40px;
    line-height: 1.7;
}

/* Button Styling */
.app-hero-actions {
    display: flex;
    gap: 16px;
}

.app-btn-orange {
    background-color: var(--brand-orange);
    color: white;
    border: none;
    padding: 16px 32px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: transform 0.2s ease, background 0.2s ease;
}

.app-btn-orange:hover {
    background-color: #ff6b3d;
    transform: translateY(-2px);
}

.app-btn-glass {
    background-color: var(--btn-secondary);
    color: #0f172a;
    border: none;
    padding: 16px 32px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.app-btn-glass:hover {
    background-color: #ffffff;
    transform: translateY(-2px);
}

/* Visual Panel Styling */
.app-hero-visual-panel {
    display: flex;
    justify-content: flex-end;
}

.app-hero-graphic-card {
    background: linear-gradient(145deg, #161b29, #0b0f1a);
    padding: 15px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 40px 100px -20px rgba(0, 0, 0, 0.7);
}

.app-hero-main-img {
    width: 100%;
    max-width: 580px;
    border-radius: 12px;
    display: block;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    .app-hero-inner {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .app-hero-text-panel {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .app-hero-actions {
        justify-content: center;
    }

    .app-hero-visual-panel {
        justify-content: center;
        margin-top: 40px;
    }
}


/* Container for the whole section */
.features-layout {
    padding: 80px 20px;
    background-color: #ffffff; /* Contrast against the dark hero section */
    display: flex;
    justify-content: center;
}

/* The Grid System */
.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* 4 equal columns */
    gap: 24px;
    max-width: 1280px;
    width: 100%;
}

/* Individual Card Styling */
.feature-card {
    background: #ffffff;
    padding: 40px 30px;
    border-radius: 12px;
    /* Subtle soft shadow to match the screenshot */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
    transition: transform 0.3s ease;
    border: 1px solid #f8fafc;
}

.feature-card:hover {
    transform: translateY(-5px);
}

/* Icon Styles */
.feature-icon {
    font-size: 28px;
    color: #ef5a24; /* The orange accent color */
    margin-bottom: 24px;
}

/* Typography */
.feature-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 16px;
    letter-spacing: -0.01em;
}

.feature-text {
    font-size: 0.95rem;
    color: #64748b; /* Muted slate text */
    line-height: 1.6;
}

/* Responsive: 2 columns on tablets, 1 column on mobile */
@media (max-width: 1024px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .feature-card {
        padding: 30px 20px;
    }
}

.capabilities-section {
    background-color: #040b1a;
    padding: 80px 40px;
    color: #fff;
}

.capabilities-header {
    margin-bottom: 50px;
    max-width: 800px;
}

.sub-label {
    color: #ef5a24;
    font-weight: 700;
    font-size: 0.8rem;
    letter-spacing: 2px;
    border-bottom: 2px dotted #ef5a24;
}

.capabilities-header h2 {
    font-size: 2.5rem;
    margin-top: 20px;
    font-weight: 800;
}

/* The Bento Grid Magic */
.capabilities-bento-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: auto;
    gap: 20px;
    /* Mapping the specific sizes based on screenshot */
    grid-template-areas: 
        "custom custom saas"
        "enterprise portals portals"
        "b2b b2b maintenance";
}

/* Grid Area Assignments */
.custom-web { grid-area: custom; }
.saas { grid-area: saas; }
.enterprise { grid-area: enterprise; }
.portals { grid-area: portals; }
.b2b { grid-area: b2b; }
.maintenance { grid-area: maintenance; }

/* Global Card Styling */
.bento-card {
    padding: 30px;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.white-card { background: #fff; color: #000; }
.orange-card, .orange-card-wide { background: #ef5a24; color: #fff; }
.dark-card { background: #162136; color: #fff; }

/* Content Layouts */
.bento-card-content { display: flex; gap: 20px; }
.bento-card-content-inline { display: flex; justify-content: space-between; align-items: center; gap: 20px; }

/* Thumbnails */
.bento-thumb { width: 45%; border-radius: 8px; object-fit: cover; }
.bento-thumb-small { width: 40%; border-radius: 8px; }
.bento-thumb-rounded { width: 180px; height: 140px; border-radius: 15px; object-fit: cover; }

/* Buttons */
.bento-btn-dark, .bento-btn-dark-small {
    background: #162136; color: #fff; text-decoration: none;
    padding: 12px 20px; border-radius: 8px; display: inline-block; margin-top: 15px; font-weight: 600;
}

.bento-btn-white-small {
    background: #fff; color: #ef5a24; text-decoration: none;
    padding: 10px 20px; border-radius: 8px; font-weight: 600; width: fit-content;
}

.bento-btn-orange-small {
    background: #ef5a24; color: #fff; text-decoration: none;
    padding: 10px 20px; border-radius: 8px; font-weight: 600; width: fit-content;
}

/* Typography & Icons */
.bento-card h3 { font-size: 1.4rem; margin-bottom: 10px; }
.bento-card p { font-size: 0.95rem; opacity: 0.85; line-height: 1.5; margin-bottom:10px;}
.bento-icon { font-size: 1.5rem; margin-bottom: 20px; }
.bento-icon-orange { color: #ef5a24; font-size: 1.5rem; margin-bottom: 20px; }

/* Responsive */
/* --- RESPONSIVE LOGIC --- */

/* Tablet View (1024px and below) */
@media (max-width: 1024px) {
    .capabilities-section {
        padding: 60px 30px;
    }

    .capabilities-bento-grid {
        grid-template-columns: 1fr 1fr; /* Switch to 2 columns */
        grid-template-areas: 
            "custom custom"
            "saas enterprise"
            "portals portals"
            "b2b b2b"
            "maintenance maintenance";
    }

    .capabilities-header h2 {
        font-size: 2.2rem;
    }
}

/* Mobile View (768px and below) */
@media (max-width: 768px) {
    .capabilities-section {
        padding: 50px 20px;
    }

    .capabilities-header {
        text-align: center;
        margin: 0 auto 40px auto;
    }

    .capabilities-header h2 {
        font-size: 1.8rem;
    }

    /* Collapse Grid to Single Column Stack */
    .capabilities-bento-grid {
        display: flex;
        flex-direction: column;
        gap: 15px;
    }

    /* Fix Horizontal layouts to Vertical for Mobile */
    .bento-card-content, 
    .bento-card-content-inline {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }

    /* Make images full width header-style on mobile */
    .bento-thumb, 
    .bento-thumb-small, 
    .bento-thumb-rounded {
        width: 100% !important;
        height: 180px !important;
        object-fit: cover;
        order: -1; /* Moves image to the top of the card */
    }

    .bento-card {
        padding: 24px;
        min-height: auto;
    }

    .bento-card-text {
        width: 100%;
    }

    /* Typography Adjustments */
    .bento-card h3 {
        font-size: 1.25rem;
    }

    /* Buttons full width on mobile */
    .bento-btn-dark, 
    .bento-btn-white-small, 
    .bento-btn-orange-small {
        display: block;
        text-align: center;
        width: 100%;
        margin-top: 20px;
    }
}




.lifecycle-section {
    padding: 100px 20px;
    background-color: #ffffff;
    text-align: center;
    font-family: 'Inter', sans-serif;
}

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

.lifecycle-header p {
    color: #6b7280;
    max-width: 600px;
    margin: 0 auto 80px auto;
    line-height: 1.6;
}

/* Steps Container & Connecting Line */
.lifecycle-steps-container {
    display: flex;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto 80px auto;
    position: relative;
}

/* The horizontal line through the numbers */
.lifecycle-steps-container::before {
    content: '';
    position: absolute;
    top: 25px; /* Halfway through the 50px circle */
    left: 50px;
    right: 50px;
    height: 1px;
    background-color: #e5e7eb;
    z-index: 1;
}

.lifecycle-step {
    flex: 1;
    position: relative;
    z-index: 2;
    padding: 0 10px;
}

/* Step Circles */
.step-number {
    width: 50px;
    height: 50px;
    background: #ffffff;
    border: 1px solid #ddd6fe; /* Soft purple border */
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px auto;
    font-weight: 700;
    color: #4338ca; /* Darker purple */
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

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

.step-desc {
    font-size: 0.85rem;
    color: #6b7280;
    line-height: 1.4;
}

/* Bottom Image Styling */
.lifecycle-visual {
    max-width: 1200px;
    margin: 0 auto;
    overflow: hidden;
    border-radius: 20px;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

.lifecycle-hero-img {
    width: 100%;
    height: auto;
    display: block;
    filter: brightness(0.9); /* Slight dim to match the techy feel */
}

/* Responsive: Stack vertically on small screens */
@media (max-width: 900px) {
    .lifecycle-steps-container {
        flex-direction: column;
        gap: 40px;
    }
    
    .lifecycle-steps-container::before {
        display: none; /* Remove line on mobile */
    }
}

.stack-section {
    background-color: #0b0e1f;
    padding: 100px 40px;
    color: #ffffff;
    font-family: 'Inter', sans-serif;
}

.stack-layout-inner {
    max-width: 1280px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 80px;
}

/* Left Side Styling */
.stack-info-panel {
    flex: 1;
}

.stack-title {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 24px;
}

.stack-lead {
    font-size: 1.15rem;
    color: #a1a1aa;
    margin-bottom: 48px;
    max-width: 500px;
    line-height: 1.6;
}

.stack-stats-row {
    display: flex;
    gap: 60px;
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: #e94e1b; /* Vibrant Orange */
    margin-bottom: 8px;
}

.stat-label {
    font-size: 0.8rem;
    letter-spacing: 1px;
    color: #94a3b8;
    font-weight: 600;
}

/* Right Side Logo Grid */
.stack-grid-panel {
    flex: 1.2;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.logo-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 24px 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    aspect-ratio: 1 / 0.8; /* Keeps them as clean rectangles */
    transition: transform 0.3s ease;
}

.logo-card:hover {
    transform: translateY(-5px);
}

.logo-card img {
    height: 45px;
    width: auto;
    margin-bottom: 15px;
    object-fit: contain;
}

.logo-card span {
    color: #111827;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.5px;
}

/* Tablet & Mobile Adjustments */
@media (max-width: 1024px) {
    .stack-layout-inner {
        flex-direction: column;
        text-align: center;
    }
    
    .stack-lead { margin-left: auto; margin-right: auto; }
    .stack-stats-row { justify-content: center; }
    
    .stack-grid-panel {
        grid-template-columns: repeat(2, 1fr);
        width: 100%;
    }
}

.industry-section {
    padding: 100px 20px;
    background-color: #ffffff;
    font-family: 'Inter', sans-serif;
}

.industry-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 60px;
}

.industry-content {
    flex: 1;
}

.industry-label {
    color: #ef5a24;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    display: block;
    margin-bottom: 20px;
}

.industry-title {
    font-size: 2.8rem;
    font-weight: 800;
    color: #111827;
    line-height: 1.1;
    margin-bottom: 40px;
}

/* Industry List Styling */
.industry-list {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.industry-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.industry-icon-box {
    width: 48px;
    height: 48px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 1.2rem;
    color: #ef5a24;
}

/* Background colors for icons to match screenshot subtle tints */
.healthcare-bg { background-color: #fff1eb; }
.finance-bg { background-color: #fff1eb; }
.ecommerce-bg { background-color: #fff1eb; }

.industry-item-text h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #111827;
    margin-bottom: 6px;
}

.industry-item-text p {
    font-size: 0.95rem;
    color: #64748b;
    line-height: 1.5;
}

/* Visual Styling */
.industry-visual {
    flex: 1.2;
}

.industry-image-container {
    width: 100%;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.industry-image-container img {
    width: 100%;
    height: auto;
    display: block;
}

/* Responsive */
@media (max-width: 1024px) {
    .industry-inner {
        flex-direction: column;
    }
    
    .industry-title {
        font-size: 2.2rem;
    }
    
    .industry-visual {
        order: -1; /* Puts image on top for mobile */
        width: 100%;
    }
}

.final-cta-section {
    background-color: #0b0f1a; /* Matches the dark theme of the page */
    padding: 100px 20px;
    display: flex;
    justify-content: center;
}

.cta-gradient-box {
    width: 100%;
    max-width: 1100px;
    background: linear-gradient(135deg, #ff6b2b 0%, #ffb08e 100%);
    border-radius: 24px;
    padding: 80px 40px;
    position: relative;
    overflow: hidden; /* Keeps decoration inside */
    text-align: center;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

/* Background UI Decoration */
.cta-decoration {
    position: absolute;
    right: -20px;
    bottom: -20px;
    width: 300px;
    height: 300px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 40px;
    transform: rotate(15deg);
    pointer-events: none;
}

.cta-inner-content {
    position: relative;
    z-index: 2;
}

.cta-title {
    font-size: clamp(2rem, 4vw, 3.2rem);
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 20px;
    letter-spacing: -0.02em;
}

.cta-subtitle {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
    max-width: 600px;
    margin: 0 auto 40px auto;
    line-height: 1.6;
}

/* The White Button */
.cta-primary-btn {
    display: inline-block;
    background-color: #ffffff;
    color: #0b0f1a;
    padding: 18px 36px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 1.05rem;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.cta-primary-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    background-color: #f8fafc;
}

/* Mobile Adjustments */
@media (max-width: 768px) {
    .cta-gradient-box {
        padding: 60px 20px;
    }
    
    .cta-title {
        font-size: 2.2rem;
    }
}

.logo-card img {
    /* Set a fixed height so all icons look balanced */
    height: 48px; 
    width: auto;
    max-width: 80%;
    margin-bottom: 16px;
    object-fit: contain;
    /* Optional: subtle grayscale filter that removes on hover */
    transition: filter 0.3s ease;
}

.logo-card:hover img {
    filter: none;
    transform: scale(1.1);
}

.logo-card span {
    font-size: 0.7rem;
    font-weight: 800;
    color: #1f2937;
    letter-spacing: 0.05em;
    text-align: center;
}