/* ===================================================================
   CompanionFrame Pages
   Page-specific styles and sections
   ================================================================ */

/* ===== LANDING PAGE ===== */

/* Trust Bar */
.trust-bar {
    background: #10b981;
    color: white;
    text-align: center;
    padding: 12px;
    font-size: 0.9rem;
    font-weight: 500;
    position: sticky;
    top: 0;
    z-index: 998;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.trust-bar span {
    display: inline-block;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--background-color) 0%, var(--surface-color) 50%, var(--primary-light) 100%);
    padding: var(--spacing-4xl) var(--spacing-lg);
    text-align: center;
    position: relative;
    overflow: hidden;
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="rgba(99,102,241,0.03)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.6;
    pointer-events: none;
}

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

.hero-title {
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 800;
    background: linear-gradient(135deg, var(--text-primary) 0%, var(--primary-color) 50%, var(--accent-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: var(--spacing-xl);
    line-height: 1.1;
    letter-spacing: -0.02em;
    animation: fadeInUp 0.8s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-subtitle {
    font-size: clamp(1.1rem, 2.5vw, 1.4rem);
    color: var(--text-secondary);
    margin-bottom: var(--spacing-2xl);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
    font-weight: 400;
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.hero-cta {
    display: flex;
    gap: var(--spacing-lg);
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: var(--spacing-2xl);
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

.hero-cta .btn {
    padding: var(--spacing-lg) var(--spacing-2xl);
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 16px;
    transition: all var(--transition-normal);
    box-shadow: var(--shadow-md);
    min-width: 200px;
}

.hero-cta .btn:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.hero-cta .btn-primary {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    border: none;
    color: white;
}

.hero-cta .btn-primary:hover {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-color) 100%);
}

.hero-cta .btn-secondary {
    background: rgba(255, 255, 255, 0.9);
    border: 2px solid var(--border-color);
    color: var(--text-primary);
    backdrop-filter: blur(8px);
}

.hero-cta .btn-secondary:hover {
    background: var(--surface-color);
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.trust-indicators {
    display: flex;
    justify-content: center;
    gap: var(--spacing-xl);
    flex-wrap: wrap;
    margin-bottom: var(--spacing-xl);
    font-size: 0.95rem;
    color: var(--text-secondary);
    animation: fadeInUp 0.8s ease-out 0.6s both;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    padding: var(--spacing-sm) var(--spacing-md);
    background: rgba(255, 255, 255, 0.8);
    border-radius: 12px;
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all var(--transition-normal);
}

.trust-item:hover {
    background: rgba(255, 255, 255, 0.95);
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

.trust-icon {
    font-size: 1.1rem;
    color: var(--primary-color);
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    background: rgba(99, 102, 241, 0.1);
    border-radius: 50%;
}

/* Problems Section */
.problems-we-solve {
    background: linear-gradient(135deg, var(--surface-color) 0%, var(--background-color) 100%);
    padding: var(--spacing-4xl) var(--spacing-lg);
    position: relative;
    overflow: hidden;
}

.problems-we-solve::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain2" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="rgba(99,102,241,0.02)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain2)"/></svg>');
    opacity: 0.4;
    pointer-events: none;
}

.problems-we-solve .container {
    position: relative;
    z-index: 2;
}

.problems-we-solve .section-title {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 800;
    background: linear-gradient(135deg, var(--text-primary) 0%, var(--primary-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-top: var(--spacing-2xl);
    margin-bottom: var(--spacing-lg);
    text-align: center;
    animation: fadeInUp 0.8s ease-out;
}

.problems-we-solve .section-subtitle {
    font-size: clamp(1.1rem, 2.5vw, 1.3rem);
    color: var(--text-secondary);
    margin-bottom: var(--spacing-2xl);
    text-align: center;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.problems-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: var(--spacing-xl);
    margin-bottom: var(--spacing-2xl);
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

.problem-card {
    background: var(--surface-color);
    padding: var(--spacing-2xl);
    border-radius: 20px;
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-normal);
    border: 1px solid var(--border-color);
    backdrop-filter: blur(8px);
    position: relative;
    overflow: hidden;
}

.problem-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    opacity: 0;
    transition: opacity var(--transition-normal);
}

.problem-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-color);
}

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

.problem-icon {
    font-size: 2.5rem;
    margin-bottom: var(--spacing-lg);
    color: var(--primary-color);
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1) 0%, rgba(99, 102, 241, 0.05) 100%);
    margin: 0 auto var(--spacing-lg);
    transition: all var(--transition-normal);
    border: 2px solid rgba(99, 102, 241, 0.2);
}

.problem-card:hover .problem-icon {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.15) 0%, rgba(99, 102, 241, 0.1) 100%);
    border-color: var(--primary-color);
    transform: scale(1.1);
}

.problem-card h3 {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: var(--spacing-lg);
    color: var(--text-primary);
    line-height: 1.3;
}

.problem-card p {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 0;
    font-size: 1rem;
}

.cta-section {
    text-align: center;
    margin-top: var(--spacing-xl);
    margin-bottom: var(--spacing-lg);
    animation: fadeInUp 0.8s ease-out 0.6s both;
}

.cta-section .btn {
    padding: var(--spacing-lg) var(--spacing-2xl);
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 16px;
    transition: all var(--transition-normal);
    box-shadow: var(--shadow-md);
    min-width: 250px;
}

.cta-section .btn:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

/* How It Works */
.how-it-works {
    background: linear-gradient(135deg, var(--surface-color) 0%, var(--border-light) 50%, var(--background-color) 100%);
    padding: var(--spacing-4xl) var(--spacing-lg);
    position: relative;
    overflow: hidden;
}

.how-it-works::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain3" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="rgba(99,102,241,0.02)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain3)"/></svg>');
    opacity: 0.3;
    pointer-events: none;
}

.how-it-works .container {
    position: relative;
    z-index: 2;
}

.how-it-works .section-title {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 800;
    background: linear-gradient(135deg, var(--text-primary) 0%, var(--primary-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-top: var(--spacing-3xl);
    margin-bottom: var(--spacing-2xl);
    text-align: center;
    animation: fadeInUp 0.8s ease-out;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: var(--spacing-2xl);
    margin-top: var(--spacing-2xl);
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.step {
    text-align: center;
    background: var(--surface-color);
    padding: var(--spacing-2xl);
    border-radius: 20px;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-normal);
    border: 1px solid var(--border-color);
    backdrop-filter: blur(8px);
    position: relative;
    overflow: hidden;
}

.step::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    opacity: 0;
    transition: opacity var(--transition-normal);
}

.step:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-color);
}

.step:hover::before {
    opacity: 1;
}

.step-number {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 800;
    margin: 0 auto var(--spacing-lg);
    transition: all var(--transition-normal);
    border: 3px solid rgba(99, 102, 241, 0.2);
    box-shadow: var(--shadow-md);
}

.step:hover .step-number {
    transform: scale(1.1);
    border-color: var(--primary-color);
    box-shadow: var(--shadow-lg);
}

.step h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: var(--spacing-lg);
    color: var(--text-primary);
    line-height: 1.3;
}

.step p {
    color: var(--text-secondary);
    line-height: 1.7;
    font-size: 1rem;
    margin-bottom: 0;
}

/* Characters Section */
.characters {
    background: linear-gradient(135deg, var(--background-color) 0%, var(--surface-color) 100%);
    padding: var(--spacing-4xl) var(--spacing-lg);
    position: relative;
    overflow: hidden;
}

.characters::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain4" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="rgba(99,102,241,0.02)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain4)"/></svg>');
    opacity: 0.3;
    pointer-events: none;
}

.characters .container {
    position: relative;
    z-index: 2;
}

.characters .section-title {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 800;
    background: linear-gradient(135deg, var(--text-primary) 0%, var(--primary-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: var(--spacing-lg);
    text-align: center;
    animation: fadeInUp 0.8s ease-out;
}

.characters .section-subtitle {
    font-size: clamp(1.1rem, 2.5vw, 1.3rem);
    color: var(--text-secondary);
    margin-bottom: var(--spacing-2xl);
    text-align: center;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.characters-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: var(--spacing-2xl);
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

.character-card {
    background: var(--surface-color);
    padding: var(--spacing-2xl);
    border-radius: 20px;
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-normal);
    border: 1px solid var(--border-color);
    backdrop-filter: blur(8px);
    position: relative;
    overflow: hidden;
}

.character-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    opacity: 0;
    transition: opacity var(--transition-normal);
}

.character-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-color);
}

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

.character-avatar {
    width: 100px;
    height: 100px;
    margin: 0 auto var(--spacing-lg);
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid rgba(99, 102, 241, 0.2);
    transition: all var(--transition-normal);
    box-shadow: var(--shadow-md);
}

.character-card:hover .character-avatar {
    border-color: var(--primary-color);
    transform: scale(1.05);
    box-shadow: var(--shadow-lg);
}

.character-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.character-card h3 {
    font-size: 1.8rem;
    font-weight: 800;
    margin-bottom: var(--spacing-xs);
    color: var(--text-primary);
    background: linear-gradient(135deg, var(--text-primary) 0%, var(--primary-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.character-card h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: var(--spacing-md);
    color: var(--primary-color);
    font-style: italic;
}

.character-traits {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: var(--spacing-lg);
    font-weight: 500;
    padding: var(--spacing-sm) var(--spacing-md);
    background: rgba(99, 102, 241, 0.05);
    border-radius: 12px;
    border: 1px solid rgba(99, 102, 241, 0.1);
}

.character-description {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: var(--spacing-lg);
    font-weight: 400;
}

.character-best-for {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.05) 0%, rgba(99, 102, 241, 0.02) 100%);
    padding: var(--spacing-lg);
    border-radius: 12px;
    font-size: 0.9rem;
    color: var(--text-primary);
    margin-top: var(--spacing-lg);
    border-left: 4px solid var(--primary-color);
    font-weight: 500;
}

/* Pricing Section */
.pricing {
    background: linear-gradient(135deg, var(--surface-color) 0%, var(--background-color) 100%);
    padding: var(--spacing-4xl) var(--spacing-lg);
    position: relative;
    overflow: hidden;
}

.pricing::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain5" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="rgba(99,102,241,0.02)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain5)"/></svg>');
    opacity: 0.3;
    pointer-events: none;
}

.pricing .container {
    position: relative;
    z-index: 2;
}

.pricing .section-title {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 800;
    background: linear-gradient(135deg, var(--text-primary) 0%, var(--primary-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: var(--spacing-2xl);
    text-align: center;
    animation: fadeInUp 0.8s ease-out;
}

.pricing-card {
    max-width: 450px;
    margin: 0 auto;
    background: var(--surface-color);
    border-radius: 24px;
    padding: var(--spacing-2xl);
    box-shadow: var(--shadow-xl);
    border: 1px solid var(--border-color);
    backdrop-filter: blur(8px);
    position: relative;
    overflow: hidden;
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.pricing-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    opacity: 0;
    transition: opacity var(--transition-normal);
}

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

.popular-badge {
    text-align: center;
    margin-bottom: var(--spacing-lg);
}

.badge-text {
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
    padding: var(--spacing-sm) var(--spacing-lg);
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.9rem;
    box-shadow: var(--shadow-sm);
    display: inline-block;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.price-header {
    text-align: center;
    margin-bottom: var(--spacing-xl);
}

.trial-highlight {
    text-align: center;
    margin-bottom: var(--spacing-md);
}

.trial-badge {
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
    padding: var(--spacing-sm) var(--spacing-lg);
    border-radius: 2rem;
    font-weight: 600;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    box-shadow: var(--shadow-sm);
}

.price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: var(--spacing-xs);
    margin: var(--spacing-lg) 0;
}

.currency {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-secondary);
}

.amount {
    font-size: 4rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.period {
    font-size: 1.25rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.trial-text {
    color: var(--text-secondary);
    font-size: 0.875rem;
    margin-top: var(--spacing-sm);
    font-weight: 500;
}

.features-section {
    margin: var(--spacing-xl) 0;
}

.features-section h4 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: var(--spacing-lg);
    color: var(--text-primary);
    text-align: center;
}

.features-list {
    list-style: none;
    margin-bottom: var(--spacing-xl);
}

.features-list li {
    padding: var(--spacing-sm) 0;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    font-size: 1rem;
    line-height: 1.5;
}

.features-list li::before {
    content: '✓';
    color: var(--success-color);
    font-weight: 800;
    margin-right: var(--spacing-md);
    font-size: 1.1rem;
    background: rgba(16, 185, 129, 0.1);
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.pricing-card .btn {
    width: 100%;
    padding: var(--spacing-lg) var(--spacing-2xl);
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 16px;
    transition: all var(--transition-normal);
    box-shadow: var(--shadow-md);
    margin: var(--spacing-lg) 0;
}

.pricing-card .btn:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.guarantee-text {
    margin-top: var(--spacing-lg);
    text-align: center;
    padding: var(--spacing-lg);
    background: rgba(99, 102, 241, 0.05);
    border-radius: 12px;
    border: 1px solid rgba(99, 102, 241, 0.1);
}

.guarantee-text p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin: var(--spacing-xs) 0;
    font-weight: 500;
}

/* FAQ Section */
.faq {
    background: var(--surface-color);
    padding: 80px 20px 1rem 20px;
    margin-bottom: 0;
}

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

.faq-item {
    margin-bottom: 16px;
    background: var(--background-color);
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--border-color);
}

.faq-question {
    background: none;
    border: none;
    width: 100%;
    text-align: left;
    padding: 24px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-primary);
    transition: background-color 0.3s ease;
}

.faq-question:hover {
    background-color: var(--border-light);
}

.faq-icon {
    font-size: 1.2rem;
    font-weight: 300;
}

.faq-answer {
    padding: 0 24px 24px;
    color: var(--text-secondary);
    line-height: 1.6;
    display: none;
}

/* Section Titles */
.section-title {
    text-align: center;
    margin-bottom: var(--spacing-xl);
    color: var(--text-primary);
}

.section-subtitle {
    text-align: center;
    color: var(--text-secondary);
    margin-bottom: var(--spacing-xl);
}

/* ===== AUTHENTICATION PAGES ===== */

.auth-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--spacing-lg);
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    position: relative;
}

.auth-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><defs><radialGradient id="a" cx="50%" cy="50%"><stop offset="0%" style="stop-color:rgba(255,255,255,0.1)"/><stop offset="100%" style="stop-color:rgba(255,255,255,0)"/></radialGradient></defs><circle cx="200" cy="200" r="100" fill="url(%23a)"/><circle cx="800" cy="300" r="150" fill="url(%23a)"/><circle cx="300" cy="700" r="120" fill="url(%23a)"/></svg>') no-repeat center center;
    background-size: cover;
    opacity: 0.3;
}

.auth-form {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    padding: 3rem 2.5rem;
    border-radius: 24px;
    box-shadow: 
        0 32px 64px rgba(0, 0, 0, 0.15),
        0 16px 32px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.6);
    width: 100%;
    max-width: 420px;
    position: relative;
    z-index: 1;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.auth-form::before {
    content: '';
    position: absolute;
    top: -1px;
    left: -1px;
    right: -1px;
    bottom: -1px;
    background: linear-gradient(135deg, rgba(255,255,255,0.4) 0%, rgba(255,255,255,0.1) 100%);
    border-radius: 24px;
    z-index: -1;
}

.auth-header {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin-bottom: 1rem;
    width: 100%;
}

.auth-header h2 {
    margin: 0;
    text-align: center;
    width: 100%;
    font-size: 2rem;
    font-weight: 700;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.auth-form p {
    text-align: center;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    font-size: 0.95rem;
    line-height: 1.5;
}

.back-btn {
    background: none;
    border: none;
    color: #667eea;
    font-size: 0.9rem;
    cursor: pointer;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    transition: background-color 0.2s ease;
    margin-bottom: 1rem;
    align-self: flex-start;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.back-btn:hover {
    background-color: rgba(102, 126, 234, 0.1);
}

.auth-links {
    text-align: center;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(226, 232, 240, 0.8);
}

.auth-links a {
    display: inline-block;
    color: #667eea;
    text-decoration: none;
    font-size: 0.9rem;
    margin: 0.25rem 0;
    transition: all 0.2s ease;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 8px;
}

.auth-links a:hover {
    color: #5a67d8;
    background: rgba(102, 126, 234, 0.1);
    transform: translateY(-1px);
}

/* Legal Consent */
.legal-consent {
    margin: 2rem 0;
    background: rgba(248, 250, 252, 0.8);
    padding: 1.25rem;
    border-radius: 12px;
    border: 1px solid rgba(226, 232, 240, 0.8);
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    cursor: pointer;
    font-size: 0.9rem;
    line-height: 1.5;
    color: var(--text-secondary);
}

.checkbox-label input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin: 0;
    flex-shrink: 0;
    accent-color: #667eea;
    cursor: pointer;
}

.checkbox-label a {
    color: #667eea;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
}

.checkbox-label a:hover {
    color: #5a67d8;
    text-decoration: underline;
}

/* ===== SUBSCRIPTION PAGE ===== */

.subscription-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--spacing-lg);
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    position: relative;
}

.subscription-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><defs><radialGradient id="b" cx="50%" cy="50%"><stop offset="0%" style="stop-color:rgba(255,255,255,0.1)"/><stop offset="100%" style="stop-color:rgba(255,255,255,0)"/></radialGradient></defs><circle cx="150" cy="150" r="80" fill="url(%23b)"/><circle cx="850" cy="250" r="120" fill="url(%23b)"/><circle cx="250" cy="750" r="100" fill="url(%23b)"/></svg>') no-repeat center center;
    background-size: cover;
    opacity: 0.3;
}

.subscription-content {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    padding: 3rem 2.5rem;
    border-radius: 24px;
    box-shadow: 
        0 32px 64px rgba(0, 0, 0, 0.15),
        0 16px 32px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.6);
    width: 100%;
    max-width: 500px;
    text-align: center;
    position: relative;
    z-index: 1;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.subscription-content::before {
    content: '';
    position: absolute;
    top: -1px;
    left: -1px;
    right: -1px;
    bottom: -1px;
    background: linear-gradient(135deg, rgba(255,255,255,0.4) 0%, rgba(255,255,255,0.1) 100%);
    border-radius: 24px;
    z-index: -1;
}

.subscription-content h2 {
    margin-bottom: 0.5rem;
    font-size: 2rem;
    font-weight: 700;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.subscription-content p {
    color: var(--text-secondary);
    margin-bottom: 2rem;
    font-size: 1rem;
    line-height: 1.6;
}

.payment-form {
    text-align: left;
}

/* Payment Security Badge */
.payment-security {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin: 1.5rem 0;
    padding: 1rem;
    background: rgba(16, 185, 129, 0.1);
    border-radius: 12px;
    border: 1px solid rgba(16, 185, 129, 0.2);
}

.security-icon {
    width: 24px;
    height: 24px;
    color: #10b981;
}

.payment-security span {
    font-size: 0.9rem;
    color: #065f46;
    font-weight: 500;
}

.payment-guarantee {
    margin-top: 24px;
    text-align: center;
}

/* ===== FLOATING CTA ===== */

.floating-cta {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
    display: none;
}

.floating-cta.show {
    display: block;
    animation: pulse 2s infinite;
}

.floating-cta button {
    background: #10b981;
    color: white;
    padding: 16px 24px;
    border: none;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(16, 185, 129, 0.4);
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

/* Social Proof Section */
.social-proof {
    margin-top: 40px;
    padding-top: 40px;
    border-top: 1px solid #e2e8f0;
}

.social-proof-text {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 16px;
    font-weight: 500;
}

.university-partnership {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

.partnership-badge {
    background: #f0f9ff;
    color: #0369a1;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    border: 1px solid #bae6fd;
}

.university-name {
    font-size: 0.9rem;
    color: var(--text-secondary);
    font-weight: 500;
}
