/* Root Variables */
:root {
    --background: #ffffff;
    --foreground: #0D0D0D;
    --card: #ffffff;
    --card-foreground: #0D0D0D;
    --primary: #2B308C;
    --primary-foreground: #ffffff;
    --secondary: #262A73;
    --secondary-foreground: #ffffff;
    --muted: #f4f4f5;
    --muted-foreground: #71717a;
    --accent: #D91E2E;
    --accent-foreground: #ffffff;
    --border: #e4e4e7;
    --input: #e4e4e7;
    --ring: #2B308C;
    --radius: 0.75rem;
    
    --brand-blue: #2B308C;
    --brand-red: #D91E2E;
    --brand-dark-blue: #1B1E59;
    --brand-medium-blue: #262A73;
    --brand-black: #0D0D0D;
    --whatsapp-green: #25D366;
    --whatsapp-hover: #20BD5A;
}

/* Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    border-color: var(--border);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', system-ui, -apple-system, sans-serif;
    background-color: var(--background);
    color: var(--foreground);
    line-height: 1.5;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.1s ease;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Utilities */
.text-accent { color: var(--accent); }
.text-white { color: #ffffff; }

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem 1rem;
    border-radius: var(--radius);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    gap: 0.5rem;
}

.btn-whatsapp {
    background-color: var(--whatsapp-green);
    color: #ffffff;
}

.btn-whatsapp:hover {
    background-color: var(--whatsapp-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
}

.btn-instagram {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    color: #ffffff;
}

.btn-instagram:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(220, 39, 67, 0.3);
}

.btn-primary {
    background-color: var(--primary);
    color: #ffffff;
}

.btn-primary:hover {
    background-color: var(--brand-medium-blue);
    transform: translateY(-2px);
}

.btn-lg {
    padding: 0.75rem 1.5rem;
    font-size: 1.125rem;
}

.badge {
    display: inline-block;
    padding: 0.375rem 1rem;
    background-color: rgba(43, 48, 140, 0.1);
    color: var(--primary);
    font-size: 0.875rem;
    font-weight: 600;
    border-radius: 9999px;
    margin-bottom: 1rem;
}

.badge-light {
    background-color: rgba(255, 255, 255, 0.1);
    color: #ffffff;
}

.section-header {
    text-align: center;
    max-width: 42rem;
    margin: 0 auto 3rem;
}

.section-header h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.section-header p {
    color: var(--muted-foreground);
    font-size: 1.125rem;
}

@media (min-width: 768px) {
    .section-header h2 { font-size: 2.5rem; }
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 50;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--border);
}

.header-container {
    height: 4rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

@media (min-width: 768px) {
    .header-container { height: 5rem; }
}

.logo img {
    height: 2.5rem;
    object-contain: contain;
}

@media (min-width: 768px) {
    .logo img { height: 3rem; }
}

.desktop-nav {
    display: none;
    gap: 2rem;
}

.desktop-nav a {
    font-size: 0.875rem;
    font-weight: 500;
    color: rgba(13, 13, 13, 0.8);
}

.desktop-nav a:hover {
    color: var(--primary);
}

.desktop-cta {
    display: none;
    gap: 0.75rem;
    align-items: center;
}

.mobile-menu-toggle {
    background: none;
    border: none;
    cursor: pointer;
    color: var(--foreground);
    padding: 0.5rem;
}

@media (min-width: 1024px) {
    .desktop-nav, .desktop-cta { display: flex; }
    .mobile-menu-toggle { display: none; }
}

/* Mobile Nav */
.mobile-nav {
    display: none;
    border-top: 1px solid var(--border);
    padding: 1rem 0;
    background-color: var(--background);
}

.mobile-nav.active {
    display: block;
}

.mobile-nav-content {
    display: flex;
    flex-direction: column;
    padding: 0 1rem;
    gap: 1rem;
}

.mobile-nav-content a:not(.btn) {
    padding: 0.5rem 0;
    font-weight: 500;
}

/* Hero Section */
.hero {
    position: relative;
    padding-top: 6rem;
    padding-bottom: 4rem;
    background: linear-gradient(135deg, var(--brand-dark-blue), var(--brand-medium-blue), var(--brand-blue));
    color: #ffffff;
    overflow: hidden;
}

@media (min-width: 768px) {
    .hero { padding-top: 8rem; padding-bottom: 6rem; }
}

.hero-bg-patterns {
    position: absolute;
    inset: 0;
    opacity: 0.1;
    pointer-events: none;
}

.pattern-1 {
    position: absolute;
    top: 0;
    left: 0;
    width: 18rem;
    height: 18rem;
    background-color: var(--primary);
    border-radius: 50%;
    filter: blur(64px);
    transform: translate(-50%, -50%);
}

.pattern-2 {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 24rem;
    height: 24rem;
    background-color: var(--primary);
    border-radius: 50%;
    filter: blur(64px);
    transform: translate(33%, 33%);
}

.hero-container {
    position: relative;
    z-index: 10;
    display: grid;
    gap: 3rem;
}

@media (min-width: 1024px) {
    .hero-container { grid-template-columns: 1.2fr 0.8fr; align-items: center; }
}

.hero-content {
    text-align: center;
}

@media (min-width: 1024px) {
    .hero-content { text-align: left; }
}

.hero-content h1 {
    font-size: 2.25rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
    .hero-content h1 { font-size: 3rem; }
}

@media (min-width: 1280px) {
    .hero-content h1 { font-size: 3.75rem; }
}

.hero-content p {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.8);
    max-width: 32rem;
    margin: 0 auto 2rem;
}

@media (min-width: 1024px) {
    .hero-content p { margin-left: 0; }
}

.hero-proof {
    margin-top: 2.5rem;
    display: grid;
    gap: 1rem;
    max-width: 36rem;
    margin-left: auto;
    margin-right: auto;
}

@media (min-width: 640px) {
    .hero-proof { grid-template-columns: repeat(3, 1fr); }
}

@media (min-width: 1024px) {
    .hero-proof { margin-left: 0; }
}

.proof-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background-color: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(4px);
    padding: 0.75rem;
    border-radius: 0.5rem;
}

.proof-item svg {
    color: #ffffff;
    flex-shrink: 0;
}

.proof-item span {
    font-size: 0.875rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
}

.hero-image-container {
    position: relative;
}

.hero-image-wrapper {
    position: relative;
    aspect-ratio: 4/3;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.hero-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-image-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(27, 30, 89, 0.5), transparent);
}

.floating-badge {
    position: absolute;
    bottom: -1rem;
    left: -1rem;
    background-color: var(--primary);
    color: #ffffff;
    padding: 0.75rem 1.5rem;
    border-radius: 0.75rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

@media (min-width: 768px) {
    .floating-badge { bottom: -1.5rem; left: -1.5rem; }
}

.badge-title { font-weight: 700; font-size: 1.125rem; }
.badge-text { font-size: 0.875rem; opacity: 0.9; }

/* Services Section */
.services {
    padding: 4rem 0;
    background-color: rgba(244, 244, 245, 0.3);
}

@media (min-width: 768px) {
    .services { padding: 6rem 0; }
}

.services-grid {
    display: grid;
    gap: 1.5rem;
}

@media (min-width: 640px) {
    .services-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
    .services-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (min-width: 1280px) {
    .services-grid { grid-template-columns: repeat(4, 1fr); }
}

.service-card {
    background-color: var(--primary);
    padding: 1.5rem;
    border-radius: var(--radius);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    color: #ffffff;
}

.service-card:hover {
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.2);
    transform: translateY(-5px);
}

.service-icon {
    width: 3.5rem;
    height: 3.5rem;
    background-color: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
}

.service-card:hover .service-icon {
    background-color: #ffffff;
    color: var(--primary);
    transform: scale(1.1);
}

.service-card h3 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #ffffff;
}

.service-card p {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
}

/* About Section */
.about {
    padding: 4rem 0;
    background-color: var(--background);
}

@media (min-width: 768px) {
    .about { padding: 6rem 0; }
}

.about-container {
    display: grid;
    gap: 3rem;
}

@media (min-width: 1024px) {
    .about-container { grid-template-columns: repeat(2, 1fr); align-items: center; }
}

.about-visual {
    position: relative;
}

.about-visual-wrapper {
    position: relative;
    aspect-ratio: 1;
    max-width: 28rem;
    margin: 0 auto;
}

@media (min-width: 1024px) {
    .about-visual-wrapper { margin-left: 0; }
}

.visual-bg-1, .visual-bg-2 {
    position: absolute;
    inset: 0;
    border-radius: 1.5rem;
}

.visual-bg-1 {
    background: linear-gradient(to bottom right, rgba(43, 48, 140, 0.2), rgba(38, 42, 115, 0.2));
    transform: rotate(3deg);
}

.visual-bg-2 {
    background: linear-gradient(to top right, rgba(217, 30, 46, 0.1), rgba(43, 48, 140, 0.1));
    transform: rotate(-3deg);
}

.about-brand-box {
    position: relative;
    height: 100%;
    background: linear-gradient(to bottom right, var(--brand-dark-blue), var(--brand-blue));
    border-radius: 1.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: #ffffff;
    padding: 2rem;
}

.brand-number { font-size: 4rem; font-weight: 700; line-height: 1; }
.brand-name { font-size: 1.5rem; font-weight: 600; opacity: 0.9; }
.brand-sub { font-size: 0.875rem; opacity: 0.7; margin-top: 0.5rem; }

@media (min-width: 768px) {
    .brand-number { font-size: 6rem; }
    .brand-name { font-size: 1.75rem; }
}

.brand-stats {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    width: 100%;
}

.stat-number { display: block; font-size: 1.75rem; font-weight: 700; color: var(--accent); }
.stat-label { font-size: 0.75rem; opacity: 0.7; }

@media (min-width: 768px) {
    .stat-number { font-size: 2.25rem; }
}

.about-content h2 { font-size: 2rem; font-weight: 700; margin-bottom: 1.5rem; }
.about-content p { color: var(--muted-foreground); font-size: 1.125rem; margin-bottom: 1.5rem; line-height: 1.7; }

.highlights-grid {
    display: grid;
    gap: 0.75rem;
    margin-bottom: 2rem;
}

@media (min-width: 640px) {
    .highlights-grid { grid-template-columns: repeat(2, 1fr); }
}

.highlight-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.highlight-item svg {
    color: var(--whatsapp-green);
    flex-shrink: 0;
}

.highlight-item span { font-size: 0.875rem; }

/* Benefits Section */
.benefits {
    padding: 4rem 0;
    background: linear-gradient(to bottom right, var(--brand-dark-blue), var(--brand-medium-blue), var(--brand-blue));
    color: #ffffff;
}

.benefits .section-header h2,
.benefits .section-header p {
    color: #ffffff;
}

@media (min-width: 768px) {
    .benefits { padding: 6rem 0; }
}

.benefits-grid {
    display: grid;
    gap: 1.5rem;
    margin-bottom: 3rem;
}

@media (min-width: 640px) {
    .benefits-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
    .benefits-grid { grid-template-columns: repeat(3, 1fr); }
}

.benefit-card {
    background-color: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1.5rem;
    border-radius: 1.5rem;
    transition: all 0.3s ease;
}

.benefit-card:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.benefit-icon {
    width: 3.5rem;
    height: 3.5rem;
    background-color: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
}

.benefit-card:hover .benefit-icon {
    background-color: #ffffff;
    color: var(--primary);
    transform: scale(1.1);
}

.benefit-card h3 { font-size: 1.125rem; font-weight: 600; margin-bottom: 0.5rem; }
.benefit-card p { font-size: 0.875rem; color: rgba(255, 255, 255, 0.7); line-height: 1.6; }

.benefits-cta {
    text-align: center;
}

.benefits-cta p { font-size: 1.125rem; opacity: 0.8; margin-bottom: 1.5rem; }

/* FAQ Section */
.faq {
    padding: 4rem 0;
    background-color: rgba(244, 244, 245, 0.3);
}

@media (min-width: 768px) {
    .faq { padding: 6rem 0; }
}

.faq-container {
    max-width: 48rem;
    margin: 0 auto;
}

.faq-item {
    background-color: var(--card);
    border: 1px solid rgba(228, 228, 231, 0.5);
    border-radius: 0.75rem;
    margin-bottom: 1rem;
    overflow: hidden;
}

.faq-trigger {
    width: 100%;
    padding: 1.25rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
    color: var(--foreground);
    font-weight: 600;
}

.faq-trigger svg {
    transition: transform 0.3s ease;
    color: var(--muted-foreground);
}

.faq-item.active .faq-trigger svg {
    transform: rotate(180deg);
}

.faq-content {
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item.active .faq-content {
    max-height: 15rem;
}

.faq-content p {
    padding: 0 1.5rem 1.25rem;
    color: var(--muted-foreground);
    line-height: 1.6;
}

/* Testimonials Section */
.testimonials {
    padding: 4rem 0;
    background-color: var(--background);
    overflow: hidden;
}

@media (min-width: 768px) {
    .testimonials { padding: 6rem 0; }
}

.testimonials-carousel-wrapper {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 1rem;
    overflow: hidden;
}

.testimonials-carousel {
    display: flex;
    transition: transform 0.5s ease-in-out;
    cursor: grab;
    user-select: none;
}

.testimonials-carousel:active {
    cursor: grabbing;
}

.testimonial-card {
    min-width: calc(100% - 2rem);
    flex: 0 0 calc(100% - 2rem);
    margin: 0 1rem;
    background-color: var(--card);
    border: 1px solid var(--border);
    border-radius: 1.5rem;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.05);
}

.testimonial-photo {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    overflow: hidden;
    margin-bottom: 1.5rem;
    border: 3px solid var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--primary);
    color: #ffffff;
    font-size: 2rem;
    font-weight: 700;
}

.testimonial-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.testimonial-rating {
    display: flex;
    justify-content: center;
    gap: 0.25rem;
    color: #fbbf24;
    margin-bottom: 1rem;
}

.testimonial-content h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--primary);
}

.testimonial-content p {
    font-size: 1.125rem;
    font-style: italic;
    color: var(--muted-foreground);
    line-height: 1.6;
}

.carousel-indicators {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    margin-top: 2rem;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: var(--border);
    cursor: pointer;
    transition: all 0.3s ease;
}

.indicator.active {
    background-color: var(--primary);
    transform: scale(1.2);
}

/* Footer */
.footer {
    background-color: var(--brand-black);
    color: #ffffff;
    padding: 4rem 0;
}

.footer-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.footer-logo {
    display: flex;
    flex-direction: column;
    font-size: 1.75rem;
    font-weight: 700;
}

.footer-brand p { font-size: 0.875rem; opacity: 0.6; margin-top: 0.25rem; }

.footer-desc {
    max-width: 28rem;
    color: rgba(255, 255, 255, 0.7);
    margin: 1.5rem 0 2rem;
    line-height: 1.6;
}

.footer-divider {
    width: 100%;
    max-width: 20rem;
    height: 1px;
    background-color: rgba(255, 255, 255, 0.1);
    margin: 2rem 0;
}

.copyright {
    font-size: 0.875rem;
    opacity: 0.5;
}

.whatsapp-icon {
    flex-shrink: 0;
}

/* WhatsApp Float */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 20px;
    right: 20px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
}

.whatsapp-float:hover {
    background-color: #128c7e;
    transform: translateY(-5px);
    box-shadow: 2px 5px 15px rgba(0, 0, 0, 0.3);
}

.whatsapp-float .whatsapp-icon {
    width: 32px;
    height: 32px;
}
