@import url("https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap");

:root {
    /* Color Palette */
    --bg-dark: #0f172a;
    --bg-dark-secondary: #1e293b;
    --bg-light: #f8fafc;
    --bg-light-secondary: #f1f5f9;
    
    --text-dark: #0f172a;
    --text-dark-muted: #64748b;
    --text-light: #f8fafc;
    --text-light-muted: #94a3b8;
    
    --primary: #6366f1; /* Indigo */
    --primary-hover: #4f46e5;
    --secondary: #0ea5e9; /* Sky */
    --secondary-hover: #0284c7;
    
    --success: #10b981;
    --warning: #f59e0b;
    --danger: #ef4444;
    --info: #3b82f6;

    /* Spacing & Borders */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
}

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

body {
    font-family: "Inter", sans-serif;
    line-height: 1.5;
    background-color: var(--bg-light);
    color: var(--text-dark);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

button, .btn {
    font-family: "Inter", sans-serif;
    cursor: pointer;
    border: none;
    outline: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-fast);
}

/* Header & Navbar */
.navbar {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(248, 250, 252, 0.85);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(226, 232, 240, 0.8);
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 8%;
    transition: all var(--transition-fast);
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--text-dark);
    letter-spacing: -0.02em;
}

.logo span {
    color: var(--primary);
}

.nav-links {
    display: flex;
    gap: 32px;
    list-style: none;
}

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

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

.nav-btn {
    padding: 10px 20px;
    background: var(--bg-dark);
    color: white;
    font-weight: 600;
    font-size: 0.9rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
}

.nav-btn:hover {
    background: var(--bg-dark-secondary);
    transform: translateY(-1px);
}

/* Hero Section */
.hero {
    padding: 60px 8% 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    background: radial-gradient(circle at 50% 0%, rgba(99, 102, 241, 0.08) 0%, rgba(248, 250, 252, 0) 70%);
    position: relative;
    overflow: hidden;
}

.hero-badge {
    background: rgba(99, 102, 241, 0.08);
    color: var(--primary);
    padding: 8px 16px;
    border-radius: 100px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 24px;
    display: inline-block;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.02em;
    max-width: 800px;
    margin-bottom: 20px;
}

.hero-title span {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-desc {
    font-size: 1.15rem;
    color: var(--text-dark-muted);
    max-width: 600px;
    margin-bottom: 0;
}

.hero-actions {
    display: flex;
    gap: 16px;
}

.btn-primary {
    padding: 14px 28px;
    background: var(--primary);
    color: white;
    font-weight: 600;
    border-radius: var(--radius-md);
    box-shadow: 0 10px 20px rgba(99, 102, 241, 0.15);
}

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

.btn-secondary {
    padding: 14px 28px;
    background: white;
    color: var(--text-dark);
    font-weight: 600;
    border-radius: var(--radius-md);
    border: 1px solid #e2e8f0;
    box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
    background: #f8fafc;
    border-color: #cbd5e1;
    transform: translateY(-2px);
}

/* Features Section & Grids */
.features {
    padding: 36px 8%;
    background-color: var(--bg-light-secondary);
}

.section-header {
    text-align: center;
    margin-bottom: 48px;
}

.section-header h2 {
    font-size: 2.25rem;
    font-weight: 800;
    margin-bottom: 12px;
    letter-spacing: -0.01em;
}

.section-header p {
    color: var(--text-dark-muted);
    font-size: 1.05rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
    max-width: 1200px;
    margin: 0 auto;
}

.features-grid > .feature-card:only-child {
    grid-column: span 2;
    max-width: 620px;
    justify-self: center;
    width: 100%;
}

.feature-card {
    background: white;
    padding: 36px 28px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(226, 232, 240, 0.6);
    transition: all var(--transition-normal);
    display: flex;
    flex-direction: column;
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(99, 102, 241, 0.2);
}

.feature-title {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 12px;
    line-height: 1.3;
}

.feature-desc {
    color: var(--text-dark-muted);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 24px;
}

/* Card Images & Wrappers */
.software-card-image-wrapper {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-md);
    margin-bottom: 20px;
    background: #f8fafc;
}

.software-card-image {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    object-position: center;
    border-radius: var(--radius-md);
    border: 1px solid rgba(226, 232, 240, 0.8);
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    display: block;
}

.software-card-image-wrapper::after {
    content: "🔍 Clic para ampliar HD";
    position: absolute;
    bottom: 12px;
    right: 12px;
    background: rgba(15, 23, 42, 0.8);
    color: white;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 20px;
    backdrop-filter: blur(4px);
    opacity: 0;
    transform: translateY(6px);
    transition: all 0.25s ease;
    pointer-events: none;
}

.software-card-image-wrapper:hover .software-card-image {
    transform: scale(1.03);
}

.software-card-image-wrapper:hover::after {
    opacity: 1;
    transform: translateY(0);
}

.software-badge {
    display: inline-block;
    background: rgba(99, 102, 241, 0.08);
    color: var(--primary);
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 4px 10px;
    border-radius: 4px;
    margin-bottom: 14px;
    align-self: flex-start;
}

.software-badge.featured-badge {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: white;
}

.software-price {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-dark-muted);
    margin-top: auto;
    margin-bottom: 20px;
    word-break: break-word;
    overflow-wrap: anywhere;
}

.software-price span {
    color: var(--primary);
    font-weight: 700;
    display: inline-block;
    word-break: break-word;
}

.btn-software-contact {
    width: 100%;
    padding: 12px;
    border-radius: var(--radius-md);
    font-weight: 700;
    font-size: 0.95rem;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all var(--transition-fast);
}

.btn-software-contact:not(.btn-featured) {
    background: white;
    border: 1px solid #cbd5e1;
    color: var(--text-dark);
}

.btn-software-contact:not(.btn-featured):hover {
    background: #f1f5f9;
    border-color: #94a3b8;
}

.btn-software-contact.btn-featured {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: white;
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.2);
}

/* Footer */
footer {
    padding: 40px 8%;
    border-top: 1px solid #e2e8f0;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--text-dark-muted);
    font-size: 0.9rem;
    background: white;
}

/* RESPONSIVE DESIGN: TABLETS & MOBILE PHONES */

@media (max-width: 992px) {
    .hero-title {
        font-size: 2.75rem;
    }
    .features-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }
    .features-grid > .feature-card:only-child {
        grid-column: span 1;
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    /* Header Mobile */
    .navbar {
        padding: 0 16px;
        height: 60px;
    }
    .logo {
        font-size: 1.15rem;
    }
    .nav-links {
        display: none;
    }
    .nav-btn {
        padding: 8px 14px;
        font-size: 0.82rem;
    }

    /* Hero Mobile */
    .hero {
        padding: 40px 16px 16px;
    }
    .hero-title {
        font-size: 2rem;
        line-height: 1.25;
        margin-bottom: 16px;
    }
    .hero-desc {
        font-size: 0.95rem;
        margin-bottom: 0;
    }
    .hero-actions {
        flex-direction: column;
        width: 100%;
        gap: 12px;
    }
    .btn-primary, .btn-secondary {
        width: 100%;
        padding: 14px 20px;
        text-align: center;
    }

    /* Features Section & Cards Mobile */
    .features {
        padding: 20px 16px;
    }
    .section-header {
        margin-bottom: 0;
    }
    .section-header h2 {
        font-size: 1.6rem;
    }
    .section-header p {
        font-size: 0.95rem;
    }

    .features-grid {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
    }

    .features-grid > .feature-card:only-child {
        grid-column: span 1 !important;
        max-width: 100% !important;
    }

    .feature-card {
        padding: 22px 18px !important;
        border-radius: var(--radius-md) !important;
    }
    
    .feature-card:hover {
        transform: none !important; /* Desactivar transform en móvil para evitar temblores */
    }

    .feature-title {
        font-size: 1.2rem !important;
        margin-bottom: 10px !important;
    }

    .feature-desc {
        text-align: left !important;
        font-size: 0.9rem !important;
        line-height: 1.55 !important;
        margin-bottom: 18px !important;
    }

    .software-card-image {
        aspect-ratio: 16 / 9 !important;
        border-radius: var(--radius-sm) !important;
    }

    .software-card-image-wrapper {
        margin-bottom: 16px !important;
    }

    .software-card-image-wrapper::after {
        display: none !important; /* Ocultar pista hover en pantallas táctiles */
    }

    .software-price {
        font-size: 0.9rem !important;
        margin-bottom: 18px !important;
        word-break: break-word !important;
        overflow-wrap: anywhere !important;
    }

    .software-price span {
        display: block;
        margin-top: 4px;
        font-size: 0.9rem !important;
        word-break: break-word !important;
        overflow-wrap: anywhere !important;
    }

    .btn-software-contact {
        padding: 12px 16px !important;
        font-size: 0.9rem !important;
    }

    /* Footer Mobile */
    footer {
        padding: 24px 16px;
        font-size: 0.85rem;
        text-align: center;
    }
}

/* ==========================================================================
   Firma Electrónica & Nav Highlight Styles
   ========================================================================== */

.nav-links a.nav-highlight {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.12), rgba(14, 165, 233, 0.12));
    color: var(--primary);
    font-weight: 700;
    padding: 6px 14px;
    border-radius: 20px;
    border: 1px solid rgba(99, 102, 241, 0.28);
    display: inline-flex;
    align-items: center;
    gap: 7px;
    transition: all 0.25s ease;
}

.nav-links a.nav-highlight:hover,
.nav-links a.nav-highlight.active {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: #ffffff !important;
    border-color: transparent;
    box-shadow: 0 4px 14px rgba(99, 102, 241, 0.35);
    transform: translateY(-1px);
}

.nav-links a.nav-highlight svg {
    transition: transform 0.2s ease;
}

.nav-links a.nav-highlight:hover svg {
    transform: scale(1.15);
}

/* Firma Hero & Main Container */
.firma-page-header {
    background: linear-gradient(180deg, var(--bg-dark) 0%, var(--bg-dark-secondary) 100%);
    color: var(--text-light);
    padding: 70px 20px 80px 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.firma-page-header::before {
    content: '';
    position: absolute;
    top: -20%;
    left: 50%;
    transform: translateX(-50%);
    width: 650px;
    height: 450px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.25) 0%, transparent 70%);
    pointer-events: none;
}

.firma-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    background: rgba(99, 102, 241, 0.15);
    border: 1px solid rgba(99, 102, 241, 0.3);
    border-radius: 999px;
    color: #a5b4fc;
    font-size: 0.88rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.firma-title {
    font-size: 2.8rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 16px;
    color: #ffffff;
    max-width: 850px;
    margin-left: auto;
    margin-right: auto;
}

.firma-title span {
    background: linear-gradient(135deg, #818cf8, #38bdf8);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.firma-subtitle {
    font-size: 1.15rem;
    color: var(--text-light-muted);
    max-width: 720px;
    margin: 0 auto 35px auto;
    line-height: 1.6;
}

/* Trust Pills Grid in Hero */
.firma-trust-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
    gap: 16px;
    max-width: 1050px;
    margin: 0 auto;
    text-align: left;
}

.firma-trust-item {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(8px);
    border-radius: var(--radius-md);
    padding: 16px 18px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.firma-trust-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: rgba(99, 102, 241, 0.2);
    color: #a5b4fc;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.firma-trust-text h4 {
    font-size: 0.92rem;
    font-weight: 700;
    color: #f8fafc;
    margin-bottom: 2px;
}

.firma-trust-text p {
    font-size: 0.8rem;
    color: #94a3b8;
    line-height: 1.35;
    margin: 0;
}

/* Tabs Switcher */
.firma-tabs-wrapper {
    display: flex;
    justify-content: center;
    margin: -32px auto 45px auto;
    position: relative;
    z-index: 20;
}

.firma-tabs {
    background: var(--bg-dark-secondary);
    padding: 6px;
    border-radius: 999px;
    display: inline-flex;
    gap: 6px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.2);
}

.firma-tab-btn {
    padding: 12px 28px;
    border-radius: 999px;
    font-size: 0.95rem;
    font-weight: 600;
    color: #94a3b8;
    background: transparent;
    border: none;
    cursor: pointer;
    transition: all 0.25s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.firma-tab-btn.active {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.4);
}

/* Pricing Grid */
.firma-pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 26px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.firma-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: var(--radius-lg);
    padding: 32px 26px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-sm);
}

.firma-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 30px -10px rgba(99, 102, 241, 0.15);
    border-color: rgba(99, 102, 241, 0.4);
}

.firma-card.featured {
    border: 2px solid var(--primary);
    background: linear-gradient(180deg, #ffffff 0%, #f5f7ff 100%);
    box-shadow: 0 15px 30px -8px rgba(99, 102, 241, 0.2);
}

.firma-badge-tag {
    position: absolute;
    top: -13px;
    right: 24px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: #ffffff;
    font-size: 0.78rem;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 20px;
    box-shadow: 0 4px 10px rgba(99, 102, 241, 0.3);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.firma-card-duration {
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 6px;
}

.firma-card-type {
    font-size: 0.85rem;
    color: var(--text-dark-muted);
    margin-bottom: 18px;
    font-weight: 500;
}

.firma-price-block {
    margin-bottom: 22px;
    padding-bottom: 20px;
    border-bottom: 1px solid #f1f5f9;
}

.firma-main-price {
    font-size: 2.4rem;
    font-weight: 800;
    color: var(--text-dark);
    line-height: 1;
}

.firma-tax {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-dark-muted);
}

.firma-monthly-equiv {
    margin-top: 6px;
    font-size: 0.88rem;
    color: var(--primary);
    font-weight: 600;
}

.firma-saving-tag {
    display: inline-block;
    margin-top: 6px;
    font-size: 0.78rem;
    font-weight: 700;
    color: #059669;
    background: #ecfdf5;
    padding: 2px 8px;
    border-radius: 6px;
}

.firma-features-list {
    list-style: none;
    margin-bottom: 28px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.firma-features-list li {
    font-size: 0.92rem;
    color: #475569;
    display: flex;
    align-items: center;
    gap: 10px;
    line-height: 1.4;
}

.firma-features-list li svg {
    color: var(--primary);
    flex-shrink: 0;
}

.btn-firma-buy {
    width: 100%;
    padding: 14px 20px;
    background: var(--bg-dark);
    color: #ffffff;
    font-weight: 700;
    font-size: 0.98rem;
    border-radius: var(--radius-sm);
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-decoration: none;
    transition: all 0.2s ease;
}

.btn-firma-buy:hover {
    background: var(--primary-hover);
    color: #ffffff;
    box-shadow: 0 8px 18px rgba(99, 102, 241, 0.35);
    transform: translateY(-2px);
}

.firma-card.featured .btn-firma-buy {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    box-shadow: 0 8px 18px rgba(99, 102, 241, 0.3);
}

.firma-card.featured .btn-firma-buy:hover {
    background: linear-gradient(135deg, var(--primary-hover), var(--secondary-hover));
}

/* Steps Section */
.firma-steps-section {
    padding: 80px 20px;
    background: #ffffff;
    margin-top: 60px;
    border-top: 1px solid #e2e8f0;
    border-bottom: 1px solid #e2e8f0;
}

.firma-steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 24px;
    max-width: 1150px;
    margin: 40px auto 0 auto;
}

.firma-step-card {
    background: var(--bg-light);
    border: 1px solid #e2e8f0;
    border-radius: var(--radius-md);
    padding: 28px 22px;
    text-align: center;
    position: relative;
    transition: all 0.25s ease;
}

.firma-step-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: rgba(99, 102, 241, 0.3);
}

.firma-step-num {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: #ffffff;
    font-size: 1.15rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px auto;
    box-shadow: 0 4px 10px rgba(99, 102, 241, 0.3);
}

.firma-step-card h4 {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.firma-step-card p {
    font-size: 0.88rem;
    color: var(--text-dark-muted);
    line-height: 1.5;
    margin: 0;
}

/* Use cases badges */
.firma-usecases {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    max-width: 900px;
    margin: 30px auto 0 auto;
}

.firma-usecase-badge {
    background: #f1f5f9;
    color: #334155;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    padding: 8px 16px;
    font-size: 0.88rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

/* Continuar Solicitud Box */
.firma-continue-box {
    background: linear-gradient(135deg, var(--bg-dark), var(--bg-dark-secondary));
    color: #ffffff;
    border-radius: var(--radius-lg);
    padding: 40px;
    max-width: 950px;
    margin: 60px auto;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.25);
}

.firma-continue-form {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    width: 100%;
    max-width: 480px;
}

.firma-continue-input {
    flex: 1;
    min-width: 240px;
    padding: 12px 18px;
    border-radius: var(--radius-sm);
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
    font-size: 0.95rem;
    outline: none;
    transition: all 0.2s ease;
}

.firma-continue-input:focus {
    border-color: var(--primary);
    background: rgba(255, 255, 255, 0.12);
}

.firma-continue-btn {
    padding: 12px 24px;
    border-radius: var(--radius-sm);
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: #ffffff;
    font-weight: 700;
    font-size: 0.95rem;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.firma-continue-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(99, 102, 241, 0.4);
}

/* FAQ Accordion */
.firma-faq-section {
    max-width: 850px;
    margin: 70px auto 80px auto;
    padding: 0 20px;
}

.firma-faq-details {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: var(--radius-md);
    margin-bottom: 14px;
    overflow: hidden;
    transition: all 0.25s ease;
}

.firma-faq-details[open] {
    border-color: rgba(99, 102, 241, 0.4);
    box-shadow: 0 6px 20px -5px rgba(99, 102, 241, 0.1);
}

.firma-faq-summary {
    padding: 18px 22px;
    font-size: 1.02rem;
    font-weight: 700;
    color: var(--text-dark);
    cursor: pointer;
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    user-select: none;
}

.firma-faq-summary::-webkit-details-marker {
    display: none;
}

.firma-faq-icon {
    font-size: 1.3rem;
    color: var(--primary);
    transition: transform 0.25s ease;
}

.firma-faq-details[open] .firma-faq-icon {
    transform: rotate(45deg);
}

.firma-faq-body {
    padding: 0 22px 20px 22px;
    color: #475569;
    font-size: 0.95rem;
    line-height: 1.6;
}

@media (max-width: 768px) {
    .firma-title {
        font-size: 2rem;
    }
    .firma-tabs {
        flex-direction: column;
        border-radius: var(--radius-md);
        width: 90%;
    }
    .firma-tab-btn {
        text-align: center;
        justify-content: center;
        border-radius: var(--radius-sm);
    }
    .firma-continue-box {
        padding: 26px 20px;
        text-align: center;
    }
    .firma-continue-form {
        flex-direction: column;
    }
    .firma-continue-btn {
        width: 100%;
    }
}
