:root {
    --primary: #6366f1;
    --primary-light: #818cf8;
    --primary-dark: #4f46e5;
    --secondary: #ec4899;
    --accent: #8b5cf6;
    --bg-dark: #030712;
    --text-white: #f8fafc;
    --text-muted: #94a3b8;
    --glass: rgba(15, 23, 42, 0.7);
    --glass-border: rgba(255, 255, 255, 0.1);
    --transition: all 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

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

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-white);
    line-height: 1.6;
    overflow-x: hidden;
}

body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 30%, rgba(99, 102, 241, 0.15) 0%, transparent 40%),
        radial-gradient(circle at 80% 70%, rgba(236, 72, 153, 0.1) 0%, transparent 40%);
    z-index: -2;
    animation: bgPulse 10s infinite alternate ease-in-out;
}

@keyframes bgPulse {
    0% { transform: scale(1); opacity: 0.5; }
    100% { transform: scale(1.2); opacity: 0.8; }
}

h1, h2, h3, .logo span {
    font-family: 'Lexend', sans-serif;
    font-weight: 700;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.video-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: -1;
    overflow: hidden;
    background: var(--bg-dark);
}

#bg-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.4) contrast(1.2) saturate(1.2);
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(10, 11, 30, 0.6) 0%, rgba(10, 11, 30, 0.95) 100%);
    z-index: 1;
}

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 2rem 0;
    transition: var(--transition);
}

.navbar.scrolled {
    background: rgba(3, 7, 18, 0.8);
    backdrop-filter: blur(20px);
    padding: 1rem 0;
    border-bottom: 1px solid var(--glass-border);
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 1.5rem;
}

.brand-logo {
    height: 50px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 0 10px rgba(99, 102, 241, 0.3));
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 3rem;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-white);
    font-weight: 500;
    transition: var(--transition);
    opacity: 0.7;
    font-size: 0.9rem;
}

.nav-links a:hover {
    opacity: 1;
    color: var(--primary-light);
}

.btn-nav {
    background: var(--primary);
    padding: 0.75rem 1.75rem;
    border-radius: 50px;
    color: white !important;
    opacity: 1 !important;
}

.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
}

.hero-content {
    max-width: 900px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero h1 {
    font-size: 5rem;
    line-height: 1.1;
    margin-bottom: 2rem;
    letter-spacing: -2px;
}

.text-gradient {
    background: linear-gradient(135deg, var(--primary-light), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(99, 102, 241, 0.15);
    color: var(--primary-light);
    padding: 0.6rem 1.25rem;
    border-radius: 100px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 2rem;
    border: 1px solid rgba(99, 102, 241, 0.3);
}

.hero p {
    font-size: 1.4rem;
    color: var(--text-muted);
    margin-bottom: 3.5rem;
    max-width: 700px;
}

.hero-btns {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
}

.btn {
    padding: 1.25rem 2.5rem;
    border-radius: 16px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

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

.btn-secondary {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(10px);
    color: white;
}

/* Security Vault Section */
.security-vault {
    padding: 10rem 0;
}

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

.vault-card {
    padding: 3rem;
    border-radius: 32px;
    border: 1px solid var(--glass-border);
    background: var(--glass);
    backdrop-filter: blur(20px);
    transition: var(--transition);
    text-align: left;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.vault-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary);
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}

.vault-card i {
    font-size: 2.5rem;
    color: var(--primary-light);
    background: rgba(99, 102, 241, 0.1);
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
}

.vault-card h3 {
    font-size: 1.5rem;
}

.vault-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
}

.mini-badge {
    display: inline-block;
    color: var(--secondary);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.8rem;
    margin-bottom: 1rem;
}

/* Solutions Section */
.solutions {
    padding: 10rem 0;
}

.expanded-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 3rem;
}

.sol-item {
    padding: 3rem;
    border-radius: 32px;
    background: var(--glass);
    border: 1px solid var(--glass-border);
    transition: var(--transition);
}

.sol-item:hover {
    transform: translateY(-10px);
    border-color: var(--primary);
}

.sol-header {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.sol-header i {
    font-size: 3rem;
    color: var(--primary-light);
}

.sol-header h3 {
    font-size: 1.75rem;
}

.sol-desc {
    margin-bottom: 1.5rem;
    color: var(--primary-light);
    font-size: 1rem;
    font-weight: 500;
}

.sol-body ul {
    list-style: none;
}

.sol-body li {
    margin-bottom: 1rem;
    color: var(--text-muted);
    font-size: 0.95rem;
}

.sol-body li strong {
    color: var(--text-white);
}

/* Value Prop Section */
.value-prop {
    padding: 10rem 0;
}

.value-box {
    padding: 5rem;
    border-radius: 40px;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.95), rgba(99, 102, 241, 0.1));
    border: 1px solid var(--primary);
    text-align: center;
}

.value-box h2 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
}

.lead {
    font-size: 1.25rem;
    color: var(--text-muted);
}

/* Reveal Animations */
.reveal {
    opacity: 0;
    transform: translateY(60px) scale(0.95);
    transition: all 1s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0) scale(1);
}

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

.section-header h2 {
    font-size: 4rem;
    margin-bottom: 1.5rem;
}

/* WhatsApp Float */
.whatsapp-float {
    position: fixed;
    bottom: 40px;
    right: 40px;
    background-color: #25d366;
    color: white;
    padding: 1rem 1.5rem;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    font-weight: 600;
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.4);
    z-index: 2000;
    transition: var(--transition);
    animation: pulse 2s infinite;
}

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

.whatsapp-float i {
    font-size: 1.75rem;
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.4); }
    70% { box-shadow: 0 0 0 20px rgba(37, 211, 102, 0); }
    100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* CTA Box Enhanced */
.cta {
    padding: 10rem 0;
}

.cta-box {
    padding: 6rem;
    text-align: center;
    border-radius: 48px;
    border: 1px solid var(--primary);
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.2), rgba(236, 72, 153, 0.1));
}

.cta-box h2 {
    font-size: 3.5rem;
    margin-bottom: 2rem;
}

.financial-core {
    padding: 10rem 0;
    background: linear-gradient(to bottom, transparent, rgba(99, 102, 241, 0.05), transparent);
}

.cta-btns .btn-primary:hover {
    box-shadow: 0 0 50px rgba(99, 102, 241, 0.5);
    background: var(--primary-light);
}

.cta-btns {
    margin-top: 3rem;
    display: flex;
    justify-content: center;
}

.btn-large {
    padding: 1.25rem 3rem;
    font-size: 1.1rem;
    width: auto;
    min-width: 280px;
    justify-content: center;
}

/* Footer */
.footer {
    padding: 5rem 0;
    text-align: center;
    border-top: 1px solid var(--glass-border);
    color: var(--text-muted);
}

/* Modal Styles */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(3, 7, 18, 0.9);
    backdrop-filter: blur(10px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 3000;
    padding: 2rem;
}

.modal.active {
    display: flex;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: scale(0.9); }
    to { opacity: 1; transform: scale(1); }
}

.modal-content {
    width: 100%;
    max-width: 600px;
    padding: 3rem;
    border-radius: 32px;
    border: 1px solid var(--primary);
    position: relative;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2.5rem;
}

.modal-header h3 {
    font-size: 2rem;
    color: var(--text-white);
}

.close-modal {
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 2rem;
    cursor: pointer;
    transition: var(--transition);
}

.close-modal:hover {
    color: var(--primary-light);
    transform: rotate(90deg);
}

/* Form Styles */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

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

.form-group label {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-muted);
}

.contact-form input, 
.contact-form select, 
.contact-form textarea {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    padding: 1rem 1.25rem;
    border-radius: 12px;
    color: white;
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
}

.contact-form input:focus, 
.contact-form select:focus, 
.contact-form textarea:focus {
    outline: none;
    border-color: var(--primary);
    background: rgba(255, 255, 255, 0.08);
}

.btn-full {
    width: 100%;
    justify-content: center;
    margin-top: 1rem;
}

.custom-badge {
    margin-top: 3rem;
    padding: 2rem;
    background: rgba(139, 92, 246, 0.1);
    border: 1px solid rgba(139, 92, 246, 0.3);
    border-radius: 24px;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    text-align: left;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.custom-badge i {
    font-size: 2.5rem;
    color: var(--accent);
    filter: drop-shadow(0 0 10px var(--accent));
}

.value-grid-mini {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-top: 3rem;
}

.mini-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--glass-border);
    padding: 2rem;
    border-radius: 24px;
    text-align: left;
    transition: var(--transition);
}

.mini-card:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--primary);
}

.mini-card i {
    font-size: 2rem;
    color: var(--primary-light);
    margin-bottom: 1rem;
}

.mini-card h4 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.mini-card p {
    font-size: 0.9rem;
    color: var(--text-muted);
}

@media (max-width: 600px) {
    .value-grid-mini {
        grid-template-columns: 1fr;
    }
}
