:root {
    --bg-dark: #0f172a;
    --bg-darker: #020617;
    --primary: #fbbf24;
    /* Gold/Amber */
    --primary-hover: #d97706;
    --text-light: #f8fafc;
    --text-dim: #94a3b8;
    --accent-blue: #3b82f6;
    --glass-bg: rgba(30, 41, 59, 0.7);
    --glass-border: rgba(255, 255, 255, 0.1);
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-light);
    line-height: 1.6;
    overflow-x: hidden;
}

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

/* Typography Gradient */
.text-gradient {
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

/* Header */
.header {
    background: rgba(15, 23, 42, 0.9);
    backdrop-filter: blur(10px);
    position: relative;
    /* Takes up space in the document flow */
    top: auto;
    width: 100%;
    z-index: 1000;
    border-bottom: 1px solid var(--glass-border);
}

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

/* Fonts */
@font-face {
    font-family: 'HemiHead';
    src: url('hemi_head.otf') format('opentype');
}

@font-face {
    font-family: 'TargetShooting';
    src: url('fonts/target_shooting.otf') format('opentype');
}

@font-face {
    font-family: 'YoungerThanMe';
    src: url('younger_than_me.ttf') format('truetype');
}

.logo {
    display: flex;
    align-items: center;
    gap: 5px;
    text-decoration: none;
}

.logo-instituto {
    font-family: 'HemiHead', sans-serif;
    font-size: 1.8rem;
    color: white;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.logo-img {
    height: 40px;
    width: auto;
    object-fit: contain;
}

.logo-oliver {
    font-family: 'YoungerThanMe', cursive;
    font-size: 2rem;
    color: var(--primary);
}

.nav a {
    color: var(--text-light);
    text-decoration: none;
    margin-left: 30px;
    font-weight: 500;
    transition: var(--transition);
}

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

.btn-header {
    background-color: transparent;
    border: 1px solid var(--primary);
    padding: 10px 20px;
    border-radius: 5px;
    color: var(--primary) !important;
}

.btn-header:hover {
    background-color: var(--primary);
    color: var(--bg-dark) !important;
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    background-image: url('hero-security.png');
    background-size: cover;
    background-position: center;
    background-attachment: scroll;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(15, 23, 42, 0.9) 0%, rgba(15, 23, 42, 0.7) 100%);
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
}

.badge {
    background-color: rgba(59, 130, 246, 0.2);
    color: var(--accent-blue);
    padding: 8px 16px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    border: 1px solid rgba(59, 130, 246, 0.4);
    display: inline-block;
    margin-bottom: 20px;
}

.hero h1 {
    font-size: 3.5rem;
    line-height: 1.1;
    /* margin-bottom: 20px; Removed to let wrapper handle spacing if needed, or keep */
    font-weight: 900;
}

.title-wrapper {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    /* Align left */
    gap: 30px;
    margin-bottom: 20px;
}

.hero-sub {
    font-size: 1.25rem;
    color: var(--text-dim);
    margin-bottom: 40px;
    max-width: 600px;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    margin-bottom: 60px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 32px;
    border-radius: 8px;
    font-weight: 700;
    text-decoration: none;
    transition: var(--transition);
    text-transform: uppercase;
    font-size: 1rem;
    gap: 10px;
}

.btn-primary {
    background: linear-gradient(135deg, #10b981 0%, #15803d 100%);
    color: white;
    box-shadow: 0 4px 6px -1px rgba(16, 185, 129, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(16, 185, 129, 0.4);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
}

/* Stats */
.hero-stats {
    display: flex;
    gap: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 15px;
}

.stat-item i {
    font-size: 2rem;
    color: var(--text-dim);
}

.stat-item span {
    font-size: 1.2rem;
    font-weight: 700;
    line-height: 1.2;
}

.stat-item small {
    font-size: 0.9rem;
    color: var(--text-dim);
    font-weight: 400;
}

/* Sections General */
section {
    padding: 100px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.section-header p {
    color: var(--text-dim);
    font-size: 1.1rem;
}

/* Legal Authority */
.authority-section {
    background-color: var(--bg-darker);
}

.authority-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.authority-text h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.legal-list {
    list-style: none;
    margin: 40px 0;
}

.legal-list li {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}

.legal-list i {
    font-size: 1.5rem;
    color: var(--primary);
    background: rgba(251, 191, 36, 0.1);
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
}

.legal-list strong {
    display: block;
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.legal-list p {
    color: var(--text-dim);
    font-size: 0.95rem;
}

.alert-box {
    background: rgba(30, 41, 59, 0.5);
    border-left: 4px solid var(--accent-blue);
    padding: 20px;
    border-radius: 0 8px 8px 0;
    display: flex;
    gap: 15px;
    align-items: center;
}

.alert-box i {
    color: var(--accent-blue);
    font-size: 1.2rem;
}

/* Glass Cards */
.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 40px;
}

/* Benefits Grid */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.benefit-card {
    background: var(--bg-darker);
    padding: 30px;
    border-radius: 16px;
    transition: var(--transition);
    border: 1px solid transparent;
}

.benefit-card:hover {
    transform: translateY(-10px);
    border-color: rgba(251, 191, 36, 0.2);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.3);
}

.benefit-card i {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 20px;
}

.benefit-card h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
}

.benefit-card p {
    color: var(--text-dim);
}

/* Offer Section */
.offer-section {
    position: relative;
    background: url('hero-security.png') no-repeat center center/cover;
    background-attachment: scroll;
}

.offer-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.95);
}

.offer-card {
    position: relative;
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
    border: 1px solid rgba(251, 191, 36, 0.3);
    box-shadow: 0 0 50px rgba(251, 191, 36, 0.1);
}

.offer-header {
    margin-bottom: 40px;
}

.offer-header h4 {
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.9rem;
    margin-bottom: 10px;
}

.pricing {
    margin-bottom: 40px;
}

.price-installment {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    font-weight: 700;
}

.price-installment small {
    font-size: 1.5rem;
    color: var(--text-dim);
}

.currency {
    font-size: 2rem;
    color: var(--primary);
}

.value {
    font-size: 5rem;
    color: white;
    line-height: 1;
}

.cash-price {
    font-size: 1.1rem;
    color: var(--text-dim);
    margin-top: 10px;
}

.offer-features {
    list-style: none;
    margin-bottom: 40px;
    text-align: left;
    display: inline-block;
}

.offer-features li {
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.offer-features i {
    color: var(--primary);
    margin-right: 10px;
}

.btn-large {
    width: 100%;
    font-size: 1.2rem;
    padding: 20px;
}

.payment-methods {
    margin-top: 30px;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.payment-methods p {
    font-size: 0.9rem;
    color: var(--text-dim);
    margin-bottom: 10px;
}

.payment-methods .icons i {
    font-size: 2rem;
    margin: 0 10px;
    color: #cbd5e1;
}

.secondary-option {
    margin-top: 40px;
}

.btn-outline {
    display: inline-block;
    padding: 10px 20px;
    border: 1px solid var(--text-dim);
    color: var(--text-dim);
    text-decoration: none;
    border-radius: 5px;
    margin-top: 10px;
    font-size: 0.9rem;
    transition: var(--transition);
}

.btn-outline:hover {
    border-color: white;
    color: white;
}

/* Animations */
@keyframes pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
    }

    70% {
        transform: scale(1.02);
        box-shadow: 0 0 0 15px rgba(16, 185, 129, 0);
    }

    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
    }
}

.pulse {
    animation: pulse 2s infinite;
}

/* Footer */
.footer {
    background: black;
    padding: 60px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 5px;
}

.social-links {
    display: flex;
    gap: 20px;
}

.social-links a {
    color: var(--text-dim);
    font-size: 1.5rem;
    transition: var(--transition);
}

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

.legal-disclaimer {
    font-size: 0.8rem;
    color: var(--text-dim);
    margin-top: 20px;
    opacity: 0.7;
}

/* Video Placeholder */
.video-placeholder {
    height: 400px;
    /* Rough height of a typical video */
    background: #000;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    color: #fff;
    text-align: center;
}

.video-placeholder i {
    font-size: 4rem;
    color: #ff0000;
    margin-bottom: 20px;
}

.video-placeholder p {
    font-size: 1.5rem;
    margin-bottom: 20px;
}

.link-fallback {
    color: var(--primary);
    text-decoration: underline;
}

/* Testimonials Carousel */
.testimonials-section {
    background-color: var(--bg-dark);
}

.carousel-container {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 50px;
}

.carousel-track {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    padding-bottom: 20px;
    -ms-overflow-style: none;
    /* IE and Edge */
    scrollbar-width: none;
    /* Firefox */
}

.carousel-track::-webkit-scrollbar {
    display: none;
}

.carousel-card {
    flex: 0 0 100%;
    /* Mobile first: 1 video per view */
    min-width: 0;
    scroll-snap-align: center;
    position: relative;
    padding: 10px;
}

@media (min-width: 769px) {
    .carousel-card {
        flex: 0 0 calc(33.333% - 14px);
        /* 3 videos per view on desktop */
    }
}

.video-wrapper {
    position: relative;
    padding-bottom: 177.78%;
    /* 9:16 Aspect Ratio (Vertical) */
    height: 0;
    overflow: hidden;
    border-radius: 12px;
    background: #000;
}

.video-wrapper-horizontal {
    position: relative;
    padding-bottom: 56.25% !important;
    /* 16:9 Aspect Ratio (Horizontal) */
    height: 0;
    overflow: hidden;
    border-radius: 12px;
    background: #000;
}

.video-wrapper-horizontal iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(251, 191, 36, 0.1);
    color: var(--primary);
    border: 1px solid var(--primary);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    z-index: 10;
}

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

.prev-btn {
    left: 0;
}

.next-btn {
    right: 0;
}

/* FAQ Accordion */
.faq-section {
    background-image: linear-gradient(to bottom, var(--bg-dark), var(--bg-darker));
}

.faq-accordion {
    max-width: 800px;
    margin: 0 auto;
    padding: 0;
    /* Remove default padding from glass-card if wanted, or keep */
}

details {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 20px;
    transition: var(--transition);
}

details:last-child {
    border-bottom: none;
}

details[open] {
    background: rgba(255, 255, 255, 0.05);
}

summary {
    list-style: none;
    cursor: pointer;
    font-weight: 600;
    font-size: 1.1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-light);
    transition: var(--transition);
}

summary::-webkit-details-marker {
    display: none;
}

summary:hover {
    color: var(--primary);
}

summary i {
    transition: transform 0.3s ease;
    color: var(--primary);
}

details[open] summary i {
    transform: rotate(180deg);
}

.faq-content {
    margin-top: 15px;
    color: var(--text-dim);
    line-height: 1.7;
    animation: fadeIn 0.5s ease;
}

.faq-content ul {
    margin-left: 20px;
    list-style-type: none;
}

.faq-content li {
    margin-bottom: 5px;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Stamp Urgent - Splash Style */
/* Stamp Urgent - Splash Style */
.stamp-urgent {
    display: inline-block;
    color: rgba(251, 191, 36, 0.9);
    /* Standard Yellow with slight transparency */
    font-weight: 900;
    text-transform: uppercase;
    font-size: 1.5rem;
    letter-spacing: 2px;
    transform: rotate(-10deg);
    padding: 10px 20px;

    /* Splashy Border */
    border: 4px solid rgba(251, 191, 36, 0.6);
    /* Transparent border */
    border-style: double;

    background: rgba(251, 191, 36, 0.1);
    /* Very transparent yellow background */
    box-shadow: 0 0 15px rgba(251, 191, 36, 0.2);

    border-radius: 4px;
    /* margin-bottom: 25px; Removed margin as flex handles gap */
    animation: stamp-pop 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
    text-shadow: 0 0 5px rgba(0, 0, 0, 0.3);
    white-space: nowrap;
    /* Prevent breaking on PC */
}



@keyframes stamp-pop {
    0% {
        opacity: 0;
        transform: scale(3) rotate(-10deg);
    }

    100% {
        opacity: 1;
        transform: scale(1) rotate(-10deg);
    }
}

/* Mobile Optimization */
@media (max-width: 768px) {
    .hero {
        text-align: center;
        padding-top: 100px;
    }

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

    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }

    .hero-buttons .btn {
        width: 100%;
    }

    .hero-stats {
        flex-direction: column;
        gap: 20px;
        align-items: center;
    }

    .hero h1 {
        font-size: 2rem;
        /* Reduce size for mobile */
    }

    .nav {
        display: none;
        /* Consider a hamburger menu for full implementation, but for now simple hide or stack */
    }
}



/* Responsive */
@media (max-width: 768px) {
    .header-container {
        flex-direction: column;
        height: auto;
        padding: 20px 0;
        gap: 20px;
    }

    /* Guarantee Badge */
    .guarantee-badge {
        background: rgba(16, 185, 129, 0.1);
        border: 1px solid rgba(16, 185, 129, 0.3);
        border-radius: 12px;
        padding: 20px;
        display: flex;
        align-items: center;
        gap: 15px;
        text-align: left;
        margin: 20px 0 30px;
    }

    .guarantee-badge i {
        font-size: 2.5rem;
        color: #10b981;
        /* Emerald Green */
    }

    .guarantee-badge strong {
        display: block;
        color: #10b981;
        font-size: 1.1rem;
        margin-bottom: 5px;
        text-transform: uppercase;
    }

    .guarantee-badge p {
        font-size: 0.9rem;
        color: var(--text-dim);
        margin: 0;
        line-height: 1.4;
    }

    /* Reset padding as header is now relative (stacked) */
    .hero {
        padding-top: 60px;
        /* Standard spacing */
        height: auto;
        min-height: 100vh;
        align-items: center;
        /* Can return to center if desired, or keep start */
        justify-content: center;
    }

    .logo {
        margin-bottom: 10px;
    }

    .nav {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }

    .nav a {
        margin: 0;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .title-wrapper {
        flex-direction: column-reverse;
        /* Put stamp above title on mobile if desired, or column. User logic might vary. Let's stick to column with stamp on top or bottom. Previously stamp was top. */
        align-items: center;
        text-align: center;
        gap: 15px;
    }

    .stamp-urgent {
        margin-bottom: 10px;
        /* Bring back margin for mobile stack */
    }

    .hero-buttons {
        flex-direction: column;
    }

    .hero-stats {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }

    .authority-grid {
        grid-template-columns: 1fr;
    }

    .offer-card {
        padding: 20px;
    }

    .value {
        font-size: 4rem;
    }
}