/* ============================================
   SAGA LANDING PAGE STYLES
   Advanced visuals, animations, and transitions
   Color Scheme: Green (#81c408) & White
   ============================================ */

/* ==================== ROOT VARIABLES ==================== */
:root {
    --saga-green: #81c408;
    --saga-green-dark: #6ba506;
    --saga-green-light: #a4d65e;
    --saga-green-pale: #f0f7e6;
    --saga-white: #FFFFFF;
    --saga-off-white: #F9FBF9;
    --saga-gray-light: #F5F7F5;
    --saga-gray: #6B7280;
    --saga-gray-dark: #374151;
    --saga-black: #1A1A1A;
    
    --gradient-primary: linear-gradient(135deg, #81c408 0%, #6ba506 100%);
    --gradient-light: linear-gradient(135deg, #f0f7e6 0%, #e0efc6 100%);
    --gradient-hero: linear-gradient(135deg, rgba(129, 196, 8, 0.05) 0%, rgba(255, 255, 255, 0.9) 50%, rgba(129, 196, 8, 0.03) 100%);
    
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.15);
    --shadow-green: 0 10px 30px rgba(129, 196, 8, 0.3);
    
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
    
    --font-primary: 'Poppins', 'Open Sans', sans-serif;
    --font-heading: 'Raleway', sans-serif;
}

/* ==================== BASE STYLES ==================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
    max-width: 100vw;
    width: 100%;
}

body {
    font-family: var(--font-primary);
    color: var(--saga-gray-dark);
    line-height: 1.6;
    overflow-x: hidden;
    max-width: 100vw;
    width: 100%;
    position: relative;
    background: var(--saga-white);
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    color: var(--saga-black);
}

.gradient-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-badge {
    display: inline-block;
    padding: 8px 20px;
    background: var(--saga-green-pale);
    color: var(--saga-green);
    font-size: 0.85rem;
    font-weight: 600;
    border-radius: 50px;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

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

.section-subtitle {
    font-size: 1.1rem;
    color: var(--saga-gray);
    max-width: 700px;
    margin: 0 auto 3rem;
}

/* ==================== BUTTONS ==================== */
.btn {
    font-family: var(--font-primary);
    font-weight: 600;
    padding: 12px 28px;
    border-radius: 50px;
    transition: all var(--transition-normal);
    border: 2px solid transparent;
}

.btn-primary {
    background: var(--gradient-primary);
    border-color: var(--saga-green);
    color: white;
    box-shadow: var(--shadow-green);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(129, 196, 8, 0.4);
    background: linear-gradient(135deg, #4FC333 0%, #3A9E25 100%);
    border-color: #4FC333;
}

.btn-outline-primary {
    background: transparent;
    border-color: var(--saga-green);
    color: var(--saga-green);
}

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

.btn-outline-secondary {
    background: transparent;
    border-color: var(--saga-gray);
    color: var(--saga-gray-dark);
}

.btn-outline-secondary:hover {
    background: var(--saga-gray-light);
    border-color: var(--saga-gray);
}

.btn-light {
    background: white;
    color: var(--saga-green);
    border-color: white;
}

.btn-light:hover {
    background: var(--saga-green-pale);
    color: var(--saga-green-dark);
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.btn-lg {
    padding: 18px 48px;
    font-size: 1.15rem;
    font-weight: 600;
}

.pulse-btn {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% {
        box-shadow: 0 10px 30px rgba(129, 196, 8, 0.3);
    }
    50% {
        box-shadow: 0 10px 50px rgba(129, 196, 8, 0.5);
    }
}

/* ==================== NAVIGATION ==================== */
.navbar {
    padding: 1rem 0;
    transition: all var(--transition-normal);
    background: transparent;
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    padding: 0.5rem 0;
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-img {
    max-height: 125px;
    max-width: 125px;
    width: auto;
    height: auto;
    transition: transform var(--transition-normal);
}

.navbar-brand:hover .logo-img {
    transform: scale(1.15);
}

.brand-text {
    font-family: 'Poppins', 'Montserrat', sans-serif;
    font-size: 2.8rem;
    font-weight: 500;
    color: #82c30d;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-left: 2px;
    line-height: 1;
    transition: all var(--transition-normal);
}

.navbar-brand:hover .brand-text {
    transform: scale(1.02);
    text-shadow: 0 2px 10px rgba(130, 195, 13, 0.3);
}

.navbar-nav .nav-link {
    font-weight: 500;
    color: var(--saga-gray-dark);
    padding: 0.5rem 1rem;
    position: relative;
}

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--saga-green);
    transition: all var(--transition-normal);
    transform: translateX(-50%);
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
    width: 60%;
}

.navbar-nav .nav-link:hover {
    color: var(--saga-green);
}

.nav-cta {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Mobile and Tablet Navbar Styles */
@media (max-width: 991.98px) {
    .navbar-collapse {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        border-radius: 0 0 15px 15px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
        padding: 1.5rem;
        margin-top: 0;
    }
    
    .navbar-nav {
        flex-direction: column;
        align-items: flex-start;
        gap: 0;
    }
    
    .navbar-nav .nav-item {
        width: 100%;
    }
    
    .navbar-nav .nav-link {
        padding: 0.75rem 0;
        border-bottom: 1px solid #f0f0f0;
        width: 100%;
    }
    
    .navbar-nav .nav-link::after {
        display: none;
    }
    
    .navbar-nav .nav-item:last-child .nav-link {
        border-bottom: none;
    }
    
    .nav-cta {
        flex-direction: column;
        width: 100%;
        margin-top: 1rem;
        padding-top: 1rem;
        border-top: 1px solid #f0f0f0;
        gap: 0.75rem;
    }
    
    .nav-cta .btn {
        width: 100%;
        justify-content: center;
        margin: 0;
    }
    
    .navbar-toggler {
        border: none;
        padding: 0.5rem;
        background: transparent;
    }
    
    .navbar-toggler:focus {
        box-shadow: none;
        outline: none;
    }
    
    .navbar-toggler-icon {
        background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%2381c408' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
    }
    
    .navbar.scrolled .navbar-collapse {
        background: white;
    }
}

@media (max-width: 575.98px) {
    .navbar-brand .brand-text {
        font-size: 2rem;
    }
    
    .logo-img {
        max-height: 80px;
        max-width: 80px;
    }
    
    .navbar {
        padding: 0.5rem 0;
    }
    
    .nav-cta .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
}

/* ==================== HERO SECTION ==================== */
.hero-section {
    min-height: 100vh;
    background: var(--gradient-hero);
    position: relative;
    overflow: hidden;
    padding-top: 160px;
    padding-bottom: 40px;
}

.hero-section > .container > .row {
    min-height: calc(100vh - 280px);
}

.hero-background {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.floating-elements {
    position: absolute;
    inset: 0;
}

.float-item {
    position: absolute;
    font-size: 2rem;
    color: var(--saga-green-light);
    opacity: 0.3;
    animation: float 6s ease-in-out infinite;
}

.float-1 { top: 15%; left: 10%; animation-delay: 0s; }
.float-2 { top: 25%; right: 15%; animation-delay: 1s; }
.float-3 { top: 60%; left: 5%; animation-delay: 2s; }
.float-4 { top: 70%; right: 8%; animation-delay: 0.5s; }
.float-5 { top: 40%; left: 15%; animation-delay: 1.5s; }
.float-6 { bottom: 20%; right: 20%; animation-delay: 2.5s; }

@keyframes float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(10deg); }
}

.hero-badge {
    display: inline-block;
    padding: 10px 20px;
    background: var(--saga-green-pale);
    color: var(--saga-green);
    font-size: 0.9rem;
    font-weight: 600;
    border-radius: 50px;
    margin-bottom: 1.5rem;
    animation: slideInDown 0.8s ease;
}

.hero-title {
    font-size: 3.8rem;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 1.5rem;
    animation: slideInUp 0.8s ease;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--saga-gray);
    margin-bottom: 2rem;
    max-width: 500px;
    animation: slideInUp 0.8s ease 0.2s both;
}

.hero-cta {
    margin-bottom: 2rem;
    animation: slideInUp 0.8s ease 0.4s both;
}

.hero-stats {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    animation: slideInUp 0.8s ease 0.6s both;
    flex-wrap: wrap;
    position: relative;
    z-index: 5;
}

.stat-item {
    text-align: center;
    min-width: 0;
}

.stat-number {
    display: inline;
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--saga-green);
    line-height: 1;
}

.stat-suffix {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--saga-green);
}

.stat-label {
    display: block;
    font-size: 0.9rem;
    color: var(--saga-gray);
    margin-top: 0.25rem;
    white-space: nowrap;
}

.stat-divider {
    width: 1px;
    height: 35px;
    background: var(--saga-gray-light);
}

/* Hero Visual */
.hero-visual {
    position: relative;
    height: 100%;
}

/* Glowing Aura Behind Phone */
.hero-visual::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: min(450px, 90vw);
    height: min(450px, 90vw);
    background: radial-gradient(circle, rgba(67, 176, 42, 0.7) 0%, rgba(67, 176, 42, 0.4) 40%, transparent 70%);
    border-radius: 50%;
    z-index: 0;
    animation: glowPulse 2.5s ease-in-out infinite, glowFlicker 3.5s ease-in-out infinite;
    filter: blur(50px);
    pointer-events: none;
}

@keyframes glowPulse {
    0%, 100% {
        opacity: 0.6;
        transform: translate(-50%, -50%) scale(1);
    }
    25% {
        opacity: 0.9;
        transform: translate(-50%, -50%) scale(1.15);
    }
    50% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1.2);
    }
    75% {
        opacity: 0.8;
        transform: translate(-50%, -50%) scale(1.1);
    }
}

@keyframes glowFlicker {
    0%, 100% {
        opacity: 0.6;
        filter: blur(40px) brightness(1);
    }
    5% {
        opacity: 1;
        filter: blur(40px) brightness(1.5);
    }
    10% {
        opacity: 0.7;
        filter: blur(40px) brightness(1);
    }
    15% {
        opacity: 0.9;
        filter: blur(40px) brightness(1.3);
    }
    20% {
        opacity: 0.5;
        filter: blur(40px) brightness(0.9);
    }
    30% {
        opacity: 1;
        filter: blur(40px) brightness(1.6);
    }
    35% {
        opacity: 0.8;
        filter: blur(40px) brightness(1.1);
    }
    50% {
        opacity: 1;
        filter: blur(40px) brightness(1.8);
    }
    55% {
        opacity: 0.6;
        filter: blur(40px) brightness(1);
    }
    70% {
        opacity: 0.9;
        filter: blur(40px) brightness(1.4);
    }
    80% {
        opacity: 0.5;
        filter: blur(40px) brightness(0.9);
    }
    85% {
        opacity: 1;
        filter: blur(40px) brightness(1.7);
    }
    90% {
        opacity: 0.8;
        filter: blur(40px) brightness(1.2);
    }
}

.phone-mockup {
    position: relative;
    width: 300px;
    height: 600px;
    background: linear-gradient(145deg, #1a1a1a 0%, #2d2d2d 100%);
    border-radius: 40px;
    padding: 10px;
    box-shadow: var(--shadow-lg), 0 0 80px rgba(67, 176, 42, 0.5), 0 0 120px rgba(67, 176, 42, 0.3);
    margin: 0 auto;
    animation: floatPhone 4s ease-in-out infinite;
    z-index: 1;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.phone-mockup:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: var(--shadow-lg), 0 0 100px rgba(67, 176, 42, 0.7), 0 0 150px rgba(67, 176, 42, 0.4);
}

@keyframes floatPhone {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

.phone-screen {
    background: white;
    border-radius: 30px;
    height: 100%;
    padding: 20px;
    overflow: hidden;
}

.app-preview {
    height: 100%;
}

.app-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}

.app-logo {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.9rem;
    font-weight: 700;
}

.app-logo img {
    width: 24px;
    height: 24px;
    border-radius: 6px;
}

.app-greeting {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--saga-gray-dark);
}

.app-search {
    background: var(--saga-gray-light);
    padding: 14px 18px;
    border-radius: 25px;
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.app-search i {
    color: var(--saga-gray);
    font-size: 1.1rem;
}

.app-search span {
    color: var(--saga-gray-dark);
    font-size: 1rem;
    font-weight: 500;
}

/* Voice-Active Search Bar */
.app-search.voice-active {
    background: var(--saga-green-pale);
    border: 2px solid var(--saga-green);
    box-shadow: 0 0 20px rgba(67, 176, 42, 0.3), 0 4px 12px rgba(0, 0, 0, 0.1);
}

.app-search.voice-active i {
    color: var(--saga-green);
    animation: micPulse 0.8s ease-in-out infinite;
    font-size: 1.2rem;
}

.app-search.voice-active span {
    color: var(--saga-green-dark);
    font-weight: 600;
}

/* Slide-in animation for hero command */
.hero-command,
.app-search span {
    opacity: 0;
    transform: translateX(30px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.hero-command.is-visible,
.app-search span.is-visible {
    opacity: 1;
    transform: translateX(0);
}

@keyframes micPulse {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.2);
        opacity: 0.7;
    }
}

.app-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.app-card {
    background: var(--saga-green-pale);
    padding: 15px;
    border-radius: 15px;
    animation: cardPulse 2s ease-in-out infinite;
}

.app-card i {
    font-size: 1.5rem;
    color: var(--saga-green);
    margin-bottom: 8px;
}

.app-card span {
    display: block;
    font-size: 0.8rem;
    color: var(--saga-gray-dark);
}

.card-1 { animation-delay: 0s; }
.card-2 { animation-delay: 0.5s; }
.card-3 { animation-delay: 1s; }
.card-4 { animation-delay: 1.5s; }

@keyframes cardPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.02); }
}

/* Floating Notifications */
.floating-notification {
    position: absolute;
    background: white;
    padding: 12px 18px;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15), 0 0 20px rgba(67, 176, 42, 0.2);
    font-size: 0.95rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 10px;
    animation: floatNotif 3s ease-in-out infinite;
    z-index: 2;
    border: 1px solid rgba(67, 176, 42, 0.1);
}

.floating-notification i {
    color: var(--saga-green);
    font-size: 1.1rem;
}

/* Slide-in animation for notifications */
.floating-notification .hero-notif {
    opacity: 0;
    transform: translateX(30px);
    transition: opacity 0.25s ease, transform 0.25s ease;
}

.floating-notification .hero-notif.is-visible {
    opacity: 1;
    transform: translateX(0);
}

.notif-1 {
    top: 20%;
    right: -20px;
    animation-delay: 0s;
}

.notif-2 {
    top: 50%;
    left: -30px;
    animation-delay: 1s;
}

.notif-3 {
    bottom: 25%;
    right: -10px;
    animation-delay: 2s;
}

/* Hide floating notifications on small mobile to prevent overflow */
@media (max-width: 575.98px) {
    .floating-notification {
        display: none;
    }
}

@keyframes floatNotif {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* Hero Wave */
.hero-wave {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    z-index: 1;
    pointer-events: none;
}

.hero-wave svg {
    display: block;
    width: 100%;
    height: auto;
}

/* ==================== RETAILERS SECTION ==================== */
.retailers-section {
    padding: 1.5rem 0 2.5rem;
    background: var(--saga-gray-light);
}

.retailers-label {
    text-align: center;
    font-size: 0.9rem;
    color: var(--saga-gray);
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.retailers-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 2rem;
}

.retailer-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    opacity: 0.7;
    transition: all var(--transition-normal);
    cursor: pointer;
}

.retailer-logo {
    width: 60px;
    height: 60px;
    object-fit: contain;
    transition: all var(--transition-normal);
}

.retailer-name {
    font-size: 0.75rem;
    color: var(--saga-gray);
}

.retailer-item:hover {
    opacity: 1;
    transform: translateY(-5px);
}

.retailer-item:hover .retailer-logo {
    transform: scale(1.2);
}

.retailer-item:hover .retailer-name {
    color: var(--saga-green);
}

/* ==================== FEATURES SECTION ==================== */
.features-section {
    padding: 2rem 0;
    background: white;
}

.section-header {
    margin-bottom: 2.5rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
}

.feature-card {
    background: white;
    padding: 1.25rem;
    border-radius: 16px;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: transform var(--transition-normal);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-large {
    grid-column: span 2;
    grid-row: span 2;
    padding: 1.5rem;
}

.feature-icon-wrapper {
    width: 45px;
    height: 45px;
    background: var(--saga-green-pale);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    transition: all var(--transition-normal);
}

.feature-icon-wrapper i {
    font-size: 1.15rem;
    color: var(--saga-green);
}

.feature-icon-wrapper.gradient-bg {
    background: var(--gradient-primary);
}

.feature-icon-wrapper.gradient-bg i {
    color: white;
}

.feature-card:hover .feature-icon-wrapper {
    transform: scale(1.1);
}

.feature-card h3 {
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.feature-card p {
    color: var(--saga-gray);
    font-size: 0.85rem;
    line-height: 1.5;
    margin-bottom: 0;
}

.feature-list {
    list-style: none;
    padding: 0;
    margin-top: 1rem;
    margin-bottom: 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.feature-list li {
    padding: 0.6rem 0.85rem;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--saga-gray-dark);
    font-size: 0.85rem;
    background: linear-gradient(135deg, #f0fdf4 0%, #e8f5e9 100%);
    border-radius: 8px;
    border-left: 3px solid var(--saga-green);
    font-weight: 500;
    font-style: italic;
    transition: all 0.2s ease;
}

.feature-list li:hover {
    background: linear-gradient(135deg, #e8f5e9 0%, #dcfce7 100%);
    transform: translateX(5px);
    border-left-color: var(--saga-green-dark);
}

.feature-list li i {
    color: var(--saga-green);
    font-size: 0.75rem;
    min-width: 16px;
}

/* ==================== FLOWCHART SECTION ==================== */
.flowchart-section {
    padding: 3rem 0;
    background: var(--saga-off-white);
    position: relative;
    overflow: hidden;
}

.flowchart-bg-pattern {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(var(--saga-green-pale) 1px, transparent 1px);
    background-size: 30px 30px;
    opacity: 0.5;
}

.flowchart-container {
    position: relative;
    min-height: 500px;
    margin: 3rem 0;
}

.flowchart-svg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.flow-line {
    stroke-dasharray: 1000;
    stroke-dashoffset: 1000;
    animation: drawLine 2s ease forwards;
}

@keyframes drawLine {
    to {
        stroke-dashoffset: 0;
    }
}

.pulse-circle {
    animation: pulseCircle 2s ease-in-out infinite;
}

@keyframes pulseCircle {
    0%, 100% { r: 6; opacity: 1; }
    50% { r: 10; opacity: 0.5; }
}

/* Flow Nodes */
.flow-nodes {
    position: relative;
    height: 100%;
}

.flow-node {
    position: absolute;
    background: white;
    padding: 1.5rem;
    border-radius: 20px;
    box-shadow: var(--shadow-md);
    max-width: 220px;
    text-align: center;
    transition: all var(--transition-normal);
    z-index: 2;
}

.flow-node:hover {
    transform: translateY(-10px) scale(1.05);
    box-shadow: var(--shadow-lg);
    z-index: 3;
}

.node-icon {
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}

.node-icon i {
    font-size: 1.25rem;
    color: white;
}

.node-content h4 {
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.node-content p {
    font-size: 0.85rem;
    color: var(--saga-gray);
    margin: 0;
}

.node-number {
    position: absolute;
    top: -10px;
    right: -10px;
    width: 30px;
    height: 30px;
    background: var(--saga-green);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    font-weight: 700;
    box-shadow: 0 3px 10px rgba(129, 196, 8, 0.3);
}

/* Node Positions */
.node-1 { top: 10%; left: 5%; }
.node-2 { top: 10%; left: 38%; }
.node-3 { top: 10%; right: 5%; }
.node-4 { bottom: 15%; right: 15%; }
.node-5 { bottom: 15%; left: 15%; }

/* ==================== SIMPLE CYCLE FLOWCHART STYLES ==================== */
/* Two-Column Layout for Cycle */
.cycle-two-column-layout {
    display: flex;
    gap: 5rem;
    align-items: center;
    justify-content: center;
    max-width: 1400px;
    margin: 0 auto;
    padding: 3rem 3rem 3rem 7rem;
}

.cycle-column-left {
    flex: 0 0 40%;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    padding-left: 4rem;
}

.cycle-column-right {
    flex: 0 0 60%;
    display: flex;
    align-items: center;
    padding-left: 2rem;
}

.cycle-container {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.cycle-wrapper {
    position: relative;
    width: 460px;
    height: 460px;
    flex-shrink: 0;
}

.cycle-svg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    animation: rotateSVG 20s linear infinite;
}

@keyframes rotateSVG {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.arrow-path {
    stroke-linecap: round;
}

/* Center SAGA Logo */
.cycle-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 130px;
    height: 130px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 40px rgba(129, 196, 8, 0.4), 0 0 80px rgba(129, 196, 8, 0.2);
    z-index: 10;
}

.cycle-logo {
    width: 78px;
    height: 78px;
    object-fit: contain;
}

/* Remove tagline styling as it's no longer used */
.cycle-tagline {
    display: none;
}

/* Cycle Nodes */
.cycle-node {
    position: absolute;
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 5;
    transition: all 0.3s ease;
}

.cycle-node-icon {
    width: 82px;
    height: 82px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    border: 4px solid var(--saga-green);
    transition: all 0.3s ease;
    position: relative;
}

.cycle-node-icon i {
    font-size: 1.9rem;
    color: var(--saga-green);
    transition: all 0.3s ease;
}

.cycle-node-label {
    position: absolute;
    font-size: 1rem;
    font-weight: 700;
    color: var(--saga-gray-dark);
    text-align: center;
    white-space: nowrap;
    line-height: 1.2;
    transition: all 0.3s ease;
}

.cycle-node-step {
    position: absolute;
    top: -5px;
    right: -5px;
    width: 22px;
    height: 22px;
    background: var(--saga-green);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    font-weight: 700;
    border: 2px solid white;
    z-index: 10;
}

.cycle-node:hover .cycle-node-icon {
    transform: scale(1.1);
    box-shadow: 0 8px 25px rgba(129, 196, 8, 0.3);
}

.cycle-node:hover .cycle-node-label {
    color: var(--saga-green);
}

/* Position nodes around the circle - pentagon layout (clockwise from top) */
/* Node 1: Top center (12 o'clock) - Shop - Label ABOVE */
.cycle-node-1 {
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
}
.cycle-node-1 .cycle-node-label {
    bottom: calc(100% + 12px);
    left: 50%;
    transform: translateX(-50%);
}

/* Node 2: Top right (2 o'clock position) - Pantry - Label to the RIGHT */
.cycle-node-2 {
    top: 18%;
    right: -25px;
}
.cycle-node-2 .cycle-node-label {
    left: calc(100% + 15px);
    top: 50%;
    transform: translateY(-50%);
    text-align: left;
}

/* Node 3: Bottom right (4 o'clock position) - Plan - Label BELOW */
.cycle-node-3 {
    bottom: 8%;
    right: 8%;
}
.cycle-node-3 .cycle-node-label {
    top: calc(100% + 12px);
    left: 50%;
    transform: translateX(-50%);
}

/* Node 4: Bottom left (8 o'clock position) - Track - Label BELOW */
.cycle-node-4 {
    bottom: 8%;
    left: 8%;
}
.cycle-node-4 .cycle-node-label {
    top: calc(100% + 12px);
    left: 50%;
    transform: translateX(-50%);
}

/* Node 5: Top left (10 o'clock position) - Cook - Label to the LEFT */
.cycle-node-5 {
    top: 18%;
    left: -25px;
}
.cycle-node-5 .cycle-node-label {
    right: calc(100% + 15px);
    top: 50%;
    transform: translateY(-50%);
    text-align: right;
}

/* ==================== ECOSYSTEM CYCLE LAYOUT ==================== */
.ecosystem-cycle-layout {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem 0;
    position: relative;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
}

.ecosystem-side {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    flex: 0 0 260px;
    max-width: 260px;
}

.ecosystem-left {
    align-items: flex-start;
    padding-left: 0;
}

.ecosystem-right {
    align-items: flex-start;
    padding-right: 0;
}

/* Ecosystem Mini Cards */
.eco-mini-card {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    background: white;
    padding: 1.25rem;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid rgba(129, 196, 8, 0.1);
    position: relative;
    overflow: hidden;
}

.eco-mini-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--gradient-primary);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.eco-mini-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(129, 196, 8, 0.15);
    border-color: rgba(129, 196, 8, 0.3);
}

.eco-mini-card:hover::before {
    opacity: 1;
}

.eco-mini-icon {
    width: 45px;
    height: 45px;
    min-width: 45px;
    background: var(--saga-green-pale);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.eco-mini-icon i {
    font-size: 1.1rem;
    color: var(--saga-green);
    transition: all 0.3s ease;
}

.eco-mini-card:hover .eco-mini-icon {
    background: var(--gradient-primary);
    transform: scale(1.1);
}

.eco-mini-card:hover .eco-mini-icon i {
    color: white;
}

.eco-mini-content {
    flex: 1;
}

.eco-mini-content h5 {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--saga-gray-dark);
    margin: 0 0 0.35rem 0;
    line-height: 1.3;
}

.eco-mini-content p {
    font-size: 0.8rem;
    color: var(--saga-gray);
    margin: 0;
    line-height: 1.5;
}

/* Responsive Adjustments for Ecosystem Layout */
@media (max-width: 1200px) {
    .ecosystem-side {
        flex: 0 0 240px;
        max-width: 240px;
    }
    
    .eco-mini-card {
        padding: 1rem;
    }
    
    .eco-mini-icon {
        width: 40px;
        height: 40px;
        min-width: 40px;
    }
    
    .eco-mini-content h5 {
        font-size: 0.85rem;
    }
    
    .eco-mini-content p {
        font-size: 0.75rem;
    }
}

@media (max-width: 992px) {
    .ecosystem-cycle-layout {
        flex-direction: column;
        gap: 3rem;
    }
    
    .ecosystem-side {
        flex: none;
        max-width: 100%;
        width: 100%;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        gap: 1rem;
    }
    
    .ecosystem-left,
    .ecosystem-right {
        align-items: stretch;
    }
    
    .ecosystem-left {
        order: 2;
    }
    
    .cycle-container {
        order: 1;
    }
    
    .ecosystem-right {
        order: 3;
    }
    
    .eco-mini-card {
        flex: 1 1 calc(50% - 0.5rem);
        max-width: calc(50% - 0.5rem);
        min-width: 280px;
    }
}

@media (max-width: 768px) {
    .eco-mini-card {
        flex: 1 1 100%;
        max-width: 100%;
    }
}

/* Flow Description Cards */
.flow-description-cards {
    margin-top: 3rem;
}

.description-card {
    background: white;
    padding: 1.5rem;
    border-radius: 15px;
    box-shadow: var(--shadow-sm);
    height: 100%;
    transition: all var(--transition-normal);
}

.description-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.description-card .card-icon {
    width: 50px;
    height: 50px;
    background: var(--saga-green-pale);
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-right: 0.75rem;
    margin-bottom: 0;
    vertical-align: middle;
}

.description-card .card-icon i {
    font-size: 1.25rem;
    color: var(--saga-green);
}

.description-card h4 {
    font-size: 1rem;
    margin-bottom: 0.5rem;
    display: inline-block;
    vertical-align: middle;
}

.description-card p {
    font-size: 0.85rem;
    color: var(--saga-gray);
    margin: 0;
}

/* ==================== BENEFITS SECTION ==================== */
.benefits-section {
    padding: 6rem 0;
    background: white;
}

.benefits-image {
    position: relative;
    height: 100%;
}

.benefit-visual {
    position: relative;
    height: 450px;
}

.visual-card {
    position: absolute;
    background: white;
    padding: 1.25rem;
    border-radius: 15px;
    box-shadow: var(--shadow-md);
    display: flex;
    align-items: center;
    gap: 12px;
    animation: floatCard 3s ease-in-out infinite;
}

.visual-card .card-icon {
    width: 45px;
    height: 45px;
    background: var(--saga-green-pale);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.visual-card .card-icon i {
    font-size: 1.2rem;
    color: var(--saga-green);
}

.visual-card .card-value {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--saga-green);
    line-height: 1;
}

.visual-card .card-label {
    font-size: 0.8rem;
    color: var(--saga-gray);
    margin-top: 2px;
}

.card-savings { top: 10%; left: 10%; animation-delay: 0s; }
.card-time { top: 40%; right: 5%; animation-delay: 0.5s; }
.card-health { bottom: 10%; left: 20%; animation-delay: 1s; }

@keyframes floatCard {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.visual-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.center-circle {
    width: 150px;
    height: 150px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
    box-shadow: var(--shadow-green);
}

.center-circle i {
    font-size: 2.5rem;
    margin-bottom: 5px;
}

.center-circle span {
    font-weight: 600;
    font-size: 0.9rem;
}

/* Benefits Content */
.benefits-content {
    padding-left: 2rem;
}

.benefit-item {
    display: flex;
    gap: 1.25rem;
    margin-bottom: 2rem;
}

.benefit-icon {
    width: 50px;
    height: 50px;
    background: var(--saga-green-pale);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all var(--transition-normal);
}

.benefit-icon i {
    font-size: 1.25rem;
    color: var(--saga-green);
}

.benefit-item:hover .benefit-icon {
    background: var(--gradient-primary);
}

.benefit-item:hover .benefit-icon i {
    color: white;
}

.benefit-text h4 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.benefit-text p {
    color: var(--saga-gray);
    font-size: 0.95rem;
    margin: 0;
}

/* ==================== STEPS SECTION ==================== */
.steps-section {
    padding: 2.5rem 0 1.5rem;
    background: var(--saga-gray-light);
}

.steps-timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.timeline-line {
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 3px;
    background: rgba(129, 196, 8, 0.15);
    border-radius: 999px;
    transform: translateX(-50%);
}

.step-item {
    display: flex;
    align-items: center;
    margin-bottom: 3rem;
    position: relative;
}

.step-item:nth-child(even) {
    flex-direction: row-reverse;
}

.step-number {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    font-weight: 700;
    z-index: 2;
    box-shadow: var(--shadow-green);
}

.step-content {
    width: 45%;
    background: white;
    padding: 1.5rem;
    border-radius: 15px;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-normal);
}

.step-item:nth-child(odd) .step-content {
    margin-right: auto;
    text-align: right;
}

.step-item:nth-child(even) .step-content {
    margin-left: auto;
    text-align: left;
}

.step-content:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.step-icon {
    width: 45px;
    height: 45px;
    background: var(--saga-green-pale);
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-right: 0.75rem;
    margin-bottom: 0;
    vertical-align: middle;
}

.step-icon i {
    font-size: 1.2rem;
    color: var(--saga-green);
}

.step-content h3 {
    font-size: 1.15rem;
    margin-bottom: 0.5rem;
    display: inline-block;
    vertical-align: middle;
}

.step-content p {
    color: var(--saga-gray);
    font-size: 0.9rem;
    margin: 0;
}

/* ==================== TESTIMONIALS SECTION ==================== */
.testimonials-section {
    padding: 6rem 0;
    background: white;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 3rem;
}

.testimonial-card {
    background: white;
    padding: 2rem;
    border-radius: 20px;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-normal);
}

.testimonial-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.testimonial-card.featured {
    background: var(--gradient-primary);
    color: white;
    transform: scale(1.05);
}

.testimonial-card.featured:hover {
    transform: scale(1.05) translateY(-10px);
}

.testimonial-badge {
    display: inline-block;
    padding: 5px 12px;
    background: rgba(255, 255, 255, 0.2);
    color: white;
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: 20px;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.testimonial-rating {
    margin-bottom: 1rem;
}

.testimonial-rating i {
    color: #FFD700;
    font-size: 0.9rem;
}

.testimonial-text {
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
    font-style: italic;
}

.testimonial-card.featured .testimonial-text {
    color: rgba(255, 255, 255, 0.95);
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.author-avatar {
    width: 50px;
    height: 50px;
    background: var(--saga-green-pale);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.author-avatar i {
    font-size: 1.25rem;
    color: var(--saga-green);
}

.testimonial-card.featured .author-avatar {
    background: rgba(255, 255, 255, 0.2);
}

.testimonial-card.featured .author-avatar i {
    color: white;
}

.author-name {
    font-weight: 600;
    font-size: 0.95rem;
    margin-bottom: 2px;
}

.author-role {
    font-size: 0.8rem;
    color: var(--saga-gray);
    margin: 0;
}

/* Trust Indicators */
.trust-indicators {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 3rem;
    padding: 2rem;
    background: var(--saga-gray-light);
    border-radius: 20px;
}

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

.trust-value {
    font-size: 2rem;
    font-weight: 800;
    color: var(--saga-green);
    line-height: 1;
}

.trust-label {
    font-size: 0.9rem;
    color: var(--saga-gray);
    margin-top: 0.5rem;
}

.trust-divider {
    width: 1px;
    height: 50px;
    background: var(--saga-gray-light);
}

/* ==================== COINS SECTION ==================== */
.coins-section {
    padding: 6rem 0;
    background: var(--saga-green-pale);
}

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

.coin-stack {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.coin {
    width: 80px;
    height: 80px;
    background: linear-gradient(145deg, #FFD700, #FFA500);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 20px rgba(255, 215, 0, 0.4);
    animation: coinBounce 2s ease-in-out infinite;
}

.coin i {
    font-size: 2rem;
    color: white;
}

.coin-1 { animation-delay: 0s; }
.coin-2 { top: 20px; left: 30px; animation-delay: 0.3s; }
.coin-3 { top: 40px; left: 60px; animation-delay: 0.6s; }

@keyframes coinBounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.rewards-preview {
    position: absolute;
    bottom: 20%;
    right: 10%;
    background: white;
    padding: 1.5rem;
    border-radius: 15px;
    box-shadow: var(--shadow-md);
}

.reward-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 0;
    border-bottom: 1px solid var(--saga-gray-light);
}

.reward-coins {
    color: #FFD700;
    font-weight: 700;
    font-size: 1.1rem;
}

.reward-desc {
    font-size: 0.85rem;
    color: var(--saga-gray);
}

.section-description {
    font-size: 1rem;
    color: var(--saga-gray);
    margin-bottom: 2rem;
}

.earn-methods {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 2rem;
}

.earn-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 20px;
    background: white;
    border-radius: 50px;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-normal);
}

.earn-item:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.earn-item i {
    color: var(--saga-green);
    font-size: 1.1rem;
}

.earn-item:hover i {
    transform: scale(1.2);
}

.earn-item span {
    font-size: 0.9rem;
    font-weight: 500;
}

/* ==================== CTA SECTION ==================== */
.cta-section {
    padding: 5rem 0;
    background: var(--gradient-primary);
    position: relative;
    overflow: hidden;
}

.cta-background {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.cta-shape {
    position: absolute;
    border-radius: 50%;
}

.shape-1 {
    width: 200px;
    height: 200px;
    background: rgba(255, 255, 255, 0.1);
    top: -50px;
    left: -50px;
}


/* ==================== REDESIGN (2026) ADDITIONS ==================== */

/* Hero microproof + carousel fades */
.hero-microproof {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    margin-top: 1.5rem;
    position: relative;
    z-index: 10;
}

.microproof-item {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.75);
    border: 1px solid rgba(129, 196, 8, 0.18);
    padding: 10px 14px;
    border-radius: 14px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.04);
    backdrop-filter: blur(8px);
}

.microproof-item i {
    width: 26px;
    height: 26px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: rgba(129, 196, 8, 0.12);
    color: var(--saga-green-dark);
}

.hero-command,
.hero-notif {
    display: inline-block;
    opacity: 0;
    transform: translateY(4px);
    transition: opacity 0.25s ease, transform 0.25s ease;
}

.hero-command.is-visible,
.hero-notif.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Why SAGA */
.why-saga-section {
    padding: 40px 0 30px;
    background: linear-gradient(180deg, #ffffff 0%, #f8faf5 100%);
}

.why-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    align-items: stretch;
}

.why-card {
    border-radius: 24px;
    border: 1px solid rgba(0,0,0,0.06);
    background: #fff;
    box-shadow: var(--shadow-md);
    overflow: hidden;
    position: relative;
}

.why-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(900px 200px at 20% 0%, rgba(129,196,8,0.10), transparent 60%),
                radial-gradient(700px 220px at 80% 20%, rgba(107,165,6,0.08), transparent 55%);
    pointer-events: none;
}

.why-card-header {
    padding: 22px 22px 10px;
    position: relative;
    z-index: 1;
}

.why-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.7px;
    text-transform: uppercase;
    color: var(--saga-green-dark);
    background: rgba(129,196,8,0.10);
    border: 1px solid rgba(129,196,8,0.18);
    padding: 6px 12px;
    border-radius: 999px;
    margin-bottom: 10px;
}

.why-card h3 {
    margin: 0;
    font-size: 1.55rem;
}

.app-stack {
    padding: 0 22px 18px;
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    position: relative;
    z-index: 1;
}

.stack-card {
    display: grid;
    grid-template-columns: 38px 1fr;
    gap: 12px;
    align-items: center;
    padding: 14px 14px;
    border-radius: 16px;
    border: 1px solid rgba(0,0,0,0.07);
    background: rgba(255, 255, 255, 0.85);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.stack-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(0,0,0,0.08);
}

.stack-card i {
    width: 38px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: rgba(129,196,8,0.12);
    color: var(--saga-green-dark);
}

.stack-card span {
    font-weight: 700;
    color: var(--saga-black);
    display: block;
}

.stack-card small {
    display: block;
    color: var(--saga-gray);
    margin-top: 2px;
}

.why-foot {
    padding: 0 22px 22px;
    position: relative;
    z-index: 1;
}

.why-pain {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 14px;
    border-radius: 16px;
    background: rgba(26, 26, 26, 0.04);
    border: 1px solid rgba(26, 26, 26, 0.06);
}

.why-pain i {
    color: #d97706;
}

.why-card-saga {
    background: linear-gradient(180deg, rgba(129,196,8,0.05) 0%, #ffffff 60%);
}

.saga-os {
    position: relative;
    height: 360px;
    margin: 0 22px 18px;
    border-radius: 22px;
    border: 1px solid rgba(129,196,8,0.14);
    background: radial-gradient(600px 220px at 50% 0%, rgba(129,196,8,0.10), transparent 60%),
                linear-gradient(135deg, rgba(240,247,230,0.70), rgba(255,255,255,0.90));
    overflow: hidden;
}

.saga-os-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    padding: 16px 18px;
    border-radius: 18px;
    background: rgba(255,255,255,0.9);
    border: 1px solid rgba(129,196,8,0.18);
    box-shadow: 0 10px 30px rgba(0,0,0,0.10);
}

.saga-os-logo {
    width: 48px;
    height: 48px;
    object-fit: contain;
    margin-bottom: 6px;
}

.saga-os-title {
    font-weight: 900;
    letter-spacing: 1px;
    color: var(--saga-green-dark);
}

.saga-os-sub {
    color: var(--saga-gray);
    font-size: 0.9rem;
}

.saga-os-node {
    position: absolute;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 14px;
    border-radius: 16px;
    background: rgba(255,255,255,0.9);
    border: 1px solid rgba(0,0,0,0.06);
    box-shadow: 0 8px 22px rgba(0,0,0,0.08);
    font-weight: 700;
    color: var(--saga-black);
    transition: transform 0.25s ease;
}

.saga-os-node i {
    width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: rgba(129,196,8,0.12);
    color: var(--saga-green-dark);
}

.saga-os-node:hover {
    transform: translateY(-3px);
}

.node-shop { top: 18px; left: 20px; }
.node-pantry { top: 18px; right: 20px; }
.node-plan { bottom: 20px; left: 24px; }
.node-cook { bottom: 20px; right: 24px; }
.node-track { top: 50%; left: 18px; transform: translateY(-50%); }

.saga-os-lines {
    position: absolute;
    inset: 0;
    background:
      radial-gradient(circle at 20% 20%, rgba(129,196,8,0.18) 0 2px, transparent 3px),
      radial-gradient(circle at 80% 20%, rgba(129,196,8,0.18) 0 2px, transparent 3px),
      radial-gradient(circle at 20% 80%, rgba(129,196,8,0.18) 0 2px, transparent 3px),
      radial-gradient(circle at 80% 80%, rgba(129,196,8,0.18) 0 2px, transparent 3px);
    opacity: 0.55;
    pointer-events: none;
}

.why-cta-row {
    padding: 0 22px 22px;
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
}

/* Loop copy + orbit */
.loop-copy {
    text-align: left;
    max-width: 600px;
}

.loop-title {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
    line-height: 1.2;
    color: var(--saga-gray-dark);
}

.loop-desc {
    color: var(--saga-gray);
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.loop-hint {
    font-size: 1rem;
    color: rgba(55,65,81,0.75);
    font-style: italic;
}

.cycle-wrapper {
    position: relative;
}

/* Remove orbit styles - not used anymore */

.cycle-node.is-active .cycle-node-icon {
    background: var(--gradient-primary);
    transform: scale(1.15);
    box-shadow: 0 8px 30px rgba(129, 196, 8, 0.4);
}

.cycle-node.is-active .cycle-node-icon i {
    color: #fff;
}

.cycle-node.is-active .cycle-node-label {
    color: var(--saga-green);
    font-weight: 800;
}

/* Bento grid */
.bento-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 18px;
    margin-top: 20px;
}

.bento-card {
    grid-column: span 4;
    min-height: 210px;
    border-radius: 24px;
    border: 1px solid rgba(0,0,0,0.06);
    background: #fff;
    box-shadow: var(--shadow-md);
    overflow: hidden;
    position: relative;
}

.bento-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: var(--bg);
    background-size: cover;
    background-position: center;
    filter: saturate(1.05);
    transform: scale(1.02);
}

.bento-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0.18) 0%, rgba(0,0,0,0.55) 65%, rgba(0,0,0,0.65) 100%);
}

.bento-content {
    position: relative;
    z-index: 1;
    padding: 20px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    color: #fff;
}

.bento-content h3 {
    color: #fff;
    font-size: 1.65rem;
    margin-bottom: 8px;
}

.bento-content h4 {
    color: #fff;
    font-size: 1.25rem;
    margin-bottom: 6px;
}

.bento-content p {
    color: rgba(255,255,255,0.88);
    margin-bottom: 10px;
}

.bento-command {
    display: inline-block;
    align-items: center;
    font-size: 0.92rem;
    padding: 10px 12px;
    border-radius: 14px;
    border: 1px solid rgba(255,255,255,0.18);
    background: rgba(255,255,255,0.10);
    backdrop-filter: blur(8px);
    max-width: 100%;
}

.bento-command i {
    flex-shrink: 0;
}

.bento-command .saga-highlight {
    /* color: var(--saga-green); */
    font-weight: 700;
}

.bento-top {
    position: absolute;
    top: 16px;
    left: 16px;
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.bento-pill {
    display: inline-flex;
    align-items: center;
    font-size: 0.78rem;
    font-weight: 700;
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(255,255,255,0.18);
    border: 1px solid rgba(255,255,255,0.18);
    color: #fff;
}

.bento-pill-soft {
    background: rgba(129,196,8,0.20);
    border-color: rgba(129,196,8,0.24);
}

.bento-wide {
    grid-column: span 8;
    min-height: 260px;
}

.bento-highlight {
    grid-column: span 4;
    background: linear-gradient(135deg, rgba(129,196,8,0.12), rgba(255,255,255,0.92));
}

.bento-highlight::before,
.bento-highlight .bento-overlay {
    display: none;
}

.bento-highlight .bento-content {
    color: var(--saga-gray-dark);
    justify-content: center;
}

.bento-highlight .bento-content h4 {
    color: var(--saga-black);
}

.bento-highlight .bento-content p {
    color: var(--saga-gray);
}

.bento-icon {
    width: 56px;
    height: 56px;
    border-radius: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(129,196,8,0.14);
    color: var(--saga-green-dark);
    margin-bottom: 10px;
    font-size: 1.3rem;
}

/* Outcomes */
.outcomes-section {
    padding: 60px 0;
    background: #fff;
}

.outcomes-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.outcome {
    background: rgba(248, 250, 245, 0.8);
    border: 1px solid rgba(0,0,0,0.06);
    border-radius: 20px;
    padding: 22px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.06);
}

.outcome-icon {
    width: 52px;
    height: 52px;
    border-radius: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(129,196,8,0.14);
    color: var(--saga-green-dark);
    font-size: 1.2rem;
    margin-right: 0.75rem;
    margin-bottom: 0;
    vertical-align: middle;
}

.outcome h4 {
    font-size: 1.2rem;
    margin-bottom: 8px;
    display: inline-block;
    vertical-align: middle;
}

.outcome p {
    color: var(--saga-gray);
    margin: 0;
}

/* Community strip */
.community-strip {
    margin-top: 28px;
    border-radius: 24px;
    border: 1px solid rgba(0,0,0,0.06);
    background: linear-gradient(135deg, rgba(129,196,8,0.08), rgba(255,255,255,0.95));
    padding: 22px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    flex-wrap: wrap;
}

.community-left h3 {
    margin: 0 0 6px 0;
    font-size: 1.3rem;
}

.community-left p {
    margin: 0;
    color: var(--saga-gray);
}

.community-right {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

/* Motion accessibility */
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .pulse-btn,
    .cycle-svg {
        animation: none !important;
    }
    .hero-command,
    .hero-notif {
        transition: none !important;
    }
}

/* Responsive redesign */
@media (max-width: 992px) {
    .why-grid { grid-template-columns: 1fr; }
    .bento-wide { grid-column: span 12; }
    .bento-card { grid-column: span 6; }
    .outcomes-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 575.98px) {
    .bento-card { grid-column: span 12; }
    .outcomes-grid { grid-template-columns: 1fr; }
    .saga-os { height: 320px; }
    .node-track { display: none; }
}
.shape-2 {
    width: 150px;
    height: 150px;
    background: rgba(255, 255, 255, 0.05);
    bottom: -30px;
    right: 10%;
}

.shape-3 {
    width: 100px;
    height: 100px;
    background: rgba(255, 255, 255, 0.08);
    top: 20%;
    right: 20%;
}

.cta-content h2 {
    font-size: 2.5rem;
    color: white;
    margin-bottom: 1rem;
}

.cta-content p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
}

.cta-buttons {
    margin-bottom: 1.5rem;
}

.cta-note {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
}

/* ==================== FOOTER ==================== */
.landing-footer {
    padding: 4rem 0 0;
    background: var(--saga-black);
    color: rgba(255, 255, 255, 0.8);
}

.footer-top-section {
    padding-bottom: 2rem;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 0.5rem;
}

.footer-logo {
    height: 80px;
    width: 80px;
    object-fit: contain;
}

.footer-brand-text {
    font-family: 'Poppins', 'Montserrat', sans-serif;
    font-size: 2rem;
    font-weight: 500;
    color: #82c30d;
}

.footer-tagline {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.6);
    margin: 0;
}

.feedback-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    padding: 1.5rem;
    border: 1px solid rgba(129, 196, 8, 0.3);
}

.feedback-card h4 {
    color: #82c30d;
    font-family: 'Poppins', 'Montserrat', sans-serif;
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
    font-weight: 500;
}

.feedback-card p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 1rem;
    line-height: 1.6;
}

.feedback-btn {
    display: inline-block;
    padding: 8px 20px;
    background: var(--saga-green);
    color: white;
    border-radius: 25px;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    transition: all var(--transition-normal);
}

.feedback-btn:hover {
    background: var(--saga-green-dark);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(129, 196, 8, 0.3);
}

.footer-social-section {
    margin-bottom: 1rem;
}

.footer-social-section h3 {
    color: var(--saga-green);
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.footer-social-section p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 0;
    line-height: 1.6;
}

.footer-social {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.footer-social a {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: white;
    font-size: 1.1rem;
    transition: all var(--transition-normal);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.footer-social a:hover {
    background: var(--saga-green);
    border-color: var(--saga-green);
    transform: translateY(-3px);
}

.footer-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(129, 196, 8, 0.5), transparent);
    margin: 1rem 0 2rem;
}

.footer-main {
    padding-bottom: 2rem;
}

.footer-description {
    font-size: 0.9rem;
    margin-bottom: 1rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.7);
}

.read-more-link {
    display: inline-block;
    color: var(--saga-green);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    transition: all var(--transition-fast);
}

.read-more-link:hover {
    color: var(--saga-green-light);
    padding-left: 5px;
}

.footer-title {
    color: #82c30d;
    font-family: 'Poppins', 'Montserrat', sans-serif;
    font-size: 1.05rem;
    margin-bottom: 1.25rem;
    font-weight: 500;
}

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

.footer-links li {
    margin-bottom: 0.6rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 0.9rem;
    transition: all var(--transition-fast);
}

.footer-links a:hover {
    color: var(--saga-green);
    padding-left: 5px;
}

.footer-links.contact-info li {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

.footer-links.contact-info i {
    color: var(--saga-green);
}

.coming-soon-text {
    font-size: 0.85rem;
    margin-bottom: 1rem;
    color: rgba(255, 255, 255, 0.6);
}

.app-badges {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.app-badge {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 15px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.8);
}

.app-badge i {
    font-size: 1.2rem;
}

.app-badge.disabled {
    opacity: 0.5;
}

.footer-bottom {
    padding: 1.5rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(0, 0, 0, 0.2);
    width: 100%;
}

.footer-bottom p {
    margin-bottom: 0;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
}

.footer-bottom .designed-by {
    font-size: 0.8rem;
}

.footer-bottom .designed-by a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    transition: all var(--transition-fast);
}

.footer-bottom .designed-by a:hover {
    color: var(--saga-green);
    border-color: var(--saga-green);
}

/* ==================== ANIMATIONS ==================== */
@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ==================== RESPONSIVE DESIGN ==================== */
@media (max-width: 1200px) {
    .hero-title {
        font-size: 3.2rem;
    }
    
    .circular-flow-nodes {
        width: 450px;
        height: 450px;
    }
}

@media (max-width: 992px) {
    .hero-title {
        font-size: 2.8rem;
    }
    
    .hero-visual {
        margin-top: 3rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .feature-large {
        grid-column: span 2;
        grid-row: span 1;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .testimonial-card.featured {
        transform: none;
    }
    
    .trust-indicators {
        flex-wrap: wrap;
    }
    
    /* Cycle responsive - 992px */
    .cycle-wrapper {
        width: 380px;
        height: 380px;
    }
    
    .cycle-center {
        width: 100px;
        height: 100px;
    }
    
    .cycle-logo {
        width: 55px;
        height: 55px;
    }
    
    .cycle-node-icon {
        width: 60px;
        height: 60px;
    }
    
    .cycle-node-icon i {
        font-size: 1.3rem;
    }
    
    .cycle-node-label {
        font-size: 0.75rem;
        max-width: 80px;
    }
    
    .step-content {
        width: 42%;
    }
    
    .footer-social {
        justify-content: flex-start;
        margin-top: 1.5rem;
    }
    
    .feedback-card {
        margin-top: 1.5rem;
    }
}

@media (max-width: 768px) {
    .section-title {
        font-size: 2rem;
    }
    
    .hero-title {
        font-size: 2.2rem;
    }
    
    .hero-stats {
        flex-wrap: wrap;
        gap: 1.5rem;
    }
    
    .stat-divider {
        display: none;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .feature-large {
        grid-column: span 1;
    }
    
    .retailers-grid {
        gap: 1.5rem;
    }
    
    .retailer-logo {
        width: 45px;
        height: 45px;
    }
    
    /* Cycle responsive - 768px */
    .cycle-wrapper {
        width: 320px;
        height: 320px;
    }
    
    .cycle-center {
        width: 85px;
        height: 85px;
    }
    
    .cycle-logo {
        width: 45px;
        height: 45px;
    }
    
    .cycle-tagline {
        font-size: 0.6rem;
    }
    
    .cycle-node-icon {
        width: 50px;
        height: 50px;
    }
    
    .cycle-node-icon i {
        font-size: 1.1rem;
    }
    
    .cycle-node-label {
        font-size: 0.7rem;
        max-width: 70px;
    }
    
    .cycle-node-step {
        width: 18px;
        height: 18px;
        font-size: 0.6rem;
    }
    
    /* Adjust node positions for smaller screen */
    .cycle-node-1 {
        top: -10px;
    }
    
    .cycle-node-2 {
        top: 15%;
        right: -15px;
    }
    
    .cycle-node-3 {
        bottom: 5%;
        right: 5%;
    }
    
    .cycle-node-4 {
        bottom: 5%;
        left: 5%;
    }
    
    .cycle-node-5 {
        top: 15%;
        left: -15px;
    }
    
    .timeline-line {
        left: 20px;
    }
    
    .step-number {
        left: 20px;
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .step-content {
        width: calc(100% - 60px);
        margin-left: 60px !important;
        text-align: left !important;
    }
    
    .step-item:nth-child(odd) .step-content,
    .step-item:nth-child(even) .step-content {
        margin-left: 60px;
        margin-right: 0;
        text-align: left;
    }
    
    .benefits-content {
        padding-left: 0;
        margin-top: 2rem;
    }
    
    .trust-indicators {
        gap: 1.5rem;
    }
    
    .trust-divider {
        display: none;
    }
    
    .cta-content h2 {
        font-size: 2rem;
    }
    
    .phone-mockup {
        width: 240px;
        height: 480px;
    }
    
    .footer-bottom .row > div {
        margin-bottom: 0.5rem;
    }
    
    .footer-main > div {
        margin-bottom: 2rem;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 1.8rem;
    }
    
    .section-title {
        font-size: 1.7rem;
    }
    
    .hero-badge {
        font-size: 0.8rem;
        padding: 8px 16px;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .btn-lg {
        padding: 12px 24px;
        font-size: 0.95rem;
    }
    
    /* Cycle responsive - 576px (mobile) */
    .cycle-wrapper {
        width: 280px;
        height: 280px;
    }
    
    .cycle-center {
        width: 70px;
        height: 70px;
    }
    
    .cycle-logo {
        width: 38px;
        height: 38px;
    }
    
    .cycle-tagline {
        font-size: 0.5rem;
    }
    
    .cycle-node-icon {
        width: 42px;
        height: 42px;
    }
    
    .cycle-node-icon i {
        font-size: 0.95rem;
    }
    
    .cycle-node-label {
        display: none;
    }
    
    .cycle-node-step {
        width: 16px;
        height: 16px;
        font-size: 0.55rem;
    }
    
    /* Tighter node positions on mobile */
    .cycle-node-1 {
        top: -8px;
    }
    
    .cycle-node-2 {
        top: 12%;
        right: -10px;
    }
    
    .cycle-node-3 {
        bottom: 2%;
        right: 2%;
    }
    
    .cycle-node-4 {
        bottom: 2%;
        left: 2%;
    }
    
    .cycle-node-5 {
        top: 12%;
        left: -10px;
    }
}


/* ==================== RESPONSIVE STYLES FOR TWO-COLUMN CYCLE LAYOUT ==================== */
@media (max-width: 1400px) {
    .cycle-two-column-layout {
        gap: 4rem;
        padding: 3rem 2rem 3rem 3rem;
    }
    
    .cycle-column-left {
        padding-left: 1.5rem;
    }
    
    .cycle-wrapper {
        width: 420px;
        height: 420px;
    }
    
    .loop-title {
        font-size: 2.2rem;
    }
    
    .loop-desc {
        font-size: 1.15rem;
    }
}

@media (max-width: 1200px) {
    .cycle-two-column-layout {
        gap: 3rem;
        padding: 2rem 2rem 2rem 2.5rem;
    }
    
    .cycle-column-left {
        padding-left: 1rem;
    }
    
    .cycle-wrapper {
        width: 380px;
        height: 380px;
    }
    
    .cycle-node-icon {
        width: 75px;
        height: 75px;
    }
    
    .cycle-node-icon i {
        font-size: 1.7rem;
    }
    
    .cycle-node-label {
        font-size: 0.95rem;
    }
    
    .loop-title {
        font-size: 2rem;
    }
    
    .loop-desc {
        font-size: 1.1rem;
    }
}

@media (max-width: 992px) {
    .cycle-two-column-layout {
        flex-direction: column;
        gap: 3rem;
        padding: 2rem 1.5rem;
    }
    
    .cycle-column-left {
        padding-left: 0;
    }
    
    .cycle-column-left,
    .cycle-column-right {
        flex: none;
        width: 100%;
        justify-content: center;
    }
    
    .cycle-column-right {
        padding-left: 0;
    }
    
    .loop-copy {
        text-align: center;
        max-width: 100%;
    }
    
    .cycle-wrapper {
        width: 400px;
        height: 400px;
    }
}

@media (max-width: 768px) {
    .cycle-wrapper {
        width: 380px;
        height: 380px;
    }
    
    .cycle-center {
        width: 120px;
        height: 120px;
    }
    
    .cycle-logo {
        width: 70px;
        height: 70px;
    }
    
    .cycle-node-icon {
        width: 70px;
        height: 70px;
    }
    
    .cycle-node-icon i {
        font-size: 1.5rem;
    }
    
    .cycle-node-label {
        font-size: 0.9rem;
    }
    
    .loop-title {
        font-size: 1.75rem;
    }
    
    .loop-desc {
        font-size: 1rem;
    }
}

@media (max-width: 575.98px) {
    .cycle-wrapper {
        width: 320px;
        height: 320px;
    }
    
    .cycle-center {
        width: 100px;
        height: 100px;
    }
    
    .cycle-logo {
        width: 60px;
        height: 60px;
    }
    
    .cycle-node-icon {
        width: 60px;
        height: 60px;
        border-width: 3px;
    }
    
    .cycle-node-icon i {
        font-size: 1.3rem;
    }
    
    .cycle-node-label {
        font-size: 0.8rem;
        font-weight: 600;
    }
    
    .loop-title {
        font-size: 1.5rem;
    }
    
    .loop-desc {
        font-size: 0.95rem;
    }
    
    .loop-hint {
        font-size: 0.85rem;
    }
}



/* ==================== PROBLEM/SOLUTION VISUALIZATION STYLES ==================== */

/* Main container */
.problem-solution-container {
    margin-top: 3rem;
}

/* Toggle buttons */
.view-toggle {
    display: flex;
    gap: 12px;
    justify-content: center;
    margin-bottom: 2.5rem;
}

.toggle-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    background: white;
    border: 2px solid rgba(129, 196, 8, 0.2);
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    color: var(--saga-gray-dark);
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.toggle-btn:hover {
    border-color: var(--saga-green);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(129, 196, 8, 0.15);
}

.toggle-btn.active {
    background: var(--gradient-primary);
    border-color: var(--saga-green);
    color: white;
    box-shadow: var(--shadow-green);
}

/* Problem button - red theme */
.toggle-btn[data-view="problem"] {
    border-color: rgba(220, 38, 38, 0.3);
}

.toggle-btn[data-view="problem"].active {
    background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
    border-color: #dc2626;
    box-shadow: 0 8px 24px rgba(220, 38, 38, 0.3);
}

.toggle-btn[data-view="problem"]:hover {
    border-color: #dc2626;
    box-shadow: 0 6px 20px rgba(220, 38, 38, 0.15);
}

/* Solution button - green theme */
.toggle-btn[data-view="solution"].active {
    background: var(--gradient-primary);
    border-color: var(--saga-green);
    box-shadow: var(--shadow-green);
}

.toggle-btn i {
    font-size: 1.1rem;
}

/* Visualization Stage */
.visualization-stage {
    position: relative;
    min-height: 550px;
    margin-bottom: 2rem;
}

.view-panel {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.view-panel.active {
    opacity: 1;
    visibility: visible;
}

/* ==================== PROBLEM VIEW: CHAOS ==================== */
.chaos-container {
    position: relative;
    height: 450px;
    background: 
        linear-gradient(to bottom, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0) 20%, transparent 100%),
        linear-gradient(to top, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0) 20%, transparent 100%),
        radial-gradient(circle at center, rgba(255, 100, 100, 0.15) 0%, rgba(255, 150, 100, 0.08) 40%, rgba(255, 200, 200, 0.03) 70%, rgba(255, 255, 255, 0) 100%);
    border: none;
    border-radius: 24px;
    padding: 40px;
    margin-bottom: 2rem;
    overflow: hidden;
}

/* App fragments - scattered and disconnected */
.app-fragment {
    position: absolute;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 18px;
    background: white;
    border: 2px solid rgba(255, 100, 100, 0.3);
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(255, 100, 100, 0.15);
    animation: float-chaotic 4s ease-in-out infinite;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.app-fragment:hover {
    transform: scale(1.05) rotate(2deg);
    box-shadow: 0 12px 32px rgba(255, 100, 100, 0.25);
}

/* Positioning fragments in scattered pattern */
.fragment-1 {
    top: 15%;
    left: 10%;
    animation-delay: 0s;
}

.fragment-2 {
    top: 12%;
    right: 12%;
    animation-delay: 0.8s;
}

.fragment-3 {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation-delay: 1.2s;
}

.fragment-4 {
    bottom: 15%;
    left: 15%;
    animation-delay: 1.6s;
}

.fragment-5 {
    bottom: 12%;
    right: 10%;
    animation-delay: 2s;
}

@keyframes float-chaotic {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }
    25% {
        transform: translateY(-12px) rotate(-3deg);
    }
    50% {
        transform: translateY(8px) rotate(2deg);
    }
    75% {
        transform: translateY(-8px) rotate(-2deg);
    }
}

.fragment-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 100, 100, 0.1);
    border-radius: 14px;
    color: #d97706;
    font-size: 1.6rem;
}

.fragment-label {
    font-weight: 700;
    color: var(--saga-black);
    font-size: 0.95rem;
}

.fragment-status {
    font-size: 0.75rem;
    color: #dc2626;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Broken connection lines */
.broken-connections {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

.broken-line {
    stroke: rgba(220, 38, 38, 0.3);
    stroke-width: 3;
    stroke-dasharray: 10, 10;
    stroke-linecap: round;
    animation: dash-broken 2s linear infinite;
}

@keyframes dash-broken {
    to {
        stroke-dashoffset: -20;
    }
}

/* Stress indicators */
.stress-indicator {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    background: rgba(220, 38, 38, 0.1);
    border: 1px solid rgba(220, 38, 38, 0.3);
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    color: #dc2626;
    animation: pulse-stress 2s ease-in-out infinite;
}

.stress-indicator i {
    font-size: 1rem;
}

.stress-1 {
    top: 35%;
    left: 5%;
    animation-delay: 0s;
}

.stress-2 {
    top: 55%;
    right: 8%;
    animation-delay: 0.6s;
}

.stress-3 {
    bottom: 30%;
    left: 50%;
    transform: translateX(-50%);
    animation-delay: 1.2s;
}

@keyframes pulse-stress {
    0%, 100% {
        opacity: 0.6;
        transform: translateX(-50%) scale(1);
    }
    50% {
        opacity: 1;
        transform: translateX(-50%) scale(1.05);
    }
}

/* ==================== SOLUTION VIEW: HARMONY ==================== */
.harmony-container {
    position: relative;
    height: 450px;
    background: 
        linear-gradient(to bottom, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0) 20%, transparent 100%),
        linear-gradient(to top, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0) 20%, transparent 100%),
        radial-gradient(circle at center, rgba(129, 196, 8, 0.15) 0%, rgba(129, 196, 8, 0.08) 40%, rgba(200, 230, 180, 0.03) 70%, rgba(255, 255, 255, 0) 100%);
    border: none;
    border-radius: 24px;
    padding: 40px;
    margin-bottom: 2rem;
    overflow: hidden;
}

/* Center SAGA nucleus */
.saga-nucleus {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: 16px;
    background: white;
    border: 3px solid var(--saga-green);
    border-radius: 16px;
    box-shadow: 0 12px 40px rgba(129, 196, 8, 0.3);
    z-index: 20;
}

.nucleus-logo {
    width: 48px;
    height: 48px;
    object-fit: contain;
    animation: rotate-slow 20s linear infinite;
}

@keyframes rotate-slow {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

.nucleus-title {
    font-weight: 900;
    font-size: 1.4rem;
    letter-spacing: 2px;
    color: var(--saga-green-dark);
}

.nucleus-subtitle {
    font-size: 0.85rem;
    color: var(--saga-gray);
    font-weight: 600;
}

.nucleus-pulse {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    border: 3px solid var(--saga-green);
    border-radius: 20px;
    animation: pulse-ring 2s ease-out infinite;
    z-index: -1;
}

@keyframes pulse-ring {
    0% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.8;
    }
    100% {
        transform: translate(-50%, -50%) scale(1.8);
        opacity: 0;
    }
}

/* Connected modules orbiting SAGA */
.connected-module {
    position: absolute;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 16px;
    background: white;
    border: 2px solid var(--saga-green);
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(129, 196, 8, 0.2);
    animation: float-smooth 3s ease-in-out infinite;
    cursor: pointer;
    transition: transform 0.3s ease;
    z-index: 15;
}

.connected-module:hover {
    transform: scale(1.1);
    box-shadow: 0 12px 32px rgba(129, 196, 8, 0.35);
}

/* Positioning modules in orbit pattern - aligned to SVG line endpoints */
.module-1 {
    top: 5%;
    left: 50%;
    transform: translateX(-50%);
    animation-delay: 0s;
}

.module-2 {
    top: 18%;
    right: 15%;
    animation-delay: 0.6s;
}

.module-3 {
    bottom: 16%;
    right: 15%;
    animation-delay: 1.2s;
}

.module-4 {
    bottom: 16%;
    left: 15%;
    animation-delay: 1.8s;
}

.module-5 {
    top: 18%;
    left: 15%;
    animation-delay: 2.4s;
}

@keyframes float-smooth {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

/* Keep transform for module-1 during animation */
@keyframes float-smooth-centered {
    0%, 100% {
        transform: translateX(-50%) translateY(0px);
    }
    50% {
        transform: translateX(-50%) translateY(-10px);
    }
}

.module-1 {
    animation-name: float-smooth-centered;
}

.module-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(129, 196, 8, 0.1);
    border-radius: 12px;
    color: var(--saga-green-dark);
    font-size: 1.4rem;
}

.module-label {
    font-weight: 700;
    color: var(--saga-black);
    font-size: 0.9rem;
}

/* Connection web - animated lines */
.connection-web {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.orbit-ring {
    fill: none;
    stroke: rgba(129, 196, 8, 0.15);
    stroke-width: 2;
    stroke-dasharray: 5, 5;
    animation: rotate-orbit 30s linear infinite;
    transform-origin: center;
}

@keyframes rotate-orbit {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

.connect-line {
    stroke: var(--saga-green);
    stroke-width: 2;
    stroke-linecap: round;
    opacity: 0.6;
    animation: pulse-connection 3s ease-in-out infinite;
}

@keyframes pulse-connection {
    0%, 100% {
        opacity: 0.4;
    }
    50% {
        opacity: 0.9;
    }
}

/* Data flow particles */
.data-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 2;
}

.particle {
    position: absolute;
    width: 8px;
    height: 8px;
    background: var(--saga-green);
    border-radius: 50%;
    opacity: 0;
    animation: flow-particle 4s ease-in-out infinite;
}

.p-1 {
    top: 50%;
    left: 50%;
    animation-delay: 0s;
}

.p-2 {
    top: 50%;
    left: 50%;
    animation-delay: 0.8s;
}

.p-3 {
    top: 50%;
    left: 50%;
    animation-delay: 1.6s;
}

.p-4 {
    top: 50%;
    left: 50%;
    animation-delay: 2.4s;
}

.p-5 {
    top: 50%;
    left: 50%;
    animation-delay: 3.2s;
}

@keyframes flow-particle {
    0% {
        transform: translate(-50%, -50%) translate(0, 0);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translate(-50%, -50%) translate(150px, -100px);
        opacity: 0;
    }
}

/* ==================== DESCRIPTIONS ==================== */
.view-description {
    padding: 0;
    margin-bottom: 2.5rem;
    text-align: center;
    border-radius: 12px;
}

.desc-icon {
    display: none;
}

/* Problem description - red background */
.problem-desc h3 {
    color: #b91c1c;
}

/* Solution description - green background */
.solution-desc h3 {
    color: var(--saga-green-dark);
}

.view-description h3 {
    font-size: 2.2rem;
    margin-bottom: 0;
    font-weight: 700;
    line-height: 1.3;
}

.pain-points,
.solution-points {
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem 0;
}

.pain-points li,
.solution-points li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px 0;
    font-size: 1rem;
    color: var(--saga-gray-dark);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.pain-points li:last-child,
.solution-points li:last-child {
    border-bottom: none;
}

.pain-points i {
    color: #d97706;
    font-size: 1.1rem;
    margin-top: 4px;
}

.solution-points i {
    color: var(--saga-green);
    font-size: 1.1rem;
    margin-top: 4px;
}

.problem-outcome,
.solution-outcome {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 18px 20px;
    border-radius: 14px;
    font-size: 1.05rem;
    margin-top: 1rem;
}

.problem-outcome {
    background: rgba(220, 38, 38, 0.08);
    border-left: 4px solid #dc2626;
    color: var(--saga-gray-dark);
}

.problem-outcome i {
    color: #dc2626;
    font-size: 1.3rem;
}

.solution-outcome {
    background: rgba(129, 196, 8, 0.08);
    border-left: 4px solid var(--saga-green);
    color: var(--saga-gray-dark);
}

.solution-outcome i {
    color: var(--saga-green);
    font-size: 1.3rem;
}

/* CTA Row */
.why-cta-row {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 2rem;
}

/* ==================== RESPONSIVE ==================== */
@media (max-width: 768px) {
    .view-toggle {
        flex-direction: column;
        align-items: stretch;
    }

    .toggle-btn {
        justify-content: center;
        width: 100%;
    }

    .visualization-stage {
        min-height: auto !important;
        padding: 2rem 0 !important;
    }

    .chaos-container,
    .harmony-container {
        display: none !important;
    }

    .view-description {
        position: static !important;
        transform: none !important;
        padding: 2rem 1rem !important;
        max-width: 100% !important;
    }

    .module-5 {
        bottom: 5%;
    }

    .stress-indicator {
        font-size: 0.7rem;
        padding: 6px 10px;
    }

    .view-description {
        padding: 24px;
    }

    .view-description h3 {
        font-size: 1.5rem;
    }

    .pain-points li,
    .solution-points li {
        font-size: 0.95rem;
    }
}

/* ==================== MODAL FIX ==================== */
/* Ensure Bootstrap modals appear above all other content */
.navbar {
    z-index: 1030 !important;
}

.modal {
    z-index: 1055 !important;
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.modal.fade {
    transition: opacity 0.15s linear;
}

.modal.show {
    display: flex !important;
    align-items: center;
    justify-content: center;
}

.modal-backdrop {
    z-index: 1050 !important;
    background-color: #000;
}

.modal-backdrop.fade {
    opacity: 0;
}

.modal-backdrop.show {
    opacity: 0.5;
}

.modal-open {
    overflow: hidden !important;
}

.modal-dialog {
    pointer-events: auto;
    position: relative;
    width: auto;
    max-width: 500px;
    margin: 1.75rem auto;
}

.modal-dialog-centered {
    display: flex;
    align-items: center;
    min-height: calc(100% - 3.5rem);
    margin: 1.75rem auto;
}

.modal-content {
    position: relative;
    display: flex;
    flex-direction: column;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid rgba(0,0,0,.2);
    border-radius: 0.5rem;
    outline: 0;
}

.modal-header {
    padding: 1.5rem 1.5rem 1rem;
    border-bottom: 1px solid #dee2e6;
}

.modal-body {
    padding: 1.5rem;
}

.modal-footer {
    padding: 1rem 1.5rem 1.5rem;
    border-top: 1px solid #dee2e6;
}
