/* CSS Variables */
:root {
    --bg-primary: #0a0e14;
    /* Deep Charcoal/Black */
    --bg-secondary: #131722;
    /* Lighter dark */
    --bg-card: #1e222d;

    --text-primary: #ffffff;
    --text-secondary: #b2b5be;

    --accent-color: #39ff14;
    /* Neon Green */
    --accent-glow: rgba(57, 255, 20, 0.4);
    --gold: #ffd700;

    --font-main: 'Inter', sans-serif;

    --container-width: 1200px;
    --border-radius: 8px;
    --transition: all 0.3s ease;
}

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

body {
    font-family: var(--font-main);
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

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

ul {
    list-style: none;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

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

.text-gradient {
    background: linear-gradient(90deg, var(--accent-color), var(--gold));
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: var(--border-radius);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
    border: none;
    /* Reset default border */
}

.btn-nav-outline {
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: var(--text-secondary);
    background: transparent;
    padding: 8px 20px;
    font-size: 0.9rem;
}

.btn-nav-outline:hover {
    border-color: var(--text-primary);
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.05);
}

.btn-primary {
    background-color: var(--accent-color);
    color: #000;
    box-shadow: 0 0 15px var(--accent-glow);
}

.btn-primary:hover {
    background-color: #32d911;
    box-shadow: 0 0 25px var(--accent-glow);
    transform: translateY(-2px);
}

.btn-outline {
    border: 1px solid var(--accent-color);
    color: var(--accent-color);
    background: transparent;
}

.btn-outline:hover {
    background: rgba(57, 255, 20, 0.1);
}

.btn-lg {
    padding: 16px 40px;
    font-size: 1.1rem;
}

.shine-effect {
    position: relative;
    overflow: hidden;
}

.shine-effect::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: rgba(255, 255, 255, 0.2);
    transform: rotate(45deg);
    animation: shine 3s infinite;
}

@keyframes shine {
    0% {
        transform: translate(-150%, -150%) rotate(45deg);
    }

    100% {
        transform: translate(150%, 150%) rotate(45deg);
    }
}

/* Navbar */
.navbar {
    background-color: rgba(10, 14, 20, 0.9);
    backdrop-filter: blur(10px);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

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

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -1px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-links a {
    font-weight: 500;
    color: var(--text-secondary);
    transition: var(--transition);
}

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

/* Hero Section */
.hero {
    padding: 140px 0 80px;
    background: radial-gradient(circle at top center, #1b263b 0%, var(--bg-primary) 70%);
}

.hero-content {
    text-align: center;
    max-width: 900px;
}

.hero-headline {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
}

.hero-subheadline {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.hero-cta {
    margin-bottom: 60px;
}

.guarantee-text {
    margin-top: 15px;
    color: var(--text-secondary);
}

/* Trading Mockup */
.hero-visual {
    margin-top: 40px;
    perspective: 1000px;
}

.trading-chart-mockup {
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    transform: rotateX(5deg);
    max-width: 800px;
    margin: 0 auto;
    height: 400px;
    /* Placeholder height */
    position: relative;
    overflow: hidden;
}

.chart-header {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    font-size: 0.9rem;
    color: var(--text-secondary);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding-bottom: 10px;
}

.signal-tag {
    position: absolute;
    padding: 5px 10px;
    border-radius: 4px;
    color: #fff;
    font-weight: bold;
    font-size: 0.8rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.buy-signal {
    background-color: var(--accent-color);
    color: #000;
    top: 60%;
    left: 30%;
}

.sell-signal {
    background-color: #ff3b3b;
    top: 30%;
    left: 60%;
}

/* Chart Canvas - SVG */
.chart-body {
    position: relative;
    height: 300px;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
    background-size: 50px 50px;
    border-radius: 0 0 12px 12px;
}

.chart-svg {
    width: 100%;
    height: 100%;
    filter: drop-shadow(0 0 10px rgba(57, 255, 20, 0.2));
}

#chart-line {
    stroke-linecap: round;
    stroke-linejoin: round;
    transition: d 1s ease-in-out;
}

#chart-area {
    transition: d 1s ease-in-out;
}

#chart-signals {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.signal-tag {
    position: absolute;
    padding: 6px 12px;
    border-radius: 6px;
    color: #fff;
    font-weight: 800;
    font-size: 0.85rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
    transform: translate(-50%, -120%);
    /* Center horizontally, place above point */
    opacity: 0;
    animation: popIn 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

.buy-signal {
    background: linear-gradient(135deg, #00b09b, #96c93d);
    border: 1px solid #96c93d;
}

.sell-signal {
    background: linear-gradient(135deg, #ff5f6d, #ffc371);
    border: 1px solid #ff5f6d;
}

@keyframes popIn {
    from {
        opacity: 0;
        transform: translate(-50%, -80%) scale(0.8);
    }

    to {
        opacity: 1;
        transform: translate(-50%, -120%) scale(1);
    }
}

/* Specific Section Styles */
.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 20px;
}

.section-subtitle {
    text-align: center;
    color: var(--text-secondary);
    margin-bottom: 60px;
    font-size: 1.1rem;
}

section {
    padding: 80px 0;
}

/* Problem Section */
.problem {
    background-color: var(--bg-secondary);
}

.problem-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.problem-card {
    background: var(--bg-card);
    padding: 30px;
    border-radius: var(--border-radius);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: var(--transition);
}

.problem-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 60, 60, 0.3);
    /* Slight red hint for problem */
}

.problem-card .icon {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.problem-card h3 {
    margin-bottom: 15px;
    font-size: 1.3rem;
}

/* Features */
.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 30px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.feature-icon {
    font-size: 2rem;
    background: rgba(57, 255, 20, 0.1);
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    color: var(--accent-color);
}

.feature-text h3 {
    margin-bottom: 10px;
    font-size: 1.2rem;
}

.feature-text p {
    color: var(--text-secondary);
}

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

/* Testimonial Carousel */
.carousel-container {
    position: relative;
    overflow: hidden;
    padding: 20px 0;
    max-width: 1000px;
    /* Limit width for cleaner look */
    margin: 0 auto;
}

.carousel-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
    gap: 20px;
}

.testimonial-card {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    min-width: 300px;
    /* Fixed width for standard slides */
    max-width: 300px;
    flex-shrink: 0;
    /* Prevent shrinking */
    transition: transform 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent-color);
}

.quote {
    font-style: italic;
    color: #b0b0b0;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

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

.user-name {
    font-weight: 700;
    color: #fff;
}

.user-profit {
    font-size: 0.9rem;
    font-weight: 600;
}

/* Carousel Controls */
.carousel-controls {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 20px;
}

.carousel-btn {
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: var(--accent-color);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.2rem;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-btn:hover {
    background: var(--accent-color);
    color: #000;
}

.user-profit {
    height: 34px;
}

/* Pricing Toggle Switch - Compact */
.pricing-toggle-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-bottom: 40px;
}

.toggle-label {
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
}

.switch {
    position: relative;
    display: inline-block;
    width: 46px;
    /* Smaller width */
    height: 24px;
    /* Smaller height */
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: .4s;
}

.slider:before {
    position: absolute;
    content: "";
    height: 18px;
    /* Smaller knob */
    width: 18px;
    /* Smaller knob */
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: .4s;
}

input:checked+.slider {
    background-color: var(--accent-color);
}

input:focus+.slider {
    box-shadow: 0 0 1px var(--accent-color);
}

input:checked+.slider:before {
    transform: translateX(22px);
    /* Adjusted for new width */
}

.slider.round {
    border-radius: 34px;
}

.slider.round:before {
    border-radius: 50%;
}

.discount-badge {
    background: var(--gold);
    color: #000;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: bold;
    margin-left: 8px;
    opacity: 0;
    /* Hidden by default */
    transform: translateX(-10px);
    transition: all 0.3s ease;
    visibility: hidden;
}

.pricing-toggle-container.yearly-active .discount-badge {
    opacity: 1;
    transform: translateX(0);
    visibility: visible;
}

.pricing-cards {
    display: grid;
    gap: 30px;
}

.pricing-cards.four-col {
    grid-template-columns: repeat(4, 1fr);
}

.pricing-card {
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 30px;
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: var(--transition);
}

.pricing-card:hover {
    transform: translateY(-10px);
    border-color: var(--accent-color);
}

.pricing-card.featured {
    border: 1px solid var(--accent-color);
    box-shadow: 0 0 20px rgba(57, 255, 20, 0.1);
    transform: scale(1.05);
    z-index: 10;
}

.pricing-card.featured:hover {
    transform: scale(1.05) translateY(-10px);
}

.badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent-color);
    color: #000;
    padding: 5px 15px;
    border-radius: 20px;
    font-weight: 700;
    font-size: 0.8rem;
    white-space: nowrap;
}

.card-header {
    text-align: center;
    margin-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 20px;
}

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

.price {
    font-size: 2rem;
    font-weight: 800;
    color: var(--text-primary);
}

.price .period {
    font-size: 0.9rem;
    color: var(--text-secondary);
    font-weight: 400;
}

.features-list {
    margin-bottom: 30px;
    flex-grow: 1;
    font-size: 0.95rem;
}

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

.w-100 {
    width: 100%;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    align-items: center;
    justify-content: center;
}

.modal.active {
    display: flex;
}

.modal-content {
    background-color: var(--bg-card);
    margin: auto;
    padding: 40px;
    border: 1px solid var(--accent-color);
    border-radius: 12px;
    width: 90%;
    max-width: 500px;
    position: relative;
    box-shadow: 0 0 30px rgba(57, 255, 20, 0.2);
    animation: modalSlideIn 0.3s ease;
}

@keyframes modalSlideIn {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }

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

.close-modal {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    position: absolute;
    right: 20px;
    top: 10px;
}

.close-modal:hover,
.close-modal:focus {
    color: #fff;
    text-decoration: none;
    cursor: pointer;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
}

.form-group input {
    width: 100%;
    padding: 12px;
    border-radius: 6px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(0, 0, 0, 0.3);
    color: #fff;
    font-family: inherit;
}

.form-group input:focus {
    outline: none;
    border-color: var(--accent-color);
}


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

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

.footer-brand h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.footer-brand p {
    color: var(--text-secondary);
    margin-bottom: 30px;
}

.footer-bottom {
    font-size: 0.9rem;
    color: var(--text-secondary);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 20px;
}

.disclaimer {
    margin-top: 10px;
    font-size: 0.8rem;
    opacity: 0.7;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}


/* Hamburger Animation (Global) */
.hamburger {
    display: none;
}

.hamburger span {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    background-color: white;
    transition: all 0.3s ease-in-out;
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.hamburger.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

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

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background-color: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--border-radius);
    margin-bottom: 15px;
    overflow: hidden;
    transition: var(--transition);
}

.faq-item:hover {
    border-color: rgba(255, 255, 255, 0.1);
}

.faq-question {
    background: none;
    border: none;
    padding: 20px;
    width: 100%;
    text-align: left;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    color: var(--text-primary);
    font-size: 1.1rem;
    font-weight: 600;
    font-family: var(--font-main);
    transition: var(--transition);
}

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

.faq-question .icon {
    font-size: 1.5rem;
    font-weight: 400;
    transition: transform 0.3s ease;
    color: var(--accent-color);
}

.faq-item.active .faq-question .icon {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    padding: 0 20px;
    background-color: rgba(0, 0, 0, 0.2);
}

.faq-answer p {
    padding-bottom: 20px;
    color: var(--text-secondary);
    line-height: 1.6;
}

.faq-item.active .faq-answer {
    max-height: 300px;
    transition: max-height 0.3s ease-in;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        right: -100%;
        top: 70px;
        flex-direction: column;
        background-color: var(--bg-card);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        padding: 20px 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .nav-links.active {
        right: 0;
    }

    .hamburger {
        display: block;
        cursor: pointer;
    }

    .pricing-cards.four-col {
        grid-template-columns: 1fr;
    }

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


    .nav-links.active {
        right: 0;
    }

    .nav-links li {
        opacity: 0;
        margin: 20px 0;
    }

    .nav-links.active li {
        animation: navLinkFade 0.5s ease forwards 0.3s;
    }

    .hamburger {
        display: block;
        cursor: pointer;
    }

    .hamburger span {
        display: block;
        width: 25px;
        height: 3px;
        margin: 5px auto;
        transition: all 0.3s ease-in-out;
        background-color: var(--text-primary);
    }

    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active span:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .hamburger.active span:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .hero-headline {
        font-size: 2.2rem;
    }

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

    .pricing-cards.four-col {
        grid-template-columns: 1fr;
        /* 1 Column on Mobile */
    }

    .pricing-card.featured {
        transform: scale(1);
    }

    .hero-visual {
        display: none;
        /* Hide complex mockup on small mobile for simplicity, or scale it */
    }
}

@keyframes navLinkFade {
    from {
        opacity: 0;
        transform: translateX(50px);
    }

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

/* Social Proof Toast */
.purchase-toast {
    position: fixed;
    bottom: 20px;
    left: 20px;
    background: rgba(10, 10, 10, 0.8);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-left: 3px solid var(--accent-color);
    padding: 1rem;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    z-index: 1000;
    max-width: 320px;
    transform: translateY(100px);
    opacity: 0;
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: flex;
    align-items: center;
    gap: 12px;
}

.purchase-toast.show {
    transform: translateY(0);
    opacity: 1;
}

.toast-avatar {
    width: 40px;
    height: 40px;
    background: var(--gradient-gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: #000;
    font-size: 1.2rem;
}

.toast-info p {
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.4;
}

.toast-name {
    font-weight: 700;
    color: var(--text-color);
}

.toast-location {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.toast-product {
    color: var(--accent-color);
    font-weight: 600;
}

.toast-time {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-top: 2px;
    display: block;
}

/* Responsive Toast */
@media (max-width: 768px) {
    .purchase-toast {
        left: 50%;
        transform: translate(-50%, 100px);
        width: 90%;
        bottom: 10px;
    }

    .purchase-toast.show {
        transform: translate(-50%, 0);
    }
}

/* WhatsApp Float Button */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: #25d366;
    color: #fff;
    border-radius: 50%;
    text-align: center;
    font-size: 30px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(50px);
    pointer-events: none;
    /* Disable clicks when hidden */
}

.whatsapp-float.show {
    opacity: 1;
    transform: translateY(0);
    pointer-events: all;
}

.whatsapp-float:hover {
    background-color: #20ba5a;
    transform: scale(1.1);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.4);
}

.whatsapp-float img {
    width: 35px;
    height: 35px;
}

/* Pulse animation for WhatsApp */
@keyframes pulse-green {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }

    70% {
        box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

.whatsapp-float.show {
    animation: pulse-green 2s infinite;
}