:root {
    --primary: #ff6b6b; /* Salmon/Orange */
    --primary-hover: #ee5253;
    --secondary: #4834d4; /* Deep Purple */
    --text: #2d3436;
    --text-light: #636e72;
    --bg-light: #f9f9f9;
    --white: #ffffff;
    --gradient: linear-gradient(135deg, #ff9a9e 0%, #ff6b6b 100%);
    --gradient-blue: linear-gradient(135deg, #a29bfe 0%, #6c5ce7 100%);
    --shadow: 0 10px 40px rgba(0,0,0,0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
    scroll-behavior: smooth;
}

body {
    color: var(--text);
    overflow-x: hidden;
}

ul { list-style: none; }
a { text-decoration: none; }

.containers {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* --- Buttons --- */
.btn {
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 500;
    transition: all 0.3s ease;
    display: inline-block;
    cursor: pointer;
}

.btn-primary {
    background: var(--primary);
    color: var(--white);
    box-shadow: 0 5px 15px rgba(255, 107, 107, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    background: var(--primary-hover);
}

.btn-secondary {
    color: var(--text);
    margin-right: 15px;
}

.btn-outline {
    border: 2px solid var(--primary);
    color: var(--primary);
    background: transparent;
}

.btn-white {
    background: var(--white);
    color: var(--primary);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}


/* --- New Purple Hero Section --- */
.hero-purple {
    background: linear-gradient(135deg, #6c5ce7 0%, #4834d4 100%); /* Purple Gradient */
    padding-top: 140px;
    padding-bottom: 0; /* Important: 0 padding bottom so phones sit on edge */
    position: relative;
    overflow: hidden; /* Hide shapes that go off screen */
    text-align: center;
    color: #fff;
}

/* Background Shapes (Decoration) */
.shape {
    position: absolute;
    opacity: 0.1;
    z-index: 0;
}
.shape-circle {
    width: 300px;
    height: 300px;
    border: 40px solid #fff;
    border-radius: 50%;
    top: -50px;
    left: -50px;
}
.shape-cross {
    font-size: 100px;
    font-weight: bold;
    color: #fff;
    top: 20%;
    right: 10%;
    transform: rotate(45deg);
}
.shape-line {
    width: 150px;
    height: 5px;
    background: #fff;
    bottom: 30%;
    left: 20%;
    transform: rotate(-45deg);
}

/* Hero Content */
.hero-container-center {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-text-center h1 {
    font-size: 48px;
    line-height: 1.2;
    margin-bottom: 20px;
    font-weight: 600;
}

.hero-text-center p {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.9);
    max-width: 600px;
    margin: 0 auto 30px auto;
}

/* Store Badges in Hero */
.hero-badges {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-bottom: 15px;
    flex-wrap: wrap;
}

.hero-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 24px;
    border-radius: 12px;
    font-weight: 600;
    color: #fff;
    background: rgba(255,255,255,0.15);
    border: 1px solid rgba(255,255,255,0.25);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hero-cta-btn i {
    font-size: 18px;
}

.hero-cta-btn.primary {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-hover) 100%);
    color: #fff;
    box-shadow: 0 12px 25px rgba(255, 107, 107, 0.35);
    border: none;
}

.hero-cta-btn.whatsapp {
    background: linear-gradient(135deg, #24c16b 0%, #177d44 100%);
    box-shadow: 0 12px 25px rgba(23, 125, 68, 0.35);
    border: none;
}

.hero-cta-btn:hover {
    transform: translateY(-3px);
}

.compatibility-text {
    font-size: 13px !important;
    opacity: 0.7;
    margin-bottom: 50px !important;
}

/* --- 3 Phones Layout --- */
.hero-phones-row {
    display: flex;
    justify-content: center;
    align-items: flex-end; /* Align bottom */
    gap: 30px;
    margin-bottom: -100px; /* This makes the phones "bleed" into the next section */
    width: 100%;
}

.phone-frame {
    width: 277px;
    height: 529px;
    border-radius: 30px;
    overflow: hidden;
    position: relative;
    transition: transform 0.4s ease;
}

.phone-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Specific Phone Positioning */
.p-left {
    transform: rotate(-5deg) translateY(20px);
    z-index: 1;
}

.p-center {
    width: 260px; /* Center phone slightly larger */
    height: 520px;
    z-index: 2;
    transform: translateY(0);
    border-width: 8px;
}

.p-right {
    transform: rotate(5deg) translateY(20px);
    z-index: 1;
}

/* Hover Effects on Phones */
.hero-phones-row:hover .p-left { transform: rotate(-8deg) translateY(10px); }
.hero-phones-row:hover .p-right { transform: rotate(8deg) translateY(10px); }
.hero-phones-row:hover .p-center { transform: translateY(-10px); }


/* Responsive Adjustments for New Hero */
@media (max-width: 968px) {
    .hero-phones-row {
        gap: 10px;
        margin-bottom: -50px;
    }
    .phone-frame { width: 160px; height: 320px; }
    .p-center { width: 180px; height: 360px; }
    .hero-text-center h1 { font-size: 32px; }
}

@media (max-width: 600px) {
    /* On very small screens, hide side phones or stack */
    .p-left, .p-right { display: none; } 
    .hero-phones-row { justify-content: center; margin-bottom: -80px; }
    .p-center { width: 200px; height: 400px; }
    .hero-badges { flex-direction: column; align-items: center; }
}

/* Hero Images */
.hero-img {
    position: relative;
    height: 600px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.phone-mockup {
    width: 260px;
    height: 520px;
    border-radius: 35px;
    position: absolute;
    overflow: hidden;
    transition: transform 0.5s ease;
}

.screen img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.phone-left {
    left: 10%;
    z-index: 2;
    transform: rotate(-10deg) translateY(20px);
    animation: float 6s ease-in-out infinite;
}

.phone-right {
    right: 10%;
    z-index: 1;
    transform: rotate(
6deg) translateY(-20px) !important;
    animation: float 6s ease-in-out infinite 1s; 
}

/* Background decorations */
.blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    z-index: -1;
}

.blob-1 {
    width: 400px;
    height: 400px;
    background: rgba(255, 107, 107, 0.1);
    top: -100px;
    right: -100px;
}

.blob-2 {
    width: 500px;
    height: 500px;
    background: rgba(108, 92, 231, 0.1);
    bottom: 0;
    left: -100px;
}

.floating-icon {
    position: absolute;
    background: #fff;
    padding: 15px;
    border-radius: 15px;
    box-shadow: var(--shadow);
    color: var(--primary);
    font-size: 24px;
    animation: float 4s ease-in-out infinite;
}

.icon-1 { top: 20%; left: 0; }
.icon-2 { bottom: 20%; right: 40%; animation-delay: 2s; }

/* --- Stats --- */
.stats { padding: 40px 0; background: var(--bg-light); }
.stats-grid { display: flex; justify-content: space-around; text-align: center; }
.stat-item h3 { font-size: 32px; color: var(--primary); margin-bottom: 5px; }
.stat-item p { color: var(--text-light); font-weight: 500; }

/* --- Features --- */
.features { padding: 100px 0; }
.section-title { text-align: center; margin-bottom: 60px; }
.section-title h2 { font-size: 36px; margin-bottom: 15px; }
.section-title p { color: var(--text-light); }

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.feature-card {
    padding: 40px;
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: transform 0.3s;
    text-align: center;
}

.feature-card:hover { transform: translateY(-10px); }

.icon-box {
    width: 70px;
    height: 70px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    margin: 0 auto 20px;
}

.color-1 { background: #ffeaa7; color: #fdcb6e; }
.color-2 { background: #fab1a0; color: #ff7675; }
.color-3 { background: #dfe6e9; color: #636e72; }

/* --- App Showcase (Screenshots) --- */
.app-showcase {
    padding: 100px 0;
    background: #fff;
    position: relative;
}

.app-tabs {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 50px;
}

.tab-btn {
    padding: 12px 30px;
    border: none;
    background: #eee;
    border-radius: 30px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.3s;
}

.tab-btn.active {
    background: var(--primary);
    color: #fff;
    box-shadow: 0 5px 15px rgba(255, 107, 107, 0.4);
}

.app-slider {
    display: none; /* Hidden by default */
    position: relative;
    padding: 0 20px;
}

.app-slider.active { display: block; }

.slider-track {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    justify-items: center;
    gap: 30px;
    max-height: 650px;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 20px;
    scroll-behavior: smooth;
    scrollbar-width: thin;
}

.slider-track::-webkit-scrollbar {
    width: 8px;
}

.slider-track::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

.slider-track::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 10px;
}

.slide-item {
    width: 100%;
    max-width: 260px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.slide-item img {
    width: 100%;
    height: 520px;
    border-radius: 28px;
    box-shadow: 0 20px 35px rgba(0,0,0,0.1);
    margin-bottom: 15px;
    transition: transform 0.3s, box-shadow 0.3s;
    border: 4px solid #111;
    object-fit: cover;
}

.slide-item:hover img {
    transform: translateY(-8px);
    box-shadow: 0 25px 45px rgba(0,0,0,0.2);
}

.slide-caption {
    background: #fff;
    border-radius: 18px;
    padding: 16px 20px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.07);
    text-align: left;
}

.slide-caption strong {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 16px;
    color: var(--text);
    margin-bottom: 6px;
}

.slide-caption strong::before {
    content: '';
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--primary);
    box-shadow: 0 0 12px rgba(255, 107, 107, 0.5);
}

.slide-caption p {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.5;
    margin: 0;
}

.slider-controls {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 25px;
}

.slider-controls button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: none;
    width: 60px;
    height: 60px;
    border-radius: 18px;
    cursor: pointer;
    font-size: 22px;
    color: #fff;
    background: linear-gradient(135deg, #ff9a9e 0%, #ff6b6b 100%);
    box-shadow: 0 15px 30px rgba(255, 107, 107, 0.35);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.slider-controls button:hover {
    transform: translateY(-4px) scale(1.03);
    box-shadow: 0 20px 35px rgba(255, 107, 107, 0.45);
}

.slider-controls .arrow-icon {
    font-size: 24px;
    font-weight: 700;
    color: inherit;
    line-height: 1;
}

/* --- Pricing --- */
.pricing { padding: 100px 0; background: var(--bg-light); }
.pricing-wrapper {
    display: flex;
    justify-content: center;
    gap: 30px;
    align-items: center;
    flex-wrap: wrap;
}

.pricing-card {
    background: #fff;
    padding: 40px;
    border-radius: 20px;
    width: 350px;
    text-align: center;
    box-shadow: var(--shadow);
    position: relative;
}

.featured {
    background: var(--gradient);
    color: #fff;
    transform: scale(1.05);
    z-index: 2;
}

.featured .price, .featured p, .featured h3 { color: #fff; }
.featured ul li { border-bottom: 1px solid rgba(255,255,255,0.2); }
.featured .btn-white:hover { background: #fff; color: var(--primary); box-shadow: 0 10px 20px rgba(0,0,0,0.2); }

.popular-tag {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: #4834d4;
    color: #fff;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.card-header h3 { font-size: 24px; margin-bottom: 5px; }
.price { font-size: 48px; font-weight: 700; margin: 20px 0; color: var(--primary); }
.pricing-card ul { text-align: left; margin: 30px 0; }
.pricing-card ul li { padding: 10px 0; border-bottom: 1px solid #eee; }
.pricing-card ul li i { margin-right: 10px; color: #2ecc71; }
.pricing-card ul li.disabled { color: #ccc; }
.featured ul li i { color: #fff; }

/* --- CTA Section --- */
.cta-section {
    padding: 100px 0;
    text-align: center;
}

.cta-section.ai-cta {
    background: radial-gradient(circle at top right, rgba(255,255,255,0.15), transparent 45%), linear-gradient(135deg, #6c63ff 0%, #5b2cff 40%, #140437 100%);
    color: #fff;
    position: relative;
    overflow: hidden;
}

.cta-section.ai-cta::after {
    content: '';
    position: absolute;
    width: 320px;
    height: 320px;
    border-radius: 50%;
    background: rgba(255,255,255,0.08);
    right: -100px;
    bottom: -120px;
    filter: blur(0);
}

.cta-section.ai-cta h2 {
    font-size: 42px;
    margin: 15px 0;
}

.cta-section.ai-cta p {
    font-size: 18px;
    color: rgba(255,255,255,0.85);
    max-width: 720px;
    margin: 0 auto;
}

.cta-badge {
    display: inline-block;
    padding: 6px 20px;
    border-radius: 999px;
    font-size: 14px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    background: rgba(255,255,255,0.2);
    color: #fff;
}

.cta-buttons {
    margin-top: 40px;
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 14px 28px;
    border-radius: 14px;
    font-weight: 600;
    font-size: 16px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    color: #fff;
    border: none;
}

.cta-btn i {
    font-size: 20px;
}

.cta-btn.primary {
    background: linear-gradient(135deg, #ffb347 0%, #ffcc33 100%);
    box-shadow: 0 15px 35px rgba(255, 204, 51, 0.35);
    color: #5d3600;
}

.cta-btn.whatsapp {
    background: linear-gradient(135deg, #1ad65f 0%, #0fb34d 100%);
    box-shadow: 0 15px 35px rgba(37, 211, 102, 0.35);
}

.cta-btn:hover {
    transform: translateY(-4px);
}

.cta-note {
    display: block;
    margin-top: 25px;
    font-size: 14px;
    color: rgba(255,255,255,0.7);
}

/* --- Animations --- */
@keyframes float {
    0%, 100% { transform: translateY(0) rotate(-10deg); }
    50% { transform: translateY(-20px) rotate(-10deg); }
}

/* --- Responsive --- */
@media (max-width: 968px) {
    .hero-content { grid-template-columns: 1fr; text-align: center; }
    .hero-btns { justify-content: center; }
    .hero-img { height: 500px; margin-top: 50px; }
    .phone-mockup { width: 220px; height: 440px; }
    .phone-left { left: 50%; margin-left: -120px; }
    .phone-right { right: 50%; margin-right: -120px; }
    .pricing-wrapper { flex-direction: column; }
    .footer-content { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    .nav-links, .nav-btn { display: none; }
    .hamburger { display: block; }
    .feature-grid { grid-template-columns: 1fr; }
    .footer-content { grid-template-columns: 1fr; }
}

/* --- Hero Price Badge --- */
.price-wrapper {
    margin-bottom: 25px;
    display: block;
}

.hero-price-tag {
    display: inline-flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.1); /* Glass effect */
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 8px 24px;
    border-radius: 50px;
    color: #ffeaa7; /* Soft Yellow text */
    font-size: 15px;
    font-weight: 500;
    backdrop-filter: blur(5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    animation: glow 3s infinite ease-in-out;
}

.hero-price-tag i {
    margin-right: 8px;
    font-size: 14px;
}

.hero-price-tag strong {
    color: #fff; /* White Price */
    font-size: 18px;
    font-weight: 700;
    margin-left: 5px;
}

/* Optional: Gentle Glow Animation */
@keyframes glow {
    0% { box-shadow: 0 0 0 0 rgba(255, 234, 167, 0.2); border-color: rgba(255, 255, 255, 0.3); }
    50% { box-shadow: 0 0 0 10px rgba(255, 234, 167, 0); border-color: rgba(255, 234, 167, 0.5); }
    100% { box-shadow: 0 0 0 0 rgba(255, 234, 167, 0); border-color: rgba(255, 255, 255, 0.3); }
}


/* --- ZigZag Section (Fixed Layout) --- */
.zigzag-section {
    padding: 100px 0;
    background: #fff;
    overflow: hidden; 
}

.zigzag-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
    margin-bottom: 120px;
}

.zigzag-row:last-child {
    margin-bottom: 0;
}

/* Flex Columns */
.zigzag-text-col {
    flex: 1;
}

.zigzag-img-col {
    flex: 1;
    position: relative; 
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Typography & Badges */
.sub-badge {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(108, 92, 231, 0.1); 
    color: #6c5ce7;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 15px;
}

.badge-orange {
    background: rgba(255, 107, 107, 0.1);
    color: #ff6b6b;
}

.zigzag-text-col h2 {
    font-size: 38px;
    margin-bottom: 20px;
    color: #2d3436;
    line-height: 1.2;
}

.zigzag-text-col p {
    font-size: 17px;
    color: #636e72;
    line-height: 1.7;
    margin-bottom: 20px;
}

/* List Styling */
.zigzag-list li {
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    font-weight: 500;
    color: #2d3436;
}
.zigzag-list li i {
    color: #6c5ce7;
    margin-right: 12px;
    font-size: 18px;
}

.zigzag-btn {
    margin-top: 10px;
    padding: 12px 35px;
}

/* --- Image & Blob Styling --- */
.zigzag-img {
    width: 100%;
    max-width: 450px;
    position: relative;
    z-index: 2; 
    animation: slowFloat 4s ease-in-out infinite;
}

.blob-bg {
    position: absolute;
    width: 400px;
    height: 400px;
    border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
    z-index: 1;
    opacity: 0.5;
}

.blob-purple {
    background: radial-gradient(circle, rgba(108,92,231,0.1) 0%, rgba(255,255,255,0) 70%);
}

.blob-orange {
    background: radial-gradient(circle, rgba(255,107,107,0.1) 0%, rgba(255,255,255,0) 70%);
}

/* Floating Shapes */
.floating-shape { position: absolute; z-index: 1; animation: floatShape 6s infinite ease-in-out; }
.shape-square { width: 40px; height: 40px; background: #fab1a0; border-radius: 8px; top: 20px; left: 20px; transform: rotate(15deg); }
.shape-circle-sm { width: 30px; height: 30px; background: #74b9ff; border-radius: 50%; bottom: 40px; right: 40px; animation-delay: 1s; }
.shape-tri { width: 0; height: 0; border-left: 20px solid transparent; border-right: 20px solid transparent; border-bottom: 35px solid #a29bfe; top: 50%; right: -20px; animation-delay: 2s; }

/* Animations */
@keyframes slowFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}
@keyframes floatShape {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(10deg); }
}

/* --- Responsive --- */
@media (max-width: 968px) {
    .zigzag-row {
        flex-direction: column;
        text-align: center;
        gap: 40px;
    }

    /* On mobile, swap the second row so Text is on Top, Image on Bottom? 
       Or Image Top, Text Bottom? 
       Currently, it will stack in HTML order. 
       Row 1: Image, then Text.
       Row 2: Text, then Image.
    */
    
    .zigzag-list li {
        justify-content: center;
    }
    
    .blob-bg {
        width: 300px;
        height: 300px;
    }
}
