/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Color Palette */
    --primary-gradient: linear-gradient(135deg, #1e3c72 0%, #2a5298 50%, #4a90e2 100%);
    --secondary-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
    --accent-gradient: linear-gradient(135deg, #ff6b6b 0%, #feca57 50%, #48dbfb 100%);
    --glass-bg: rgba(255, 255, 255, 0.1);
    --glass-border: rgba(255, 255, 255, 0.2);
    --text-primary: #1a1a1a;
    --text-secondary: #666;
    --text-light: rgba(255, 255, 255, 0.9);

    /* Shadows */
    --shadow-light: 0 8px 32px rgba(0, 0, 0, 0.1);
    --shadow-medium: 0 16px 64px rgba(0, 0, 0, 0.15);
    --shadow-heavy: 0 24px 80px rgba(0, 0, 0, 0.25);

    /* Border Radius */
    --radius-sm: 12px;
    --radius-md: 20px;
    --radius-lg: 28px;

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-smooth: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-bounce: 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    min-height: 100vh;
    background: var(--primary-gradient);
    background-size: 400% 400%;
    animation: gradientShift 20s ease infinite;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow-x: hidden;
}

@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }

    25% {
        background-position: 100% 50%;
    }

    50% {
        background-position: 100% 100%;
    }

    75% {
        background-position: 0% 100%;
    }

    100% {
        background-position: 0% 50%;
    }
}

/* Animated Background */
.bg-animation {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

/* Floating Geometric Shapes */
.floating-shapes {
    position: absolute;
    width: 100%;
    height: 100%;
}

.floating-shape {
    position: absolute;
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    animation: floatShape 15s ease-in-out infinite;
}

.shape-1 {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    top: 10%;
    left: 5%;
    animation-delay: 0s;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
}

.shape-2 {
    width: 80px;
    height: 80px;
    border-radius: var(--radius-md);
    top: 20%;
    right: 10%;
    animation-delay: 2s;
    transform: rotate(45deg);
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1), rgba(118, 75, 162, 0.1));
}

.shape-3 {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    bottom: 30%;
    left: 8%;
    animation-delay: 4s;
    background: linear-gradient(135deg, rgba(255, 107, 107, 0.1), rgba(254, 202, 87, 0.1));
}

.shape-4 {
    width: 60px;
    height: 60px;
    border-radius: var(--radius-sm);
    top: 60%;
    right: 20%;
    animation-delay: 6s;
    transform: rotate(30deg);
    background: linear-gradient(135deg, rgba(72, 219, 251, 0.1), rgba(118, 75, 162, 0.1));
}

.shape-5 {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    bottom: 10%;
    right: 5%;
    animation-delay: 8s;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03));
}

@keyframes floatShape {

    0%,
    100% {
        transform: translateY(0px) translateX(0px) rotate(0deg);
        opacity: 0.3;
    }

    25% {
        transform: translateY(-30px) translateX(20px) rotate(90deg);
        opacity: 0.6;
    }

    50% {
        transform: translateY(-60px) translateX(-20px) rotate(180deg);
        opacity: 0.4;
    }

    75% {
        transform: translateY(-30px) translateX(-40px) rotate(270deg);
        opacity: 0.7;
    }
}

/* Floating Icons */
.floating-icons {
    position: absolute;
    width: 100%;
    height: 100%;
}

.floating-icon {
    position: absolute;
    font-size: 2rem;
    color: rgba(255, 255, 255, 0.15);
    animation: floatIcon 12s ease-in-out infinite;
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
}

.floating-icon:nth-child(1) {
    top: 15%;
    left: 12%;
    animation-delay: 0s;
    font-size: 2.5rem;
}

.floating-icon:nth-child(2) {
    top: 25%;
    right: 15%;
    animation-delay: 2s;
    font-size: 2rem;
}

.floating-icon:nth-child(3) {
    top: 55%;
    left: 8%;
    animation-delay: 4s;
    font-size: 2.2rem;
}

.floating-icon:nth-child(4) {
    bottom: 25%;
    right: 12%;
    animation-delay: 6s;
    font-size: 2.3rem;
}

.floating-icon:nth-child(5) {
    top: 45%;
    right: 25%;
    animation-delay: 8s;
    font-size: 1.8rem;
}

.floating-icon:nth-child(6) {
    bottom: 35%;
    left: 25%;
    animation-delay: 10s;
    font-size: 2.1rem;
}

@keyframes floatIcon {

    0%,
    100% {
        transform: translateY(0px) rotate(0deg);
        opacity: 0.15;
    }

    25% {
        transform: translateY(-25px) rotate(5deg);
        opacity: 0.25;
    }

    50% {
        transform: translateY(-50px) rotate(-5deg);
        opacity: 0.2;
    }

    75% {
        transform: translateY(-25px) rotate(3deg);
        opacity: 0.3;
    }
}

/* Particles */
.particles {
    position: absolute;
    width: 100%;
    height: 100%;
}

.particle {
    position: absolute;
    width: 3px;
    height: 3px;
    background: rgba(255, 255, 255, 0.4);
    border-radius: 50%;
    animation: particleFloat 10s linear infinite;
    box-shadow: 0 0 6px rgba(255, 255, 255, 0.6);
}

@keyframes particleFloat {
    0% {
        transform: translateY(100vh) translateX(0);
        opacity: 0;
    }

    10% {
        opacity: 1;
    }

    90% {
        opacity: 1;
    }

    100% {
        transform: translateY(-100px) translateX(200px);
        opacity: 0;
    }
}

/* Main Content */
.main-content {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    position: relative;
    z-index: 10;
}

.container {
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
}

/* Brand Header */
.brand-header {
    text-align: center;
    margin-bottom: 50px;
    animation: slideInDown 1s ease-out;
}

@keyframes slideInDown {
    from {
        opacity: 0;
        transform: translateY(-60px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.brand-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 900;
    margin-bottom: 16px;
    background: linear-gradient(135deg, #ffffff 0%, #f0f0f0 50%, #e0e0e0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    letter-spacing: -0.02em;
    position: relative;
}

.brand-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 4px;
    background: var(--accent-gradient);
    border-radius: 2px;
    animation: titleUnderline 2s ease-out 0.5s both;
}

@keyframes titleUnderline {
    from {
        width: 0;
        opacity: 0;
    }

    to {
        width: 120px;
        opacity: 1;
    }
}

.brand-tagline {
    font-size: clamp(1.1rem, 2.5vw, 1.4rem);
    font-weight: 500;
    color: var(--text-light);
    margin-bottom: 30px;
    text-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    letter-spacing: 0.5px;
}

.whatsapp-contact {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    color: white;
    padding: 16px 32px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    box-shadow: var(--shadow-medium);
    transition: var(--transition-smooth);
    border: 2px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.whatsapp-contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.6s ease;
}

.whatsapp-contact:hover {
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 20px 40px rgba(37, 211, 102, 0.4);
    background: linear-gradient(135deg, #2EE86C 0%, #1BA055 100%);
}

.whatsapp-contact:hover::before {
    left: 100%;
}

.whatsapp-contact i {
    font-size: 1.4rem;
    animation: whatsappPulse 2s infinite;
}

@keyframes whatsappPulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.1);
    }
}

/* Form Container */
.form-container {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(30px);
    border-radius: var(--radius-lg);
    padding: 50px;
    box-shadow: var(--shadow-heavy);
    border: 1px solid var(--glass-border);
    position: relative;
    overflow: hidden;
    animation: slideInUp 1s ease-out 0.3s both;
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(60px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.form-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: var(--accent-gradient);
    background-size: 300% 100%;
    animation: shimmer 4s ease-in-out infinite;
}

@keyframes shimmer {

    0%,
    100% {
        background-position: 300% 0;
    }

    50% {
        background-position: -300% 0;
    }
}

.form-container::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(from 0deg, transparent, rgba(255, 255, 255, 0.05), transparent);
    animation: rotate 15s linear infinite;
    pointer-events: none;
}

@keyframes rotate {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* Form Header */
.form-header {
    text-align: center;
    margin-bottom: 40px;
    position: relative;
    z-index: 2;
}

.form-header h2 {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    font-weight: 700;
    color: white;
    margin-bottom: 12px;
    text-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.form-header p {
    color: var(--text-light);
    font-size: 1.1rem;
    font-weight: 400;
    line-height: 1.6;
    opacity: 0.9;
}

/* Form Sections */
.form-section {
    margin-bottom: 40px;
    position: relative;
    z-index: 2;
}

.section-title {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.3rem;
    font-weight: 600;
    color: white;
    margin-bottom: 24px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.section-title i {
    font-size: 1.1rem;
    color: #4a90e2;
    text-shadow: 0 0 10px rgba(74, 144, 226, 0.5);
}

/* Form Groups */
.form-group {
    margin-bottom: 24px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: white;
    font-size: 0.95rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 18px 24px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-md);
    font-size: 1rem;
    font-family: inherit;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    color: white;
    transition: var(--transition-smooth);
    outline: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.6);
    font-weight: 400;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: #4a90e2;
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 0 0 4px rgba(74, 144, 226, 0.2), var(--shadow-medium);
    transform: translateY(-2px);
}

/* Price Input Wrapper */
.price-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.currency-symbol {
    position: absolute;
    left: 24px;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 600;
    z-index: 1;
    pointer-events: none;
}

.price-input-wrapper input {
    padding-left: 60px;
}

/* Acquisition Options */
.acquisition-options {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 16px;
}

.option-card {
    position: relative;
}

.option-card input[type="radio"] {
    display: none;
}

.option-card label {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 24px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(15px);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: var(--transition-smooth);
    height: 100%;
}

.option-card input[type="radio"]:checked+label {
    background: rgba(74, 144, 226, 0.2);
    border-color: #4a90e2;
    box-shadow: 0 0 0 4px rgba(74, 144, 226, 0.1), var(--shadow-medium);
    transform: translateY(-2px);
}

.option-card label:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.4);
    transform: translateY(-2px);
}

.option-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--secondary-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    box-shadow: var(--shadow-light);
    flex-shrink: 0;
}

.option-content h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: white;
    margin-bottom: 4px;
}

.option-content p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.4;
}

/* Submit Button */
.submit-btn {
    width: 100%;
    padding: 20px;
    background: var(--secondary-gradient);
    background-size: 200% 200%;
    color: white;
    border: none;
    border-radius: var(--radius-md);
    font-size: 1.2rem;
    font-weight: 700;
    font-family: inherit;
    cursor: pointer;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
    margin-top: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: var(--shadow-medium);
}

.btn-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    transition: var(--transition-fast);
}

.btn-loader {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 24px;
    height: 24px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-top: 3px solid white;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    opacity: 0;
    transition: var(--transition-fast);
}

@keyframes spin {
    0% {
        transform: translate(-50%, -50%) rotate(0deg);
    }

    100% {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

.submit-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.6s ease;
}

.submit-btn:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(102, 126, 234, 0.4);
    background-position: 100% 0;
}

.submit-btn:hover::before {
    left: 100%;
}

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

.submit-btn.loading .btn-content {
    opacity: 0;
}

.submit-btn.loading .btn-loader {
    opacity: 1;
}

/* Custom Popup */
.popup-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    z-index: 1000;
    align-items: center;
    justify-content: center;
    padding: 20px;
    animation: fadeIn 0.4s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.popup-content {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(30px);
    border-radius: var(--radius-lg);
    padding: 50px;
    text-align: center;
    max-width: 450px;
    width: 100%;
    box-shadow: var(--shadow-heavy);
    border: 1px solid var(--glass-border);
    position: relative;
    animation: popupSlide 0.5s ease;
}

@keyframes popupSlide {
    from {
        opacity: 0;
        transform: translateY(50px) scale(0.9);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.popup-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    font-size: 2.5rem;
    color: white;
    box-shadow: var(--shadow-medium);
    animation: iconBounce 0.6s ease 0.3s both;
}

.popup-icon.success {
    background: linear-gradient(135deg, #25D366, #128C7E);
}

.popup-icon.success::before {
    content: '✓';
}

.popup-icon.error {
    background: linear-gradient(135deg, #FF4B2B, #FF416C);
}

.popup-icon.error::before {
    content: '✖';
}

@keyframes iconBounce {
    0% {
        transform: scale(0);
    }

    50% {
        transform: scale(1.2);
    }

    100% {
        transform: scale(1);
    }
}

.popup-title {
    font-size: 2rem;
    font-weight: 700;
    color: white;
    margin-bottom: 16px;
    text-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.popup-message {
    color: var(--text-light);
    font-size: 1.1rem;
    margin-bottom: 32px;
    line-height: 1.6;
    opacity: 0.9;
}

.popup-close-btn {
    background: var(--secondary-gradient);
    color: white;
    border: none;
    padding: 16px 32px;
    border-radius: var(--radius-md);
    font-size: 1rem;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    transition: var(--transition-smooth);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: var(--shadow-light);
}

.popup-close-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}

/* Footer */
.footer {
    text-align: center;
    padding: 30px 20px;
    color: var(--text-light);
    font-size: 1rem;
    font-weight: 400;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    animation: fadeInUp 1s ease-out 1s both;
    position: relative;
    z-index: 10;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.footer strong {
    font-weight: 700;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Responsive Design */
@media (max-width: 768px) {
    .main-content {
        padding: 20px 15px;
    }

    .form-container {
        padding: 35px 25px;
    }

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

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

    .option-card label {
        padding: 20px;
    }

    .floating-shape {
        display: none;
    }

    .floating-icon {
        font-size: 1.5rem !important;
    }
}

@media (max-width: 480px) {
    .form-container {
        padding: 25px 20px;
    }

    .form-group input,
    .form-group textarea {
        padding: 16px 20px;
        font-size: 0.95rem;
    }

    .submit-btn {
        padding: 18px;
        font-size: 1.1rem;
    }

    .popup-content {
        padding: 35px 25px;
    }

    .popup-icon {
        width: 60px;
        height: 60px;
        font-size: 2rem;
    }

    .popup-title {
        font-size: 1.6rem;
    }

    .whatsapp-contact {
        font-size: 1rem;
        padding: 14px 28px;
    }

    .option-card label {
        padding: 16px;
        gap: 12px;
    }

    .option-icon {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
}

@media (min-width: 1200px) {
    .container {
        max-width: 700px;
    }

    .form-container {
        padding: 60px;
    }
}

/* Enhanced Focus States */
.form-group input:focus,
.form-group textarea:focus,
.option-card input[type="radio"]:focus+label {
    outline: none;
    box-shadow: 0 0 0 4px rgba(74, 144, 226, 0.2), var(--shadow-medium);
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Selection Styles */
::selection {
    background: rgba(74, 144, 226, 0.3);
    color: white;
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}