:root {
    --primary-color: #1c4a8e;
    --primary-dark: #153a70;
    --primary-light: #2a5fad;
    --secondary-color: #38b449;
    --secondary-dark: #2d9a3c;
    --primary-pastel: #e0e7ff;
    --secondary-pastel: #dcfce7;
    --text-color: #1e293b;
    --text-muted: #64748b;
    --text-light: #94a3b8;
    --bg-color: #f8fafc;
    --white: #ffffff;
    --glass-bg: rgba(255, 255, 255, 0.80);
    --glass-border: rgba(28, 74, 142, 0.08);
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 12px 40px rgba(28, 74, 142, 0.12);
    --shadow-xl: 0 25px 50px rgba(28, 74, 142, 0.15);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    --font-family: 'Outfit', sans-serif;
    --transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    font-weight: 300;
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
    min-height: 100vh;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 32px;
}

/* ==================== HEADER ==================== */
.header {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 12px 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid var(--glass-border);
    box-shadow: 0 1px 12px rgba(0, 0, 0, 0.04);
}

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

.header-nav {
    display: flex;
    align-items: center;
    gap: 8px;
}

.header-nav a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 18px;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    color: var(--text-muted);
    border-radius: var(--radius-sm);
    transition: var(--transition);
}

.header-nav a:hover {
    color: var(--primary-color);
    background: var(--primary-pastel);
}

.header-nav a .lucide {
    width: 16px;
    height: 16px;
}

/* ==================== HERO ==================== */
.hero {
    min-height: 92vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-top: 100px;
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(ellipse 60% 50% at 50% 40%, var(--primary-pastel) 0%, transparent 70%),
        radial-gradient(ellipse 40% 40% at 80% 20%, var(--secondary-pastel) 0%, transparent 60%),
        radial-gradient(ellipse 30% 30% at 15% 70%, rgba(224, 231, 255, 0.4) 0%, transparent 60%);
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%231c4a8e' fill-opacity='0.03'%3E%3Ccircle cx='30' cy='30' r='1.5'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--white);
    border: 1px solid var(--glass-border);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--primary-color);
    margin-bottom: 28px;
    box-shadow: var(--shadow-sm);
}

.hero-badge .lucide {
    width: 16px;
    height: 16px;
    color: var(--secondary-color);
}

.hero-content h2 {
    font-size: 3.2rem;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.15;
    letter-spacing: -1px;
    background: linear-gradient(135deg, var(--text-color) 0%, var(--primary-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-content p {
    font-size: 1.15rem;
    color: var(--text-muted);
    margin-bottom: 36px;
    line-height: 1.7;
}

.hero-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.btn-cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 36px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    color: var(--white);
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    transition: var(--transition);
    box-shadow: 0 4px 20px rgba(28, 74, 142, 0.3);
    border: none;
    cursor: pointer;
}

.btn-cta .lucide {
    width: 18px;
    height: 18px;
}

.btn-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(28, 74, 142, 0.4);
}

.btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 36px;
    background: var(--white);
    color: var(--primary-color);
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    transition: var(--transition);
    border: 2px solid var(--primary-pastel);
    cursor: pointer;
}

.btn-outline .lucide {
    width: 18px;
    height: 18px;
}

.btn-outline:hover {
    border-color: var(--primary-color);
    background: var(--primary-pastel);
    transform: translateY(-2px);
}

/* ==================== FEATURES STRIP ==================== */
.features-strip {
    padding: 60px 0;
    background: var(--white);
    border-top: 1px solid rgba(0, 0, 0, 0.04);
    border-bottom: 1px solid rgba(0, 0, 0, 0.04);
}

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

.feature-item {
    text-align: center;
    padding: 24px 16px;
}

.feature-icon {
    width: 52px;
    height: 52px;
    border-radius: var(--radius-md);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}

.feature-icon.blue {
    background: var(--primary-pastel);
    color: var(--primary-color);
}

.feature-icon.green {
    background: var(--secondary-pastel);
    color: var(--secondary-color);
}

.feature-icon .lucide {
    width: 24px;
    height: 24px;
}

.feature-item h4 {
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 6px;
    color: var(--text-color);
}

.feature-item p {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* ==================== NETWORK CTA ==================== */
.network-cta {
    padding: 80px 0;
    background: linear-gradient(135deg, #dbeafe 0%, #e0e7ff 50%, #ede9fe 100%);
    position: relative;
    overflow: hidden;
}

.network-cta::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%231c4a8e' fill-opacity='0.04'%3E%3Ccircle cx='30' cy='30' r='1'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    pointer-events: none;
}

.network-cta-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
    position: relative;
    z-index: 1;
}

.network-cta-content {
    flex: 1;
    max-width: 520px;
}

.network-cta-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(28, 74, 142, 0.1);
    border: 1px solid rgba(28, 74, 142, 0.15);
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 20px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.pulse-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #4ade80;
    position: relative;
    flex-shrink: 0;
}

.pulse-dot::after {
    content: '';
    position: absolute;
    inset: -3px;
    border-radius: 50%;
    background: rgba(74, 222, 128, 0.3);
    animation: pulse-ring 2s ease-out infinite;
}

@keyframes pulse-ring {
    0% { transform: scale(1); opacity: 1; }
    100% { transform: scale(2.2); opacity: 0; }
}

.network-cta-content h3 {
    font-size: 2.4rem;
    font-weight: 700;
    color: var(--text-color);
    line-height: 1.2;
    letter-spacing: -0.5px;
    margin-bottom: 16px;
}

.network-cta-content h3 span {
    background: linear-gradient(135deg, var(--primary-color), #6366f1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.network-cta-content p {
    font-size: 1rem;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 28px;
}

.btn-network {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 32px;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    color: #fff;
    text-decoration: none;
    border-radius: 50px;
    font-family: var(--font-family);
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 24px rgba(99, 102, 241, 0.35);
}

.btn-network .lucide {
    width: 18px;
    height: 18px;
}

.btn-network:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(99, 102, 241, 0.5);
}

/* Orbit animation */
.network-cta-visual {
    width: 280px;
    height: 280px;
    position: relative;
    flex-shrink: 0;
}

.orbit-ring {
    position: absolute;
    border-radius: 50%;
    border: 1px solid rgba(28, 74, 142, 0.08);
}

.orbit-ring.ring-1 {
    inset: 0;
    animation: orbit-spin 20s linear infinite;
}

.orbit-ring.ring-2 {
    inset: 40px;
    animation: orbit-spin 14s linear infinite reverse;
}

.orbit-ring.ring-3 {
    inset: 80px;
    animation: orbit-spin 10s linear infinite;
}

@keyframes orbit-spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.orbit-dot {
    position: absolute;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--color);
    box-shadow: 0 0 12px var(--color);
    top: 50%;
    left: 0;
    transform: translate(-50%, -50%);
    animation: orbit-float 6s ease-in-out infinite;
    animation-delay: var(--delay);
}

.orbit-ring.ring-1 .orbit-dot:nth-child(1) { left: 0; top: 50%; }
.orbit-ring.ring-1 .orbit-dot:nth-child(2) { left: 100%; top: 50%; }
.orbit-ring.ring-1 .orbit-dot:nth-child(3) { left: 50%; top: 0; }

.orbit-ring.ring-2 .orbit-dot:nth-child(1) { left: 15%; top: 15%; }
.orbit-ring.ring-2 .orbit-dot:nth-child(2) { left: 85%; top: 85%; }

.orbit-ring.ring-3 .orbit-dot:nth-child(1) { left: 0; top: 50%; }
.orbit-ring.ring-3 .orbit-dot:nth-child(2) { left: 100%; top: 50%; }
.orbit-ring.ring-3 .orbit-dot:nth-child(3) { left: 50%; top: 100%; }

@keyframes orbit-float {
    0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.8; }
    50% { transform: translate(-50%, -50%) scale(1.3); opacity: 1; }
}

.orbit-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 40px rgba(99, 102, 241, 0.4);
}

.orbit-center .lucide {
    width: 26px;
    height: 26px;
    color: #fff;
}

@media (max-width: 768px) {
    .network-cta { padding: 60px 0; }

    .network-cta-inner {
        flex-direction: column;
        text-align: center;
        gap: 40px;
    }

    .network-cta-content { max-width: 100%; }

    .network-cta-content h3 { font-size: 1.7rem; }

    .network-cta-visual {
        width: 220px;
        height: 220px;
    }

    .btn-network {
        width: 100%;
        justify-content: center;
    }
}

/* ==================== FORM SECTION ==================== */
.cadastro-section {
    padding: 80px 0 100px;
}

.form-wrapper {
    background: var(--white);
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: var(--radius-xl);
    padding: 48px;
    max-width: 800px;
    margin: 0 auto;
    box-shadow: var(--shadow-lg);
    position: relative;
}

.form-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: 0 0 4px 4px;
}

.form-header {
    text-align: center;
    margin-bottom: 40px;
}

.form-header-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-pastel), rgba(220, 252, 231, 0.5));
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    color: var(--primary-color);
}

.form-header-icon .lucide {
    width: 26px;
    height: 26px;
}

.form-wrapper h3 {
    text-align: center;
    margin-bottom: 8px;
    font-size: 1.8rem;
    font-weight: 700;
    letter-spacing: -0.5px;
    color: var(--text-color);
}

.form-wrapper > p {
    text-align: center;
    margin-bottom: 40px;
    color: var(--text-muted);
    font-size: 1rem;
}

.form-group {
    margin-bottom: 24px;
    width: 100%;
    position: relative;
}

.form-row {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.form-row .form-group {
    flex: 1;
    min-width: 220px;
}

label {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 8px;
    font-weight: 500;
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    color: var(--text-light);
}

label .lucide {
    width: 14px;
    height: 14px;
    opacity: 0.7;
}

.input-wrapper {
    position: relative;
}

.input-wrapper .input-icon {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    width: 18px;
    height: 18px;
    color: var(--text-light);
    pointer-events: none;
    transition: var(--transition);
}

.input-wrapper input:not([type="radio"]):not([type="checkbox"]),
.input-wrapper select {
    padding-left: 46px;
}

.input-wrapper input:focus ~ .input-icon,
.input-wrapper select:focus ~ .input-icon {
    color: var(--primary-color);
}

input:not([type="radio"]):not([type="checkbox"]),
select {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid #e2e8f0;
    border-radius: var(--radius-md);
    font-family: var(--font-family);
    font-size: 0.95rem;
    font-weight: 400;
    background: var(--bg-color);
    color: var(--text-color);
    transition: border-color 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
    appearance: none;
    -webkit-appearance: none;
}

select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2394a3b8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 40px;
}

input::placeholder {
    color: #cbd5e1;
    font-weight: 300;
}

input:not([type="radio"]):not([type="checkbox"]):focus,
select:focus {
    outline: none;
    background: var(--white);
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(28, 74, 142, 0.08);
}

.hidden {
    display: none;
}

.btn-submit {
    width: 100%;
    padding: 16px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    color: var(--white);
    border: none;
    border-radius: var(--radius-md);
    font-family: var(--font-family);
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0.3px;
    cursor: pointer;
    transition: var(--transition);
    margin-top: 24px;
    box-shadow: 0 4px 16px rgba(28, 74, 142, 0.25);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.btn-submit .lucide {
    width: 18px;
    height: 18px;
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(28, 74, 142, 0.35);
}

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

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

.feedback-msg {
    margin-top: 20px;
    text-align: center;
    font-weight: 500;
    padding: 16px 20px;
    border-radius: var(--radius-md);
    display: none;
    font-size: 0.9rem;
    line-height: 1.5;
}

.feedback-msg.success {
    background: linear-gradient(135deg, #d1fae5, #dcfce7);
    color: #065f46;
    border: 1px solid rgba(6, 95, 70, 0.1);
    display: block;
}

.feedback-msg.error {
    background: linear-gradient(135deg, #fee2e2, #fecaca);
    color: #991b1b;
    border: 1px solid rgba(153, 27, 27, 0.1);
    display: block;
}

/* ==================== FOOTER ==================== */
.footer {
    text-align: center;
    padding: 48px 0;
    color: var(--text-muted);
    font-size: 0.85rem;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.footer .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    color: var(--text-color);
    font-size: 0.9rem;
}

.footer-brand .lucide {
    width: 16px;
    height: 16px;
    color: var(--secondary-color);
}

/* ==================== LOGO ==================== */
.logo-img {
    height: 80px;
    width: auto;
    display: block;
    transition: opacity 0.3s ease, filter 0.3s ease, transform 0.3s ease;
    opacity: 0;
}

.logo-img:hover {
    filter: drop-shadow(0 4px 12px rgba(28, 74, 142, 0.2));
    transform: scale(1.02);
}

/* ==================== RESPONSIVE ==================== */
@media (max-width: 768px) {
    .hero-content h2 {
        font-size: 2rem;
    }

    .hero-content p {
        font-size: 1rem;
    }

    .form-wrapper {
        padding: 28px 20px;
        border-radius: var(--radius-lg);
    }

    .form-row {
        flex-direction: column;
        gap: 0;
    }

    .form-row .form-group {
        min-width: 100%;
    }

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

    .btn-cta,
    .btn-outline {
        width: 100%;
        justify-content: center;
    }

    .logo-img {
        height: 60px;
    }

    .features-grid {
        grid-template-columns: 1fr 1fr;
        gap: 16px;
    }

    .header-nav {
        display: none;
    }
}

@media (max-width: 480px) {
    .features-grid {
        grid-template-columns: 1fr;
    }
}