/* 
   Vertiko Legal - Landing Page Stylesheet
   Premium Dark Mode & Modern Glassmorphism Styling
*/

:root {
    --bg-dark-1: #0b1120;
    --bg-dark-2: #0f172a;
    --bg-dark-3: #1e293b;
    --text-light: #f8fafc;
    --text-muted: #94a3b8;
    --accent: #6366f1;
    --accent-light: rgba(99, 102, 241, 0.15);
    --accent-gradient: linear-gradient(135deg, #6366f1 0%, #a855f7 100%);
    --success: #10b981;
    --success-light: rgba(16, 185, 129, 0.15);
    --danger: #ef4444;
    --border-color: rgba(255, 255, 255, 0.08);
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.2);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.3), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    background-color: var(--bg-dark-1);
    color: var(--text-light);
    font-family: 'Montserrat', sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    letter-spacing: -0.02em;
}

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

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

/* Helper Classes */
.text-center { text-align: center; }
.text-accent { color: #8b5cf6; }
.text-gradient {
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.icon-spacing { margin-right: 8px; }
.bg-dark { background-color: var(--bg-dark-2); }
.bg-success-light { background-color: var(--success-light); color: var(--success); }
.bg-accent-light { background-color: var(--accent-light); color: #a855f7; }
.text-success { color: var(--success); }
.text-danger { color: var(--danger); }
.pad-30 { padding: 30px; }
.small-text { font-size: 0.85rem; }
.text-muted { color: var(--text-muted); }

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    border-radius: 8px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    border: none;
    text-align: center;
}

.btn-sm {
    padding: 10px 18px;
    font-size: 0.9rem;
}

.btn-lg {
    padding: 16px 28px;
    font-size: 1.1rem;
}

.btn-block {
    width: 100%;
}

.btn-primary {
    background: var(--accent-gradient);
    color: white;
    box-shadow: 0 4px 14px rgba(99, 102, 241, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(99, 102, 241, 0.6);
}

.btn-secondary {
    background-color: var(--bg-dark-3);
    color: var(--text-light);
    border: 1px solid var(--border-color);
}

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

.btn-accent {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    box-shadow: 0 4px 14px rgba(16, 185, 129, 0.3);
}

.btn-accent:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.5);
}

/* Glassmorphism Card */
.glass-card {
    background: rgba(30, 41, 59, 0.4);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

/* Header Styles */
.header {
    background: rgba(11, 17, 32, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    height: 80px;
    display: flex;
    align-items: center;
}

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

.logo {
    display: flex;
    align-items: center;
    font-size: 1.5rem;
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
}

.logo-icon {
    color: #8b5cf6;
    margin-right: 10px;
    font-size: 1.7rem;
}

.logo-text {
    letter-spacing: 0.05em;
}

.nav {
    display: flex;
    gap: 30px;
}

.nav-link {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-muted);
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: var(--text-light);
}

.header-actions {
    display: flex;
    gap: 15px;
}

/* Hero Section */
.hero {
    padding-top: 160px;
    padding-bottom: 80px;
    position: relative;
    background-image: radial-gradient(circle at 10% 20%, rgba(99, 102, 241, 0.1) 0%, transparent 40%),
                      radial-gradient(circle at 90% 80%, rgba(168, 85, 247, 0.1) 0%, transparent 40%);
}

.hero-container {
    display: grid;
    grid-template-columns: 1.1s 1fr;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 50px;
    align-items: center;
}

.hero-content {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.badge {
    align-self: flex-start;
    background-color: var(--accent-light);
    border: 1px solid rgba(99, 102, 241, 0.3);
    color: #a855f7;
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
}

.badge-icon {
    margin-right: 6px;
}

.hero-title {
    font-size: 3rem;
    line-height: 1.15;
}

.hero-subtitle {
    font-size: 1.1rem;
    color: var(--text-muted);
    font-weight: 400;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    margin-top: 10px;
}

.hero-trust {
    display: flex;
    align-items: center;
    gap: 15px;
    color: var(--text-muted);
    font-size: 0.85rem;
    margin-top: 15px;
}

.hero-trust .divider {
    color: rgba(255, 255, 255, 0.15);
}

/* Hero Mockup Visuals */
.hero-visual {
    perspective: 1000px;
}

.hero-preview {
    transform: rotateY(-5deg) rotateX(5deg);
    transition: transform 0.5s ease;
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.hero-preview:hover {
    transform: rotateY(0deg) rotateX(0deg);
}

.preview-header {
    background: rgba(15, 23, 42, 0.6);
    padding: 12px 18px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid var(--border-color);
}

.circles {
    display: flex;
    gap: 6px;
    margin-right: 20px;
}

.circle {
    width: 10px;
    height: 10px;
    border-radius: 50px;
}

.circle.red { background-color: var(--danger); }
.circle.yellow { background-color: #f59e0b; }
.circle.green { background-color: var(--success); }

.preview-title {
    font-family: monospace;
    font-size: 0.8rem;
    color: var(--text-muted);
}

.preview-body {
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.mock-kpi-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.mock-kpi-card {
    border-radius: 10px;
    padding: 14px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.purple-gradient {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.25) 0%, rgba(139, 92, 246, 0.05) 100%);
    border: 1px solid rgba(139, 92, 246, 0.2);
}

.blue-gradient {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.25) 0%, rgba(59, 130, 246, 0.05) 100%);
    border: 1px solid rgba(59, 130, 246, 0.2);
}

.mock-kpi-icon {
    font-size: 1.5rem;
    color: #c084fc;
}

.mock-kpi-info {
    display: flex;
    flex-direction: column;
}

.mock-kpi-num {
    font-size: 1.3rem;
    font-weight: 700;
}

.mock-kpi-label {
    font-size: 0.7rem;
    color: var(--text-muted);
}

.mock-workspace {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    border: 1px solid var(--border-color);
    border-radius: 10px;
    overflow: hidden;
    height: 180px;
}

.mock-sidebar {
    background: rgba(15, 23, 42, 0.4);
    border-right: 1px solid var(--border-color);
    padding: 10px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.mock-item {
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 0.75rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 8px;
}

.mock-item.active {
    background-color: var(--accent-light);
    color: #a855f7;
    font-weight: 600;
}

.mock-content {
    background: rgba(15, 23, 42, 0.2);
    padding: 15px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.mock-content-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 8px;
}

.mock-content-header h4 {
    font-size: 0.75rem;
}

.mock-status-pill {
    background-color: rgba(245, 158, 11, 0.15);
    color: #f59e0b;
    padding: 2px 8px;
    border-radius: 50px;
    font-size: 0.65rem;
    font-weight: 600;
}

.mock-timeline {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.mock-timeline-item {
    display: flex;
    gap: 10px;
    align-items: flex-start;
}

.timeline-dot {
    width: 8px;
    height: 8px;
    border-radius: 50px;
    margin-top: 4px;
}

.timeline-dot.bg-success { background-color: var(--success); }
.timeline-dot.bg-indigo { background-color: var(--accent); }

.timeline-info {
    display: flex;
    flex-direction: column;
    font-size: 0.7rem;
}

.timeline-info strong {
    color: var(--text-light);
}

.timeline-info span {
    color: var(--text-muted);
}

/* Stats Section */
.stats {
    background-color: var(--bg-dark-2);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    padding: 40px 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    text-align: center;
}

.stat-item {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.stat-number {
    font-size: 2.8rem;
    font-weight: 800;
    font-family: 'Outfit', sans-serif;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-muted);
    font-weight: 500;
}

/* Benefits Section */
.benefits {
    padding: 100px 0;
}

.section-header {
    margin-bottom: 60px;
}

.section-title {
    font-size: 2.3rem;
    margin-bottom: 15px;
}

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

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.benefit-card {
    background-color: var(--bg-dark-2);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 40px 30px;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.benefit-card:hover {
    transform: translateY(-5px);
    border-color: rgba(99, 102, 241, 0.3);
}

.benefit-icon {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    margin-bottom: 24px;
}

.benefit-icon.blue-bg { background-color: rgba(59, 130, 246, 0.15); color: #3b82f6; }
.benefit-icon.purple-bg { background-color: rgba(139, 92, 246, 0.15); color: #8b5cf6; }
.benefit-icon.green-bg { background-color: rgba(16, 185, 129, 0.15); color: #10b981; }

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

.benefit-card p {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.6;
}

/* Features Section */
.features {
    padding: 100px 0;
}

.feature-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    margin-top: 80px;
}

.feature-row.reverse {
    direction: rtl;
}

.feature-row.reverse .feature-content {
    direction: ltr;
}

.feature-row.reverse .feature-visual {
    direction: ltr;
}

.feature-badge {
    background-color: var(--accent-light);
    color: #a855f7;
    font-weight: 700;
    font-size: 0.8rem;
    padding: 6px 14px;
    border-radius: 50px;
    align-self: flex-start;
    display: inline-flex;
    align-items: center;
    margin-bottom: 15px;
}

.feature-content h3 {
    font-size: 2rem;
    margin-bottom: 20px;
}

.feature-content p {
    color: var(--text-muted);
    margin-bottom: 24px;
    font-size: 1.05rem;
}

.feature-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.feature-list li {
    display: flex;
    align-items: center;
    font-size: 0.95rem;
    color: var(--text-light);
}

/* Feature Mockup Internals */
.feature-mock {
    width: 100%;
    min-height: 280px;
}

.mock-browser-header {
    background: rgba(15, 23, 42, 0.4);
    padding: 12px 18px;
    border-bottom: 1px solid var(--border-color);
}

.mock-browser-header .tab {
    background: var(--bg-dark-3);
    padding: 6px 14px;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 600;
    border: 1px solid var(--border-color);
}

.mock-browser-body {
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.mock-editor-area {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.editor-label {
    font-size: 0.7rem;
    color: var(--text-muted);
    font-weight: 600;
}

.mock-raw-text {
    background-color: rgba(15, 23, 42, 0.5);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 12px;
    font-size: 0.75rem;
    color: #e2e8f0;
    font-family: monospace;
    line-height: 1.4;
}

.mock-btn-row {
    display: flex;
}

.mock-ai-results {
    display: flex;
    gap: 12px;
}

.result-pill {
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 0.75rem;
}

/* Feature 2 Mockup */
.signature-icon-container {
    width: 60px;
    height: 60px;
    border-radius: 50px;
    background-color: var(--accent-light);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
}

.signature-icon-container i {
    font-size: 1.8rem;
    color: #a855f7;
}

.mock-file-inputs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin: 15px 0;
}

.file-box {
    background: rgba(15, 23, 42, 0.4);
    border: 1px dashed var(--border-color);
    padding: 12px;
    border-radius: 8px;
    font-size: 0.75rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Feature 3 (WhatsApp) Mockup */
.whatsapp-mock {
    background-color: #0b141a;
    border: 1px solid var(--border-color);
}

.whatsapp-header {
    background-color: #202c33;
    padding: 12px 18px;
    display: flex;
    align-items: center;
}

.wa-user {
    display: flex;
    align-items: center;
    gap: 12px;
}

.wa-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50px;
    background-color: #6b7280;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
}

.wa-user-info {
    display: flex;
    flex-direction: column;
}

.wa-name {
    font-size: 0.85rem;
    font-weight: 600;
}

.wa-status {
    font-size: 0.65rem;
    color: var(--success);
}

.whatsapp-chat {
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    min-height: 200px;
    background-image: radial-gradient(circle, #0b141a 10%, transparent 11%),
                      radial-gradient(circle, #0b141a 10%, transparent 11%);
    background-size: 10px 10px;
    background-color: #0b141a;
}

.wa-bubble {
    padding: 10px 14px;
    border-radius: 12px;
    max-width: 80%;
    font-size: 0.8rem;
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.wa-bubble.received {
    align-self: flex-start;
    background-color: #202c33;
    color: #e9edef;
    border-top-left-radius: 0;
}

.wa-bubble.sent {
    align-self: flex-end;
    background-color: #005c4b;
    color: #e9edef;
    border-top-right-radius: 0;
}

.wa-time {
    align-self: flex-end;
    font-size: 0.6rem;
    color: #8696a0;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

/* Pricing Section */
.pricing {
    padding: 100px 0;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    align-items: center;
    margin-top: 50px;
}

.pricing-card {
    background-color: var(--bg-dark-2);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 40px;
    display: flex;
    flex-direction: column;
    gap: 30px;
    position: relative;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.pricing-card.popular {
    background-color: var(--bg-dark-3);
    border: 2px solid var(--accent);
    transform: scale(1.05);
}

.pricing-card:hover {
    transform: translateY(-5px);
}

.pricing-card.popular:hover {
    transform: translateY(-5px) scale(1.05);
}

.pricing-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent-gradient);
    color: white;
    font-family: 'Outfit', sans-serif;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    padding: 4px 12px;
    border-radius: 50px;
    box-shadow: 0 4px 10px rgba(99, 102, 241, 0.4);
}

.pricing-card-header h3 {
    font-size: 1.5rem;
    margin-bottom: 8px;
}

.pricing-desc {
    color: var(--text-muted);
    font-size: 0.85rem;
    margin-bottom: 20px;
}

.price {
    display: flex;
    align-items: baseline;
}

.price .currency {
    font-size: 1.5rem;
    font-weight: 600;
}

.price .amount {
    font-size: 3.2rem;
    font-weight: 800;
    font-family: 'Outfit', sans-serif;
}

.price .period {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-left: 6px;
}

.pricing-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.pricing-list li {
    font-size: 0.9rem;
    display: flex;
    align-items: center;
}

/* FAQ Section */
.faq {
    padding: 100px 0;
}

.faq-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-top: 50px;
}

.faq-card {
    background-color: var(--bg-dark-3);
    border: 1px solid var(--border-color);
    padding: 30px;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.faq-card h4 {
    font-size: 1.15rem;
    color: var(--text-light);
}

.faq-card p {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.6;
}

/* Footer Section */
.footer {
    background-color: var(--bg-dark-1);
    border-top: 1px solid var(--border-color);
    padding: 60px 0;
}

.footer-container {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 50px;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.footer-desc {
    color: var(--text-muted);
    font-size: 0.9rem;
    max-width: 320px;
}

.footer-links, .footer-legal {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links h4, .footer-legal h4 {
    font-size: 1rem;
    margin-bottom: 8px;
    color: var(--text-light);
}

.footer-links a, .footer-legal a {
    color: var(--text-muted);
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.footer-links a:hover, .footer-legal a:hover {
    color: var(--text-light);
}

.copy-text {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.2);
    margin-top: 20px;
}

/* Responsive Media Queries */
@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 60px;
    }
    .hero-content {
        align-items: center;
    }
    .hero-title {
        font-size: 2.5rem;
    }
    .hero-visual {
        max-width: 550px;
        margin: 0 auto;
    }
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }
    .benefits-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin: 0 auto;
    }
    .feature-row, .feature-row.reverse {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .pricing-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 0 auto;
        gap: 40px;
    }
    .pricing-card.popular {
        transform: scale(1);
    }
    .pricing-card.popular:hover {
        transform: translateY(-5px) scale(1);
    }
    .faq-grid {
        grid-template-columns: 1fr;
    }
    .footer-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .nav {
        display: none;
    }
    .header-actions {
        margin-left: auto;
    }
    .hero-title {
        font-size: 2.1rem;
    }
    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }
    .hero-buttons .btn {
        width: 100%;
    }
    .stat-number {
        font-size: 2.2rem;
    }
}

/* ==========================================================================
   REGISTRATION & CHECKOUT MODAL (PREMIUM GLASSMORPHISM)
   ========================================================================== */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(6, 9, 20, 0.88);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
}

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

.modal-card {
    background: linear-gradient(135deg, var(--bg-dark-3) 0%, var(--bg-dark-2) 100%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    width: 90%;
    max-width: 550px;
    padding: 40px;
    position: relative;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6), 0 0 60px rgba(99, 102, 241, 0.15);
    transform: scale(0.92);
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.modal-overlay.active .modal-card {
    transform: scale(1);
}

.modal-close-btn {
    position: absolute;
    top: 24px;
    right: 24px;
    background: rgba(255, 255, 255, 0.05);
    border: none;
    color: var(--text-muted);
    font-size: 1.4rem;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s, color 0.3s, transform 0.3s;
}

.modal-close-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-light);
    transform: rotate(90deg);
}

.modal-glow-badge {
    background: rgba(99, 102, 241, 0.15);
    border: 1px solid rgba(99, 102, 241, 0.3);
    color: #a5b4fc;
    font-family: 'Outfit', sans-serif;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    padding: 6px 14px;
    border-radius: 50px;
    display: inline-block;
    margin-bottom: 15px;
    letter-spacing: 0.5px;
    box-shadow: 0 0 15px rgba(99, 102, 241, 0.1);
}

.modal-title {
    font-size: 1.8rem;
    font-family: 'Outfit', sans-serif;
    margin-bottom: 8px;
    background: var(--text-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 700;
}

.modal-subtitle {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 25px;
    line-height: 1.5;
}

.modal-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

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

@media (min-width: 480px) {
    .form-group-row {
        grid-template-columns: 1fr 1fr;
    }
}

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

.form-group label {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-light);
    display: flex;
    align-items: center;
}

.form-group input {
    background: rgba(15, 23, 42, 0.6);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 12px 16px;
    color: white;
    font-size: 0.9rem;
    outline: none;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.form-group input:focus {
    border-color: var(--accent);
    box-shadow: 0 0 12px rgba(99, 102, 241, 0.25);
}

.form-plan-selector {
    display: flex;
    flex-direction: column;
    gap: 8px;
    text-align: left;
    margin: 10px 0;
}

.selector-label {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-light);
}

.plan-pills {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.plan-pill {
    background: rgba(15, 23, 42, 0.4);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    cursor: pointer;
    transition: border-color 0.3s, background 0.3s, transform 0.2s;
}

.plan-pill:hover {
    transform: translateY(-2px);
    background: rgba(15, 23, 42, 0.6);
}

.plan-pill.active {
    background: rgba(99, 102, 241, 0.1);
    border: 1px solid var(--accent);
    box-shadow: 0 0 15px rgba(99, 102, 241, 0.1);
}

.plan-pill .pill-name {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-light);
}

.plan-pill .pill-price {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.plan-pill.active .pill-price {
    color: #a5b4fc;
    font-weight: 600;
}

/* Success Screen Styles */
.hidden {
    display: none !important;
}

.success-animation-container {
    margin: 24px 0;
    display: flex;
    justify-content: center;
}

.success-checkmark-circle {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: rgba(16, 185, 129, 0.1);
    border: 2px solid #10b981;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 25px rgba(16, 185, 129, 0.25);
    animation: pulseCheck 2s infinite;
}

@keyframes pulseCheck {
    0% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.4); }
    70% { box-shadow: 0 0 0 15px rgba(16, 185, 129, 0); }
    100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.success-checkmark {
    width: 18px;
    height: 34px;
    border-right: 3px solid #10b981;
    border-bottom: 3px solid #10b981;
    transform: rotate(45deg) translate(-4px, -10px);
    transform-origin: center;
}

.success-title {
    font-size: 1.8rem;
    color: #10b981;
    font-family: 'Outfit', sans-serif;
    margin-bottom: 8px;
    font-weight: 700;
}

.success-message {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 25px;
}

.success-details-card {
    background: rgba(15, 23, 42, 0.5);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 20px;
    text-align: left;
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 30px;
}

.detail-row {
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
}

.detail-row span {
    color: var(--text-muted);
}

.detail-row strong {
    color: var(--text-light);
}

.redirect-notice {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 15px;
}

@media (max-width: 580px) {
    .modal-card {
        padding: 30px 20px;
        border-radius: 20px;
    }
}

