:root {
  /* Brand Colors */
  --color-primary: #0A2540;
  /* Deep Dairy Blue - Trust */
  --color-primary-light: #153C61;
  --color-accent: #4294E3;
  /* User Requested Blue */
  --color-accent-hover: #357ABD;
  --color-secondary: #FFB800;
  /* Gold - Premium/Quality */

  /* Neutral Colors */
  --color-bg: #FFFFFF;
  --color-bg-alt: #F6F9FC;
  --color-text: #32325D;
  --color-text-light: #6B7C93;
  --color-border: #E6EBF1;

  /* Gradients */
  --gradient-hero: linear-gradient(135deg, #0A2540 0%, #153C61 100%);
  --gradient-glass: linear-gradient(180deg, rgba(255, 255, 255, 0.8) 0%, rgba(255, 255, 255, 0.4) 100%);

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);
  --shadow-md: 0 4px 6px rgba(50, 50, 93, 0.11), 0 1px 3px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 13px 27px -5px rgba(50, 50, 93, 0.25), 0 8px 16px -8px rgba(0, 0, 0, 0.3);
  --shadow-glass: 0 8px 32px 0 rgba(31, 38, 135, 0.15);

  /* Typography */
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;

  /* Spacing */
  --spacing-xs: 0.5rem;
  /* 8px */
  --spacing-sm: 1rem;
  /* 16px */
  --spacing-md: 1.5rem;
  /* 24px */
  --spacing-lg: 2.5rem;
  /* 40px */
  --spacing-xl: 4rem;
  /* 64px */
  --spacing-xxl: 6rem;
  /* 96px */

  /* Border Radius */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
  --radius-full: 9999px;

  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s ease;
}/* CSS Reset & Base Styles */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

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

body {
    font-family: var(--font-body);
    background-color: var(--color-bg);
    color: var(--color-text);
    line-height: 1.6;
    overflow-x: clip;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    color: var(--color-primary);
    line-height: 1.2;
    font-weight: 700;
    margin-bottom: var(--spacing-sm);
}

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

ul {
    list-style: none;
}

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

button {
    cursor: pointer;
    border: none;
    background: none;
    font-family: inherit;
}

/* Utility Classes */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

.text-center {
    text-align: center;
}

.text-primary {
    color: var(--color-primary);
}

.text-accent {
    color: var(--color-accent);
}

/* Section vertical spacing */
section {
    padding: var(--spacing-xxl) 0;
}/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: var(--spacing-sm) 0;
    z-index: 1000;
    transition: var(--transition-normal);
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.95);
    box-shadow: var(--shadow-sm);
    padding: var(--spacing-xs) 0;
}

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

.logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--color-primary);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.nav-links {
    display: flex;
    gap: var(--spacing-md);
    align-items: center;
}

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

.nav-link:hover {
    color: var(--color-primary);
}

.nav-link.active {
    color: var(--color-accent);
    font-weight: 600;
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    font-size: 1.5rem;
    color: var(--color-primary);
}

/* Footer */
.footer {
    background-color: var(--color-primary);
    color: var(--color-bg);
    padding: var(--spacing-xl) 0 var(--spacing-md);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-lg);
}

.footer-brand p {
    opacity: 0.8;
    margin-top: var(--spacing-sm);
    max-width: 300px;
}

.footer-col h4 {
    color: var(--color-accent);
    margin-bottom: var(--spacing-md);
    font-size: 1.1rem;
}

.footer-links li {
    margin-bottom: var(--spacing-xs);
}

.footer-links a {
    opacity: 0.8;
}

.footer-links a:hover {
    opacity: 1;
    color: var(--color-accent);
}

.copyright {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: var(--spacing-md);
    text-align: center;
    opacity: 0.6;
    font-size: 0.9rem;
}

/* Tablet/Mobile Adjustments */
@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }

    .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--color-bg);
        flex-direction: column;
        padding: var(--spacing-md);
        box-shadow: var(--shadow-md);
        clip-path: circle(0% at 100% 0);
        transition: clip-path 0.4s ease-in-out;
    }

    .nav-links.active {
        clip-path: circle(140% at 100% 0);
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
    }
}

/* CTA Section - Themed */
.cta-section {
    background: linear-gradient(135deg, var(--color-primary) 0%, #1e4b7a 100%);
    color: white;
    padding: var(--spacing-xl) 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

/* Milk Splash / Background Decoration */
.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -20%;
    width: 600px;
    height: 600px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    z-index: 0;
}

.cta-section::after {
    content: '';
    position: absolute;
    bottom: -30%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    z-index: 0;
}

.cta-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
}

.cta-title {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: var(--spacing-sm);
    color: white;
}

.cta-subtitle {
    font-size: 1.25rem;
    opacity: 0.9;
    margin-bottom: var(--spacing-lg);
    color: var(--color-secondary);
    /* Gold/Accent Color */
    font-weight: 500;
}

/* Button override for dark background */
.cta-section .btn-outline {
    border-color: rgba(255, 255, 255, 0.3);
    color: white;
}

.cta-section .btn-outline:hover {
    background: white;
    color: var(--color-primary);
}

/* CTA Wave Divider */
.custom-shape-divider-top-1689 {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
}

.custom-shape-divider-top-1689 svg {
    position: relative;
    display: block;
    width: calc(138% + 1.3px);
    height: 120px;
    transform: rotateY(180deg);
}

.custom-shape-divider-top-1689 .shape-fill {
    fill: #FFFFFF;
}

/* Floating 3D Icons */
.floating-icon {
    position: absolute;
    color: rgba(255, 255, 255, 0.1);
    z-index: 0;
    animation: float-slow 6s ease-in-out infinite;
}

.icon-1 {
    top: 20%;
    left: 10%;
    font-size: 8rem;
    animation-delay: 0s;
    transform: rotate(-15deg);
}

.icon-2 {
    bottom: 20%;
    right: 10%;
    font-size: 10rem;
    animation-delay: 2s;
    transform: rotate(15deg);
}

.icon-3 {
    top: 15%;
    right: 25%;
    font-size: 4rem;
    animation-delay: 4s;
    opacity: 0.05;
}

.icon-4 {
    bottom: 30%;
    left: 20%;
    font-size: 5rem;
    animation-delay: 1s;
    opacity: 0.05;
}

@keyframes float-slow {
    0% {
        transform: translateY(0px) rotate(0deg);
    }

    50% {
        transform: translateY(-20px) rotate(5deg);
    }

    100% {
        transform: translateY(0px) rotate(0deg);
    }
}

/* Cleanup old CTA CSS artifacts */
.custom-shape-divider-top-1689 {
    display: none;
}

.floating-icon {
    display: none;
}

/* Hero Grid Responsive */
.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

@media (max-width: 968px) {
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }

    .hero-grid>div:first-child {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .hero h1 {
        font-size: 2.5rem !important;
    }
}

/* Hide floating cards on mobile to prevent overflow */
@media (max-width: 768px) {

    #heroCard1,
    #heroCard2 {
        display: none !important;
    }
}

.app-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    align-items: center;
}

@media (max-width: 968px) {
    .app-buttons {
        justify-content: center;
    }
}

/* Benefits Section Responsive */
.benefits-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.benefits-visual {
    position: relative;
    height: 400px;
}

@media (max-width: 968px) {
    .benefits-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }

    .benefits-visual {
        height: 300px;
        /* Smaller height on mobile */
        margin-bottom: 2rem;
    }

    /* Center align the checklist items text on mobile */
    .benefits-grid h3 {
        justify-content: center;
    }

    .benefits-grid p {
        margin-left: 0 !important;
        /* Remove indentation on mobile for centered text */
    }
}

/* Benefits Carousel Styles */
.carousel-container {
    overflow: hidden;
    position: relative;
    border-radius: 20px;
}

.benefits-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.benefit-slide {
    min-width: 100%;
    position: relative;
}

/* Card Pop Animation (Triggered by JS) */
.card-pop {
    animation: pop-in 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

@keyframes pop-in {
    0% {
        opacity: 0;
        transform: translateY(20px) scale(0.9);
    }

    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* How It Works Section */
.how-it-works-section {
    padding: var(--spacing-xxl) 0;
    background: linear-gradient(to bottom, #FFFFFF, var(--color-bg-alt));
    position: relative;
    overflow: hidden;
}

.steps-container {
    display: flex;
    justify-content: space-between;
    position: relative;
    margin-top: 4rem;
    flex-wrap: wrap;
    gap: 2rem;
}

/* Connecting Line (Desktop Only) */
.steps-container::before {
    content: '';
    position: absolute;
    top: 50px;
    left: 10%;
    right: 10%;
    height: 2px;
    background: repeating-linear-gradient(to right,
            var(--color-border) 0,
            var(--color-border) 10px,
            transparent 10px,
            transparent 20px);
    z-index: 0;
}

.step-item {
    position: relative;
    z-index: 1;
    flex: 1;
    min-width: 200px;
    text-align: center;
}

.step-icon-wrapper {
    width: 100px;
    height: 100px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem auto;
    position: relative;
    box-shadow: var(--shadow-md);
    border: 4px solid white;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.step-item:hover .step-icon-wrapper {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--color-accent);
}

.step-number {
    position: absolute;
    top: 0;
    right: 0;
    width: 30px;
    height: 30px;
    background: var(--color-accent);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.9rem;
    border: 2px solid white;
}

.step-icon {
    font-size: 2.5rem;
    color: var(--color-primary);
}

.step-content h3 {
    font-family: var(--font-heading);
    color: var(--color-primary);
    margin-bottom: 0.75rem;
    font-size: 1.25rem;
}

.step-content p {
    color: var(--color-text-light);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Mobile Responsive for Steps */
@media (max-width: 768px) {
    .steps-container {
        flex-direction: column;
        gap: 3rem;
    }

    .steps-container::before {
        display: none;
        /* Hide horizontal line */
    }

    /* Add vertical connecting line for mobile */
    .steps-container::after {
        content: '';
        position: absolute;
        top: 0;
        bottom: 0;
        left: 50%;
        width: 2px;
        background: var(--color-border);
        transform: translateX(-50%);
        z-index: 0;
        display: block;
    }

    .step-item {
        background: white;
        padding: 1.5rem;
        border-radius: 12px;
        box-shadow: var(--shadow-sm);
        max-width: 100%;
    }
}

/* Capabilities Split Layout */
.capabilities-split-wrapper {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 4rem;
    align-items: center;
    margin-top: 3rem;
}

/* Left Side: Video */
.video-container {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    aspect-ratio: 16/9;
    background: #000;
}

.video-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* Right Side: Cards Stack */
.cards-stack {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

/* Modified Card Style for Stack */
.feature-card-horizontal {
    background: white;
    padding: 1.5rem;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--color-border);
    display: flex;
    align-items: flex-start;
    gap: 1.25rem;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.feature-card-horizontal:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
    border-color: var(--color-accent);
}

.card-icon-wrapper {
    width: 50px;
    height: 50px;
    background: rgba(66, 148, 227, 0.1);
    /* Accent Light */
    color: var(--color-accent);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.card-content h3 {
    margin-bottom: 0.25rem;
    font-size: 1.1rem;
    font-weight: 700;
}

.card-content p {
    font-size: 0.9rem;
    color: var(--color-text-light);
    line-height: 1.5;
    margin: 0;
}

/* Mobile Responsive */
@media (max-width: 992px) {
    .capabilities-split-wrapper {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .video-container {
        order: -1;
        /* Video on top */
    }
}

/* WhatsApp Floating Button */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 25px;
    right: 25px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 32px;
    box-shadow: 2px 2px 3px #999;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    background-color: #128c7e;
    color: #FFF;
}

/* Pulse Animation */
@keyframes pulse-green {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }

    70% {
        transform: scale(1.05);
        box-shadow: 0 0 0 10px rgba(37, 211, 102, 0);
    }

    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

.whatsapp-float {
    animation: pulse-green 2s infinite;
}

/* Homepage Blog Integration Styles */
.homepage-blog-section {
    padding: var(--spacing-xxl) 0;
    background-color: var(--color-bg-alt);
}

.homepage-blog-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
}

@media (min-width: 768px) {
    .homepage-blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 992px) {
    .homepage-blog-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.hp-blog-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--color-border);
    box-shadow: 0 4px 20px rgba(0,0,0,0.02);
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hp-blog-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.06);
}

.hp-blog-img-container {
    width: 100%;
    height: 200px;
    background: #cbd5e1;
    overflow: hidden;
}

.hp-blog-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--color-primary) 0%, #153C61 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2.5rem;
}

.hp-blog-placeholder i {
    color: var(--color-secondary);
}

.hp-blog-body {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.hp-blog-tag {
    align-self: flex-start;
    padding: 0.25rem 0.75rem;
    border-radius: 99px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 0.75rem;
}

/* Category Specific Tag Colors */
.hp-blog-tag.tag-operations { background: #f3e5f5; color: #7b1fa2; }
.hp-blog-tag.tag-deliveries { background: #e3f2fd; color: #1565c0; }
.hp-blog-tag.tag-billing { background: #e8f5e9; color: #2e7d32; }
.hp-blog-tag.tag-customer-management { background: #fff3e0; color: #ef6c00; }
.hp-blog-tag.tag-company-news { background: #ffebee; color: #c62828; }

.hp-blog-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-primary);
    line-height: 1.3;
    margin-bottom: 0.5rem;
    font-family: 'Outfit', sans-serif;
}

.hp-blog-desc {
    font-size: 0.95rem;
    color: var(--color-text-light);
    line-height: 1.5;
    margin-bottom: 1.5rem;
}

.hp-blog-footer {
    margin-top: auto;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--color-accent);
}

.hp-blog-btn-container {
    margin-top: 3rem;
    text-align: center;
}

.hp-blog-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 0.8rem 2.5rem;
    border-radius: 99px;
    color: var(--color-primary);
    border: 2px solid var(--color-primary);
    background: transparent;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.hp-blog-btn:hover {
    background: var(--color-primary);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(10, 37, 64, 0.15);
}

.hp-blog-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.hp-blog-card:hover .hp-blog-img {
    transform: scale(1.05);
}/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-md);
    font-weight: 600;
    transition: all var(--transition-fast);
    font-size: 1rem;
}

.btn-primary {
    background: var(--color-primary);
    color: white;
    box-shadow: 0 4px 14px 0 rgba(10, 37, 64, 0.3);
}

.btn-primary:hover {
    background: var(--color-primary-light);
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(10, 37, 64, 0.23);
}

.btn-secondary {
    background: var(--color-bg);
    color: var(--color-primary);
    border: 1px solid var(--color-border);
}

.btn-secondary:hover {
    border-color: var(--color-primary);
    background: var(--color-bg-alt);
}

.btn-accent {
    background: var(--color-accent);
    color: white;
}

.btn-accent:hover {
    background: var(--color-accent-hover);
}

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1.125rem;
}

/* Cards (Glassmorphism & Standard) */
.card {
    background: var(--color-bg);
    border-radius: var(--radius-lg);
    padding: var(--spacing-md);
    box-shadow: var(--shadow-md);
    transition: transform var(--transition-normal), box-shadow var(--transition-normal);
    border: 1px solid var(--color-border);
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--color-accent);
}

/* Feature Icon */
.icon-box {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(10, 37, 64, 0.05);
    color: var(--color-primary);
    margin-bottom: var(--spacing-sm);
    font-size: 1.5rem;
}

/* Form Styles */
.form-input {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    font-family: inherit;
    font-size: 1rem;
    transition: border-color var(--transition-fast);
}

.form-input:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(10, 37, 64, 0.1);
}

/* Accordion (FAQ) */
.accordion-item {
    border-bottom: 1px solid var(--color-border);
}

.accordion-header {
    width: 100%;
    padding: var(--spacing-md) 0;
    text-align: left;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    color: var(--color-primary);
}

.accordion-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s cubic-bezier(0, 1, 0, 1);
    color: var(--color-text-light);
}

.accordion-item.active .accordion-body {
    max-height: 200px;
    padding-bottom: var(--spacing-md);
    transition: max-height 0.3s ease-in-out;
}

.accordion-icon {
    transition: transform 0.3s ease;
}

.accordion-item.active .accordion-icon {
    transform: rotate(180deg);
}

/* iPhone 17 Frame (Dynamic Island) */
.device-frame {
    position: relative;
    width: 300px;
    height: 600px;
    background: #111;
    border-radius: 50px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    border: 8px solid #222;
    /* Thinner, titanium-like border */
    margin: 0 auto;
    overflow: hidden;
    z-index: 10;
}

/* Dynamic Island */
.device-frame::before {
    content: '';
    position: absolute;
    top: 15px;
    /* Floating from top */
    left: 50%;
    transform: translateX(-50%);
    width: 90px;
    height: 25px;
    background: #000;
    border-radius: 20px;
    z-index: 20;
}

.device-screen {
    width: 100%;
    height: 100%;
    background: white;
    overflow: hidden;
    position: relative;
    border-radius: 42px;
    /* Smoother curve matching outer 50px - 8px border */
}

/* Manual Slider Logic */
.device-scroll {
    display: flex;
    flex-direction: row;
    /* Horizontal layout for carousel */
    width: 100%;
    height: 100%;
    transition: transform 0.3s ease-in-out;
    transform: translateX(0);
}

.device-scroll img {
    width: 100%;
    min-width: 100%;
    /* Ensure each image takes full width */
    height: 100%;
    object-fit: contain;
    display: block;
    flex-shrink: 0;
}

/* Floating Elements around phone */
.mockup-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    z-index: 0;
    opacity: 0.6;
}

/* Carousel Controls */
.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    border: none;
    z-index: 100;
    color: var(--color-primary);
    transition: all 0.2s ease;
}

.carousel-btn:hover {
    background: var(--color-primary);
    color: white;
    transform: translateY(-50%) scale(1.1);
}

.carousel-prev {
    left: -60px;
}

.carousel-next {
    right: -60px;
}/* Feature Blocks (Zig-Zag) */
.feature-section {
    padding: var(--spacing-xxl) 0;
    overflow: hidden;
}

.feature-block {
    display: flex;
    align-items: center;
    gap: var(--spacing-xl);
    margin-bottom: var(--spacing-xxl);
}

.feature-block:nth-child(even) {
    flex-direction: row-reverse;
}

.feature-text {
    flex: 1;
}

.feature-visual {
    flex: 1;
    position: relative;
}

.feature-visual img,
.feature-visual .mockup {
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    width: 100%;
    transition: transform var(--transition-normal);
}

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

/* Abstract shapes for decoration */
.blob {
    position: absolute;
    z-index: -1;
    border-radius: 50%;
    filter: blur(40px);
    opacity: 0.2;
}

/* App Showcase Section - Light Premium Redesign */
.app-showcase {
    background: var(--color-bg-alt);
    /* Light background to match "Why Edoodh" section */
    color: var(--color-text);
    padding: var(--spacing-xxl) 0;
    position: relative;
    overflow: hidden;
}

/* Background Texture - Very subtle light blobs for depth */
.app-showcase::before {
    content: '';
    position: absolute;
    top: -20%;
    left: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(0, 208, 156, 0.05) 0%, transparent 70%);
    z-index: 0;
    pointer-events: none;
}

.app-showcase::after {
    content: '';
    position: absolute;
    bottom: -20%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(255, 184, 0, 0.05) 0%, transparent 70%);
    z-index: 0;
    pointer-events: none;
}

.app-header {
    text-align: center;
    margin-bottom: var(--spacing-xxl);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    z-index: 2;
}

.app-grid {
    display: grid;
    grid-template-columns: 1fr 340px 1fr;
    /* Fixed width for phone container to prevent squishing */
    align-items: center;
    gap: var(--spacing-xl);
    position: relative;
    z-index: 2;
}

/* Feature Cards - Clean Light Cards */
.app-feature-item {
    background: white;
    border: 1px solid var(--color-border);
    padding: var(--spacing-md);
    border-radius: var(--radius-lg);
    margin-bottom: var(--spacing-lg);
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    transition: all var(--transition-normal);
    cursor: default;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.02);
}

/* Left Column Alignment for Symmetry (Desktop Only) */


.app-feature-item:hover {
    background: white;
    border-color: var(--color-border);
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.08);
    /* Stronger shadow on hover for lift */
}

.app-feature-item:last-child {
    margin-bottom: 0;
}

.app-feature-icon {
    width: 50px;
    height: 50px;
    background: var(--color-bg-alt);
    border: 1px solid var(--color-border);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-primary);
    font-size: 1.25rem;
    flex-shrink: 0;
    transition: all var(--transition-normal);
}

.app-feature-item.active {
    background: white;
    border-color: var(--color-primary);
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.08);
}

.app-feature-item.active .app-feature-icon {
    background: var(--color-primary);
    color: white;
    box-shadow: 0 4px 10px rgba(10, 37, 64, 0.2);
}

.app-feature-item:hover .app-feature-icon {
    background: var(--color-primary);
    color: white;
    box-shadow: 0 4px 10px rgba(10, 37, 64, 0.2);
}

.app-feature-content h4 {
    margin-bottom: 0.25rem;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--color-primary);
}

.app-feature-content p {
    font-size: 0.9rem;
    color: var(--color-text-light);
    margin: 0;
    line-height: 1.5;
}

.phone-mockup-container {
    display: flex;
    justify-content: center;
    position: relative;
    z-index: 5;
}

/* Responsive adjustments for features */
@media (max-width: 1024px) {
    .app-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-xxl);
    }

    .phone-mockup-container {
        order: -1;
        margin-bottom: var(--spacing-lg);
    }

    .feature-block,
    .feature-block:nth-child(even) {
        flex-direction: column;
    }
}