:root {
    --primary-blue: #1E3A8A;
    --primary-light: #3B82F6;
    --accent-blue: #60A5FA;
    --background-light: #F8FAFC;
    --surface-white: #FFFFFF;
    --text-primary: #1E293B;
    --text-secondary: #64748B;
    --success: #10B981;
    --warning: #F59E0B;
    --error: #EF4444;
    --divider: #E2E8F0;

    --font-family: 'Inter', sans-serif;

    --shadow-card: 0 4px 6px -1px rgba(0, 0, 0, 0.04), 0 2px 4px -1px rgba(0, 0, 0, 0.02);
    --shadow-elevated: 0 10px 15px -3px rgba(30, 58, 138, 0.15), 0 4px 6px -2px rgba(30, 58, 138, 0.05);
    --shadow-glow: 0 0 20px rgba(59, 130, 246, 0.5);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    background-color: var(--background-light);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

ul {
    list-style: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 800;
    letter-spacing: -0.025em;
    line-height: 1.2;
}

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

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

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

@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-20px);
    }

    100% {
        transform: translateY(0px);
    }
}

@keyframes pulse-glow {
    0% {
        box-shadow: 0 0 0 0 rgba(59, 130, 246, 0.4);
    }

    70% {
        box-shadow: 0 0 0 15px rgba(59, 130, 246, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(59, 130, 246, 0);
    }
}

/* Header */
header {
    background-color: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(12px);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(226, 232, 240, 0.6);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary-blue);
}

.logo img {
    height: 40px;
    width: 40px;
    border-radius: 10px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.nav-links {
    display: flex;
    gap: 32px;
    align-items: center;
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--primary-blue);
    cursor: pointer;
}

.nav-links a {
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 0.95rem;
}

.nav-links a:hover {
    color: var(--primary-blue);
}

.btn-primary {
    background: #1E3A8A;
    /* Solid blue for maximum contrast */
    background: linear-gradient(135deg, #1E3A8A, #2563EB);
    color: #FFFFFF;
    padding: 12px 24px;
    border-radius: 12px;
    font-weight: 700;
    box-shadow: 0 4px 12px rgba(30, 58, 138, 0.3);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-primary b {
    color: #FBDF24;
    margin-left: 4px;
}

.nav-links .btn-primary,
.nav-links .btn-primary b,
.nav-links .btn-primary i {
    color: #FFFFFF !important;
    /* Force white for the menu button text and icons */
}

.btn-primary:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 8px 20px rgba(30, 58, 138, 0.4);
    background: linear-gradient(135deg, #2563EB, #1E3A8A);
}

/* Pulse animation for the menu button */
.nav-links .btn-primary {
    animation: pulse-button 2s infinite;
}

@keyframes pulse-button {
    0% {
        transform: scale(1);
        box-shadow: 0 4px 12px rgba(30, 58, 138, 0.3);
    }

    50% {
        transform: scale(1.05);
        box-shadow: 0 4px 20px rgba(30, 58, 138, 0.5);
    }

    100% {
        transform: scale(1);
        box-shadow: 0 4px 12px rgba(30, 58, 138, 0.3);
    }
}

/* Hero Section */
.hero {
    padding: 180px 0 100px;
    position: relative;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 70% 30%, rgba(59, 130, 246, 0.08) 0%, transparent 40%),
        radial-gradient(circle at 20% 80%, rgba(30, 58, 138, 0.05) 0%, transparent 40%);
    z-index: -1;
}

.hero-content {
    display: flex;
    align-items: center;
    gap: 60px;
}

.hero-text {
    flex: 1;
    animation: fadeIn 0.8s ease-out;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background-color: rgba(59, 130, 246, 0.1);
    color: var(--primary-blue);
    padding: 8px 16px;
    border-radius: 100px;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 24px;
    border: 1px solid rgba(59, 130, 246, 0.2);
}

.hero h1 {
    font-size: 4rem;
    margin-bottom: 24px;
    background: linear-gradient(135deg, var(--text-primary) 30%, var(--primary-light));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1.1;
}

.hero p {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 40px;
    max-width: 500px;
}

.hero-stats {
    display: flex;
    gap: 40px;
    margin-top: 40px;
    border-top: 1px solid var(--divider);
    padding-top: 30px;
}

.stat-item h4 {
    font-size: 2rem;
    color: var(--primary-blue);
}

.stat-item span {
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-weight: 500;
}

.hero-image {
    flex: 1;
    position: relative;
    animation: fadeIn 1s ease-out 0.2s backwards;
    display: flex;
    justify-content: center;
}

.phone-mockup {
    width: 320px;
    height: 640px;
    background: #000;
    border-radius: 40px;
    border: 8px solid #1e293b;
    position: relative;
    box-shadow: 0 50px 100px -20px rgba(30, 58, 138, 0.4);
    animation: float 6s ease-in-out infinite;
    overflow: hidden;
}

.notch {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 24px;
    background-color: #1e293b;
    border-bottom-left-radius: 16px;
    border-bottom-right-radius: 16px;
    z-index: 10;
}

.screen-content {
    height: 100%;
    width: 100%;
    background: #fff;
    overflow: hidden;
}

.screen-content img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Features */
.features {
    padding: 100px 0;
    background-color: var(--surface-white);
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 80px;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.section-header p {
    color: var(--text-secondary);
    font-size: 1.1rem;
}

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

.feature-card {
    background-color: var(--background-light);
    padding: 40px;
    border-radius: 24px;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.feature-card:hover {
    transform: translateY(-5px);
    background-color: white;
    box-shadow: var(--shadow-elevated);
    border-color: rgba(59, 130, 246, 0.1);
}

.icon-box {
    width: 60px;
    height: 60px;
    background-color: rgba(67, 135, 246, 0.1);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    color: var(--primary-blue);
    font-size: 24px;
}

.feature-card h3 {
    font-size: 1.25rem;
    margin-bottom: 12px;
}

.feature-card p {
    color: var(--text-secondary);
}

/* CTA Section */
.cta {
    padding: 100px 0;
    text-align: center;
}

.cta-container {
    background: var(--primary-blue);
    border-radius: 32px;
    padding: 80px 40px;
    color: white;
    position: relative;
    overflow: hidden;
}

.cta-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 100% 100%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 0% 0%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
}

.cta-content {
    position: relative;
    z-index: 2;
    max-width: 600px;
    margin: 0 auto;
}

.cta h2 {
    font-size: 3rem;
    margin-bottom: 24px;
}

.cta p {
    font-size: 1.25rem;
    opacity: 0.9;
    margin-bottom: 40px;
}

.btn-white {
    background-color: white;
    color: var(--primary-blue);
    padding: 16px 32px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 1.1rem;
    display: inline-flex;
    align-items: center;
    gap: 12px;
}

.btn-white:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

/* Footer */
footer {
    background-color: white;
    padding: 80px 0 40px;
    border-top: 1px solid var(--divider);
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
}

.footer-logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary-blue);
    margin-bottom: 24px;
    display: block;
}

.footer-text {
    color: var(--text-secondary);
    max-width: 300px;
}

.footer-col h4 {
    margin-bottom: 24px;
    font-size: 1.1rem;
}

.footer-col ul {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.footer-col a {
    color: var(--text-secondary);
}

.footer-col a:hover {
    color: var(--primary-blue);
}

.copyright {
    text-align: center;
    color: var(--text-secondary);
    padding-top: 40px;
    border-top: 1px solid var(--divider);
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 968px) {
    .hero h1 {
        font-size: 3rem;
    }

    .hero-content {
        flex-direction: column;
        text-align: center;
    }

    .hero-stats {
        justify-content: center;
    }

    .hero p {
        margin: 0 auto 40px;
    }

    .phone-mockup {
        margin: 0 auto;
    }
}

@media (max-width: 1024px) {
    .nav-toggle {
        display: block;
    }

    .nav-links {
        position: fixed;
        top: 80px;
        left: 0;
        width: 100%;
        height: calc(100vh - 80px);
        background: white;
        flex-direction: column;
        padding: 60px 24px;
        gap: 32px;
        box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
        transform: translateX(100%);
        transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 999;
        display: flex;
        overflow-y: auto;
    }

    .nav-links.active {
        transform: translateX(0);
    }

    .logo span {
        font-size: 1.1rem;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero p {
        font-size: 1.1rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .social-links {
        justify-content: center !important;
    }
}

.no-scroll {
    overflow: hidden;
}

/* Logo text restored for all sizes */

/* Showcase Section Styles */
.showcase-scroll {
    display: flex;
    gap: 30px;
    overflow-x: auto;
    padding: 0 20px 40px;
    justify-content: center;
    flex-wrap: wrap;
    -webkit-overflow-scrolling: touch;
}

.showcase-phone {
    transform: scale(0.9);
    margin: 0;
    flex-shrink: 0;
}

@media (max-width: 600px) {
    .showcase-scroll {
        justify-content: flex-start;
        flex-wrap: nowrap;
    }

    .showcase-phone {
        transform: scale(0.8);
        margin-left: -20px;
        margin-right: -20px;
    }
}

/* Testimonials */
.testimonials {
    padding: 100px 0;
    background-color: var(--background-light);
}

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

.testimonial-card {
    background: white;
    padding: 32px;
    border-radius: 20px;
    box-shadow: var(--shadow-card);
    transition: transform 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-elevated);
}

.stars {
    display: flex;
    align-items: center;
    gap: 4px;
    color: var(--warning);
    margin-bottom: 16px;
}

.testimonial-quote {
    color: var(--text-secondary);
    margin-bottom: 24px;
    font-style: italic;
    line-height: 1.6;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.author-avatar {
    width: 48px;
    height: 48px;
    background: #e2e8f0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: var(--text-secondary);
}

.author-info h5 {
    font-weight: 600;
    color: var(--text-primary);
}

.author-info span {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

/* FAQ */
.faq {
    padding: 100px 0;
    background-color: white;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

details {
    background: var(--background-light);
    padding: 24px;
    border-radius: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
}

details:hover {
    background: #f1f5f9;
}

details[open] {
    background: white;
    box-shadow: var(--shadow-card);
}

summary {
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0;
    list-style: none;
    /* Hide default triangle */
    display: flex;
    justify-content: space-between;
    align-items: center;
}

summary::-webkit-details-marker {
    display: none;
}

summary::after {
    content: '+';
    font-size: 1.5rem;
    color: var(--primary-blue);
    font-weight: 400;
}

details[open] summary::after {
    content: '-';
}

details p {
    color: var(--text-secondary);
    margin-top: 16px;
    line-height: 1.6;
    animation: fadeIn 0.3s ease-out;
}

/* Beta Registration Form */
.beta-registration {
    padding: 100px 0;
    background-color: var(--surface-white);
}

.form-container {
    max-width: 600px;
    margin: 0 auto;
    background: var(--background-light);
    padding: 48px;
    border-radius: 32px;
    box-shadow: var(--shadow-card);
    border: 1px solid var(--divider);
}

.registration-form {
    display: flex;
    flex-direction: column;
    gap: 24px;
    text-align: left;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-weight: 600;
    color: var(--text-primary);
    font-size: 0.95rem;
}

.form-group input {
    padding: 14px 18px;
    border-radius: 12px;
    border: 1px solid var(--divider);
    background: white;
    font-family: var(--font-family);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus {
    outline: none;
    border-color: var(--primary-light);
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.1);
}

.form-help {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.submit-btn {
    margin-top: 12px;
    width: 100%;
    justify-content: center;
    padding: 16px;
    cursor: pointer;
    border: none;
}

.success-message {
    display: none;
    padding: 24px;
    background-color: #ecfdf5;
    border: 1px solid #10b981;
    border-radius: 16px;
    color: #065f46;
    text-align: center;
    animation: fadeIn 0.5s ease-out;
}

.success-message i {
    font-size: 2rem;
    margin-bottom: 12px;
    display: block;
}

/* Pricing Section Styles */
.pricing {
    padding: 100px 0;
    background-color: var(--surface-white);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 32px;
    max-width: 900px;
    margin: 0 auto;
}

.pricing-card {
    background: var(--background-light);
    padding: 48px 40px;
    border-radius: 32px;
    border: 1px solid var(--divider);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

.pricing-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-elevated);
    background: white;
}

.pricing-card.popular {
    background: white;
    border: 2px solid var(--primary-light);
    box-shadow: 0 20px 40px rgba(30, 58, 138, 0.15);
    transform: scale(1.05);
    z-index: 2;
}

.pricing-card.popular::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 32px;
    padding: 2px;
    background: linear-gradient(135deg, var(--primary-light), var(--primary-blue));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}

.pricing-card.popular::before {
    content: 'RECOMENDADO';
    position: absolute;
    top: 24px;
    right: -32px;
    background: linear-gradient(135deg, #F59E0B, #D97706);
    /* Gold gradient */
    color: white;
    padding: 8px 40px;
    font-size: 0.75rem;
    font-weight: 800;
    transform: rotate(45deg);
    box-shadow: 0 4px 10px rgba(217, 119, 6, 0.3);
}

.pricing-header h3 {
    font-size: 1.75rem;
    font-weight: 800;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.price {
    font-size: 3.5rem;
    font-weight: 900;
    color: var(--primary-blue);
    display: flex;
    align-items: baseline;
    gap: 6px;
    margin: 16px 0;
}

.pricing-features li {
    font-size: 1rem;
    margin-bottom: 4px;
}

.pricing-features li b {
    color: var(--text-primary);
}

.btn-pricing {
    margin-top: auto;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.pricing-card.popular .btn-pricing {
    background: linear-gradient(135deg, var(--primary-light), var(--primary-blue));
    transform: scale(1.02);
}

.pricing-card.popular .btn-pricing:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 25px rgba(37, 99, 235, 0.4);
}

.price span {
    font-size: 1rem;
    color: var(--text-secondary);
    font-weight: 500;
}

/* Pricing Badge */
.pricing-badge {
    position: absolute;
    top: 24px;
    right: 24px;
    background: linear-gradient(135deg, #F59E0B, #D97706);
    color: white;
    padding: 6px 16px;
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 700;
    box-shadow: 0 4px 8px rgba(217, 119, 6, 0.3);
    z-index: 10;
}

/* Savings Text */
.savings {
    color: var(--success) !important;
    font-weight: 600 !important;
    font-size: 0.95rem !important;
}

.pricing-features {
    margin-bottom: 40px;
    flex-grow: 1;
}

.pricing-features ul {
    gap: 16px;
    display: flex;
    flex-direction: column;
}

.pricing-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text-secondary);
}

.pricing-features li i {
    color: var(--success);
    font-size: 0.9rem;
}

.pricing-features li.disabled {
    opacity: 0.5;
    text-decoration: line-through;
}

.pricing-features li.disabled i {
    color: var(--text-secondary);
}

.btn-pricing {
    width: 100%;
    justify-content: center;
    padding: 16px;
}

@media (max-width: 768px) {
    .pricing-card.popular {
        scale: 1;
    }
}