/* 
  Risco Zero Shop - Main Stylesheet
  Focus: Modern, Premium, Clean, Mobile-First
*/

:root {
    /* Brand Colors */
    --primary: #15A859;
    --primary-dark: #108746;
    --primary-light: #e8f7ee;
    --secondary: #0A2540; /* Deep blue/navy typically pairs well with green for trust */
    
    /* Neutral Colors / Grayscale */
    --text-main: #1d2129;
    --text-muted: #64748b;
    --bg-main: #ffffff;
    --bg-alt: #f8fafc;
    --border: #e2e8f0;
    
    /* UI Values */
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.05);
    --shadow-md: 0 8px 16px rgba(0,0,0,0.06);
    --shadow-lg: 0 16px 32px rgba(0,0,0,0.08);
    --shadow-glow: 0 0 24px rgba(21, 168, 89, 0.4);
    
    /* Layout */
    --container-max: 1200px;
    --padding-x: 1.5rem;
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* Reset & Typography */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    color: var(--text-main);
    background-color: var(--bg-main);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4 {
    color: var(--secondary);
    line-height: 1.25;
    font-weight: 700;
}

h1 { font-size: 3rem; letter-spacing: -0.03em; line-height: 1.1; }
h2 { font-size: 2rem; }
h3 { font-size: 1.25rem; }

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

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

/* Utilities */
.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--padding-x);
}

.text-primary {
    color: var(--primary);
}

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

.section-padding {
    padding: 5rem 0;
}

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

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

.section-header h2 {
    margin-bottom: 1rem;
}

.section-header p {
    font-size: 1.125rem;
    color: var(--text-muted);
    max-width: 850px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    border: 2px solid transparent;
    transition: var(--transition);
}

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

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

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

.btn-outline:hover {
    background-color: var(--primary-light);
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.125rem;
}

.btn-block {
    width: 100%;
}

.btn-text {
    color: var(--secondary);
    background: transparent;
}

.btn-text:hover {
    color: var(--primary);
    text-decoration: underline;
}

.glow-effect {
    box-shadow: var(--shadow-glow);
    animation: pulse 4s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(21, 168, 89, 0.4);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(21, 168, 89, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(21, 168, 89, 0);
    }
}

.urgency-bar {
    position: sticky;
    top: 0;
    z-index: 1100;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px;
    background: var(--primary);
    color: white;
    font-weight: 700;
    font-size: 0.85rem;
}

/* Header & Nav */
.header {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 38px; /* Height of urgency bar */
    z-index: 1000;
    padding: 1rem 0;
}

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

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

.logo-img {
    height: 38px;
    width: auto;
    max-width: 60vw;
    object-fit: contain;
}
@media (min-width: 768px) {
    .logo-img {
        height: 48px;
        max-width: none;
    }
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--secondary);
    letter-spacing: -0.5px;
}

.desktop-nav {
    display: none;
    gap: 2rem;
}

.desktop-nav .nav-link {
    font-weight: 500;
    color: var(--text-muted);
}

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

.desktop-only {
    display: none;
}

/* Mobile Nav Toggle */
.menu-toggle {
    display: flex;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1010;
}

.menu-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--secondary);
    border-radius: 3px;
    transition: var(--transition);
}

.mobile-nav {
    display: none;
    flex-direction: column;
    padding: 1.5rem var(--padding-x);
    background-color: white;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-md);
}

.mobile-nav.active {
    display: flex;
}

.mobile-nav .nav-link {
    padding: 1rem 0;
    font-size: 1.125rem;
    font-weight: 500;
    border-bottom: 1px solid var(--border);
}

/* Hero Section */
.hero {
    padding: 4rem 0 6rem;
    background: linear-gradient(135deg, #ffffff 0%, #f0fdf4 100%);
    overflow: hidden;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
}

.hero-text {
    text-align: center;
}

.badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background-color: var(--primary-light);
    color: var(--primary-dark);
    border-radius: 20px;
    font-weight: 700;
    font-size: 0.875rem;
    margin-bottom: 1.5rem;
}

.hero h1 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    letter-spacing: -1px;
}

.hero p {
    font-size: 1.125rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
}

.hero-actions {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
}

.hero-trust {
    display: flex;
    justify-content: center;
    gap: 1rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border);
    flex-wrap: wrap;
}

.hero-trust-badges {
    border-top: none !important;
    padding-top: 0 !important;
    margin-bottom: 2rem;
    justify-content: center;
}

.hero-trust-badges .trust-item {
    background: var(--primary-light);
    padding: 0.4rem 0.6rem;
    border-radius: 6px;
    font-size: 0.75rem;
    border: 1px solid var(--primary-light);
}

@media (min-width: 768px) {
    .hero-trust-badges {
        justify-content: flex-start;
    }
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary-dark);
    font-weight: 600;
    font-size: 0.875rem;
}

.hero-image-wrapper {
    position: relative;
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
}

.hero-image-bg {
    position: absolute;
    top: 10%;
    left: 10%;
    width: 80%;
    height: 80%;
    background-color: var(--primary);
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.2;
    z-index: 0;
}

.hero-image-placeholder img {
    position: relative;
    z-index: 1;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

/* Benefits Section */
.benefits-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.benefit-card {
    background: white;
    padding: 2.5rem 1.5rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    text-align: center;
    transition: var(--transition);
    border: 1px solid var(--border);
}

.benefit-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-light);
}

.benefit-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 1.5rem;
    background-color: var(--primary-light);
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.benefit-card h3 {
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.benefit-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* How It Works Section */
.steps-container {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    max-width: 600px;
    margin: 0 auto;
    position: relative;
}

.steps-container::before {
    content: '';
    position: absolute;
    left: 24px;
    top: 24px;
    bottom: 24px;
    width: 2px;
    background-color: var(--primary-light);
    z-index: 0;
}

.step {
    display: flex;
    gap: 1.5rem;
    position: relative;
    z-index: 1;
}

.step-number {
    width: 48px;
    height: 48px;
    flex-shrink: 0;
    background-color: white;
    border: 2px solid var(--primary);
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.125rem;
}

.step-content {
    background: white;
    padding: 1.5rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    width: 100%;
}

.step-content h3 {
    margin-bottom: 0.5rem;
    font-size: 1.125rem;
}

.step-content p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* Products Section */
.products-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.product-card {
    background: white;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid var(--border);
    display: flex;
    flex-direction: column;
}

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

.product-image {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.product-card:hover .product-image img {
    transform: scale(1.05);
}

.product-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background-color: var(--primary);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    z-index: 1;
}

.product-info {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.product-category {
    font-size: 0.75rem;
    text-transform: uppercase;
    color: var(--primary);
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
}

.product-title {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    flex-grow: 1;
}

.product-price {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.old-price {
    color: var(--text-muted);
    text-decoration: line-through;
    font-size: 0.875rem;
}

.current-price {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--secondary);
}

.product-features {
    list-style: none;
    margin-bottom: 1.5rem;
}

.product-features li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-muted);
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
}

.product-features svg {
    color: var(--primary);
}

/* Footer */
.footer {
    background-color: var(--secondary);
    color: white;
    padding: 4rem 0 0;
}

.footer-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-brand p {
    color: #94a3b8;
    margin: 1.5rem 0;
    font-size: 0.95rem;
}

.secure-badges {
    display: flex;
    gap: 1rem;
}

.secure-badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: #e2e8f0;
}

.footer-links h3 {
    color: white;
    margin-bottom: 1.5rem;
    font-size: 1.125rem;
}

.footer-links ul {
    list-style: none;
}

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

.footer-links a {
    color: #94a3b8;
    font-size: 0.95rem;
}

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

.footer-contact h3 {
    color: white;
    margin-bottom: 1.5rem;
    font-size: 1.125rem;
}

.footer-contact p {
    color: #94a3b8;
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
}

.btn-whatsapp {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background-color: var(--primary);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-sm);
    font-weight: 600;
}

.btn-whatsapp:hover {
    background-color: var(--primary-dark);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: 1.5rem 0;
    text-align: center;
}

.footer-bottom p {
    color: #94a3b8;
    font-size: 0.875rem;
}

/* Responsive Media Queries */
@media (min-width: 768px) {
/* Empty rule removed */
    
    .hero {
        padding: 5rem 0 8rem;
    }
    
    .hero-container {
        grid-template-columns: 1fr 1fr;
        text-align: left;
    }
    
    .hero-text {
        text-align: left;
    }
    
    .hero-actions {
        flex-direction: row;
        align-items: center;
    }
    
    .hero-trust {
        justify-content: flex-start;
    }
    
    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-container {
        grid-template-columns: 2fr 1fr 1fr 1fr;
    }
}

@media (min-width: 1024px) {
    .desktop-nav {
        display: flex;
    }
    
    .desktop-only {
        display: inline-flex;
    }
    
    .menu-toggle {
        display: none;
    }
    
    .mobile-nav {
        display: none !important; /* Force hide on desktop */
    }
    
    h1 { font-size: 4.2rem; }
    h2 { 
        font-size: 2.5rem; 
        line-height: 1.2;
    }
    h3 { 
        font-size: 1.5rem; 
        line-height: 1.3;
    }
    
/* Empty rule removed */
    
    .benefits-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .products-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .steps-container {
        flex-direction: row;
        max-width: 100%;
        gap: 1rem;
    }
    
    .steps-container::before {
        left: 24px;
        right: 24px;
        width: auto;
        height: 2px;
        top: 24px;
        bottom: auto;
    }
    
    .step {
        flex-direction: column;
        flex: 1;
        align-items: center;
        text-align: center;
    }
}
