:root {
    --bg-color: #0b0e14;
    --sidebar-bg: #12161f;
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
    --primary: #01ecf3;
    --primary-glow: rgba(1, 236, 243, 0.5);
    --secondary: #da107b;
    --text-main: #ffffff;
    --text-muted: #8b949e;
    --accent-success: #2ea043;
    --accent-error: #f85149;
    --accent-warning: #d29922;
    --font-family: 'Inter', sans-serif;
}

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

body {
    background-color: var(--bg-color);
    color: var(--text-main);
    font-family: var(--font-family);
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
}

/* Partículas canvas background */
#particles-js {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 0;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
    position: relative;
    z-index: 1;
}

/* Header */
.header {
    margin-bottom: 4rem;
}
.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 700;
    font-size: 1.5rem;
    letter-spacing: -0.5px;
    color: var(--text-main);
}
.logo-icon {
    font-size: 2.5rem;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1;
}
.logo-text {
    background: linear-gradient(90deg, #FFFFFF, var(--primary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Main Layout */
.main-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

/* Left Section */
.content-left {
    max-width: 500px;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 50px;
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
}

.badge .dot {
    width: 8px;
    height: 8px;
    background-color: var(--primary);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--primary);
}

h1 {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    letter-spacing: -1px;
}

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

.description {
    color: var(--text-muted);
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 2.5rem;
}

/* Form */
.lead-form {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.input-group input {
    width: 100%;
    padding: 1.2rem 1.5rem;
    background-color: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    color: var(--text-main);
    font-family: var(--font-family);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.input-group input::placeholder {
    color: var(--text-muted);
    opacity: 0.5;
}

.input-group input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px var(--primary-glow);
}

/* Intl-tel-input Customization */
.iti {
    width: 100%;
    display: block;
}

.iti__country-list {
    background-color: var(--sidebar-bg);
    border: 1px solid var(--glass-border);
    color: var(--text-main);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    border-radius: 8px;
    margin-top: 5px;
}

.iti__country:hover, .iti__country.iti__highlight {
    background-color: rgba(1, 236, 243, 0.1);
}

.iti__selected-dial-code {
    color: var(--text-main);
    margin-left: 6px;
}

.iti__arrow {
    border-top-color: var(--text-muted) !important;
}

.iti__arrow--up {
    border-bottom-color: var(--text-muted) !important;
}

.iti__search-input {
    background-color: var(--bg-color) !important;
    color: var(--text-main) !important;
    border: 1px solid var(--glass-border) !important;
    border-radius: 4px !important;
}

.btn-primary {
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    color: white;
    font-weight: 600;
    font-size: 1rem;
    padding: 1.2rem 1.5rem;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: opacity 0.3s ease, transform 0.2s ease;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-family);
    position: relative;
    overflow: hidden;
}

.btn-primary:hover {
    opacity: 0.9;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px var(--primary-glow);
}

.btn-primary:active {
    transform: translateY(0);
}

.btn-primary:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.footer-note {
    font-size: 0.8rem;
    color: var(--text-muted);
    text-align: center;
    margin-top: 0.5rem;
}

/* Loader */
.loader {
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Messages */
.form-message {
    padding: 1rem;
    border-radius: 8px;
    font-size: 0.9rem;
    display: none;
    text-align: center;
}
.form-message.success {
    display: block;
    background-color: rgba(46, 160, 67, 0.1);
    color: var(--accent-success);
    border: 1px solid rgba(46, 160, 67, 0.2);
}
.form-message.error {
    display: block;
    background-color: rgba(248, 81, 73, 0.1);
    color: var(--accent-error);
    border: 1px solid rgba(248, 81, 73, 0.2);
}

/* Right Section - Image Wrapper */
.content-right {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.image-wrapper {
    position: relative;
    z-index: 2;
    animation: float 6s ease-in-out infinite;
}

.hero-image {
    max-width: 100%;
    height: auto;
    border-radius: 20px;
    /* Simulate a soft glow around the image */
    filter: drop-shadow(0 0 40px var(--primary-glow));
}

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

/* Responsive */
@media (max-width: 992px) {
    .main-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 3rem;
    }
    .content-left {
        max-width: 100%;
        margin: 0 auto;
    }
    .badge {
        margin-left: auto;
        margin-right: auto;
    }
    h1 {
        font-size: 2.8rem;
    }
    .image-wrapper {
        max-width: 80%;
        margin: 0 auto;
    }
}

@media (max-width: 576px) {
    h1 {
        font-size: 2.2rem;
    }
    .container {
        padding: 1.5rem;
    }
}

/* Tech Modal */
.tech-modal-overlay {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(8px);
    z-index: 1000;
    display: flex;
    justify-content: center;
    align-items: center;
}
.tech-modal {
    background: var(--sidebar-bg);
    border: 1px solid var(--primary);
    box-shadow: 0 0 20px var(--primary-glow), inset 0 0 20px rgba(1, 236, 243, 0.1);
    border-radius: 8px;
    width: 90%;
    max-width: 420px;
    position: relative;
    overflow: hidden;
    animation: slideUp 0.3s ease-out;
}
@keyframes slideUp {
    from { transform: translateY(30px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}
.tech-modal-header {
    background: rgba(1, 236, 243, 0.1);
    border-bottom: 1px solid rgba(1, 236, 243, 0.3);
    padding: 10px 15px;
    font-size: 0.8rem;
    color: var(--primary);
    font-family: monospace;
    letter-spacing: 1px;
}
.blinking-cursor {
    animation: blink 1s step-end infinite;
}
@keyframes blink { 50% { opacity: 0; } }
.tech-modal-body {
    padding: 2.5rem 2rem;
    text-align: center;
}
.tech-modal-body h3 {
    margin-bottom: 1rem;
    font-size: 1.5rem;
}
.tech-modal-body p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 2rem;
}
.btn-cyberpunk {
    display: inline-block;
    background: rgba(1, 236, 243, 0.1);
    color: var(--primary);
    border: 1px solid var(--primary);
    padding: 12px 20px;
    text-transform: uppercase;
    font-family: monospace;
    font-size: 0.9rem;
    font-weight: bold;
    text-decoration: none;
    transition: all 0.3s;
    border-radius: 4px;
}
.btn-cyberpunk:hover {
    background: var(--primary);
    color: #000;
    box-shadow: 0 0 15px var(--primary);
}
.tech-modal-close {
    position: absolute;
    top: 8px;
    right: 15px;
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    font-weight: bold;
}
.tech-modal-close:hover {
    color: #fff;
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 20px;
    left: 20px;
    right: 20px;
    background: var(--sidebar-bg);
    border: 1px solid var(--glass-border);
    border-left: 4px solid var(--primary);
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    z-index: 2000;
    animation: slideInLeft 0.5s ease-out;
}

@keyframes slideInLeft {
    from { transform: translateX(-100%); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

.cookie-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.cookie-content p {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.4;
    margin: 0;
}

.btn-cookie-accept {
    background: var(--primary);
    color: #000;
    border: none;
    padding: 10px 25px;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    white-space: nowrap;
}

.btn-cookie-accept:hover {
    transform: scale(1.05);
    box-shadow: 0 0 15px var(--primary-glow);
}

@media (max-width: 768px) {
    .cookie-content {
        flex-direction: column;
        text-align: center;
    }
}
