/* ============================================
   Lovable Pro - R7 Dev
   Complete CSS Styles
   ============================================ */

/* CSS Reset & Variables */
:root {
    /* Colors - HSL Format */
    --background: hsl(240, 15%, 9%);
    --foreground: hsl(0, 0%, 98%);
    
    --card: hsl(240, 15%, 12%);
    --card-foreground: hsl(0, 0%, 98%);
    
    --primary: hsl(262, 83%, 58%);
    --primary-foreground: hsl(0, 0%, 100%);
    
    --secondary: hsl(240, 15%, 18%);
    --secondary-foreground: hsl(0, 0%, 98%);
    
    --muted: hsl(240, 10%, 20%);
    --muted-foreground: hsl(240, 5%, 65%);
    
    --accent: hsl(280, 80%, 60%);
    --accent-foreground: hsl(0, 0%, 100%);
    
    --border: hsl(240, 10%, 20%);
    
    /* Gradient Colors */
    --gradient-start: hsl(262, 83%, 58%);
    --gradient-middle: hsl(280, 80%, 55%);
    --gradient-end: hsl(220, 90%, 56%);
    
    /* Glow Effects */
    --glow-primary: hsl(262, 83%, 58%);
    --glow-accent: hsl(280, 80%, 60%);
    
    /* Spacing */
    --radius: 0.75rem;
    
    /* Font */
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    background-color: var(--background);
    color: var(--foreground);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

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

ul, ol {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

/* ============================================
   Layout
   ============================================ */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

@media (min-width: 768px) {
    .container {
        padding: 0 2rem;
    }
}

.section {
    position: relative;
    padding: 5rem 0;
}

@media (min-width: 768px) {
    .section {
        padding: 8rem 0;
    }
}

/* ============================================
   Typography
   ============================================ */
.gradient-text {
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-middle), var(--gradient-end));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: 1.875rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

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

.section-subtitle {
    font-size: 1.125rem;
    color: var(--muted-foreground);
    max-width: 42rem;
    margin: 0 auto;
}

/* ============================================
   Buttons
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    font-size: 0.875rem;
    font-weight: 600;
    border-radius: var(--radius);
    transition: all 0.3s ease;
    white-space: nowrap;
}

.btn-primary {
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-middle), var(--gradient-end));
    color: var(--primary-foreground);
}

.btn-primary:hover {
    opacity: 0.9;
    transform: scale(1.02);
}

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

.btn-full {
    width: 100%;
}

.btn-desktop {
    display: none;
}

@media (min-width: 768px) {
    .btn-desktop {
        display: inline-flex;
    }
}

/* ============================================
   Header
   ============================================ */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 50;
    background-color: hsla(240, 15%, 9%, 0.8);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 4rem;
}

@media (min-width: 768px) {
    .header-content {
        height: 5rem;
    }
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 0.75rem;
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-middle), var(--gradient-end));
    color: var(--primary-foreground);
}

.logo-text {
    font-size: 1.125rem;
    font-weight: 700;
}

.logo-text-full {
    display: none;
}

.logo-text-mobile {
    display: inline;
}

@media (min-width: 640px) {
    .logo-text-full {
        display: inline;
    }
    .logo-text-mobile {
        display: none;
    }
}

/* Desktop Navigation */
.nav-desktop {
    display: none;
    align-items: center;
    gap: 2rem;
}

@media (min-width: 768px) {
    .nav-desktop {
        display: flex;
    }
}

.nav-link {
    font-size: 0.875rem;
    color: var(--muted-foreground);
    transition: color 0.3s ease;
}

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

/* Mobile Menu Button */
.mobile-menu-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    color: var(--foreground);
}

@media (min-width: 768px) {
    .mobile-menu-btn {
        display: none;
    }
}

.mobile-menu-btn .close-icon {
    display: none;
}

.mobile-menu-btn.active .menu-icon {
    display: none;
}

.mobile-menu-btn.active .close-icon {
    display: block;
}

/* Mobile Menu */
.mobile-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: var(--background);
    border-bottom: 1px solid var(--border);
    padding: 1.5rem;
}

.mobile-menu.active {
    display: block;
}

.mobile-nav {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.mobile-nav-link {
    font-size: 1.125rem;
    color: var(--foreground);
    transition: color 0.3s ease;
}

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

.btn-mobile-cta {
    margin-top: 1rem;
}

.hidden {
    display: none !important;
}

/* ============================================
   Hero Section
   ============================================ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding-top: 4rem;
}

.hero-bg-grid {
    position: absolute;
    inset: 0;
    background-image: 
        linear-gradient(hsla(240, 10%, 20%, 0.3) 1px, transparent 1px),
        linear-gradient(90deg, hsla(240, 10%, 20%, 0.3) 1px, transparent 1px);
    background-size: 60px 60px;
    opacity: 0.3;
}

.hero-bg-radial {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 80% 50% at 50% -20%, hsla(262, 83%, 58%, 0.3), transparent 70%);
}

.hero-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    animation: pulse-glow 4s ease-in-out infinite;
}

.hero-orb-1 {
    top: 25%;
    left: 25%;
    width: 16rem;
    height: 16rem;
    background-color: hsla(262, 83%, 58%, 0.2);
}

.hero-orb-2 {
    bottom: 25%;
    right: 25%;
    width: 24rem;
    height: 24rem;
    background-color: hsla(280, 80%, 60%, 0.2);
    animation-delay: 1s;
}

.hero-container {
    position: relative;
    z-index: 10;
    padding: 5rem 0;
}

@media (min-width: 768px) {
    .hero-container {
        padding: 8rem 0;
    }
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    max-width: 56rem;
    margin: 0 auto;
}

.hero-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 2rem;
}

.hero-logo-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 1rem;
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-middle), var(--gradient-end));
    color: var(--primary-foreground);
}

.hero-logo-text {
    font-size: 1.5rem;
    font-weight: 700;
}

@media (min-width: 768px) {
    .hero-logo-text {
        font-size: 1.875rem;
    }
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: 9999px;
    background-color: var(--secondary);
    border: 1px solid var(--border);
    margin-bottom: 2rem;
}

.hero-badge svg {
    color: var(--primary);
}

.hero-badge span {
    font-size: 0.875rem;
    color: var(--muted-foreground);
}

.hero-title {
    font-size: 2.25rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

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

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

.hero-subtitle {
    font-size: 1.125rem;
    color: var(--muted-foreground);
    max-width: 42rem;
    margin-bottom: 2.5rem;
}

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

.hero-cta {
    margin-bottom: 3rem;
}

.hero-trust {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: var(--muted-foreground);
}

.trust-dot {
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 50%;
    background-color: var(--primary);
}

/* ============================================
   Benefits Section
   ============================================ */
.benefits {
    background-color: var(--background);
}

.section-bg-radial {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 80% 50% at 50% -20%, hsla(262, 83%, 58%, 0.3), transparent 70%);
    opacity: 0.5;
    pointer-events: none;
}

.benefits-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    max-width: 72rem;
    margin: 0 auto;
}

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

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

.benefit-card {
    padding: 1.5rem;
    border-radius: 1rem;
    background-color: var(--card);
    border: 1px solid var(--border);
}

.benefit-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 0.75rem;
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-middle), var(--gradient-end));
    color: var(--primary-foreground);
    margin-bottom: 1rem;
    transition: transform 0.3s ease;
}

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

.benefit-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--foreground);
}

.benefit-description {
    color: var(--muted-foreground);
}

/* Card Hover Effect */
.card-glow-hover {
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.card-glow-hover:hover {
    box-shadow: 0 8px 60px hsla(262, 83%, 58%, 0.25), 0 0 0 1px hsla(262, 83%, 58%, 0.5);
    transform: translateY(-4px);
}

/* ============================================
   Pricing Section
   ============================================ */
.pricing {
    background-color: var(--background);
}

.section-bg-grid {
    position: absolute;
    inset: 0;
    background-image: 
        linear-gradient(hsla(240, 10%, 20%, 0.3) 1px, transparent 1px),
        linear-gradient(90deg, hsla(240, 10%, 20%, 0.3) 1px, transparent 1px);
    background-size: 60px 60px;
    opacity: 0.1;
    pointer-events: none;
}

.pricing-card {
    position: relative;
    max-width: 28rem;
    margin: 0 auto;
    padding: 2rem;
    border-radius: 1.5rem;
    background-color: var(--card);
    border: 2px solid var(--primary);
    text-align: center;
}

@media (min-width: 768px) {
    .pricing-card {
        padding: 3rem;
    }
}

.pricing-badge {
    position: absolute;
    top: -0.75rem;
    left: 50%;
    transform: translateX(-50%);
    padding: 0.25rem 1rem;
    border-radius: 9999px;
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-middle), var(--gradient-end));
    color: var(--primary-foreground);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.pricing-plan-name {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--foreground);
    margin-bottom: 1rem;
}

.pricing-price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 0.25rem;
    margin-bottom: 0.5rem;
}

.pricing-currency {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--muted-foreground);
}

.pricing-amount {
    font-size: 4rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-middle), var(--gradient-end));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

@media (min-width: 768px) {
    .pricing-amount {
        font-size: 5rem;
    }
}

.pricing-period {
    font-size: 1.25rem;
    color: var(--muted-foreground);
}

.pricing-description {
    color: var(--muted-foreground);
    margin-bottom: 2rem;
}

.pricing-features {
    text-align: left;
    margin-bottom: 2rem;
}

.pricing-feature {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border);
}

.pricing-feature:last-child {
    border-bottom: none;
}

.check-icon {
    flex-shrink: 0;
    color: var(--primary);
}

.pricing-feature span {
    color: var(--foreground);
}

.pricing-guarantee {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1rem;
    font-size: 0.875rem;
    color: var(--muted-foreground);
}

.pricing-guarantee svg {
    color: var(--primary);
}

/* Glow Effects */
.glow-primary {
    box-shadow: 0 0 40px hsla(262, 83%, 58%, 0.4), 0 0 80px hsla(262, 83%, 58%, 0.2);
}

.glow-accent {
    box-shadow: 0 0 30px hsla(280, 80%, 60%, 0.3);
}

/* ============================================
   How It Works Section
   ============================================ */
.how-it-works {
    background-color: var(--background);
}

.steps-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    max-width: 72rem;
    margin: 0 auto;
}

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

@media (min-width: 1024px) {
    .steps-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.step-card {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.step-connector {
    display: none;
}

@media (min-width: 1024px) {
    .step-connector {
        display: block;
        position: absolute;
        top: 3rem;
        left: 50%;
        width: 100%;
        height: 2px;
        background: linear-gradient(90deg, hsla(262, 83%, 58%, 0.5), transparent);
    }
    
    .step-card:last-child .step-connector {
        display: none;
    }
}

.step-number {
    position: absolute;
    top: -0.75rem;
    right: 0;
    font-size: 3.75rem;
    font-weight: 700;
    color: hsla(262, 83%, 58%, 0.1);
    line-height: 1;
}

@media (min-width: 768px) {
    .step-number {
        right: auto;
        left: 50%;
        transform: translateX(2rem);
    }
}

.step-icon {
    position: relative;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 5rem;
    height: 5rem;
    border-radius: 1rem;
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-middle), var(--gradient-end));
    color: var(--primary-foreground);
    margin-bottom: 1.5rem;
}

.step-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--foreground);
    margin-bottom: 0.5rem;
}

.step-description {
    color: var(--muted-foreground);
}

/* ============================================
   FAQ Section
   ============================================ */
.faq {
    background-color: var(--background);
}

.faq-list {
    max-width: 48rem;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.faq-item {
    background-color: var(--card);
    border: 1px solid var(--border);
    border-radius: 0.75rem;
    overflow: hidden;
    transition: border-color 0.3s ease;
}

.faq-item.active {
    border-color: hsla(262, 83%, 58%, 0.5);
}

.faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 1.25rem 1.5rem;
    font-size: 1rem;
    font-weight: 500;
    color: var(--foreground);
    text-align: left;
    transition: color 0.3s ease;
}

.faq-question:hover {
    color: var(--primary);
}

.faq-chevron {
    flex-shrink: 0;
    color: var(--muted-foreground);
    transition: transform 0.3s ease;
}

.faq-item.active .faq-chevron {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 500px;
    padding: 0 1.5rem 1.25rem;
}

.faq-answer p {
    color: var(--muted-foreground);
    line-height: 1.7;
}

/* ============================================
   Footer
   ============================================ */
.footer {
    background-color: var(--card);
    border-top: 1px solid var(--border);
    padding: 3rem 0;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.footer-description {
    color: var(--muted-foreground);
    max-width: 24rem;
    margin-bottom: 1.5rem;
}

.footer-contact {
    margin-bottom: 1.5rem;
}

.footer-whatsapp {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--foreground);
    transition: color 0.3s ease;
}

.footer-whatsapp:hover {
    color: var(--primary);
}

.footer-whatsapp svg {
    color: #25D366;
}

.footer-divider {
    width: 100%;
    height: 1px;
    background-color: var(--border);
    margin-bottom: 1.5rem;
}

.footer-copyright {
    font-size: 0.875rem;
    color: var(--muted-foreground);
}

/* ============================================
   Animations
   ============================================ */
@keyframes fade-in {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse-glow {
    0%, 100% {
        opacity: 0.5;
        transform: scale(1);
    }
    50% {
        opacity: 0.8;
        transform: scale(1.05);
    }
}

.animate-fade-in {
    animation: fade-in 0.6s ease-out forwards;
    opacity: 0;
}

/* ============================================
   Utilities
   ============================================ */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}
