/* ========= RESET & VARIABLES ========= */
:root {
    --bg-primary: #0A192F;       /* Dark Navy */
    --bg-secondary: #172A46;     /* Lighter Navy for cards */
    --accent-primary: #00A8FF;   /* Bright Cyan-Blue */
    --accent-secondary: #007BFF; /* Standard Blue for hover/links */
    --text-primary: #E6F1FF;     /* Light Blue/White */
    --text-secondary: #A8B2D1;   /* Lighter Grey/Blue */
    --text-headings: #FFFFFF;    /* Pure White */
    --border-color: rgba(0, 168, 255, 0.15);
    --shadow-color: rgba(0, 123, 255, 0.1);
    --success-color: #28a745;
}

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

/* ========= BASE STYLES ========= */
body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--bg-primary);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.container {
    width: 90%;
    max-width: 1100px;
    margin: 0 auto;
}

section {
    padding: 100px 0;
}

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

.section-title span {
    display: block;
    font-size: 0.9rem;
    color: var(--accent-primary);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 8px;
}

.section-title h2 {
    font-size: clamp(2rem, 5vw, 2.5rem);
    color: var(--text-headings);
}

.section-title p {
    max-width: 600px;
    margin: 1rem auto 0;
    color: var(--text-secondary);
}

h1, h2, h3, h4 {
    font-weight: 700;
    color: var(--text-headings);
    line-height: 1.3;
}

p {
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

a {
    color: var(--accent-secondary);
    text-decoration: none;
    transition: color 0.3s ease;
}

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

/* ========= BUTTONS ========= */
.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    cursor: pointer;
    font-size: 0.95rem;
}

.btn-primary {
    background-color: var(--accent-primary);
    color: var(--bg-primary);
    font-weight: 700;
}

.btn-primary:hover {
    background-color: var(--accent-secondary);
    color: var(--text-headings);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px var(--shadow-color);
}

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

.btn-secondary:hover {
    background-color: rgba(0, 168, 255, 0.1);
    transform: translateY(-3px);
}

/* ========= HEADER ========= */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(10, 25, 47, 0.85);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid var(--border-color);
    transition: top 0.3s;
}

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

.logo {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--text-headings);
}

.logo span {
    color: var(--accent-primary);
}

.nav-menu {
    list-style: none;
    display: flex;
    align-items: center;
}

.nav-menu li {
    margin-left: 30px;
}

.nav-menu a {
    color: var(--text-primary);
    font-weight: 500;
    font-size: 0.95rem;
    padding-bottom: 5px;
    position: relative;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent-primary);
    transition: width 0.3s ease;
}

.nav-menu a:hover::after, .nav-menu a.active::after {
    width: 100%;
}

.header-btn {
    display: block;
}

.menu-toggle {
    display: none;
    background: transparent; 
    border: none;
    cursor: pointer;
    padding: 10px;
    z-index: 1001;
}

.menu-toggle .bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    background-color: var(--text-headings);
    border-radius: 3px;
    transition: all 0.3s ease-in-out;
}

/* ========= HERO SECTION ========= */
.hero-section {
    padding: 180px 0 140px;
    text-align: left;
    display: flex;
    align-items: center;
}

.hero-content {
    max-width: 700px;
}

.hero-subtitle {
    display: block;
    font-size: 1rem;
    color: var(--accent-primary);
    font-weight: 600;
    margin-bottom: 1rem;
    letter-spacing: 1px;
}

.hero-section h1 {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    margin-bottom: 1.5rem;
}

.hero-section p {
    font-size: 1.1rem;
    max-width: 600px;
    margin-bottom: 2.5rem;
}

.cta-buttons a {
    margin-right: 15px;
}

/* ========= FEATURES SECTION ========= */
.features-section {
    background-color: var(--bg-secondary);
}

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

.feature-card {
    background: var(--bg-primary);
    padding: 35px 30px;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 20px var(--shadow-color);
}

.feature-icon {
    color: var(--accent-primary);
    margin-bottom: 1.5rem;
}

.feature-icon svg {
    width: 36px;
    height: 36px;
}

.feature-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

/* ========= HOW IT WORKS SECTION ========= */
.steps-container {
    position: relative;
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

.step {
    display: flex;
    align-items: flex-start;
    background: var(--bg-secondary);
    padding: 30px;
    border-radius: 8px;
    border-left: 4px solid var(--accent-primary);
}

.step-number {
    font-size: 2rem;
    font-weight: 800;
    color: var(--accent-primary);
    margin-right: 25px;
    line-height: 1;
}

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

/* ========= PRICING SECTION ========= */
.pricing-section {
    background-color: var(--bg-secondary);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    align-items: stretch; /* Make cards same height */
}

.pricing-card {
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 40px;
    text-align: center;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.pricing-card.popular {
    border-color: var(--accent-primary);
    transform: scale(1.03);
    position: relative;
}

.popular-badge {
    position: absolute;
    top: -1px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent-primary);
    color: var(--bg-primary);
    padding: 6px 20px;
    font-size: 0.8rem;
    font-weight: 700;
    border-radius: 0 0 8px 8px;
    width: 60%;
}

.pricing-header h3 {
    font-size: 1.5rem;
}

.pricing-header p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    min-height: 30px;
}

.price {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--accent-primary);
    margin: 1.5rem 0;
}

.price span {
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-secondary);
}

.features-list {
    list-style: none;
    margin: 2rem 0;
    text-align: left;
    flex-grow: 1;
}

.features-list li {
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    font-size: 0.95rem;
}

.features-list li::before {
    content: '✓';
    color: var(--success-color);
    margin-right: 10px;
    font-weight: 700;
    font-size: 1.2em;
}

.pricing-card .btn {
    width: 100%;
    margin-top: auto;
}

/* ========= FAQ SECTION ========= */
.faq-grid {
    max-width: 800px;
    margin: 0 auto;
}

.faq-grid details {
    background: var(--bg-secondary);
    border-bottom: 1px solid var(--border-color);
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 10px;
}

.faq-grid summary {
    font-weight: 600;
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.1rem;
}

.faq-grid summary::after {
    content: '+';
    font-size: 1.8rem;
    color: var(--accent-primary);
    transition: transform 0.2s ease;
}

.faq-grid details[open] summary::after {
    transform: rotate(45deg);
}

.faq-grid details p {
    margin-top: 1rem;
    padding-left: 15px;
    border-left: 2px solid var(--accent-primary);
}

/* ========= FOOTER ========= */
.main-footer {
    background-color: var(--bg-secondary);
    padding: 60px 0 20px;
    font-size: 0.9rem;
    border-top: 1px solid var(--border-color);
}

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

.footer-about .logo {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    display: block;
}

.footer-about p {
    max-width: 300px;
}

.footer-links h4 {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    color: var(--text-headings);
    text-transform: uppercase;
    letter-spacing: 1px;
}

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

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

.footer-links a {
    color: var(--text-secondary);
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: var(--accent-primary);
    padding-left: 5px;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
    color: var(--text-secondary);
}

/* ========= RESPONSIVE STYLES ========= */
@media (max-width: 992px) {
    .footer-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }
}

@media (max-width: 768px) {
    .nav-menu {
        display: none;
        position: fixed;
        top: 70px;
        left: 0;
        width: 100%;
        height: calc(100vh - 70px);
        background-color: var(--bg-secondary);
        flex-direction: column;
        justify-content: center;
        text-align: center;
        transform: translateX(-100%);
        transition: transform 0.3s ease-in-out;
    }

    .nav-menu.active {
        display: flex;
        transform: translateX(0);
    }

    .nav-menu li {
        margin: 20px 0;
    }
    
    .nav-menu a {
        font-size: 1.5rem;
    }

    .header-btn {
        display: none;
    }

    .menu-toggle {
        display: block;
    }

    .menu-toggle.active .bar:nth-child(2) {
        opacity: 0;
    }
    .menu-toggle.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    .menu-toggle.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .hero-section {
        padding-top: 120px;
        padding-bottom: 80px;
        text-align: center;
    }

    .hero-content, .hero-section p {
        margin-left: auto;
        margin-right: auto;
    }

    .cta-buttons {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .cta-buttons a {
        margin: 10px 0 0 0;
        width: 100%;
        max-width: 320px;
        text-align: center;
    }

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

/* ========= PAGE-SPECIFIC STYLES ========= */
.page-hero-section {
    padding: 140px 0 80px;
    text-align: center;
    background-color: var(--bg-secondary);
}
.page-hero-section h1 {
    font-size: clamp(2.2rem, 5vw, 3rem);
}
.page-hero-section .subtitle {
    font-size: 1.1rem;
    max-width: 600px;
    margin: 1rem auto 0;
    color: var(--text-secondary);
}

/* About Page */
.about-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}
.about-content p {
    font-size: 1.1rem;
}
.mission-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 4rem;
}
.mission-card {
    background: var(--bg-secondary);
    padding: 35px;
    border-radius: 8px;
    border: 1px solid var(--border-color);
}
.mission-card h3 {
    color: var(--accent-primary);
    margin-bottom: 1rem;
}

/* Blog Page */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    padding: 80px 0;
}
.post-card {
    background: var(--bg-secondary);
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}
.post-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px var(--shadow-color);
}
.post-card-image {
    height: 200px;
    background-color: var(--accent-primary);
    background-size: cover;
    background-position: center;
}
.post-card-content {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}
.post-card-content h3 {
    margin-bottom: 1rem;
    font-size: 1.25rem;
}
.post-card-content p {
    flex-grow: 1;
    font-size: 0.95rem;
}
.post-card-content .btn-secondary {
    margin-top: 1.5rem;
    align-self: flex-start;
}

/* Support Page */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 4rem;
}
.contact-card {
    background: var(--bg-secondary);
    padding: 40px;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.contact-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px var(--shadow-color);
}
.contact-card .icon {
    font-size: 2.5rem;
    color: var(--accent-primary);
    margin-bottom: 1.5rem;
}
.contact-card h3 {
    margin-bottom: 1rem;
}
.contact-card a.contact-link {
    display: inline-block;
    margin-top: 1.5rem;
    font-weight: 700;
    padding: 10px 20px;
    border: 1px solid var(--accent-secondary);
    border-radius: 5px;
}

/* Legal Pages */
.legal-content {
    max-width: 800px;
    margin: 0 auto;
}
.legal-content h2 {
    font-size: 1.6rem;
    color: var(--accent-primary);
    margin: 2.5rem 0 1rem;
}
.legal-content ul {
    padding-left: 20px;
}
.legal-content ul li {
    margin-bottom: 1rem;
}

/* ========= MODERN BLOG CARDS (NO IMAGE) ========= */
.blog-grid .post-card {
    background: linear-gradient(145deg, var(--bg-secondary), #1A2F4D);
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    opacity: 0; /* For JS fade-in */
    transform: translateY(20px); /* For JS fade-in */
    transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}

.blog-grid .post-card.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.post-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px var(--shadow-color);
    border-color: var(--accent-primary);
}

.post-card-image {
    display: none; /* Remove image element */
}

.post-card-content {
    padding: 30px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.post-card-category {
    display: inline-block;
    background-color: var(--accent-primary);
    color: var(--bg-primary);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 1rem;
    align-self: flex-start;
}

.post-card-content h3 {
    font-size: 1.3rem;
    margin-bottom: 0.75rem;
    flex-grow: 1;
}

.post-card-content p {
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
}

.post-card-content .btn-secondary {
    margin-top: auto;
    align-self: flex-start;
    color: var(--text-primary);
    border: none;
    padding: 0;
    font-weight: 600;
}

.post-card-content .btn-secondary:hover {
    background-color: transparent;
    color: var(--accent-primary);
    text-decoration: underline;
}

.post-card-content .btn-secondary::after {
    content: ' →';
    transition: transform 0.2s ease;
}

.post-card-content .btn-secondary:hover::after {
    transform: translateX(5px);
}

/* ========= MODERN HERO FOR REVENDA PAGE ========= */
.hero-revenda-section {
    padding: 160px 0 100px;
    background: var(--bg-secondary);
}

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

.hero-revenda-content h1 {
    font-size: clamp(2.5rem, 5vw, 3.2rem);
    margin-bottom: 1.5rem;
}

.hero-revenda-content p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    max-width: 550px;
}

.hero-offer-card {
    background: var(--bg-primary);
    border: 1px solid var(--accent-primary);
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 10px 30px var(--shadow-color);
}

.hero-offer-card h3 {
    font-size: 1.5rem;
    color: var(--text-headings);
}

.hero-offer-card .price {
    font-size: 3rem;
    font-weight: 700;
    color: var(--accent-primary);
    margin: 1rem 0;
}

.hero-offer-card .payment-note {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.hero-offer-card .btn-primary {
    width: 100%;
    font-size: 1.1rem;
}

@media (max-width: 992px) {
    .hero-revenda-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    .hero-revenda-content {
        text-align: center;
    }
    .hero-revenda-content p {
        margin-left: auto;
        margin-right: auto;
    }
}

/* ========= DYNAMIC PARTICLE BACKGROUND ========= */
.hero-section, .hero-revenda-section {
    position: relative;
    overflow: hidden;
}

#particle-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-section .container, .hero-revenda-section .container {
    position: relative;
    z-index: 1;
}

/* ========= IMPROVED ABOUT US PAGE ========= */

/* Story Section */
.about-story-section {
    background-color: var(--bg-secondary);
}
.about-story-grid {
    max-width: 800px;
    margin: 0 auto;
}

/* Testimonials Section */
.testimonials-section {
    background-color: var(--bg-secondary);
}
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}
.testimonial-card {
    background-color: var(--bg-primary);
    padding: 35px;
    border-radius: 8px;
    border-left: 4px solid var(--accent-primary);
    display: flex;
    flex-direction: column;
}
.testimonial-card p {
    font-style: italic;
    color: var(--text-primary);
    flex-grow: 1;
    margin-bottom: 1.5rem;
}
.testimonial-card p::before {
    content: '“';
    font-size: 2.5rem;
    color: var(--accent-primary);
    line-height: 0;
    display: block;
}
.testimonial-author h4 {
    font-size: 1rem;
    color: var(--text-headings);
    margin: 0;
}
.testimonial-author span {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

@media (max-width: 768px) {
    .about-story-grid {
        grid-template-columns: 1fr;
    }
    .about-story-image {
        margin-bottom: 40px;
    }
}

