/* ============================================
   RESET & BASE STYLES
   ============================================ */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    background: #0a0a0a;
    color: #ffffff;
}

html, body {
    width: 100%;
    height: 100%;
}

:root {
    /* Dark Theme Colors - Premium */
    --bg-primary: #0a0a0a;
    --bg-secondary: #141414;
    --bg-tertiary: #1a1a1a;
    --bg-card: rgba(26, 26, 26, 0.8);
    --bg-card-hover: rgba(35, 35, 35, 0.95);
    --bg-input: rgba(26, 26, 26, 0.6);
    --bg-input-focus: rgba(35, 35, 35, 0.9);
    
    /* Text Colors */
    --text-primary: #ffffff;
    --text-secondary: #b3b3b3;
    --text-muted: #808080;
    --text-accent: #ffffff;
    
    /* Border Colors */
    --border-subtle: rgba(255, 255, 255, 0.08);
    --border-visible: rgba(255, 255, 255, 0.15);
    --border-hover: rgba(255, 255, 255, 0.25);
    
    /* Accent Colors */
    --accent-primary: #ffffff;
    --accent-hover: rgba(255, 255, 255, 0.1);
    --accent-active: rgba(255, 255, 255, 0.15);
    
    /* Shadows - Premium */
    --shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.3);
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.4);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.5);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.6);
    --shadow-xl: 0 16px 64px rgba(0, 0, 0, 0.7);
    --shadow-glow: 0 0 20px rgba(255, 255, 255, 0.1);
    
    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
    --spacing-2xl: 4rem;
    
    /* Border Radius */
    --radius-sm: 12px;
    --radius-md: 16px;
    --radius-lg: 20px;
    --radius-xl: 24px;
    --radius-full: 9999px;
    
    /* Transitions */
    --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-base: 250ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 400ms cubic-bezier(0.4, 0, 0.2, 1);
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, sans-serif;
    background: #0a0a0a !important;
    background-color: var(--bg-primary) !important;
    color: var(--text-primary) !important;
    min-height: 100vh;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    line-height: 1.6;
    margin: 0;
    padding: 0;
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--spacing-lg) var(--spacing-md);
    position: relative;
    background: #0a0a0a;
    background: linear-gradient(180deg, #0a0a0a 0%, #141414 100%);
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 0%, rgba(255, 255, 255, 0.03) 0%, transparent 50%);
    pointer-events: none;
}

.hero-container {
    max-width: 900px;
    width: 100%;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.hero-content {
    text-align: center;
    animation: fadeInUp 0.8s ease-out;
}

/* ============================================
   TOP LOGO
   ============================================ */
.top-logo {
    position: fixed;
    top: var(--spacing-md);
    left: var(--spacing-md);
    z-index: 999;
    padding: var(--spacing-sm);
    background: rgba(26, 26, 26, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-md);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5), 
                0 0 30px rgba(255, 255, 255, 0.1),
                inset 0 0 20px rgba(255, 255, 255, 0.05);
    animation: logoFadeIn 1s ease-out, logoGlow 3s ease-in-out infinite;
    animation-delay: 0s, 1s;
    transition: all 0.3s ease;
}

body.has-user-header .top-logo {
    top: 80px;
}

.top-logo:hover {
    transform: scale(1.05);
    border-color: rgba(255, 255, 255, 0.3);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.6), 
                0 0 40px rgba(255, 255, 255, 0.15),
                inset 0 0 30px rgba(255, 255, 255, 0.08);
}

.logo-image {
    max-width: 120px;
    width: auto;
    height: auto;
    display: block;
    opacity: 0;
    animation: logoFadeIn 1s ease-out forwards;
    filter: drop-shadow(0 2px 10px rgba(255, 255, 255, 0.2));
    transition: filter 0.3s ease;
}

.top-logo:hover .logo-image {
    filter: drop-shadow(0 4px 20px rgba(255, 255, 255, 0.3));
}

@keyframes logoFadeIn {
    from {
        opacity: 0;
        transform: translateX(-20px) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translateX(0) scale(1);
    }
}

@keyframes logoGlow {
    0%, 100% {
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5), 
                    0 0 30px rgba(255, 255, 255, 0.1),
                    inset 0 0 20px rgba(255, 255, 255, 0.05);
    }
    50% {
        box-shadow: 0 4px 25px rgba(0, 0, 0, 0.6), 
                    0 0 40px rgba(255, 255, 255, 0.15),
                    inset 0 0 25px rgba(255, 255, 255, 0.08);
    }
}

.hero-headline {
    margin-bottom: var(--spacing-md);
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.headline-main {
    display: block;
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 600;
    letter-spacing: -0.03em;
    line-height: 1.1;
    color: var(--text-primary);
    background: linear-gradient(135deg, #ffffff 0%, #e0e0e0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subheadline {
    font-size: clamp(1rem, 2vw, 1.25rem);
    font-weight: 400;
    color: #b3b3b3;
    color: var(--text-secondary);
    margin-bottom: var(--spacing-xl);
    line-height: 1.6;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

/* Hero Form */
.hero-form {
    max-width: 700px;
    margin: 0 auto var(--spacing-md);
    animation: fadeInUp 0.8s ease-out 0.6s both;
}

.input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    background: rgba(26, 26, 26, 0.6);
    background-color: var(--bg-input);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1.5px solid rgba(255, 255, 255, 0.08);
    border-color: var(--border-subtle);
    border-radius: var(--radius-xl);
    padding: 0.5rem 0.5rem 0.5rem 1rem;
    transition: all var(--transition-base);
    box-shadow: var(--shadow-md);
    gap: 0.75rem;
    width: 100%;
}

.input-wrapper:focus-within {
    border-color: var(--border-visible);
    background: var(--bg-input-focus);
    box-shadow: var(--shadow-lg), var(--shadow-glow);
    transform: translateY(-2px);
}

.hero-input {
    flex: 1;
    background: transparent;
    border: none;
    color: #ffffff;
    color: var(--text-primary);
    font-size: 1rem;
    font-weight: 400;
    outline: none;
    padding: 0.5rem 0;
    font-family: inherit;
    line-height: 1.5;
    min-width: 0;
}

.hero-input::placeholder {
    color: #808080;
    color: var(--text-muted);
    opacity: 1;
}

.hero-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    background: #ffffff;
    background-color: var(--text-primary);
    color: #0a0a0a;
    color: var(--bg-primary);
    border: none;
    padding: 0.625rem;
    border-radius: var(--radius-full);
    font-size: 0.9375rem;
    font-weight: 500;
    cursor: pointer;
    transition: all var(--transition-base);
    white-space: nowrap;
    box-shadow: var(--shadow-sm);
    width: 44px;
    height: 44px;
    flex-shrink: 0;
}

.hero-cta:hover {
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
    background: #f0f0f0;
}

.hero-cta:active {
    transform: translateY(0);
}

.hero-cta svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.hero-microtext {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-size: 0.8125rem;
    color: #808080;
    color: var(--text-muted);
    margin-top: var(--spacing-sm);
    flex-wrap: wrap;
    animation: fadeIn 0.8s ease-out 0.8s both;
}

.microtext-separator {
    color: var(--text-muted);
    opacity: 0.5;
}

.microtext-item {
    color: #b3b3b3;
    color: var(--text-secondary);
}

/* ============================================
   TRIGGERS SECTION
   ============================================ */
.triggers-section {
    padding: var(--spacing-2xl) var(--spacing-md);
    background: #141414;
    background-color: var(--bg-secondary);
    position: relative;
    width: 100%;
}

.triggers-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border-subtle), transparent);
}

.triggers-container {
    max-width: 1200px;
    margin: 0 auto;
}

.triggers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: var(--spacing-md);
    width: 100%;
}

.trigger-card {
    display: flex;
    align-items: flex-start;
    gap: var(--spacing-md);
    padding: var(--spacing-lg);
    background: rgba(26, 26, 26, 0.8);
    background-color: var(--bg-card);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-color: var(--border-subtle);
    border-radius: var(--radius-md);
    color: #ffffff;
    color: var(--text-primary);
    text-decoration: none;
    cursor: pointer;
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
    animation: fadeInUp 0.6s ease-out both;
}

.trigger-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, transparent 100%);
    opacity: 0;
    transition: opacity var(--transition-base);
    pointer-events: none;
}

.trigger-card:nth-child(1) { animation-delay: 0.1s; }
.trigger-card:nth-child(2) { animation-delay: 0.15s; }
.trigger-card:nth-child(3) { animation-delay: 0.2s; }
.trigger-card:nth-child(4) { animation-delay: 0.25s; }
.trigger-card:nth-child(5) { animation-delay: 0.3s; }
.trigger-card:nth-child(6) { animation-delay: 0.35s; }
.trigger-card:nth-child(7) { animation-delay: 0.4s; }
.trigger-card:nth-child(8) { animation-delay: 0.45s; }
.trigger-card:nth-child(9) { animation-delay: 0.5s; }
.trigger-card:nth-child(10) { animation-delay: 0.55s; }
.trigger-card:nth-child(11) { animation-delay: 0.6s; }
.trigger-card:nth-child(12) { animation-delay: 0.65s; }
.trigger-card:nth-child(13) { animation-delay: 0.7s; }
.trigger-card:nth-child(14) { animation-delay: 0.75s; }
.trigger-card:nth-child(15) { animation-delay: 0.8s; }
.trigger-card:nth-child(16) { animation-delay: 0.85s; }
.trigger-card:nth-child(17) { animation-delay: 0.9s; }
.trigger-card:nth-child(18) { animation-delay: 0.95s; }
.trigger-card:nth-child(19) { animation-delay: 1s; }
.trigger-card:nth-child(20) { animation-delay: 1.05s; }

.trigger-card:hover {
    border-color: var(--border-hover);
    background: var(--bg-card-hover);
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg), var(--shadow-glow);
}

.trigger-card:hover::before {
    opacity: 1;
}

.trigger-card:active {
    transform: translateY(-2px);
}

.trigger-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-sm);
    color: var(--text-secondary);
    transition: all var(--transition-base);
}

.trigger-card:hover .trigger-icon {
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.1);
    transform: scale(1.1);
}

.trigger-icon svg {
    width: 24px;
    height: 24px;
}

.trigger-content {
    flex: 1;
    min-width: 0;
}

.trigger-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: #ffffff;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
    line-height: 1.4;
}

.trigger-subtitle {
    font-size: 0.875rem;
    font-weight: 400;
    color: #b3b3b3;
    color: var(--text-secondary);
    line-height: 1.5;
}

/* ============================================
   PLANS SECTION
   ============================================ */
.plans-section {
    padding: var(--spacing-2xl) var(--spacing-md);
    background: #0a0a0a;
    background-color: var(--bg-primary);
    width: 100%;
}

.plans-container {
    max-width: 1200px;
    margin: 0 auto;
}

.plans-header {
    text-align: center;
    margin-bottom: var(--spacing-xl);
}

.plans-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: var(--spacing-sm);
    letter-spacing: -0.02em;
}

.plans-subtitle {
    font-size: 1.125rem;
    color: var(--text-secondary);
}

.plans-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-lg);
    max-width: 1000px;
    margin: 0 auto;
}

.plan-card {
    padding: var(--spacing-xl);
    background: var(--bg-card);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
}

.plan-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--border-visible), transparent);
    opacity: 0;
    transition: opacity var(--transition-base);
}

.plan-card:hover {
    border-color: var(--border-hover);
    background: var(--bg-card-hover);
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.plan-card:hover::before {
    opacity: 1;
}

.plan-card.featured {
    border-color: var(--border-visible);
    background: var(--bg-card-hover);
    box-shadow: var(--shadow-md);
}

.plan-card.featured::before {
    opacity: 1;
}

.plan-badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: var(--spacing-md);
}

.plan-name {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: var(--spacing-sm);
}

.plan-price {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: var(--spacing-xs);
    line-height: 1;
}

.plan-price-period {
    font-size: 1rem;
    font-weight: 400;
    color: var(--text-muted);
    margin-left: 0.25rem;
}

.plan-features {
    list-style: none;
    margin: var(--spacing-lg) 0;
}

.plan-feature {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    padding: var(--spacing-xs) 0;
    color: var(--text-secondary);
    font-size: 0.9375rem;
}

.plan-feature::before {
    content: '✓';
    color: var(--text-primary);
    font-weight: 600;
    flex-shrink: 0;
}

.plan-cta {
    width: 100%;
    padding: var(--spacing-md);
    background: var(--text-primary);
    color: var(--bg-primary);
    border: none;
    border-radius: var(--radius-md);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-base);
    margin-top: var(--spacing-md);
}

.plan-cta:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    background: #f0f0f0;
}

.plan-cta:active {
    transform: translateY(0);
}

/* ============================================
   PAYWALL MODAL
   ============================================ */
.paywall-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 1000;
    align-items: center;
    justify-content: center;
    padding: var(--spacing-md);
    animation: fadeIn var(--transition-base);
}

.paywall-overlay.active {
    display: flex;
}

.paywall-modal {
    position: relative;
    max-width: 900px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    background: var(--bg-card);
    backdrop-filter: blur(40px);
    -webkit-backdrop-filter: blur(40px);
    border: 1px solid var(--border-visible);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    animation: slideUp 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.paywall-content {
    padding: var(--spacing-xl);
}

.paywall-title {
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    font-weight: 600;
    color: var(--text-primary);
    text-align: center;
    margin-bottom: var(--spacing-sm);
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.paywall-subtitle {
    font-size: 1.125rem;
    color: var(--text-secondary);
    text-align: center;
    margin-bottom: var(--spacing-xl);
}

.plans-grid-modal {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-md);
}

.paywall-close {
    position: absolute;
    top: var(--spacing-md);
    right: var(--spacing-md);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-sm);
    color: var(--text-secondary);
    cursor: pointer;
    transition: all var(--transition-base);
}

.paywall-close:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-primary);
    border-color: var(--border-visible);
}

/* ============================================
   FEATURES SECTION
   ============================================ */
.features-section {
    padding: var(--spacing-2xl) var(--spacing-md);
    background: var(--bg-secondary);
    position: relative;
}

.features-container {
    max-width: 1200px;
    margin: 0 auto;
}

.features-header {
    text-align: center;
    margin-bottom: var(--spacing-xl);
}

.features-title {
    font-size: clamp(2rem, 4vw, 2.5rem);
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: var(--spacing-sm);
    letter-spacing: -0.02em;
}

.features-subtitle {
    font-size: 1.125rem;
    color: var(--text-secondary);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-md);
    margin-top: var(--spacing-xl);
}

.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: var(--spacing-lg);
    text-align: center;
    transition: all var(--transition-base);
}

.feature-card:hover {
    background: var(--bg-card-hover);
    border-color: var(--border-visible);
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.feature-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto var(--spacing-md);
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
}

.feature-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: var(--spacing-xs);
}

.feature-description {
    font-size: 0.9375rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ============================================
   SOCIAL PROOF SECTION
   ============================================ */
.social-proof-section {
    padding: var(--spacing-2xl) var(--spacing-md);
    background: var(--bg-primary);
    position: relative;
}

.social-proof-container {
    max-width: 1200px;
    margin: 0 auto;
}

.social-proof-header {
    text-align: center;
    margin-bottom: var(--spacing-xl);
}

.social-proof-title {
    font-size: clamp(2rem, 4vw, 2.5rem);
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: var(--spacing-sm);
    letter-spacing: -0.02em;
}

.social-proof-subtitle {
    font-size: 1.125rem;
    color: var(--text-secondary);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--spacing-md);
    margin-top: var(--spacing-xl);
}

.stat-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: var(--spacing-lg);
    text-align: center;
    transition: all var(--transition-base);
}

.stat-card:hover {
    background: var(--bg-card-hover);
    border-color: var(--border-visible);
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.stat-number {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: var(--spacing-xs);
    background: linear-gradient(135deg, #ffffff 0%, #b3b3b3 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    font-size: 0.9375rem;
    color: var(--text-secondary);
    font-weight: 500;
}

/* ============================================
   CTA SECTION
   ============================================ */
.cta-section {
    padding: var(--spacing-2xl) var(--spacing-md);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.02) 100%);
    border-top: 1px solid var(--border-subtle);
    border-bottom: 1px solid var(--border-subtle);
    position: relative;
}

.cta-container {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.cta-content {
    padding: var(--spacing-xl);
}

.cta-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: var(--spacing-sm);
    letter-spacing: -0.02em;
}

.cta-subtitle {
    font-size: 1.125rem;
    color: var(--text-secondary);
    margin-bottom: var(--spacing-lg);
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-xs);
    padding: 1rem 2rem;
    background: var(--text-primary);
    color: var(--bg-primary);
    border: none;
    border-radius: var(--radius-md);
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    transition: all var(--transition-base);
    cursor: pointer;
    box-shadow: var(--shadow-md);
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    background: rgba(255, 255, 255, 0.95);
}

.cta-button:active {
    transform: translateY(0);
}

/* ============================================
   TERMINAL SECTION
   ============================================ */
.terminal-section {
    padding: var(--spacing-2xl) var(--spacing-md);
    background: var(--bg-primary);
    position: relative;
    overflow: hidden;
}

.terminal-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border-subtle), transparent);
}

.terminal-container {
    max-width: 1200px;
    margin: 0 auto;
}

.terminal-header {
    display: none;
}

.terminal-title {
    display: none;
}

.terminal-subtitle {
    display: none;
}

.terminal-wrapper {
    position: relative;
    margin: 0 auto;
    max-width: 1000px;
}

.terminal-window {
    background: #0d1117;
    border: 1px solid var(--border-visible);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.terminal-bar {
    background: #161b22;
    border-bottom: 1px solid var(--border-subtle);
    padding: 0.75rem 1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.terminal-buttons {
    display: flex;
    gap: 0.5rem;
}

.terminal-btn {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    display: inline-block;
}

.terminal-btn.close {
    background: #ff5f56;
}

.terminal-btn.minimize {
    background: #ffbd2e;
}

.terminal-btn.maximize {
    background: #27c93f;
}

.terminal-title-bar {
    flex: 1;
    text-align: center;
    color: var(--text-secondary);
    font-size: 0.8125rem;
    font-family: 'Courier New', monospace;
}

.terminal-content {
    padding: 1.5rem;
    background: #0d1117;
    color: #c9d1d9;
    font-family: 'Courier New', 'Consolas', 'Monaco', monospace;
    font-size: 0.875rem;
    line-height: 1.8;
    min-height: 500px;
    max-height: 600px;
    overflow-y: auto;
    position: relative;
}

.terminal-content::-webkit-scrollbar {
    width: 8px;
}

.terminal-content::-webkit-scrollbar-track {
    background: #161b22;
}

.terminal-content::-webkit-scrollbar-thumb {
    background: var(--border-visible);
    border-radius: 4px;
}

.terminal-content::-webkit-scrollbar-thumb:hover {
    background: var(--border-hover);
}

.terminal-line {
    margin-bottom: 0.5rem;
    opacity: 1;
    animation: fadeInTerminal 0.4s ease-out forwards;
    word-wrap: break-word;
    overflow-wrap: break-word;
    line-height: 1.8;
}

.terminal-line.typing {
    opacity: 1;
}

@keyframes fadeInTerminal {
    from {
        opacity: 0;
        transform: translateY(8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.terminal-prompt {
    font-weight: 600;
    margin-right: 0.5rem;
}

.terminal-user {
    color: #c9d1d9;
}

.terminal-response {
    color: #a5d6a7;
}

.terminal-prompt {
    color: #58a6ff;
    font-weight: 600;
}

.terminal-user {
    color: #f0883e;
}

.terminal-ai {
    color: #a5a5ff;
}

.terminal-response {
    color: #c9d1d9;
    margin-left: 2rem;
    margin-top: 0.5rem;
    white-space: pre-wrap;
    word-wrap: break-word;
    line-height: 1.6;
}

.terminal-cursor {
    display: inline-block;
    width: 8px;
    height: 16px;
    background: var(--text-primary);
    animation: blink 1s infinite;
    margin-left: 2px;
}

.terminal-separator {
    height: 1px;
    background: var(--border-subtle);
    margin: 1.5rem 0;
    opacity: 0.3;
}

@keyframes fadeInTerminal {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes blink {
    0%, 50% {
        opacity: 1;
    }
    51%, 100% {
        opacity: 0;
    }
}

@keyframes typewriter {
    from {
        width: 0;
    }
    to {
        width: 100%;
    }
}

/* ============================================
   FOOTER
   ============================================ */
.landing-footer {
    padding: var(--spacing-xl) var(--spacing-md);
    text-align: center;
    border-top: 1px solid var(--border-subtle);
    background: #0a0a0a;
    background-color: var(--bg-primary);
    width: 100%;
}

.footer-text {
    color: var(--text-muted);
    font-size: 0.8125rem;
    font-weight: 400;
    line-height: 1.6;
}

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(40px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* ============================================
   RESPONSIVE DESIGN - MOBILE FIRST
   ============================================ */
@media (max-width: 768px) {
    .terminal-content {
        font-size: 0.75rem;
        padding: 1rem;
        min-height: 400px;
        max-height: 500px;
    }
    
    .terminal-title {
        font-size: 1.75rem;
    }
    
    .terminal-subtitle {
        font-size: 1rem;
    }
    
    .hero-section {
        min-height: auto;
        padding: var(--spacing-xl) var(--spacing-md);
    }
    
    .headline-main {
        font-size: 2.5rem;
    }
    
    .hero-subheadline {
        font-size: 1rem;
    }
    
    .input-wrapper {
        flex-direction: row;
        gap: 0.75rem;
        padding: 0.5rem 0.5rem 0.5rem 1rem;
        align-items: center;
    }
    
    .hero-input {
        flex: 1;
        min-width: 0; /* Permite que o input encolha */
    }
    
    .hero-cta {
        flex-shrink: 0;
        width: 48px;
        height: 48px;
    }
    
    .triggers-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-sm);
    }
    
    .trigger-card {
        padding: var(--spacing-md);
    }
    
    .plans-grid,
    .plans-grid-modal {
        grid-template-columns: 1fr;
    }
    
    .paywall-modal {
        max-height: 95vh;
    }
    
    .paywall-content {
        padding: var(--spacing-lg);
    }
}

@media (max-width: 480px) {
    .hero-section {
        padding: var(--spacing-lg) var(--spacing-sm);
        min-height: 100vh;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .hero-container {
        width: 100%;
        max-width: 100%;
        padding: 0 1rem;
    }
    
    .hero-content {
        width: 100%;
        text-align: center;
    }
    
    .headline-main {
        font-size: 1.75rem;
        line-height: 1.3;
        margin-bottom: 1rem;
    }
    
    .hero-subheadline {
        font-size: 0.9375rem;
        line-height: 1.5;
        margin-bottom: 1.5rem;
        padding: 0 0.5rem;
    }
    
    .hero-form {
        width: 100%;
        max-width: 100%;
    }
    
    .input-wrapper {
        border-radius: var(--radius-lg);
        padding: 0.5rem 0.5rem 0.5rem 0.875rem;
        width: 100%;
        display: flex;
        flex-direction: row;
        align-items: center;
        gap: 0.75rem;
    }
    
    .hero-input {
        flex: 1;
        font-size: 1rem;
        min-height: 48px; /* Tamanho mínimo para touch */
        padding: 0.5rem 0;
    }
    
    .hero-cta {
        width: 48px;
        height: 48px;
        padding: 0.75rem;
        font-size: 0.875rem;
        flex-shrink: 0;
    }
    
    .hero-microtext {
        font-size: 0.75rem;
        margin-top: 0.75rem;
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 0.25rem;
    }
    
    .trigger-card {
        padding: var(--spacing-sm);
        gap: var(--spacing-sm);
    }
    
    .trigger-icon {
        width: 40px;
        height: 40px;
    }
    
    .trigger-title {
        font-size: 1rem;
    }
    
    .trigger-subtitle {
        font-size: 0.8125rem;
    }
    
    .plan-card {
        padding: var(--spacing-lg);
    }
    
    .plan-price {
        font-size: 2rem;
    }
}

/* ============================================
   CONVERSATION PAGE STYLES (Existing)
   ============================================ */
.conversation-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 2rem;
    min-height: calc(100vh - 80px);
}

.conversation-header {
    margin-bottom: 3rem;
    text-align: center;
    opacity: 0;
    animation: fadeIn 0.5s ease-in forwards;
}

.conversation-header h1 {
    font-size: 1.8rem;
    font-weight: 300;
    letter-spacing: 1px;
    margin-bottom: 1rem;
}

.conversation-header p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    font-weight: 300;
}

.description-section {
    margin-bottom: 3rem;
    opacity: 0;
    animation: fadeIn 0.5s ease-in 0.3s forwards;
}

.description-section textarea {
    width: 100%;
    min-height: 150px;
    padding: 1.2rem;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-subtle);
    color: var(--text-primary);
    font-size: 1rem;
    font-weight: 300;
    letter-spacing: 0.3px;
    line-height: 1.6;
    resize: vertical;
    outline: none;
    transition: all 0.3s ease;
    font-family: inherit;
    border-radius: var(--radius-md);
}

.description-section textarea:focus {
    border-color: var(--border-visible);
}

.description-section button {
    margin-top: 1rem;
    padding: 1rem 2rem;
    background: var(--text-primary);
    border: none;
    color: var(--bg-primary);
    font-size: 0.95rem;
    font-weight: 500;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    border-radius: var(--radius-md);
}

.description-section button:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.description-section button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.messages-container {
    margin-bottom: 3rem;
}

.message {
    margin-bottom: 2rem;
    opacity: 0;
    animation: fadeInUp 0.5s ease-out forwards;
}

.message.user {
    text-align: right;
}

.message.assistant {
    text-align: left;
}

.message-content {
    display: inline-block;
    max-width: 80%;
    padding: 1.2rem 1.5rem;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-subtle);
    font-size: 0.95rem;
    font-weight: 300;
    letter-spacing: 0.3px;
    line-height: 1.7;
    text-align: left;
    border-radius: var(--radius-md);
}

.message.user .message-content {
    background: var(--bg-card);
    border-color: var(--border-visible);
}

.message.assistant .message-content {
    color: var(--text-secondary);
}

.typing-indicator {
    display: inline-block;
    padding: 1.2rem 1.5rem;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-subtle);
    color: var(--text-secondary);
    border-radius: var(--radius-md);
}

.typing-indicator span {
    display: inline-block;
    width: 8px;
    height: 8px;
    background: var(--text-secondary);
    border-radius: 50%;
    margin: 0 2px;
    animation: typingDot 1.4s infinite;
}

.typing-indicator span:nth-child(2) {
    animation-delay: 0.2s;
}

.typing-indicator span:nth-child(3) {
    animation-delay: 0.4s;
}

.input-section {
    position: sticky;
    bottom: 0;
    background: var(--bg-primary);
    padding: 1.5rem 0;
    border-top: 1px solid var(--border-subtle);
}

.input-section form {
    display: flex;
    gap: 1rem;
}

.input-section input {
    flex: 1;
    padding: 1rem 1.2rem;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-subtle);
    color: var(--text-primary);
    font-size: 0.95rem;
    font-weight: 300;
    outline: none;
    transition: all 0.3s ease;
    font-family: inherit;
    border-radius: var(--radius-md);
}

.input-section input:focus {
    border-color: var(--border-visible);
}

.input-section button {
    padding: 1rem 2rem;
    background: var(--text-primary);
    border: none;
    color: var(--bg-primary);
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: var(--radius-md);
}

.input-section button:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.input-section button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

@keyframes typingDot {
    0%, 60%, 100% {
        transform: translateY(0);
        opacity: 0.7;
    }
    30% {
        transform: translateY(-10px);
        opacity: 1;
    }
}

@media (max-width: 768px) {
    .message-content {
        max-width: 90%;
    }
}

/* ============================================
   CHECKOUT MODAL
   ============================================ */
.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 1000;
    align-items: center;
    justify-content: center;
    padding: var(--spacing-md);
    animation: fadeIn var(--transition-base);
}

.modal-overlay.active {
    display: flex !important;
}

.modal-overlay[style*="display: flex"] {
    display: flex !important;
}

.modal {
    position: relative;
    max-width: 600px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    background: var(--bg-card);
    backdrop-filter: blur(40px);
    -webkit-backdrop-filter: blur(40px);
    border: 1px solid var(--border-visible);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    animation: slideUp 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.checkout-modal {
    max-width: 800px;
}

.checkout-header {
    padding: var(--spacing-xl);
    text-align: center;
    border-bottom: 1px solid var(--border-subtle);
}

.checkout-title {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: var(--spacing-sm);
    letter-spacing: -0.02em;
}

.checkout-subtitle {
    font-size: 1rem;
    color: var(--text-secondary);
}

.checkout-content {
    padding: var(--spacing-xl);
}

.plans-grid-checkout {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-lg);
}

.plan-card-checkout {
    padding: var(--spacing-lg);
    background: rgba(26, 26, 26, 0.6);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    transition: all var(--transition-base);
    position: relative;
    text-align: center;
}

.plan-card-checkout.featured {
    border-color: var(--border-visible);
    background: rgba(35, 35, 35, 0.8);
}

.plan-card-checkout .plan-name {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: var(--spacing-sm);
}

.plan-card-checkout .plan-price {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: var(--spacing-md);
}

.plan-card-checkout .plan-features {
    list-style: none;
    margin: var(--spacing-md) 0;
    text-align: left;
}

.plan-card-checkout .plan-feature {
    padding: var(--spacing-xs) 0;
    color: var(--text-secondary);
    font-size: 0.875rem;
}

.plan-select-btn {
    width: 100%;
    padding: var(--spacing-md);
    background: var(--text-primary);
    color: var(--bg-primary);
    border: none;
    border-radius: var(--radius-md);
    font-size: 0.9375rem;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-base);
    margin-top: var(--spacing-md);
}

.plan-select-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    background: #f0f0f0;
}

.checkout-form-container {
    margin-top: var(--spacing-lg);
}

.checkout-form-header {
    margin-bottom: var(--spacing-lg);
    text-align: center;
}

.checkout-form-header h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: var(--spacing-sm);
}

.selected-plan-info {
    color: var(--text-secondary);
    font-size: 0.9375rem;
}

.checkout-form {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-xs);
}

.form-group label {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-secondary);
}

.form-group input {
    padding: var(--spacing-md);
    background: rgba(26, 26, 26, 0.8);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    color: var(--text-primary);
    font-size: 1rem;
    font-family: inherit;
    transition: all var(--transition-base);
}

.form-group input:focus {
    outline: none;
    border-color: var(--border-visible);
    background: rgba(35, 35, 35, 0.9);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-md);
}

.checkout-submit-btn {
    width: 100%;
    padding: var(--spacing-md);
    background: var(--text-primary);
    color: var(--bg-primary);
    border: none;
    border-radius: var(--radius-md);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-base);
    margin-top: var(--spacing-md);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-xs);
}

.checkout-submit-btn:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    background: #f0f0f0;
}

.checkout-submit-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.modal-close {
    position: absolute;
    top: var(--spacing-md);
    right: var(--spacing-md);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-sm);
    color: var(--text-secondary);
    cursor: pointer;
    transition: all var(--transition-base);
}

.modal-close:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-primary);
    border-color: var(--border-visible);
}

/* ============================================
   LIMIT MODAL
   ============================================ */
.limit-modal {
    max-width: 500px;
    text-align: center;
}

.limit-modal-content {
    padding: var(--spacing-xl);
}

.limit-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto var(--spacing-md);
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 170, 68, 0.2);
    border-radius: 50%;
    color: #ffaa44;
}

.limit-title {
    font-size: 1.75rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: var(--spacing-sm);
}

.limit-subtitle {
    font-size: 1rem;
    color: var(--text-secondary);
    margin-bottom: var(--spacing-lg);
    line-height: 1.6;
}

.limit-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-xs);
    padding: 1rem 2rem;
    background: var(--text-primary);
    color: var(--bg-primary);
    border: none;
    border-radius: var(--radius-md);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-base);
    box-shadow: var(--shadow-md);
}

.limit-cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    background: rgba(255, 255, 255, 0.95);
}

/* ============================================
   ERROR MODAL
   ============================================ */
.error-modal {
    max-width: 400px;
    text-align: center;
}

.error-modal-content {
    padding: var(--spacing-xl);
}

.error-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto var(--spacing-md);
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 68, 68, 0.2);
    border-radius: 50%;
    color: #f44;
}

.error-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: var(--spacing-sm);
}

.error-message {
    font-size: 0.9375rem;
    color: var(--text-secondary);
    margin-bottom: var(--spacing-lg);
    line-height: 1.6;
}

.error-ok-btn {
    padding: 0.75rem 2rem;
    background: var(--bg-card);
    border: 1px solid var(--border-visible);
    border-radius: var(--radius-md);
    color: var(--text-primary);
    font-size: 0.9375rem;
    font-weight: 500;
    cursor: pointer;
    transition: all var(--transition-base);
}

.error-ok-btn:hover {
    background: var(--bg-card-hover);
    border-color: var(--border-hover);
}

/* ============================================
   PLANS PAGE
   ============================================ */
.plans-page-section {
    min-height: 100vh;
    padding: var(--spacing-2xl) var(--spacing-md);
    background: var(--bg-primary);
}

.plans-page-container {
    max-width: 1200px;
    margin: 0 auto;
}

.plans-page-header {
    text-align: center;
    margin-bottom: var(--spacing-2xl);
}

.plans-page-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: var(--spacing-sm);
    letter-spacing: -0.02em;
}

.plans-page-subtitle {
    font-size: 1.125rem;
    color: var(--text-secondary);
}

.plans-page-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-lg);
    margin-top: var(--spacing-xl);
}

.plan-card-page {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: var(--spacing-xl);
    text-align: center;
    transition: all var(--transition-base);
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: auto;
    overflow: visible;
    height: auto;
    max-height: none;
}

.plan-card-page:hover {
    background: var(--bg-card-hover);
    border-color: var(--border-visible);
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.plan-card-page.featured {
    border-color: var(--border-visible);
    background: var(--bg-card-hover);
    box-shadow: var(--shadow-md);
}

.plan-badge-page {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--text-primary);
    color: var(--bg-primary);
    padding: 0.25rem 1rem;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
}

.plan-name-page {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: var(--spacing-sm);
}

.plan-price-page {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: var(--spacing-sm);
}

.plan-messages-badge {
    background: linear-gradient(135deg, #7c3aed, #a855f7);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: var(--radius-md);
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: var(--spacing-md);
    display: inline-block;
    text-align: center;
    width: auto;
    margin-left: auto;
    margin-right: auto;
}

.plan-features-page {
    list-style: none;
    margin: var(--spacing-md) 0 var(--spacing-lg) 0;
    text-align: left;
    padding: 0;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    width: 100%;
    flex: 1;
    min-height: 200px;
}

.plan-feature-page {
    padding: 0.5rem 0;
    color: var(--text-secondary);
    font-size: 0.9375rem;
    position: relative;
    padding-left: 1.5rem;
    display: list-item !important;
    visibility: visible !important;
    opacity: 1 !important;
    line-height: 1.6;
    margin-bottom: 0.25rem;
}

.plan-feature-page::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--text-primary);
    font-weight: 600;
    display: inline-block;
}

.plan-select-btn-page {
    width: 100%;
    padding: var(--spacing-md);
    background: var(--text-primary);
    color: var(--bg-primary);
    border: none;
    border-radius: var(--radius-md);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-base);
}

.plan-select-btn-page:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    background: rgba(255, 255, 255, 0.95);
}

.plan-card-page.current-plan {
    border-color: #4a9;
    background: linear-gradient(135deg, rgba(74, 169, 153, 0.1) 0%, rgba(74, 169, 153, 0.05) 100%);
    box-shadow: 0 0 20px rgba(74, 169, 153, 0.2);
}

.plan-badge-page.current-badge {
    background: #4a9;
    color: white;
}

.plan-select-btn-page.current-btn {
    background: rgba(74, 169, 153, 0.2);
    color: #4a9;
    border: 1px solid #4a9;
    cursor: not-allowed;
}

/* ============================================
   CHECKOUT PAGE
   ============================================ */
.checkout-page-section {
    min-height: 100vh;
    padding: var(--spacing-2xl) var(--spacing-md);
    background: var(--bg-primary);
}

.checkout-page-container {
    max-width: 800px;
    margin: 0 auto;
}

.checkout-page-header {
    text-align: center;
    margin-bottom: var(--spacing-xl);
}

.checkout-page-title {
    font-size: clamp(2rem, 4vw, 2.5rem);
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: var(--spacing-sm);
    letter-spacing: -0.02em;
}

.checkout-page-subtitle {
    font-size: 1.125rem;
    color: var(--text-secondary);
}

.checkout-page-content {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: var(--spacing-xl);
    box-shadow: var(--shadow-lg);
}

.checkout-plan-summary {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.02) 100%);
    border: 1px solid var(--border-visible);
    border-radius: var(--radius-md);
    padding: var(--spacing-lg);
    margin-bottom: var(--spacing-xl);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.checkout-plan-summary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--text-primary), transparent);
}

.checkout-plan-summary h3 {
    font-size: 0.875rem;
    color: var(--text-secondary);
    margin-bottom: var(--spacing-xs);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 500;
}

.plan-summary-name {
    font-size: 1.75rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: var(--spacing-xs);
    background: linear-gradient(135deg, #ffffff 0%, #e0e0e0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.plan-summary-price {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-primary);
    background: linear-gradient(135deg, #ffffff 0%, #b3b3b3 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.checkout-form {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

.checkout-form .form-group {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-xs);
}

.checkout-form label {
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--text-secondary);
}

.checkout-form input[type="text"],
.checkout-form input[type="email"],
.checkout-form select {
    width: 100%;
    padding: 0.875rem 1rem;
    background: var(--bg-input);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    color: var(--text-primary);
    font-size: 1rem;
    transition: all var(--transition-base);
    font-family: inherit;
}

.checkout-form input:focus,
.checkout-form select:focus {
    outline: none;
    border-color: var(--border-visible);
    background: var(--bg-input-focus);
}

.checkout-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-md);
}

.mp-form-control {
    width: 100%;
    padding: 0.875rem 1rem;
    background: var(--bg-input);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    min-height: 48px;
    transition: all var(--transition-base);
}

.mp-form-control:focus-within {
    border-color: var(--border-visible);
    background: var(--bg-input-focus);
}

.checkout-submit-btn {
    width: 100%;
    padding: 1rem 2rem;
    background: var(--text-primary);
    color: var(--bg-primary);
    border: none;
    border-radius: var(--radius-md);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-base);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-xs);
    margin-top: var(--spacing-md);
    box-shadow: var(--shadow-md);
}

.checkout-submit-btn:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    background: rgba(255, 255, 255, 0.95);
}

.checkout-submit-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

/* ============================================
   PAYMENT METHOD SELECTOR
   ============================================ */
.payment-method-selector {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-xl);
}

.payment-method-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-sm);
    padding: var(--spacing-md);
    background: var(--bg-card);
    border: 2px solid var(--border-subtle);
    border-radius: var(--radius-md);
    color: var(--text-secondary);
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all var(--transition-base);
    position: relative;
}

.payment-method-btn:hover {
    background: var(--bg-card-hover);
    border-color: var(--border-visible);
    color: var(--text-primary);
}

.payment-method-btn.active {
    background: var(--bg-card-hover);
    border-color: var(--text-primary);
    color: var(--text-primary);
    box-shadow: var(--shadow-md);
}

.method-badge {
    position: absolute;
    top: -8px;
    right: -8px;
    background: #4a9;
    color: white;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.25rem 0.5rem;
    border-radius: var(--radius-full);
    text-transform: uppercase;
}

.form-hint {
    display: block;
    font-size: 0.75rem;
    color: var(--text-secondary);
    margin-top: 0.25rem;
}

/* ============================================
   PIX QR CODE MODAL
   ============================================ */
.pix-qr-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--spacing-md);
}

.pix-qr-content {
    background: var(--bg-card);
    border: 1px solid var(--border-visible);
    border-radius: var(--radius-lg);
    padding: var(--spacing-xl);
    max-width: 500px;
    width: 100%;
    box-shadow: var(--shadow-xl);
}

.pix-qr-header {
    text-align: center;
    margin-bottom: var(--spacing-lg);
}

.pix-qr-header h2 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: var(--spacing-xs);
}

.pix-qr-header p {
    color: var(--text-secondary);
    font-size: 0.9375rem;
}

.pix-qr-code {
    text-align: center;
    margin-bottom: var(--spacing-lg);
    padding: var(--spacing-md);
    background: white;
    border-radius: var(--radius-md);
}

.pix-qr-code img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
}

.pix-qr-copy {
    margin-bottom: var(--spacing-lg);
}

.pix-qr-copy label {
    display: block;
    font-size: 0.875rem;
    color: var(--text-secondary);
    margin-bottom: var(--spacing-xs);
    font-weight: 500;
}

.pix-copy-box {
    display: flex;
    gap: var(--spacing-xs);
}

.pix-copy-box input {
    flex: 1;
    padding: 0.75rem;
    background: var(--bg-input);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    color: var(--text-primary);
    font-size: 0.875rem;
    font-family: monospace;
}

.pix-copy-box button {
    padding: 0.75rem 1rem;
    background: var(--text-primary);
    color: var(--bg-primary);
    border: none;
    border-radius: var(--radius-md);
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition: all var(--transition-base);
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
}

.pix-copy-box button:hover {
    background: rgba(255, 255, 255, 0.9);
}

.pix-status {
    text-align: center;
}

.pix-status-loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--spacing-sm);
}

.pix-status-loading p {
    color: var(--text-secondary);
    font-size: 0.9375rem;
}

.spinner {
    width: 40px;
    height: 40px;
    border: 3px solid var(--border-subtle);
    border-top-color: var(--text-primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.checkout-page-content {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: var(--spacing-xl);
}

.checkout-plan-summary {
    background: var(--bg-secondary);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: var(--spacing-lg);
    margin-bottom: var(--spacing-xl);
    text-align: center;
}

.checkout-plan-summary h3 {
    font-size: 0.875rem;
    color: var(--text-secondary);
    margin-bottom: var(--spacing-xs);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.plan-summary-name {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: var(--spacing-xs);
}

.plan-summary-price {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-primary);
}

/* ============================================
   REGISTER PAGE
   ============================================ */
.register-page-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--spacing-md);
    background: var(--bg-primary);
}

.register-page-container {
    width: 100%;
    max-width: 400px;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow-lg);
}

.register-page-header {
    text-align: center;
    margin-bottom: 1.75rem;
}

.register-page-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    letter-spacing: -0.02em;
}

.register-page-subtitle {
    font-size: 0.875rem;
    color: var(--text-secondary);
    line-height: 1.4;
}

.register-page-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.register-page-form .form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.register-page-form label {
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.register-page-form input[type="text"],
.register-page-form input[type="email"],
.register-page-form input[type="password"] {
    width: 100%;
    padding: 0.75rem 1rem;
    background: var(--bg-input);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    color: var(--text-primary);
    font-size: 0.9375rem;
    transition: all var(--transition-base);
    font-family: inherit;
}

.register-page-form input:focus {
    outline: none;
    border-color: var(--border-visible);
    background: var(--bg-input-focus);
}

.register-page-form .checkbox-group {
    margin: 0.25rem 0;
}

.register-page-form .checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 0.625rem;
    cursor: pointer;
    font-size: 0.8125rem;
    color: var(--text-secondary);
    line-height: 1.4;
}

.register-page-form .checkbox-label input[type="checkbox"] {
    margin-top: 0.125rem;
    width: 16px;
    height: 16px;
    cursor: pointer;
    accent-color: var(--text-primary);
    flex-shrink: 0;
}

.register-page-form .checkbox-label a {
    color: var(--text-primary);
    text-decoration: underline;
    transition: opacity var(--transition-base);
}

.register-page-form .checkbox-label a:hover {
    opacity: 0.8;
}

/* ============================================
   REGISTER MODAL
   ============================================ */
.register-modal {
    max-width: 500px;
}

.register-header {
    padding: var(--spacing-xl);
    text-align: center;
    border-bottom: 1px solid var(--border-subtle);
}

.register-header h2 {
    font-size: 1.75rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: var(--spacing-sm);
}

.register-header p {
    color: var(--text-secondary);
    font-size: 0.9375rem;
}

.register-form {
    padding: var(--spacing-xl);
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

.checkbox-group {
    margin: var(--spacing-sm) 0;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: var(--spacing-sm);
    cursor: pointer;
    font-size: 0.875rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

.checkbox-label input[type="checkbox"] {
    margin-top: 0.25rem;
    width: 18px;
    height: 18px;
    cursor: pointer;
    accent-color: var(--text-primary);
}

.checkbox-label a {
    color: var(--text-primary);
    text-decoration: underline;
}

.register-submit-btn {
    width: 100%;
    padding: 0.875rem 1.5rem;
    background: var(--text-primary);
    color: var(--bg-primary);
    border: none;
    border-radius: var(--radius-md);
    font-size: 0.9375rem;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-base);
    margin-top: 0.5rem;
}

.register-submit-btn:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    background: #f0f0f0;
}

.register-submit-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

@media (max-width: 768px) {
    .register-page-container {
        max-width: 100%;
        padding: 1.5rem;
        margin: var(--spacing-sm);
    }
    
    .register-page-header {
        margin-bottom: 1.5rem;
    }
    
    .register-page-title {
        font-size: 1.375rem;
    }
    
    .register-page-subtitle {
        font-size: 0.8125rem;
    }
    
    .register-page-form {
        gap: 0.875rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .plans-grid-checkout {
        grid-template-columns: 1fr;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .cta-button {
        width: 100%;
        justify-content: center;
    }
    
    .terminal-content {
        font-size: 0.75rem;
        padding: 1rem;
        min-height: 300px;
        max-height: 400px;
    }
}

@media (max-width: 480px) {
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .features-grid {
        gap: var(--spacing-sm);
    }
    
    .feature-card {
        padding: var(--spacing-md);
    }
    
    .stat-card {
        padding: var(--spacing-md);
    }
    
    .terminal-content {
        font-size: 0.7rem;
        padding: 0.75rem;
        min-height: 250px;
        max-height: 350px;
    }
    
    .terminal-title {
        font-size: 1.5rem;
    }
    
    .terminal-subtitle {
        font-size: 0.875rem;
    }
    
    .top-logo {
        top: var(--spacing-sm);
        left: var(--spacing-sm);
        padding: var(--spacing-xs);
    }
    
    .logo-image {
        max-width: 80px;
    }
    
    .plans-page-grid {
        grid-template-columns: 1fr;
    }
    
    .checkout-page-content {
        padding: var(--spacing-md);
    }
}
