@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&display=swap');

:root {
    --primary: #6366f1;
    --primary-dark: #4f46e5;
    --primary-light: #818cf8;
    --secondary: #0f172a;
    --accent: #06b6d4;
    --success: #10b981;
    --warning: #f59e0b;
    --danger: #ef4444;
    --gray-50: #f8fafc;
    --gray-100: #f1f5f9;
    --gray-200: #e2e8f0;
    --gray-300: #cbd5e1;
    --gray-400: #94a3b8;
    --gray-500: #64748b;
    --gray-600: #475569;
    --gray-700: #334155;
    --gray-800: #1e293b;
    --gray-900: #0f172a;
    --white: #ffffff;
    --gradient: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
    --shadow-2xl: 0 25px 50px -12px rgb(0 0 0 / 0.25);
    --radius-sm: 8px;
    --radius: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
}

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

html { scroll-behavior: smooth; }

body {
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--white);
    color: var(--gray-800);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; }

.container { max-width: 1280px; margin: 0 auto; padding: 0 24px; }

/* ========== NAVBAR ========== */
.navbar {
    position: fixed; top: 0; left: 0; right: 0;
    background: rgba(255,255,255,0.9);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0,0,0,0.05);
    z-index: 1000; padding: 0 24px;
}

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

.logo { display: flex; align-items: center; gap: 12px; font-size: 22px; font-weight: 800; color: var(--secondary); }

.logo-icon {
    width: 44px; height: 44px;
    background: var(--gradient);
    border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    font-size: 22px;
    box-shadow: 0 4px 14px rgba(99, 102, 241, 0.4);
}

.nav-links { display: flex; gap: 4px; }

.nav-links a {
    padding: 10px 18px; color: var(--gray-600);
    font-size: 15px; font-weight: 500;
    border-radius: var(--radius-sm);
    transition: all 0.2s;
}

.nav-links a:hover { color: var(--primary); background: rgba(99, 102, 241, 0.08); }
.nav-links a.active { color: var(--primary); background: rgba(99, 102, 241, 0.1); }

.nav-cta { display: flex; gap: 12px; align-items: center; }

/* ========== BUTTONS ========== */
.btn {
    display: inline-flex; align-items: center; justify-content: center;
    gap: 8px; padding: 14px 28px;
    border-radius: var(--radius);
    font-size: 15px; font-weight: 600; font-family: inherit;
    cursor: pointer; border: none;
    transition: all 0.3s; white-space: nowrap;
}

.btn-primary {
    background: var(--gradient); color: var(--white);
    box-shadow: 0 4px 14px rgba(99, 102, 241, 0.4);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(99, 102, 241, 0.5); }

.btn-secondary { background: var(--gray-100); color: var(--gray-700); }
.btn-secondary:hover { background: var(--gray-200); }

.btn-outline { background: transparent; border: 2px solid var(--gray-200); color: var(--gray-700); }
.btn-outline:hover { border-color: var(--primary); color: var(--primary); background: rgba(99, 102, 241, 0.05); }

.btn-whatsapp { background: #25d366; color: var(--white); box-shadow: 0 4px 14px rgba(37, 211, 102, 0.4); }
.btn-whatsapp:hover { background: #20bd5a; transform: translateY(-2px); box-shadow: 0 8px 20px rgba(37, 211, 102, 0.5); }

.btn-lg { padding: 18px 36px; font-size: 16px; }
.btn-sm { padding: 10px 18px; font-size: 13px; }

/* ========== HERO ========== */
.hero {
    padding: 160px 0 100px;
    background: linear-gradient(135deg, #f8fafc 0%, #eef2ff 50%, #f0fdfa 100%);
    position: relative; overflow: hidden;
}

.hero::before {
    content: ''; position: absolute; top: -50%; right: -20%;
    width: 60%; height: 120%;
    background: radial-gradient(ellipse, rgba(99, 102, 241, 0.12) 0%, transparent 60%);
    pointer-events: none;
}

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

.hero-content { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 80px; align-items: center; }

.hero-badge {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 10px 18px;
    background: rgba(99, 102, 241, 0.1);
    border: 1px solid rgba(99, 102, 241, 0.2);
    color: var(--primary);
    border-radius: 50px;
    font-size: 14px; font-weight: 600;
    margin-bottom: 28px;
}

.hero h1 {
    font-size: 56px; font-weight: 800; color: var(--secondary);
    line-height: 1.1; margin-bottom: 24px; letter-spacing: -0.02em;
}

.hero h1 .highlight {
    background: var(--gradient);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero p { font-size: 20px; color: var(--gray-500); margin-bottom: 36px; line-height: 1.8; max-width: 540px; }

.hero-buttons { display: flex; gap: 16px; margin-bottom: 56px; }

.hero-stats { display: flex; gap: 56px; padding-top: 40px; border-top: 1px solid var(--gray-200); }

.hero-stat { text-align: left; }

.hero-stat-number { font-size: 40px; font-weight: 800; color: var(--secondary); line-height: 1; margin-bottom: 6px; }

.hero-stat-label { font-size: 14px; color: var(--gray-500); font-weight: 500; }

.hero-visual { display: flex; justify-content: center; align-items: center; }

.hero-avatar {
    width: 360px; height: 360px;
    background: var(--gradient);
    border-radius: 40px;
    display: flex; align-items: center; justify-content: center;
    font-size: 140px;
    box-shadow: var(--shadow-2xl);
    animation: float 6s ease-in-out infinite;
    position: relative;
}

.hero-avatar::before {
    content: ''; position: absolute; inset: -20px;
    background: var(--gradient);
    border-radius: 50px;
    opacity: 0.3; filter: blur(40px); z-index: -1;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

/* ========== SECTIONS ========== */
.section { padding: 120px 0; }
.section-gray { background: var(--gray-50); }
.section-dark { background: linear-gradient(135deg, var(--secondary) 0%, #1e293b 100%); color: var(--white); }

.section-header { text-align: center; max-width: 700px; margin: 0 auto 64px; }

.section-header h2 {
    font-size: 44px; font-weight: 700; color: var(--secondary);
    margin-bottom: 16px; letter-spacing: -0.02em;
}

.section-header p { font-size: 18px; color: var(--gray-500); }
.section-dark .section-header h2 { color: var(--white); }
.section-dark .section-header p { color: var(--gray-400); }

/* ========== FEATURES ========== */
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }

.feature-card {
    background: var(--white); border-radius: var(--radius-xl);
    padding: 36px; border: 1px solid var(--gray-100);
    transition: all 0.4s; position: relative; overflow: hidden;
}

.feature-card::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px;
    background: var(--gradient); transform: scaleX(0); transition: transform 0.4s;
}

.feature-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-xl); border-color: transparent; }
.feature-card:hover::before { transform: scaleX(1); }

.feature-icon {
    width: 64px; height: 64px;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1), rgba(6, 182, 212, 0.1));
    border-radius: var(--radius-lg);
    display: flex; align-items: center; justify-content: center;
    font-size: 30px; margin-bottom: 24px;
}

.feature-card h3 { font-size: 22px; font-weight: 700; color: var(--secondary); margin-bottom: 12px; }
.feature-card p { font-size: 15px; color: var(--gray-500); line-height: 1.7; }

/* ========== PRICING ========== */
.pricing-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; align-items: stretch; }

.pricing-card {
    background: var(--white); border-radius: var(--radius-xl);
    padding: 40px 32px; border: 2px solid var(--gray-100);
    text-align: center; position: relative;
    transition: all 0.4s; display: flex; flex-direction: column;
}

.pricing-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-xl); }

.pricing-card.popular {
    border-color: var(--primary);
    background: linear-gradient(180deg, rgba(99, 102, 241, 0.05) 0%, var(--white) 100%);
    transform: scale(1.05); z-index: 1; box-shadow: var(--shadow-xl);
}

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

.pricing-badge {
    position: absolute; top: -16px; left: 50%; transform: translateX(-50%);
    background: var(--gradient); color: var(--white);
    padding: 8px 24px; border-radius: 50px;
    font-size: 13px; font-weight: 700;
    box-shadow: 0 4px 14px rgba(99, 102, 241, 0.4);
}

.pricing-card h3 { font-size: 24px; font-weight: 700; color: var(--secondary); margin-bottom: 8px; }
.pricing-card > p { font-size: 15px; color: var(--gray-500); margin-bottom: 28px; }

.pricing-price { margin-bottom: 28px; }

.pricing-price .amount { font-size: 52px; font-weight: 800; color: var(--secondary); line-height: 1; }

.pricing-card.popular .pricing-price .amount {
    background: var(--gradient);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    background-clip: text;
}

.pricing-price .unit { font-size: 16px; color: var(--gray-500); font-weight: 500; }

.pricing-features { text-align: left; margin-bottom: 32px; flex-grow: 1; }

.pricing-features li {
    display: flex; align-items: center; gap: 12px;
    padding: 12px 0; font-size: 15px; color: var(--gray-600);
    border-bottom: 1px solid var(--gray-100);
}

.pricing-features li:last-child { border-bottom: none; }
.pricing-features li::before { content: '✓'; color: var(--success); font-weight: 700; font-size: 16px; }

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

/* ========== TESTIMONIALS ========== */
.testimonials-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }

.testimonial-card {
    background: var(--white); border-radius: var(--radius-xl);
    padding: 40px; border: 1px solid var(--gray-100);
    transition: all 0.3s; position: relative;
}

.testimonial-card::before {
    content: '"'; position: absolute; top: 24px; right: 32px;
    font-size: 80px; font-family: Georgia, serif;
    color: var(--gray-100); line-height: 1;
}

.testimonial-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }

.testimonial-stars { color: #fbbf24; font-size: 20px; margin-bottom: 20px; letter-spacing: 4px; }

.testimonial-card blockquote {
    font-size: 17px; color: var(--gray-600);
    line-height: 1.8; margin-bottom: 28px; font-style: italic;
}

.testimonial-author { display: flex; align-items: center; gap: 16px; }

.testimonial-avatar {
    width: 52px; height: 52px;
    background: var(--gradient);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: var(--white); font-weight: 700; font-size: 18px;
}

.testimonial-info h4 { font-size: 17px; font-weight: 700; color: var(--secondary); }
.testimonial-info span { font-size: 14px; color: var(--gray-500); }

/* ========== CTA ========== */
.cta-section {
    background: linear-gradient(135deg, var(--secondary) 0%, #1e293b 100%);
    padding: 100px 0; text-align: center;
    position: relative; overflow: hidden;
}

.cta-section::before {
    content: ''; position: absolute; top: 0; left: 50%; transform: translateX(-50%);
    width: 1000px; height: 500px;
    background: radial-gradient(ellipse, rgba(99, 102, 241, 0.3) 0%, transparent 70%);
    pointer-events: none;
}

.cta-section h2 { font-size: 42px; font-weight: 700; color: var(--white); margin-bottom: 16px; }
.cta-section p { font-size: 20px; color: var(--gray-400); margin-bottom: 36px; }

/* ========== PAGE HEADER ========== */
.page-header {
    padding: 160px 0 80px;
    background: linear-gradient(135deg, #f8fafc 0%, #eef2ff 100%);
    text-align: center;
}

.page-header h1 { font-size: 52px; font-weight: 800; color: var(--secondary); margin-bottom: 16px; }
.page-header p { font-size: 20px; color: var(--gray-500); }

/* ========== SERVICES ========== */
.services-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; }

.service-card {
    background: var(--white); border-radius: var(--radius-xl);
    padding: 48px; border: 1px solid var(--gray-100);
    display: flex; gap: 28px; transition: all 0.4s;
}

.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-xl); border-color: transparent; }

.service-icon {
    width: 80px; height: 80px;
    background: var(--gradient);
    border-radius: var(--radius-lg);
    display: flex; align-items: center; justify-content: center;
    font-size: 36px; flex-shrink: 0;
    box-shadow: 0 8px 20px rgba(99, 102, 241, 0.3);
}

.service-content h3 { font-size: 24px; font-weight: 700; color: var(--secondary); margin-bottom: 12px; }
.service-content p { font-size: 16px; color: var(--gray-500); line-height: 1.8; margin-bottom: 20px; }

.service-features { display: flex; flex-wrap: wrap; gap: 10px; }

.service-features span {
    background: var(--gray-100); padding: 8px 16px;
    border-radius: 50px; font-size: 13px; color: var(--gray-600); font-weight: 500;
}

/* ========== FAQ ========== */
.faq-container { max-width: 860px; margin: 0 auto; }

.faq-item {
    background: var(--white); border: 1px solid var(--gray-100);
    border-radius: var(--radius-lg); margin-bottom: 16px;
    overflow: hidden; transition: all 0.3s;
}

.faq-item:hover { border-color: var(--gray-200); box-shadow: var(--shadow-md); }

.faq-question {
    padding: 24px 32px; font-weight: 600; font-size: 18px;
    color: var(--secondary); cursor: pointer;
    display: flex; justify-content: space-between; align-items: center; gap: 20px;
}

.faq-question::after {
    content: '+'; color: var(--primary);
    font-size: 28px; font-weight: 400; transition: transform 0.3s;
}

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

.faq-answer {
    padding: 0 32px; max-height: 0;
    overflow: hidden; transition: all 0.4s;
}

.faq-item.active .faq-answer { padding: 0 32px 24px; max-height: 500px; }
.faq-answer p { font-size: 16px; color: var(--gray-600); line-height: 1.8; }

/* ========== CONTACT ========== */
.contact-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; }

.contact-form {
    background: var(--white); border-radius: var(--radius-xl);
    padding: 56px; border: 1px solid var(--gray-100); box-shadow: var(--shadow-lg);
}

.contact-form h2 { font-size: 32px; font-weight: 700; color: var(--secondary); margin-bottom: 8px; }
.contact-form > p { color: var(--gray-500); margin-bottom: 36px; }

.form-group { margin-bottom: 24px; }
.form-group label { display: block; font-weight: 600; font-size: 14px; color: var(--gray-700); margin-bottom: 8px; }

.form-group input, .form-group textarea, .form-group select {
    width: 100%; padding: 16px 20px;
    border: 2px solid var(--gray-200);
    border-radius: var(--radius);
    font-size: 16px; font-family: inherit;
    transition: all 0.3s;
}

.form-group input:focus, .form-group textarea:focus {
    outline: none; border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.1);
}

.form-group textarea { min-height: 160px; resize: vertical; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }

.success-message {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.1), rgba(16, 185, 129, 0.05));
    border: 1px solid rgba(16, 185, 129, 0.2);
    color: #059669; padding: 20px 24px;
    border-radius: var(--radius); margin-bottom: 24px;
    font-weight: 500; display: flex; align-items: center; gap: 12px;
}

.contact-info { display: flex; flex-direction: column; gap: 24px; }

.contact-info-item {
    background: var(--white); border-radius: var(--radius-lg);
    padding: 32px; display: flex; gap: 24px;
    transition: all 0.3s; border: 1px solid var(--gray-100);
}

.contact-info-item:hover { transform: translateX(8px); box-shadow: var(--shadow-md); }

.contact-icon {
    width: 64px; height: 64px;
    background: var(--gradient); border-radius: var(--radius);
    display: flex; align-items: center; justify-content: center;
    font-size: 28px; flex-shrink: 0;
    box-shadow: 0 4px 14px rgba(99, 102, 241, 0.3);
}

.contact-info-item h4 { font-size: 18px; font-weight: 700; color: var(--secondary); margin-bottom: 4px; }
.contact-info-item p { font-size: 15px; color: var(--gray-500); }
.contact-info-item a { color: var(--primary); font-weight: 600; }

/* ========== SECTORS ========== */
.sectors-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }

.sector-card {
    background: var(--white); border-radius: var(--radius-xl);
    padding: 48px 36px; text-align: center;
    border: 1px solid var(--gray-100); transition: all 0.4s;
}

.sector-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-xl); border-color: transparent; }

.sector-icon {
    width: 96px; height: 96px;
    background: var(--gradient);
    border-radius: 24px;
    display: flex; align-items: center; justify-content: center;
    font-size: 44px; margin: 0 auto 28px;
    box-shadow: 0 8px 24px rgba(99, 102, 241, 0.3);
}

.sector-card h3 { font-size: 24px; font-weight: 700; color: var(--secondary); margin-bottom: 12px; }
.sector-card p { font-size: 15px; color: var(--gray-500); line-height: 1.7; }

/* ========== SECURITY ========== */
.security-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }

.security-card {
    background: var(--white); border-radius: var(--radius-xl);
    padding: 48px; border: 1px solid var(--gray-100);
    display: flex; gap: 28px; transition: all 0.3s;
}

.security-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }

.security-icon {
    width: 80px; height: 80px;
    background: linear-gradient(135deg, var(--success), #34d399);
    border-radius: var(--radius-lg);
    display: flex; align-items: center; justify-content: center;
    font-size: 36px; flex-shrink: 0;
}

.security-card h3 { font-size: 24px; font-weight: 700; color: var(--secondary); margin-bottom: 12px; }
.security-card p { font-size: 16px; color: var(--gray-500); line-height: 1.7; }

/* ========== FOOTER ========== */
.footer { background: var(--secondary); padding: 100px 0 0; color: var(--white); }

.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 60px; margin-bottom: 60px; }

.footer-brand .logo { color: var(--white); margin-bottom: 20px; }
.footer-brand p { color: var(--gray-400); font-size: 15px; line-height: 1.8; }

.footer h4 { font-size: 17px; font-weight: 700; margin-bottom: 24px; color: var(--white); }

.footer-links li { margin-bottom: 14px; }
.footer-links a { color: var(--gray-400); font-size: 15px; transition: color 0.2s; }
.footer-links a:hover { color: var(--white); }

.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding: 28px 0; text-align: center; }
.footer-bottom p { color: var(--gray-500); font-size: 14px; }

/* ========== WHATSAPP FLOAT ========== */
.whatsapp-float {
    position: fixed; bottom: 32px; right: 32px;
    width: 64px; height: 64px;
    background: #25d366; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 32px; color: var(--white); z-index: 999;
    box-shadow: 0 6px 24px rgba(37, 211, 102, 0.5);
    transition: all 0.3s; animation: pulse 2s infinite;
}

.whatsapp-float:hover { transform: scale(1.1); box-shadow: 0 8px 32px rgba(37, 211, 102, 0.6); }

@keyframes pulse {
    0% { box-shadow: 0 6px 24px rgba(37, 211, 102, 0.5); }
    50% { box-shadow: 0 6px 24px rgba(37, 211, 102, 0.5), 0 0 0 20px rgba(37, 211, 102, 0.1); }
    100% { box-shadow: 0 6px 24px rgba(37, 211, 102, 0.5); }
}

/* ========== RESPONSIVE ========== */
@media (max-width: 1200px) {
    .hero-content { gap: 60px; }
    .hero h1 { font-size: 48px; }
    .hero-avatar { width: 300px; height: 300px; font-size: 100px; }
    .features-grid, .testimonials-grid, .sectors-grid { grid-template-columns: repeat(2, 1fr); }
    .pricing-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
    .hero-content { grid-template-columns: 1fr; text-align: center; }
    .hero p { max-width: 100%; }
    .hero-buttons { justify-content: center; }
    .hero-stats { justify-content: center; }
    .hero-visual { order: -1; }
    .hero-avatar { width: 240px; height: 240px; font-size: 80px; }
    .services-grid, .security-grid, .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    .nav-links { display: none; }
    .hero h1 { font-size: 36px; }
    .section-header h2 { font-size: 32px; }
    .hero-stat-number { font-size: 32px; }
    .features-grid, .testimonials-grid, .sectors-grid, .pricing-grid { grid-template-columns: 1fr; }
    .pricing-card.popular { transform: none; }
    .form-row { grid-template-columns: 1fr; }
    .hero-stats { flex-wrap: wrap; gap: 32px; }
    .footer-grid { grid-template-columns: 1fr; gap: 40px; }
}