:root {
    --bg-color: #ffffff;
    --text-color: #1d1d1f;
    --text-secondary: #424245;
    --accent-color: #0071e3;
    --accent-hover: #0077ed;
    --glass-bg: rgba(255, 255, 255, 0.8);
    --glass-border: rgba(0, 0, 0, 0.05);
    /* Poppins Font */
    --font-family: 'Poppins', sans-serif;
    --max-width: 1080px;
    --gradient-1: linear-gradient(135deg, #0071e3 0%, #a855f7 100%);
}

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

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: var(--font-family);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

/* Typography Overrides for Impact */
h1 {
    font-size: 72px;
    /* Bigger and bolder */
    line-height: 1.1;
    font-weight: 700;
    letter-spacing: -0.02em;
    /* Tighter tracking */
    margin-bottom: 24px;
    background: linear-gradient(180deg, #1d1d1f 0%, #434344 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

h2 {
    font-size: 56px;
    line-height: 1.1;
    font-weight: 700;
    letter-spacing: -0.01em;
    margin-bottom: 20px;
}

h3 {
    font-size: 28px;
    line-height: 1.2;
    font-weight: 600;
    margin-bottom: 12px;
}

p {
    font-size: 18px;
    line-height: 1.5;
    font-weight: 400;
    color: var(--text-secondary);
}

a {
    text-decoration: none;
    color: var(--accent-color);
    transition: all 0.3s ease;
}

/* Layout & Components */
.hidden {
    display: none !important;
}

.header {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 95%;
    /* Wider header */
    max-width: 1200px;
    background-color: transparent;
    /* Remove white background */
    backdrop-filter: none;
    /* Remove blur */
    z-index: 1000;
    border-radius: 0;
    border: none;
    box-shadow: none;
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 30px;
}

.logo {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-color);
    letter-spacing: -0.5px;
}

.btn-primary-small {
    background-color: var(--text-color);
    color: white;
    padding: 10px 20px;
    border-radius: 980px;
    font-size: 14px;
    font-weight: 600;
}

.btn-primary-small:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

main {
    padding-top: 0;
}

/* Review Hero layout to put content higher up */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    /* Centered visually but pushed up via padding if needed */
    align-items: center;
    text-align: center;
    padding: 140px 20px 60px;
    /* More top padding */
    position: relative;
    overflow: hidden;
}

.hero-content {
    z-index: 2;
    max-width: 800px;
    animation: fadeUp 1s ease-out forwards;
}

.hero-subtitle {
    margin-bottom: 40px;
    font-size: 24px;
    /* Larger subtitle */
    min-height: 3.2em;
    /* Reserve space for typewriter */
}

/* Modern Buttons */
.hero-actions {
    display: flex;
    gap: 20px;
    justify-content: center;
    align-items: center;
}

.btn-primary {
    background: var(--accent-color);
    color: white;
    padding: 16px 32px;
    border-radius: 980px;
    font-size: 18px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    box-shadow: 0 10px 30px rgba(0, 113, 227, 0.3);
    transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.btn-primary:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 113, 227, 0.4);
}

.link-secondary {
    font-weight: 600;
}

/* Background Elements */
.peace-circle {
    position: absolute;
    top: 30%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(0, 113, 227, 0.15) 0%, rgba(168, 85, 247, 0.05) 40%, rgba(255, 255, 255, 0) 70%);
    filter: blur(80px);
    z-index: -1;
    animation: float 10s ease-in-out infinite;
}

/* Revised Features Section */
.features {
    padding: 120px 20px;
    background: linear-gradient(180deg, #121212 0%, #1c1c1e 100%);
    color: #ffffff;
    text-align: center;
    position: relative;
    border-radius: 60px;
    /* More rounded */
    margin: 20px;
    /* Floating effect */
    box-shadow: 0 -20px 60px rgba(0, 0, 0, 0.5);
}

.features h2,
.features h3 {
    color: #ffffff;
}

.features p {
    color: rgba(255, 255, 255, 0.7);
}

.features h2 span {
    color: #ffffff;
    /* Ensure 'Simplicidad poderosa' is white */
}

.section-header p {
    color: #ffffff;
    /* "solo 3 pasos" white */
    font-weight: 500;
}

.feature-grid {
    margin-top: 80px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
}

.feature-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 40px;
    border-radius: 30px;
    backdrop-filter: blur(20px);
    flex: 1 1 300px;
    max-width: 350px;
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
}

.feature-card:hover {
    transform: translateY(-15px) scale(1.02);
    background: rgba(255, 255, 255, 0.07);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    border-color: rgba(255, 255, 255, 0.2);
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at top right, rgba(0, 113, 227, 0.2), transparent 60%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.feature-card:hover::before {
    opacity: 1;
}

.icon {
    font-size: 60px;
    font-weight: 800;
    margin-bottom: 20px;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

/* Payment Methods Styles */
.payment-methods {
    margin-top: 30px;
    margin-bottom: 20px;
    padding: 24px;
    background: #f5f5f7;
    border-radius: 20px;
}

.methods-title {
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 8px;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Registration Section Styling */
.register-section {
    padding: 100px 20px 140px;
    background: linear-gradient(180deg, #ffffff 0%, #f5f5f7 100%);
    position: relative;
    overflow: hidden;
}

/* Background decoration */
.register-section::before {
    content: '';
    position: absolute;
    bottom: -200px;
    right: -200px;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(0, 113, 227, 0.1) 0%, transparent 70%);
    filter: blur(80px);
    z-index: 0;
}

.register-container {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(40px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.4);
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.08), 0 10px 20px rgba(0, 0, 0, 0.02);
    border-radius: 40px;
    padding: 60px;
    max-width: 550px;
    width: 100%;
    margin: 0 auto;
    position: relative;
    z-index: 1;
    text-align: center;
    transition: all 0.5s ease;
}

.register-container h2 {
    font-size: 32px;
    /* Slightly smaller for balance */
    margin-bottom: 12px;
    background: linear-gradient(135deg, #1d1d1f 0%, #434344 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -0.5px;
}

.register-form {
    margin-top: 30px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.input-group label {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-secondary);
    display: block;
    text-align: left;
    margin-left: 4px;
}

.input-group input {
    width: 100%;
    height: 56px;
    padding: 0 20px;
    border-radius: 14px;
    border: 1px solid #d2d2d7;
    background: #ffffff;
    font-size: 18px;
    font-family: var(--font-family);
    transition: all 0.2s ease;
    color: var(--text-color);
}

.input-group input:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 0 4px rgba(0, 113, 227, 0.15);
}

.btn-block {
    width: 100%;
    height: 56px;
    border-radius: 14px;
    font-size: 18px;
    font-weight: 600;
    margin-top: 10px;
    background: linear-gradient(135deg, #0071e3 0%, #0077ed 100%);
    box-shadow: 0 4px 12px rgba(0, 113, 227, 0.3);
}

.btn-block:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 113, 227, 0.4);
}

/* Payment Info State - Redesigned */
.payment-info {
    animation: fadeIn 0.6s ease-out;
}

.payment-header {
    margin-bottom: 30px;
}

.success-icon-container {
    width: 80px;
    height: 80px;
    background: #e4fdf0;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto 20px;
}

.success-icon {
    font-size: 40px;
    color: #34c759;
}

.payment-card {
    background: #fbfbfd;
    border: 1px solid #e5e5ea;
    border-radius: 20px;
    padding: 30px;
    margin-bottom: 20px;
}

.payment-details {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #e5e5ea;
    padding-bottom: 15px;
    margin-bottom: 20px;
}

.label {
    font-weight: 500;
    color: var(--text-secondary);
}

.amount {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-color);
}

.payment-instruction {
    font-size: 15px;
    line-height: 1.4;
    margin-bottom: 20px;
    color: var(--text-secondary);
}

.btn-payment {
    display: block;
    width: 100%;
    text-align: center;
    padding: 16px;
    border-radius: 14px;
    background: #1d1d1f;
    /* Dark button for payment */
    color: white;
    font-weight: 600;
    margin-bottom: 20px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.btn-payment:hover {
    background: #333;
    transform: translateY(-2px);
}

.payment-methods {
    background: transparent;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

.methods-title {
    width: 100%;
    font-size: 12px;
    color: var(--text-secondary);
    margin-bottom: 8px;
    font-weight: 500;
}

.payment-logo {
    height: 24px;
    opacity: 0.8;
}

.method-text {
    font-size: 12px;
    font-weight: 500;
    color: #6e6e73;
}

/* Form Enhancements */
.form-row {
    display: flex;
    gap: 15px;
}

.form-row .input-group {
    flex: 1;
}

.select-wrapper {
    position: relative;
}

.select-wrapper select {
    width: 100%;
    height: 56px;
    padding: 0 20px;
    border-radius: 14px;
    border: 1px solid #d2d2d7;
    background: #ffffff;
    font-size: 16px;
    font-family: var(--font-family);
    color: var(--text-color);
    appearance: none;
    -webkit-appearance: none;
    cursor: pointer;
}

.select-wrapper::after {
    content: '▼';
    font-size: 12px;
    color: var(--text-secondary);
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 13px;
    color: var(--text-secondary);
    margin-top: 10px;
    text-align: left;
}

.checkbox-group input[type="checkbox"] {
    margin-top: 3px;
    width: 18px;
    height: 18px;
    accent-color: var(--accent-color);
}

.checkbox-group a {
    color: var(--accent-color);
    text-decoration: underline;
}

/* Payment Logos */
.logos-row {
    display: flex;
    gap: 15px;
    align-items: center;
    justify-content: center;
    margin-bottom: 8px;
    width: 100%;
}

.payment-logo {
    height: 24px;
    width: auto;
    object-fit: contain;
}

.logo-pse {
    height: 30px;
    /* PSE usually needs to be slightly larger */
}

.logo-nequi {
    height: 30px;
    border-radius: 4px;
}

/* Footer Styling */
.footer {
    padding: 60px 20px;
    background: #1d1d1f;
    color: #86868b;
    text-align: center;
    border-top: none;
}

.footer-content {
    max-width: 600px;
    margin: 0 auto;
}

.footer-brand {
    color: #f5f5f7;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
}

.copyright,
.disclaimer {
    font-size: 14px;
    margin-bottom: 10px;
}

.delivery-info {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 13px;
    color: #f5f5f7;
    line-height: 1.5;
}

.delivery-info strong {
    color: white;
}

.small-text {
    font-size: 13px;
    color: #86868b;
    margin-top: 20px;
}

/* Animations */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }

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

@keyframes float {

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

    50% {
        transform: translate(-50%, -55%) scale(1.05);
    }
}

/* Utils */
.fade-in-up {
    animation: fadeInUp 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

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

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

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* Keyframes fix */
@keyframes rotate {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

@media (max-width: 768px) {
    h1 {
        font-size: 48px;
    }

    h2 {
        font-size: 40px;
    }

    .hero {
        padding-top: 120px;
    }

    .peace-circle {
        width: 400px;
        height: 400px;
        top: 20%;
    }

    .features {
        border-radius: 40px;
        margin: 10px;
        padding: 80px 20px;
    }

    .feature-card {
        flex: 1 1 100%;
        max-width: none;
    }

    .register-container {
        padding: 40px 20px;
    }

    .register-container h2 {
        font-size: 32px;
    }
}

/* Complaint Section */
.complaint-section {
    padding: 100px 20px;
    background: #000000;
    color: white;
    text-align: center;
}

.complaint-content {
    max-width: 800px;
    margin: 0 auto;
}

.complaint-content h2 {
    font-size: 40px;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #ffffff 0%, #a1a1a6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.complaint-content p {
    font-size: 20px;
    color: #86868b;
    margin-bottom: 40px;
}

.btn-secondary {
    display: inline-block;
    padding: 14px 28px;
    border-radius: 980px;
    font-size: 16px;
    font-weight: 600;
    color: var(--accent-color);
    background: rgba(0, 113, 227, 0.1);
    border: 1px solid rgba(0, 113, 227, 0.3);
    transition: all 0.3s ease;
    text-decoration: none;
}

.btn-secondary:hover {
    background: rgba(0, 113, 227, 0.2);
    transform: translateY(-2px);
}
/* Report Form Styles */
.report-form-style {
    text-align: left;
    margin-top: 40px;
}

.separator-line {
    border-top: 1px solid rgba(255,255,255,0.2);
    margin: 30px 0;
}

.complaint-content h4 {
    color: white;
    margin-bottom: 20px;
    font-size: 18px;
}

.btn-report {
    background: linear-gradient(135deg, #ff3b30 0%, #ff453a 100%);
    box-shadow: 0 4px 12px rgba(255, 59, 48, 0.3);
}

.btn-report:hover {
    box-shadow: 0 8px 20px rgba(255, 59, 48, 0.4);
}

textarea {
    width: 100%;
    padding: 16px;
    border-radius: 14px;
    border: 1px solid #d2d2d7;
    background: #ffffff;
    font-size: 16px;
    font-family: var(--font-family);
    transition: all 0.2s ease;
    color: var(--text-color);
    resize: vertical;
}

textarea:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 0 4px rgba(0, 113, 227, 0.15);
}

.hidden-message {
    display: none;
    text-align: center;
    padding: 20px;
    background: #e4fdf0;
    border-radius: 12px;
    margin-top: 20px;
    color: #1d1d1f;
}

/* Modal Styles */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(5px);
    z-index: 2000;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.modal.show {
    opacity: 1;
    pointer-events: auto;
}

.modal-content {
    background: #ffffff;
    padding: 40px;
    border-radius: 24px;
    max-width: 600px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    transform: translateY(20px);
    transition: transform 0.3s ease;
}

.modal.show .modal-content {
    transform: translateY(0);
}

.close-modal {
    position: absolute;
    top: 20px;
    right: 25px;
    font-size: 28px;
    font-weight: bold;
    color: #86868b;
    cursor: pointer;
    transition: color 0.2s;
}

.close-modal:hover {
    color: #1d1d1f;
}

.modal-header {
    text-align: center;
    margin-bottom: 30px;
}

.modal-header h3 {
    font-size: 24px;
    margin-bottom: 10px;
}

/* Adjustments for modal form */
.report-form-style {
    margin-top: 0; /* Reset margin in modal */
    background: transparent; /* Remove glass background inside modal which is already white */
    border: none;
    box-shadow: none;
    padding: 0;
}
