/* Reset e Base */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0
}

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

body {
    font-family: 'Inter', sans-serif;
    background: #0a0a0a;
    color: #fff;
    line-height: 1.6;
    overflow-x: hidden
}

/* Variables */
:root {
    --primary: #BB9EFE;
    /* Lighter purple for accents */
    --primary-dark: #7051BA;
    /* Mid purple */
    --bg-dark: #05051E;
    /* Deep dark blue/purple */
    --bg-card: #161730;
    /* Slightly lighter for cards */
    --text-main: #FFFFFF;
    --text-muted: #979AB0;
    /* Greyish tone from reference */
    --accent-green: #00a884;
    /* Keeping for conversion/WhatsApp */
    --shadow-sm: 0 4px 6px rgba(0, 0, 0, 0.3);
    --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.5);
}

@media(prefers-reduced-motion:reduce) {
    * {
        animation-duration: .01ms !important;
        transition-duration: .01ms !important
    }
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    color: var(--text-main);
    line-height: 1.2;
}

h1 {
    font-size: clamp(2rem, 5vw, 3.5rem)
}

h2 {
    font-size: clamp(1.5rem, 4vw, 2.5rem)
}

h3 {
    font-size: clamp(1.2rem, 3vw, 1.5rem)
}

p {
    font-size: 1rem;
    color: var(--text-muted)
}

.text-gradient {
    background: linear-gradient(90deg, #BB9EFE, #AB7FEF);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.bg-gradient {
    background: linear-gradient(180deg, var(--bg-dark) 0%, var(--bg-card) 50%, var(--bg-dark) 100%);
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px
}

/* Sections */
section {
    padding: 80px 0
}

@media(min-width:768px) {
    section {
        padding: 120px 0
    }
}

/* Scroll Animations */
.animate {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity .6s ease-out, transform .6s ease-out
}

.animate.visible {
    opacity: 1;
    transform: translateY(0)
}

.delay-1 {
    transition-delay: .1s
}

.delay-2 {
    transition-delay: .2s
}

.delay-3 {
    transition-delay: .3s
}

.delay-4 {
    transition-delay: .4s
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 32px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
    font-family: 'Poppins', sans-serif;
    border-radius: 50px;
    /* Rounded corners */
    text-align: center;
    /* Ensure multi-line text is centered */
}

@media (max-width: 768px) {
    .btn {
        width: 100%;
        max-width: 350px;
        /* Optimal width for mobile */
        padding: 18px 24px;
        /* Larger touch target */
        font-size: 1.1rem;
        /* Slightly larger text */
    }
}

.btn-primary {
    background: linear-gradient(135deg, #00a884 0%, #008f6f 100%);
    color: #fff;
    box-shadow: 0 4px 15px rgba(0, 168, 132, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 168, 132, 0.6);
    background: linear-gradient(135deg, #00c29a 0%, #00a884 100%);
}

.btn-primary:active {
    transform: translateY(-1px) scale(.98);
}

.btn-green {
    background: linear-gradient(135deg, #00a884 0%, #008f6f 100%);
    color: #fff;
    box-shadow: 0 4px 15px rgba(0, 168, 132, 0.4);
}

.btn-green:hover {
    background: linear-gradient(135deg, #00c29a 0%, #00a884 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(0, 168, 132, 0.6);
}

.btn-green::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: 0.5s;
}

.btn-green:hover::after {
    left: 100%;
    transition: 0.7s ease-in-out;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(0, 168, 132, 0.4);
    }

    70% {
        box-shadow: 0 0 0 15px rgba(0, 168, 132, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(0, 168, 132, 0);
    }
}

.btn-pulse {
    animation: pulse 2s ease-in-out infinite
}

/* Cards General Style */
.card {
    background: rgba(22, 23, 48, 0.6);
    /* Glassy dark */
    backdrop-filter: blur(10px);
    border: 1px solid rgba(187, 158, 254, 0.1);
    border-radius: 20px;
    padding: 30px;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.card:hover {
    border-color: rgba(187, 158, 254, 0.3);
    transform: translateY(-5px);
}

/* Hero */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding-top: 80px;
}

/* Added padding-top for ticker */
.hero::before {
    content: '';
    position: absolute;
    inset: -50%;
    background: radial-gradient(circle at 20% 30%, rgba(155, 81, 224, .15) 0%, transparent 50%), radial-gradient(circle at 80% 70%, rgba(98, 16, 208, .1) 0%, transparent 40%);
    animation: heroGlow 20s ease-in-out infinite;
    pointer-events: none
}

@keyframes heroGlow {

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

    50% {
        transform: translate(3%, -3%) scale(1.05);
        opacity: .8
    }
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    align-items: center;
}

@media(min-width: 992px) {
    .hero-content {
        grid-template-columns: 1fr 1fr;
    }
}

/* Ticker/Marquee */
.ticker {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 10;
    overflow: hidden;
    background: rgba(155, 81, 224, .1);
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, .1)
}

.ticker-content {
    display: flex;
    animation: ticker 30s linear infinite;
    white-space: nowrap
}

.ticker-content span {
    padding: 0 24px;
    color: var(--primary-light);
    font-weight: 500
}

@keyframes ticker {
    0% {
        transform: translateX(0)
    }

    100% {
        transform: translateX(-50%)
    }
}

/* iPhone Mockup */
.iphone-frame {
    background: #1a1a1a;
    border-radius: 40px;
    padding: 12px;
    box-shadow: var(--shadow-lg);
    max-width: 320px;
    margin: 0 auto;
    transition: transform .5s ease;
    border: 2px solid #333;
}

.iphone-frame:hover {
    transform: scale(1.02) rotate(1deg)
}

.iphone-screen {
    background: #0a0a0a;
    border-radius: 32px;
    overflow: hidden;
    aspect-ratio: 9/19;
    position: relative;
}

/* WhatsApp Chat Realistic */
.iphone-frame {
    background: #000;
    border-radius: 50px;
    padding: 12px;
    box-shadow: var(--shadow-lg);
    max-width: 380px;
    margin: 0 auto 30px auto;
    transition: transform .5s ease;
    border: 4px solid #333;
    position: relative;
}

.iphone-frame::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 25px;
    background: #000;
    border-bottom-left-radius: 16px;
    border-bottom-right-radius: 16px;
    z-index: 20;
}

.iphone-screen {
    background: #efe7dd;
    border-radius: 40px;
    overflow: hidden;
    aspect-ratio: 9/19.5;
    position: relative;
    display: flex;
    flex-direction: column;
}

/* Header */
.whatsapp-header {
    background: #202c33;
    padding: 40px 16px 10px 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    color: #e9edef;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    z-index: 10;
}

.back-arrow {
    color: #007aff;
    font-size: 24px;
    margin-right: -4px;
    cursor: pointer;
}

.whatsapp-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
}

.whatsapp-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.user-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.name-row {
    display: flex;
    align-items: center;
    gap: 4px;
    font-weight: 600;
    font-size: 16px;
    line-height: 1.2;
}

.verified-badge {
    color: #00a884;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.verified-badge svg {
    width: 14px;
    height: 14px;
    fill: currentColor;
}

.status {
    font-size: 12px;
    color: #8696a0;
    margin-top: 2px;
}

/* Messages Body */
.whatsapp-messages {
    flex: 1;
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    overflow-y: auto;
    background-color: #efe7dd;
    background-image: url('https://user-images.githubusercontent.com/15075759/28719144-86dc0f70-73b1-11e7-911d-60d70fcded21.png');
    background-size: 400px;
    background-repeat: repeat;
    scroll-behavior: smooth;
}

.whatsapp-messages::-webkit-scrollbar {
    width: 4px;
}

.whatsapp-messages::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, 0.1);
    border-radius: 2px;
}

/* Message Bubbles */
.message {
    max-width: 85%;
    padding: 8px 12px;
    border-radius: 12px;
    font-size: 14px;
    line-height: 1.4;
    opacity: 0;
    box-shadow: 0 1px 0.5px rgba(0, 0, 0, 0.13);
    position: relative;
    margin-bottom: 2px;
    transform: translateY(10px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.message.visible {
    opacity: 1;
    transform: translateY(0);
}

.message.user {
    background: #dcf8c6;
    color: #111b21;
    align-self: flex-end;
    border-top-right-radius: 0;
}

.message.ai {
    background: #ffffff;
    color: #111b21;
    align-self: flex-start;
    border-top-left-radius: 0;
}

.msg-time {
    font-size: 10px;
    color: rgba(0, 0, 0, 0.45);
    text-align: right;
    margin-top: 4px;
    display: block;
    line-height: 1;
}

/* Input Area */
.whatsapp-footer {
    background: #202c33;
    padding: 8px 12px 20px 12px;
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.add-btn {
    color: #8696a0;
    font-size: 24px;
    cursor: pointer;
}

.input-bar {
    flex: 1;
    background: #2a3942;
    border-radius: 20px;
    padding: 10px 16px;
    color: #8696a0;
    font-size: 15px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.mic-icon {
    width: 40px;
    height: 40px;
    background: #00a884;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 18px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    cursor: pointer;
}

/* Typing Indicator */
.typing {
    display: none;
    gap: 4px;
    padding: 12px;
    background: #ffffff;
    border-radius: 12px;
    border-top-left-radius: 0;
    width: fit-content;
    margin-top: auto;
    box-shadow: 0 1px 0.5px rgba(0, 0, 0, 0.13);
    margin-bottom: 8px;
    align-self: flex-start;
}

.typing.active {
    display: flex;
    animation: fadeIn 0.3s ease;
}

.typing-dot {
    width: 6px;
    height: 6px;
    background: #8696a0;
    border-radius: 50%;
    animation: typingBounce 1.4s ease-in-out infinite
}

.typing-dot:nth-child(2) {
    animation-delay: .2s
}

.typing-dot:nth-child(3) {
    animation-delay: .4s
}

/* Offer Section Redesign */
.offer-badge-pill {
    background: linear-gradient(90deg, #8b5cf6, #7c3aed);
    color: white;
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 0 15px rgba(139, 92, 246, 0.5);
    display: inline-block;
}

.check-list-modern {
    list-style: none;
    padding: 0;
    margin: 0;
}

.check-list-modern li {
    margin-bottom: 12px;
    display: flex;
    align-items: flex-start;
    font-size: 1rem;
    color: #e5e7eb;
    line-height: 1.5;
}

.check-icon {
    color: #00a884;
    /* Green check */
    background: rgba(0, 168, 132, 0.1);
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-right: 12px;
    font-size: 14px;
    flex-shrink: 0;
    font-weight: bold;
    margin-top: 2px;
}

.icons-row {
    display: flex;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
}

.pay-badge {
    background: #fff;
    color: #333;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 10px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Offer Card Premium */
.offer-card-premium {
    background: #0A0A24;
    /* Deep dark from reference */
    border: 1px solid rgba(187, 158, 254, 0.2);
    box-shadow: 0 0 40px rgba(112, 81, 186, 0.15), inset 0 0 20px rgba(112, 81, 186, 0.05);
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.offer-card-premium:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 50px rgba(187, 158, 254, 0.2), inset 0 0 30px rgba(187, 158, 254, 0.1);
    border-color: rgba(187, 158, 254, 0.5);
}

.offer-card-premium::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #7051BA, #BB9EFE, #7051BA);
    background-size: 200% 100%;
    animation: gradientMove 3s linear infinite;
}

@keyframes gradientMove {
    0% {
        background-position: 0% 0;
    }

    100% {
        background-position: 200% 0;
    }
}

/* Price Highlight */
.price-block {
    background: rgba(255, 255, 255, 0.03);
    padding: 20px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

/* Metrics Grid */
.metrics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.metric-card {
    padding: 30px;
    text-align: center;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    transition: transform 0.3s ease;
}

.metric-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.05);
}

.metric-value {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 10px;
    background: linear-gradient(135deg, #fff 0%, var(--primary) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.metric-label {
    color: var(--text-muted);
    font-size: 1.1rem;
}

/* Offer Card */
.offer-card {
    border: 2px solid var(--success);
    background: rgba(34, 197, 94, .05);
    max-width: 800px;
    margin: 0 auto;
}

.offer-badge {
    display: inline-block;
    background: var(--success);
    color: #000;
    font-weight: 700;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    margin-bottom: 24px
}

.offer-price {
    font-size: 2rem;
    font-weight: 700;
    margin: 24px 0;
}

.offer-price span {
    text-decoration: line-through;
    color: var(--text-muted);
    font-size: 1.2rem;
    margin-right: 10px;
}

/* Accordion/FAQ */
.accordion-item {
    border-bottom: 1px solid rgba(255, 255, 255, .1);
    transition: box-shadow var(--transition), transform var(--transition)
}

.accordion-item:hover {
    box-shadow: var(--shadow-md);
    transform: translateX(4px)
}

.accordion-header {
    padding: 20px 0;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600
}

.accordion-header::after {
    content: '+';
    font-size: 1.5rem;
    transition: transform var(--transition)
}

.accordion-item.active .accordion-header::after {
    transform: rotate(45deg)
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height .3s ease
}

.accordion-item.active .accordion-content {
    max-height: 200px
}

.accordion-content p {
    padding-bottom: 20px;
    color: var(--text-muted)
}

/* Gradient Sections */
.bg-gradient {
    background: linear-gradient(135deg, var(--dark) 0%, var(--primary) 50%, var(--accent) 100%)
}

/* Footer */
footer {
    background: #000;
    padding: 40px 0;
    text-align: center
}

footer p {
    font-size: 14px;
    color: var(--text-muted)
}

/* Mobile Responsive Adjustments */
@media (max-width: 768px) {
    h1 {
        font-size: 2.5rem;
        /* Smaller headline on mobile */
    }

    .iphone-frame {
        max-width: 100%;
        /* Ensure it fits small screens */
        border-radius: 30px;
        /* Slightly less rounded on small screens to save space */
    }

    .iphone-screen {
        border-radius: 24px;
    }

    .solution-grid {
        grid-template-columns: 1fr;
        /* Stack cards */
    }

    .offer-card-premium {
        padding: 30px 15px;
        /* Less padding on mobile */
    }

    .big-price {
        font-size: 3rem;
        /* Smaller price font */
    }

    .check-list-modern li {
        font-size: 0.95rem;
    }
}

/* Mobile Sticky CTA */
@media(max-width:767px) {
    .mobile-sticky {
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        padding: 12px 16px;
        background: rgba(10, 10, 10, .98);
        backdrop-filter: blur(10px);
        border-top: 1px solid rgba(155, 81, 224, .2);
        box-shadow: 0 -4px 30px rgba(0, 0, 0, .5);
        z-index: 9999;
        transform: translateY(100%);
        transition: transform var(--transition)
    }

    .mobile-sticky.visible {
        transform: translateY(0)
    }

    .mobile-sticky .btn {
        width: 100%
    }

    body.has-sticky {
        padding-bottom: 80px
    }
}

/* Focus States */
.btn:focus-visible,
a:focus-visible {
    outline: 2px solid var(--primary-light);
    outline-offset: 3px
}

/* Ripple Effect */
@keyframes ripple {
    to {
        width: 400px;
        height: 400px;
        opacity: 0
    }
}

/* Utility */
.text-center {
    text-align: center
}

.text-gradient {
    background: linear-gradient(135deg, #BB9EFE, #AB7FEF);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.bg-gradient-alt {
    background: linear-gradient(180deg, #05051E 0%, #0A0A24 100%);
    position: relative;
}

.bg-gradient-alt::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 80%, rgba(112, 81, 186, 0.08) 0%, transparent 50%);
    pointer-events: none;
}

.mb-1 {
    margin-bottom: 8px
}

.mb-2 {
    margin-bottom: 16px
}

.mb-3 {
    margin-bottom: 24px
}

.mb-4 {
    margin-bottom: 32px
}

.mb-5 {
    margin-bottom: 48px
}

/* Grid for Solution Cards */
.solution-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}

/* Flex utilities */
.flex-center {
    display: flex;
    align-items: center;
    justify-content: center;
}

.flex-col {
    display: flex;
    flex-direction: column;
}

.gap-2 {
    gap: 16px;
}

.gap-4 {
    gap: 32px;
}

/* SVG Icons */
.icon-box {
    width: 64px;
    height: 64px;
    background: rgba(155, 81, 224, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    color: var(--primary-light);
}

.icon-box svg {
    width: 32px;
    height: 32px;
}

/* Check list */
.check-list {
    list-style: none;
    text-align: left;
    margin-bottom: 24px;
}

.check-list li {
    margin-bottom: 12px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.check-list li svg {
    width: 20px;
    height: 20px;
    color: var(--success);
    flex-shrink: 0;
    margin-top: 4px;
}

/* Profile Image */
.profile-img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid var(--primary);
    margin-bottom: 24px;
    background-color: #333;
}