/* RESET BASIC */
*, *::before, *::after {
    box-sizing: border-box;
}

* {
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    color-scheme: dark;
}

body {
    -webkit-font-smoothing: antialiased;
    font-family: 'Inter', ui-sans-serif, system-ui, -apple-system, sans-serif;
    line-height: 1.5;
}

a {
    text-decoration: none;
    color: inherit;
}

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

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

/* DESIGN SYSTEM (CSS VARIABLES) */
:root {
    --background: #09090b;      /* Zinc 950 */
    --secondary: #18181b;       /* Zinc 900 */
    --card: #121214;            /* Darker card */
    --border: #27272a;          /* Zinc 800 */
    --foreground: #fafafa;      /* Zinc 50 */
    --muted: #a1a1aa;           /* Zinc 400 */
    
    --primary: #16a34a;         /* Green 600 */
    --primary-hover: #15803d;   /* Green 700 */
    --primary-glow: rgba(22, 163, 74, 0.4);
    
    --amber-glow: rgba(217, 119, 6, 0.2);
    --orange-glow: rgba(249, 115, 22, 0.1);
    
    --red: #f87171;             /* Red 400 */
    --red-glow: rgba(248, 113, 113, 0.2);
    
    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
}

/* UTILITY CLASSES */
.bg-background { background-color: var(--background); }
.bg-secondary { background-color: var(--secondary); border-top: 1px solid rgba(255,255,255,0.05); }
.text-foreground { color: var(--foreground); }
.text-muted { color: var(--muted); }
.text-primary { color: var(--primary); }
.text-red { color: var(--red); }
.text-orange { color: #f97316; } /* Tailwind orange-500 */

.container {
    padding-left: 1rem;
    padding-right: 1rem;
    width: 100%;
}

.max-w-xl { max-width: 36rem; }
.max-w-2xl { max-width: 42rem; }
.max-w-3xl { max-width: 48rem; }
.max-w-4xl { max-width: 56rem; }
.max-w-5xl { max-width: 64rem; }

.mx-auto { margin-left: auto; margin-right: auto; }
.mt-3 { margin-top: 0.75rem; }
.mt-4 { margin-top: 1rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-8 { margin-bottom: 2rem; }
.mb-10 { margin-bottom: 2.5rem; }
.mb-12 { margin-bottom: 3rem; }

.mt-10 { margin-top: 2.5rem; }
.mt-12 { margin-top: 3rem; }
.my-12 { margin-top: 3rem; margin-bottom: 3rem; }

.py-5 { padding-top: 1.25rem; padding-bottom: 1.25rem; }
.py-20 { padding-top: 5rem; padding-bottom: 5rem; }
.px-4 { padding-left: 1rem; padding-right: 1rem; }
.px-6 { padding-left: 1.5rem; padding-right: 1.5rem; }
.p-4 { padding: 1rem; }
.p-5 { padding: 1.25rem; }
.p-6 { padding: 1.5rem; }
.p-8 { padding: 2rem; }

.flex { display: flex; }
.inline-flex { display: inline-flex; }
.flex-col { flex-direction: column; }
.flex-wrap { flex-wrap: wrap; }
.flex-shrink-0 { flex-shrink: 0; }
.items-center { align-items: center; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.gap-2 { gap: 0.5rem; }
.gap-3 { gap: 0.75rem; }
.gap-4 { gap: 1rem; }
.gap-6 { gap: 1.5rem; }
.gap-8 { gap: 2rem; }

.relative { position: relative; }
.absolute { position: absolute; }
.overflow-hidden { overflow: hidden; }

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

.font-bold { font-weight: 700; }
.font-semibold { font-weight: 600; }
.font-medium { font-weight: 500; }
.uppercase { text-transform: uppercase; }
.tracking-wider { letter-spacing: 0.05em; }
.line-through { text-decoration: line-through; }

/* SIZING UTILITIES */
.w-4 { width: 1rem; }
.h-4 { height: 1rem; }
.w-5 { width: 1.25rem; }
.h-5 { height: 1.25rem; }
.w-6 { width: 1.5rem; }
.h-6 { height: 1.5rem; }
.w-7 { width: 1.75rem; }
.h-7 { height: 1.75rem; }
.w-8 { width: 2rem; }
.h-8 { height: 2rem; }
.w-12 { width: 3rem; }
.h-12 { height: 3rem; }
.w-14 { width: 3.5rem; }
.h-14 { height: 3.5rem; }
.w-full { width: 100%; }
.h-auto { height: auto; }
.fill-primary { fill: var(--primary); }
.object-cover { object-fit: cover; }

/* POSITION UTILITIES */
.top-3 { top: 0.75rem; }
.right-3 { right: 0.75rem; }

/* TEXT SIZES */
.text-xs { font-size: 0.75rem; line-height: 1rem; }
.text-sm { font-size: 0.875rem; line-height: 1.25rem; }
.text-base { font-size: 1rem; line-height: 1.5rem; }
.text-lg { font-size: 1.125rem; line-height: 1.75rem; }
.text-xl { font-size: 1.25rem; line-height: 1.75rem; }
.text-2xl { font-size: 1.5rem; line-height: 2rem; }
.text-3xl { font-size: 1.875rem; line-height: 2.25rem; }
.text-4xl { font-size: 2.25rem; line-height: 2.5rem; }
.text-5xl { font-size: 3rem; line-height: 1; }

@media (min-width: 768px) {
    .md-flex-row { flex-direction: row; }
    .md-text-left { text-align: left; }
    .md-text-4xl { font-size: 2.25rem; line-height: 2.5rem; }
    .md-text-5xl { font-size: 3rem; line-height: 1; }
    .md-grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .md-grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (min-width: 1024px) {
    .lg-text-5xl { font-size: 3rem; line-height: 1; }
    .lg-grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (min-width: 640px) {
    .sm-grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* CARDS */
.border { border: 1px solid var(--border); }
.border-t { border-top: 1px solid var(--border); }

.card {
    background-color: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.rounded-xl { border-radius: var(--radius-xl); }
.rounded-2xl { border-radius: 1.5rem; }
.rounded-full { border-radius: 9999px; }

/* BADGES */
.badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-md);
    font-weight: 500;
    white-space: nowrap;
    transition: all 0.3s ease;
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
}

.badge-outline {
    border: 1px solid transparent;
}

.primary-tint {
    background-color: rgba(22, 163, 74, 0.1);
    color: var(--primary);
    border-color: rgba(22, 163, 74, 0.2);
}

.red-tint {
    background-color: rgba(248, 113, 113, 0.2);
    color: var(--red);
    border-color: rgba(248, 113, 113, 0.3);
}

.orange-tint {
    background-color: rgba(249, 115, 22, 0.1);
    color: #f97316;
    border-color: rgba(249, 115, 22, 0.2);
}

.bg-primary-tint {
    background-color: rgba(22, 163, 74, 0.2);
}

.text-primary-20 {
    color: rgba(22, 163, 74, 0.2);
}

.bg-red {
    background-color: rgba(248, 113, 113, 0.2);
}

.bg-primary {
    background-color: var(--primary);
}

/* HERO SECTION SPECIFICS */
.hero-title {
    font-size: 2.25rem;
    line-height: 1.2;
    font-weight: 700;
    text-wrap: balance;
}

@media (min-width: 768px) { .hero-title { font-size: 3rem; } }
@media (min-width: 1024px) { .hero-title { font-size: 3.75rem; } }

.hero-subtitle {
    font-size: 1rem;
    color: var(--muted);
    max-width: 42rem;
    line-height: 1.625;
}

@media (min-width: 768px) { .hero-subtitle { font-size: 1.25rem; } }

.glow {
    position: absolute;
    width: 24rem;
    height: 24rem;
    border-radius: 50%;
    filter: blur(60px);
    pointer-events: none;
    z-index: 0;
}

.top-glow {
    top: 25%;
    left: 25%;
    background: var(--amber-glow);
}

.bottom-glow {
    bottom: 25%;
    right: 25%;
    background: var(--orange-glow);
}

.bottom-center-glow {
    bottom: -10%;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(22, 163, 74, 0.1);
    width: 100%;
}

.image-glow {
    position: absolute;
    inset: 0;
    background-color: rgba(22, 163, 74, 0.2);
    border-radius: 1.5rem;
    filter: blur(40px);
    z-index: 0;
}

.hero-image {
    position: relative;
    z-index: 1;
    width: 100%;
    height: auto;
    border-radius: 1.5rem;
    box-shadow: 0 25px 50px -12px rgba(22, 163, 74, 0.25);
}

/* BUTTONS */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
    border-radius: var(--radius-md);
    font-weight: 700;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    outline: none;
}

.btn-primary {
    background-color: var(--primary);
    color: #ffffff;
    box-shadow: 0 10px 15px -3px rgba(22, 163, 74, 0.4);
    z-index: 2;
}

.btn-primary:hover {
    background-color: var(--primary-hover);
    box-shadow: 0 10px 25px -3px rgba(22, 163, 74, 0.6);
    transform: scale(1.05);
}

.btn-orange {
    background-color: #f97316;
    color: #ffffff;
    box-shadow: 0 10px 15px -3px rgba(249, 115, 22, 0.4);
    z-index: 2;
}

.btn-orange:hover {
    background-color: #ea580c;
    box-shadow: 0 10px 25px -3px rgba(249, 115, 22, 0.6);
    transform: scale(1.05);
}

.btn-large {
    padding: 1.5rem 2rem;
    font-size: 1rem;
    width: 100%;
}

@media (min-width: 640px) {
    .btn-large { width: auto; font-size: 1.125rem; }
}

.btn-glow {
    position: absolute;
    inset: 0;
    border-radius: var(--radius-md);
    background-color: rgba(34, 197, 94, 0.4);
    z-index: 1;
}

.ping-animation {
    animation: ping 2s cubic-bezier(0, 0, 0.2, 1) infinite;
}

@keyframes ping {
    75%, 100% {
        transform: scale(1.15, 1.4);
        opacity: 0;
    }
}

.bounce-animation {
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 100% {
        transform: translateY(-25%);
        animation-timing-function: cubic-bezier(0.8, 0, 1, 1);
    }
    50% {
        transform: translateY(0);
        animation-timing-function: cubic-bezier(0, 0, 0.2, 1);
    }
}

.scroll-down-btn {
    color: var(--muted);
    transition: color 0.3s ease;
}

.scroll-down-btn:hover {
    color: var(--primary);
}

/* GRID LAYOUTS */
.grid {
    display: grid;
    grid-template-columns: 1fr;
}

.cards-grid-pain {
    grid-template-columns: 1fr;
}

.cards-grid-benefits {
    grid-template-columns: 1fr;
    grid-auto-flow: dense;
}

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

/* CARD HOVERS */
.card-hover-red:hover {
    border-color: rgba(248, 113, 113, 0.5);
    background-color: rgba(248, 113, 113, 0.05);
}

.card-hover-primary:hover,
.card-hover-primary-border:hover {
    border-color: rgba(22, 163, 74, 0.5);
}

.card-hover-primary:hover {
    background-color: rgba(22, 163, 74, 0.05);
}

.card-hover-y:hover {
    border-color: rgba(22, 163, 74, 0.5);
    transform: translateY(-0.25rem);
}

.feature-card .feat-bg-glow {
    position: absolute;
    top: 0;
    right: 0;
    width: 6rem;
    height: 6rem;
    background-color: rgba(22, 163, 74, 0.05);
    border-bottom-left-radius: 9999px;
    transition: background-color 0.3s ease;
}

.feature-card:hover .feat-bg-glow {
    background-color: rgba(22, 163, 74, 0.1);
}

.feature-card:hover .feat-icon,
.bonus-card:hover .feat-icon {
    background-color: rgba(22, 163, 74, 0.3);
}

.feat-icon {
    transition: background-color 0.3s ease;
}

/* ICONS */
.icon-circle {
    flex-shrink: 0;
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.icon-circle.h-10 {
    width: 2.5rem;
    height: 2.5rem;
}

/* MISC SECTION WRAPPERS */
.section-title {
    font-size: 1.875rem;
    line-height: 2.25rem;
    font-weight: 700;
}
@media (min-width: 768px) { .section-title { font-size: 2.25rem; } }

.min-w-80 { min-width: 80px; }

/* GUARANTEE BOX */
.guarantee-box {
    background: linear-gradient(to bottom right, rgba(22, 163, 74, 0.1), var(--card), var(--card));
    border-color: rgba(22, 163, 74, 0.3);
}

.guarantee-badge {
    top: -0.75rem;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--primary);
    color: #fff;
    padding: 0.25rem 1rem;
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 600;
}

.guarantee-glow {
    background-color: rgba(22, 163, 74, 0.3);
}

.guarantee-icon {
    width: 7rem;
    height: 7rem;
    background-color: rgba(22, 163, 74, 0.2);
    border-color: rgba(22, 163, 74, 0.5);
}

/* ACCORDION */
.accordion-item {
    transition: border-color 0.3s ease;
}

.accordion-item.open {
    border-color: rgba(22, 163, 74, 0.5);
}

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

.accordion-item.open .accordion-trigger i {
    transform: rotate(180deg);
}

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

.accordion-content p {
    opacity: 0;
    transition: opacity 0.2s ease;
}

.accordion-item.open .accordion-content p {
    opacity: 1;
    transition-delay: 0.1s;
}

.group-hover-translate-x {
    transition: transform 0.3s ease;
}

.group:hover .group-hover-translate-x {
    transform: translateX(0.25rem);
}

/* POPUP SALES */
.sales-popup {
    position: fixed;
    top: 1.5rem;
    right: 1.5rem;
    background-color: var(--secondary);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 1rem 1.25rem 1rem 1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    z-index: 50;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.5);
    transform: translateX(120%);
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    max-width: 320px;
    width: calc(100% - 3rem);
}

.sales-popup.show {
    transform: translateX(0);
}

.popup-icon-wrapper {
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    background-color: rgba(249, 115, 22, 0.1);
    border: 1px solid rgba(249, 115, 22, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #f97316;
    flex-shrink: 0;
}

.popup-title {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--muted);
    font-weight: 600;
    margin-bottom: 0.1rem;
}

.popup-name {
    font-weight: 700;
    font-size: 1rem;
    line-height: 1.2;
    margin-bottom: 0.1rem;
}

.popup-location, .popup-time {
    font-size: 0.8rem;
    color: var(--muted);
    line-height: 1.2;
}

.popup-close {
    position: absolute;
    right: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--muted);
    opacity: 0.5;
    transition: opacity 0.2s;
}

.popup-close:hover {
    opacity: 1;
}
