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

:root {
    --primary-color: #2563EB;
    --accent-color: #22C55E;
    --dark: #1F2937;
    --gray: #6B7280;
    --light-gray: #F3F4F6;
    --white: #FFFFFF;
    --border: #E5E7EB;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    line-height: 1.6;
    color: var(--dark);
    background: var(--white);
}

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

ul {
    list-style: none;
}

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

/* ===========================
   Container & Layout
   =========================== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===========================
   Navigation
   =========================== */
.navbar {
    background: #1a2b4a;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 12px rgba(0,0,0,0.25);
    overflow: visible;
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0;
    height: auto;
}

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

.logo a {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    display: inline-block;
}

.logo-img {
    height: 60px;
    width: auto;
    object-fit: contain;
    display: block;
    border-radius: 4px;
}

.nav-menu {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-menu a {
    color: rgba(255,255,255,0.9);
    font-weight: 500;
    transition: color 0.3s;
}

.nav-menu a:hover {
    color: #ffffff;
}

.btn-nav {
    background: #22C55E;
    color: var(--white) !important;
    padding: 0.5rem 1.5rem;
    border-radius: 6px;
    transition: background 0.3s;
}

.btn-nav:hover {
    background: #16A34A;
}

.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
}

.mobile-toggle span {
    width: 25px;
    height: 3px;
    background: rgba(255,255,255,0.9);
    border-radius: 2px;
}

/* ===========================
   Buttons
   =========================== */
.btn {
    display: inline-block;
    padding: 0.75rem 2rem;
    border-radius: 6px;
    font-weight: 600;
    transition: all 0.3s;
    cursor: pointer;
    border: none;
    font-size: 1rem;
}

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

.btn-primary:hover {
    background: #1D4ED8;
    transform: translateY(-2px);
}

.btn-secondary {
    background: var(--white);
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

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

.btn-large {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
}

.btn-block {
    width: 100%;
    text-align: center;
}

.btn-small {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
}

/* ===========================
   Hero Section
   =========================== */
.hero {
    padding: 5rem 0;
    background: linear-gradient(135deg, #EEF2FF 0%, #DBEAFE 100%);
}

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

.hero h1 {
    font-size: 3rem;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: var(--dark);
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--gray);
    margin-bottom: 2rem;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 1rem;
}

.hero-note {
    color: var(--gray);
    font-size: 0.9rem;
}

/* ===========================
   Features Section
   =========================== */
.features {
    padding: 5rem 0;
}

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

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

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

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

.feature-card {
    padding: 2rem;
    border: 1px solid var(--border);
    border-radius: 8px;
    transition: all 0.3s;
}

.feature-card:hover {
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    transform: translateY(-5px);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.feature-card p {
    color: var(--gray);
}

/* ===========================
   How It Works Section
   =========================== */
.how-it-works {
    padding: 5rem 0;
    background: var(--light-gray);
}

.steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.step {
    text-align: center;
    padding: 2rem;
    background: var(--white);
    border-radius: 8px;
}

.step-number {
    width: 60px;
    height: 60px;
    background: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 1.5rem;
}

.step h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.step p {
    color: var(--gray);
}

/* ===========================
   Benefits Section
   =========================== */
.benefits {
    padding: 5rem 0;
}

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

.benefits-text h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
}

.benefits-list {
    list-style: none;
}

.benefits-list li {
    padding: 0.75rem 0;
    font-size: 1.1rem;
    color: var(--dark);
}

.benefits-stats {
    display: grid;
    gap: 1.5rem;
}

.stat-card {
    background: linear-gradient(135deg, var(--primary-color), #1D4ED8);
    color: var(--white);
    padding: 2rem;
    border-radius: 8px;
    text-align: center;
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1rem;
    opacity: 0.9;
}

/* ===========================
   CTA Section
   =========================== */
.cta {
    padding: 5rem 0;
    background: var(--primary-color);
    color: var(--white);
    text-align: center;
}

.cta h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cta p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

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

.cta .btn-primary:hover {
    background: var(--light-gray);
}

.cta-note {
    margin-top: 1rem;
    font-size: 0.9rem;
    opacity: 0.8;
}

/* ===========================
   Pricing Section
   =========================== */
.pricing {
    padding: 3rem 0 5rem;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.pricing-card {
    border: 2px solid var(--border);
    border-radius: 12px;
    padding: 2rem;
    position: relative;
    transition: all 0.3s;
}

.pricing-card:hover {
    box-shadow: 0 8px 30px rgba(0,0,0,0.1);
    transform: translateY(-5px);
}

.pricing-card-featured {
    border-color: var(--primary-color);
    box-shadow: 0 4px 20px rgba(37, 99, 235, 0.2);
}

.pricing-badge {
    position: absolute;
    top: -12px;
    right: 20px;
    background: var(--accent-color);
    color: var(--white);
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.pricing-header h3 {
    font-size: 1.75rem;
    margin-bottom: 0.5rem;
}

.pricing-description {
    color: var(--gray);
    margin-bottom: 1.5rem;
}

.pricing-price {
    margin-bottom: 2rem;
}

.currency {
    font-size: 1.5rem;
    vertical-align: super;
}

.amount {
    font-size: 3.5rem;
    font-weight: 700;
}

.period {
    color: var(--gray);
    font-size: 1.1rem;
}

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

.pricing-features li {
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border);
}

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

.pricing-faq {
    margin-top: 4rem;
    text-align: center;
}

.pricing-faq h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    text-align: left;
}

.faq-item h4 {
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.faq-item p {
    color: var(--gray);
}

/* ===========================
   Contact Section
   =========================== */
.contact-section {
    padding: 3rem 0 5rem;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 3rem;
}

.contact-form-wrapper h2 {
    margin-bottom: 1.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

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

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--border);
    border-radius: 6px;
    font-size: 1rem;
    font-family: inherit;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.form-message {
    margin-top: 1rem;
    padding: 1rem;
    border-radius: 6px;
    display: none;
}

.form-message.success {
    background: #D1FAE5;
    color: #065F46;
    display: block;
}

.form-message.error {
    background: #FEE2E2;
    color: #991B1B;
    display: block;
}

.contact-card {
    background: var(--light-gray);
    padding: 1.5rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
}

.contact-card h3 {
    margin-bottom: 1rem;
}

.contact-card p {
    margin-bottom: 0.5rem;
}

.contact-card a {
    color: var(--primary-color);
    text-decoration: underline;
}

/* ===========================
   Page Header
   =========================== */
.page-header {
    padding: 3rem 0;
    background: var(--light-gray);
    text-align: center;
}

.page-header h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.page-header p {
    font-size: 1.1rem;
    color: var(--gray);
}

/* ===========================
   Legal Content
   =========================== */
.legal-content {
    padding: 3rem 0 5rem;
}

.legal-text {
    max-width: 900px;
    margin: 0 auto;
}

.legal-text h2 {
    font-size: 1.75rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.legal-text h3 {
    font-size: 1.25rem;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
}

.legal-text p,
.legal-text ul {
    margin-bottom: 1rem;
    line-height: 1.8;
}

.legal-text ul {
    list-style: disc;
    padding-left: 2rem;
}

.legal-text a {
    color: var(--primary-color);
    text-decoration: underline;
}

/* ===========================
   Products Section
   =========================== */
.products {
    padding: 5rem 0;
    background: #EEF2FF;
}

.product-card {
    max-width: 860px;
    margin: 0 auto;
    background: #ffffff;
    border-radius: 16px;
    border: 2px solid #CBD5E1;
    border-left: 6px solid var(--primary-color);
    padding: 2.5rem;
    box-shadow: 0 8px 32px rgba(37, 99, 235, 0.12);
    transition: transform 0.3s, box-shadow 0.3s;
}

.product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 32px rgba(37, 99, 235, 0.13);
}

.product-card-header {
    margin-bottom: 1.25rem;
}

.product-badge {
    display: inline-block;
    background: #22C55E;
    color: #ffffff;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    margin-bottom: 0.75rem;
}

.product-card-header h3 {
    font-size: 2rem;
    color: var(--dark);
    margin: 0.25rem 0 0.25rem;
}

.product-tagline {
    font-size: 1.1rem;
    color: var(--primary-color);
    font-style: italic;
    font-weight: 500;
    margin: 0;
}

.product-description {
    font-size: 1.05rem;
    color: var(--gray) !important;
    line-height: 1.7;
    margin-bottom: 2rem;
}

.product-highlights {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.25rem;
    margin-bottom: 2rem;
}

.product-highlight-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    background: #F3F4F6;
    border-radius: 10px;
    padding: 1rem 1.25rem;
}

.highlight-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
    margin-top: 0.1rem;
}

.product-highlight-item strong {
    display: block;
    color: #1F2937;
    font-size: 0.95rem;
    margin-bottom: 0.2rem;
}

.product-highlight-item p {
    color: #6B7280 !important;
    font-size: 0.88rem;
    margin: 0;
    line-height: 1.5;
}

.product-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border);
}

.product-for {
    color: var(--gray);
    font-size: 0.95rem;
    margin: 0;
}

/* Planova Page */
.planova-hero {
    background: linear-gradient(135deg, #EEF2FF 0%, #DBEAFE 100%);
    padding: 5rem 0 4rem;
    text-align: center;
}

.planova-hero h1 {
    font-size: 3rem;
    color: var(--dark);
    margin-bottom: 0.5rem;
}

.planova-hero .hero-subtitle {
    font-size: 1.2rem;
    color: var(--gray);
    max-width: 600px;
    margin: 0 auto 1rem;
}

.planova-tagline {
    font-size: 1.1rem;
    color: var(--primary-color);
    font-style: italic;
    font-weight: 600;
    margin-bottom: 2rem;
}

.planova-hero-cta {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.planova-about {
    padding: 4rem 0;
    background: var(--white);
}

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

.planova-about-text h2 {
    font-size: 2rem;
    color: var(--dark);
    margin-bottom: 1rem;
}

.planova-about-text p {
    font-size: 1.05rem;
    color: var(--gray);
    line-height: 1.8;
}

.planova-who {
    background: var(--light-gray);
    border-radius: 12px;
    padding: 2rem;
}

.planova-who h3 {
    font-size: 1.3rem;
    color: var(--dark);
    margin-bottom: 1rem;
}

.planova-who ul {
    list-style: none;
    padding: 0;
}

.planova-who ul li {
    padding: 0.4rem 0;
    color: var(--gray);
    font-size: 0.98rem;
}

.planova-who ul li::before {
    content: "✓ ";
    color: var(--accent-color);
    font-weight: 700;
}

.planova-features {
    padding: 4rem 0;
    background: var(--light-gray);
}

.planova-cta {
    padding: 4rem 0;
    background: var(--primary-color);
    text-align: center;
}

.planova-cta h2 {
    font-size: 2rem;
    color: var(--white);
    margin-bottom: 1rem;
}

.planova-cta p {
    color: rgba(255,255,255,0.85);
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}

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

.planova-cta .btn-primary:hover {
    background: #f0f0f0;
}

@media (max-width: 768px) {
    .planova-about-grid {
        grid-template-columns: 1fr;
    }

    .planova-hero h1 {
        font-size: 2rem;
    }

    .product-footer {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* ===========================
   Hero Pills
   =========================== */
.hero-pills {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin-bottom: 1.25rem;
}

.hero-pill {
    display: inline-block;
    background: rgba(37, 99, 235, 0.1);
    color: var(--primary-color);
    border: 1px solid rgba(37, 99, 235, 0.25);
    border-radius: 20px;
    padding: 0.3rem 0.9rem;
    font-size: 0.85rem;
    font-weight: 600;
}

.hero-pill-new {
    background: rgba(34, 197, 94, 0.1);
    color: #15803D;
    border-color: rgba(34, 197, 94, 0.3);
    transition: background 0.2s;
}

.hero-pill-new:hover {
    background: rgba(34, 197, 94, 0.2);
}

/* ===========================
   Testimonials Section
   =========================== */
.testimonials {
    padding: 5rem 0;
    background: var(--white);
}

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

.testimonial-card {
    background: var(--white);
    border: 1.5px solid var(--border);
    border-radius: 14px;
    padding: 2rem;
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s, box-shadow 0.3s;
}

.testimonial-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 28px rgba(37, 99, 235, 0.1);
}

.testimonial-stars {
    color: #F59E0B;
    font-size: 1.1rem;
    letter-spacing: 2px;
    margin-bottom: 1rem;
}

.testimonial-text {
    color: var(--dark);
    font-size: 1rem;
    line-height: 1.75;
    margin-bottom: 1.5rem;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 0.85rem;
}

.testimonial-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--primary-color);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.testimonial-author strong {
    display: block;
    color: var(--dark);
    font-size: 0.95rem;
}

.testimonial-author span {
    color: var(--gray);
    font-size: 0.83rem;
}

/* ===========================
   Floating WhatsApp Button
   =========================== */
.whatsapp-float {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 56px;
    height: 56px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.5);
    z-index: 9999;
    transition: transform 0.2s, box-shadow 0.2s;
    text-decoration: none;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 28px rgba(37, 211, 102, 0.65);
}

.whatsapp-float svg {
    width: 30px;
    height: 30px;
    fill: #ffffff;
}

.whatsapp-tooltip {
    position: fixed;
    bottom: 32px;
    right: 90px;
    background: var(--dark);
    color: var(--white);
    padding: 0.4rem 0.85rem;
    border-radius: 8px;
    font-size: 0.83rem;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s;
    z-index: 9998;
}

.whatsapp-float:hover + .whatsapp-tooltip,
.whatsapp-tooltip.show {
    opacity: 1;
}

/* ===========================
   Scroll Fade-In Animation
   =========================== */
.fade-in {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.55s ease, transform 0.55s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ===========================
   Footer
   =========================== */
.footer {
    background: var(--dark);
    color: var(--white);
    padding: 3rem 0 1.5rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-col h4 {
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.footer-col p {
    color: #9CA3AF;
    font-size: 0.95rem;
}

.footer-col ul li {
    margin-bottom: 0.5rem;
}

.footer-col a {
    color: #9CA3AF;
    transition: color 0.3s;
}

.footer-col a:hover {
    color: var(--white);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #374151;
    color: #9CA3AF;
}

/* ===========================
   Cookie Notice
   =========================== */
.cookie-notice {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--dark);
    color: var(--white);
    padding: 1rem;
    z-index: 1000;
    display: none;
}

.cookie-notice.show {
    display: block;
}

.cookie-notice .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.cookie-notice p {
    margin: 0;
    flex: 1;
}

.cookie-notice a {
    color: var(--primary-color);
    text-decoration: underline;
}

/* ===========================
   Responsive Design
   =========================== */
@media (max-width: 768px) {
    .mobile-toggle {
        display: flex;
    }

    .nav-menu {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        padding: 1rem;
        box-shadow: 0 4px 10px rgba(0,0,0,0.1);
        display: none;
    }

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

    .nav-menu.active a {
        color: var(--dark);
    }

    .nav-menu.active .btn-nav {
        color: var(--white) !important;
    }

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

    .hero-subtitle {
        font-size: 1.1rem;
    }

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

    .section-header h2 {
        font-size: 2rem;
    }

    .benefits-content {
        grid-template-columns: 1fr;
    }

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

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

    .cookie-notice .container {
        flex-direction: column;
    }
}
