/*
 * Bible Memory - Base Styles
 * Extracted from claude-header.html for external caching
 */

/* ===== Reset & Variables ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #aa0000;
    --primary-dark: #880000;
    --secondary: #FFB800;
    --dark: #aa0000;
    --light: #F9F9F9;
    --text: #333333;
    --text-light: #666666;
    --success: #10B981;
    --gradient: linear-gradient(45deg, #bb0000 0%, #990000 100%);
    --light-gradient: linear-gradient(135deg, #FFFFFF 0%, #F8F8F8 100%);
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
}

/* ===== Hero Section ===== */
.hero {
    background: #FAFAFA;
    color: var(--text);
    padding: 8rem 0 4rem;
    position: relative;
    overflow: hidden;
}

/* Adjust hero padding when banner AND nav are visible */
body.has-promo-banner .hero {
    padding-top: 10rem;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    z-index: 1;
}

.hero-content {
    max-width: 600px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(170, 0, 0, 0.05);
    border: 1px solid rgba(170, 0, 0, 0.15);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.875rem;
    margin-bottom: 1.5rem;
    animation: glow 2s ease-in-out infinite;
}

@keyframes glow {
    0%, 100% { box-shadow: 0 0 10px rgba(170, 0, 0, 0.2); }
    50% { box-shadow: 0 0 20px rgba(170, 0, 0, 0.3); }
}

.hero-badge .star {
    color: var(--primary);
}

h1 {
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: fadeInUp 0.8s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-subtitle {
    font-size: 1.125rem;
    color: var(--text-light);
    margin-bottom: 2rem;
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.hero-stats {
    display: flex;
    gap: 3rem;
    margin-bottom: 2rem;
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

.stat {
    text-align: center;
}

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    display: block;
    color: var(--primary);
}

.stat-label {
    font-size: 0.875rem;
    color: var(--text-light);
}

.hero-cta {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    animation: fadeInUp 0.8s ease-out 0.6s both;
}

/* ===== Buttons ===== */
.btn-primary {
    background: var(--gradient);
    color: white;
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.125rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.2);
    transition: left 0.3s ease;
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 40px rgba(170, 0, 0, 0.4);
}

.btn-secondary {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.125rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
    transform: translateY(-3px);
}

.trust-badges {
    display: flex;
    gap: 2rem;
    align-items: center;
    margin-top: 2rem;
    opacity: 0.8;
    animation: fadeInUp 0.8s ease-out 0.8s both;
}

.trust-badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
}

/* ===== Problem/Solution Section ===== */
.problem-solution {
    padding: 5rem 0;
    background: white;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 3rem;
}

.section-tag {
    color: var(--primary);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.875rem;
    margin-bottom: 1rem;
}

h2 {
    font-size: 2.5rem;
    color: var(--text);
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--text-light);
}

.problem-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

/* Reduce spacing between problem and solution grids */
.problem-grid + .problem-grid {
    margin-top: 0;
}

.problem-card {
    background: white;
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(170, 0, 0, 0.05);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    min-height: auto;
    display: flex;
    flex-direction: row;
    gap: 1.5rem;
    align-items: flex-start;
}

.problem-card-content {
    flex: 1;
}

/* Remove bottom margin from last element in problem cards */
.problem-card > *:last-child {
    margin-bottom: 0 !important;
}

.problem-card-content > *:last-child {
    margin-bottom: 0 !important;
}

.problem-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: inherit;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.problem-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(170, 0, 0, 0.1);
}

.problem-card:hover::before {
    opacity: 1;
}

.problem-icon {
    width: 60px;
    height: 60px;
    background: #f8f9fa;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 0;
    position: relative;
    border: 1px solid #e5e7eb;
}

.problem-title {
    font-size: 1.125rem;
    color: var(--text);
    margin-bottom: 0.5rem;
}

.solution-section {
    margin-top: 5rem;
    text-align: center;
}

.solution-box {
    background: white;
    color: var(--text);
    padding: 4rem;
    border-radius: 24px;
    max-width: 100%;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    border: 1px solid #e5e7eb;
}

.solution-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--primary);
}

.solution-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--text);
}

.solution-subtitle {
    font-size: 1.125rem;
    color: var(--text-light);
    margin-bottom: 3rem;
}

.solution-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    margin-top: 3rem;
}

.step {
    text-align: center;
    position: relative;
}

.step:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 35px;
    right: -50%;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, #e5e7eb 0%, #e5e7eb 50%, transparent 50%);
    background-size: 10px 2px;
    z-index: -1;
}

.step-number {
    width: 70px;
    height: 70px;
    background: white;
    border: 3px solid var(--primary);
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 1.75rem;
    font-weight: 700;
    position: relative;
    z-index: 1;
}

.step h4 {
    font-size: 1.125rem;
    margin-bottom: 0.5rem;
    color: var(--text);
}

.step p {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.5;
}

/* ===== Features Section ===== */
.features {
    padding: 5rem 0;
    background: white;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 3rem;
    margin-top: 3rem;
}

.feature-card {
    padding: 2rem;
    border-radius: 16px;
    transition: all 0.3s ease;
    position: relative;
}

.feature-card:nth-child(1) {
    background: linear-gradient(135deg, #FFFFFF 0%, #F9F9F9 100%);
    border: 1px solid rgba(0, 0, 0, 0.08);
}

.feature-card:nth-child(2) {
    background: linear-gradient(135deg, #FAFAFA 0%, #F5F5F5 100%);
    border: 1px solid rgba(0, 0, 0, 0.08);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(170, 0, 0, 0.08);
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: white;
}

.feature-title {
    font-size: 1.5rem;
    color: var(--text);
    margin-bottom: 1rem;
}

.feature-list {
    list-style: none;
    margin-top: 1.5rem;
}

.feature-list li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
}

.feature-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--success);
    font-weight: 700;
}

/* ===== Testimonials ===== */
.testimonials {
    padding: 5rem 0;
    background: #FAFAFA;
}

.testimonial-carousel {
    width: 100%;
    margin: 0 auto;
    position: relative;
    height: 350px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

.testimonial {
    position: absolute;
    width: 600px;
    max-width: 80%;
    opacity: 0.3;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    background: white;
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transform-origin: center;
    cursor: pointer;
    will-change: transform, opacity;
}

.testimonial.active {
    opacity: 1;
    transform: translateX(0) translateZ(0) scale(1);
    z-index: 20;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.15);
}

.testimonial:hover:not(.active) {
    opacity: 0.6;
    cursor: pointer;
}

/* Container to hold the carousel */
.testimonials .container {
    max-width: 100%;
    overflow: hidden;
    padding: 0 2rem;
}

.testimonial-content {
    font-size: 1.125rem;
    color: var(--text);
    margin-bottom: 2rem;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 1.125rem;
}

.author-info {
    flex: 1;
}

.author-name {
    font-weight: 600;
    color: var(--text);
}

.author-title {
    font-size: 0.875rem;
    color: var(--text-light);
}

.testimonial-dots {
    display: flex;
    justify-content: center;
    gap: 0.4rem;
    margin-top: 3rem;
    padding: 0.5rem 0;
    flex-wrap: wrap;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(170, 0, 0, 0.2);
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background: var(--primary);
    transform: scale(1.4);
    box-shadow: 0 0 0 3px rgba(170, 0, 0, 0.2);
    position: relative;
}

.dot:hover {
    background: rgba(170, 0, 0, 0.4);
    transform: scale(1.2);
}

/* ===== Pricing Section ===== */
.pricing {
    padding: 5rem 0;
    background: white;
}

/* New Merged Pricing Section Styles */
.pricing-features-section {
    padding: 5rem 0;
    background: linear-gradient(180deg, #FFFFFF 0%, #F8F9FA 100%);
    position: relative;
    overflow: hidden;
}

.pricing-features-section::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 400px;
    height: 400px;
    background: rgba(170, 0, 0, 0.03);
    border-radius: 50%;
    filter: blur(100px);
}

.pricing-toggle {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    margin: 2rem 0 3rem;
}

.toggle-label {
    font-weight: 500;
    color: var(--text);
}

.toggle-switch {
    position: relative;
    width: 60px;
    height: 32px;
    background: #E0E0E0;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.toggle-switch.active {
    background: var(--primary);
}

.toggle-slider {
    position: absolute;
    top: 3px;
    left: 3px;
    width: 26px;
    height: 26px;
    background: white;
    border-radius: 50%;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

.toggle-switch.active .toggle-slider {
    transform: translateX(28px);
}

.savings-badge {
    display: inline-block;
    background: var(--gradient);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-left: 1rem;
    text-align: center;
}

.pricing-comparison {
    max-width: 1000px;
    margin: 0 auto;
    background: white;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0,0,0,0.08);
}

.pricing-table-header {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    background: #F8F9FA;
    padding: 2rem;
    border-bottom: 2px solid #E5E7EB;
}

.pricing-table-body {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
}

.pricing-row {
    display: contents;
}

.pricing-row:nth-child(even) > div {
    background: #FAFAFA;
}

.pricing-feature-name {
    padding: 1.5rem 2rem;
    font-weight: 500;
    color: var(--text);
    border-right: 1px solid #E5E7EB;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.pricing-check {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    border-right: 1px solid #E5E7EB;
}

.pricing-check:last-child {
    border-right: none;
}

.check-icon {
    color: var(--success);
    font-size: 1.5rem;
}

.x-icon {
    color: #CBD5E0;
    font-size: 1.5rem;
}

/* Platform availability indicators */
.platform-badges {
    display: flex;
    gap: 0.25rem;
    margin-left: 0.5rem;
    align-items: center;
    flex-wrap: wrap;
}

.platform-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.125rem 0.375rem;
    border-radius: 4px;
    font-size: 0.625rem;
    font-weight: 600;
    letter-spacing: 0.025em;
    text-transform: uppercase;
    border: 1px solid;
    line-height: 1;
    cursor: pointer;
    position: relative;
    transition: all 0.2s ease;
}

.platform-badge:hover {
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Tooltip styles */
.platform-badge[data-tooltip]:hover::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    margin-bottom: 5px;
    padding: 0.375rem 0.75rem;
    background: rgba(0, 0, 0, 0.9);
    color: white;
    font-size: 0.75rem;
    font-weight: 400;
    white-space: nowrap;
    border-radius: 6px;
    z-index: 1000;
    animation: tooltipFadeIn 0.2s ease;
    text-transform: none;
    letter-spacing: normal;
}

.platform-badge[data-tooltip]:hover::before {
    content: '';
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    margin-bottom: -1px;
    border: 5px solid transparent;
    border-top-color: rgba(0, 0, 0, 0.9);
    z-index: 1000;
    animation: tooltipFadeIn 0.2s ease;
}

@keyframes tooltipFadeIn {
    from {
        opacity: 0;
        transform: translateX(-50%) translateY(5px);
    }
    to {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
}

.platform-badge.ios {
    background: rgba(0, 122, 255, 0.1);
    color: #007AFF;
    border-color: rgba(0, 122, 255, 0.2);
}

.platform-badge.android {
    background: rgba(61, 220, 132, 0.1);
    color: #3DDC84;
    border-color: rgba(61, 220, 132, 0.2);
}

.platform-badge.web {
    background: rgba(170, 0, 0, 0.1);
    color: var(--primary);
    border-color: rgba(170, 0, 0, 0.2);
}

.platform-badge.not-available {
    background: rgba(203, 213, 224, 0.1);
    color: #94A3B8;
    border-color: rgba(203, 213, 224, 0.2);
    text-decoration: line-through;
    text-decoration-color: #000000;
}

.feature-text {
    flex: 1;
}

.plan-header {
    text-align: center;
    padding: 0 1rem;
}

.plan-header h3 {
    font-size: 1.125rem;
    margin-bottom: 0.5rem;
    color: var(--text);
}

.plan-header .price {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary);
}

.plan-header .period {
    font-size: 1rem;
    color: var(--text-light);
    font-weight: 400;
}

.pricing-cta-section {
    padding: 3rem;
    background: white;
    text-align: center;
    border-top: 2px solid #E5E7EB;
}

.pricing-cards-mobile {
    display: none;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-top: 3rem;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.pricing-card {
    background: white;
    border: 2px solid #E0E0E0;
    border-radius: 16px;
    padding: 2rem 1.5rem;
    position: relative;
    transition: all 0.3s ease;
}

.pricing-card.featured {
    border-color: var(--primary);
    border-width: 3px;
    transform: scale(1.05);
    box-shadow: 0 20px 60px rgba(170, 0, 0, 0.15);
}

.pricing-card.featured::before {
    content: 'MOST POPULAR';
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary);
    color: white;
    padding: 0.25rem 1rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 1px;
}

.pricing-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(170, 0, 0, 0.08);
}

.pricing-card.featured:hover {
    transform: scale(1.08) translateY(-10px);
}

.pricing-header {
    text-align: center;
    margin-bottom: 2rem;
}

.plan-name {
    font-size: 1.125rem;
    color: var(--text);
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.plan-price {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 0.5rem;
    line-height: 1;
}

.plan-price .currency {
    font-size: 1.5rem;
}

.plan-price .period {
    font-size: 1.125rem;
    font-weight: 400;
    color: var(--text-light);
}

.plan-billing {
    color: var(--text-light);
    font-size: 0.875rem;
}

.pricing-features {
    list-style: none;
    margin-bottom: 2rem;
}

.pricing-features li {
    padding: 0.75rem 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.pricing-features li::before {
    content: '✓';
    color: var(--success);
    font-weight: 700;
}

.pricing-cta {
    display: block;
    text-align: center;
    padding: 1rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.pricing-card .pricing-cta {
    background: #F5F5F5;
    color: var(--text);
}

.pricing-card.featured .pricing-cta {
    background: var(--gradient);
    color: white;
}

.pricing-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(170, 0, 0, 0.08);
}

/* ===== FAQ Section ===== */
.faq {
    padding: 5rem 0;
    background: #F8F8F8;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: white;
    border-radius: 16px;
    margin-bottom: 1rem;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-question {
    padding: 1.5rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    color: var(--text);
}

.faq-toggle {
    width: 30px;
    height: 30px;
    background: #F0F0F0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.faq-item.active .faq-toggle {
    background: var(--primary);
    color: white;
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 1.5rem;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item.active .faq-answer {
    padding: 0 1.5rem 1.5rem;
    max-height: 500px;
}

/* ===== Footer CTA ===== */
.footer-cta {
    background: var(--gradient);
    color: white;
    padding: 5rem 0;
    text-align: center;
}

.footer-cta h2 {
    color: white;
    margin-bottom: 1rem;
}

.footer-cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 2rem;
}

/* ===== Footer ===== */
footer {
    background: #F5F5F5;
    color: var(--text-light);
    padding: 3rem 0;
    text-align: center;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-links a {
    color: var(--text-light);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--primary);
}

/* Footer utility classes */
.MinWidth960 {
    min-width: 960px;
}

.Width960 {
    width: 960px;
    max-width: 100%;
    margin: 0 auto;
}

.SubNavSection {
    float: left;
    margin-right: 40px;
    margin-bottom: 20px;
}

.SubNavHeader {
    font-size: 14px;
    font-weight: bold;
    margin-bottom: 10px;
}

.SubNavHeader a {
    color: #FFFFFF;
    text-decoration: none;
}

.SubNavItem {
    margin-bottom: 8px;
}

.SubNavItem a {
    color: #CCCCCC;
    text-decoration: none;
    font-size: 13px;
    transition: color 0.3s ease;
}

.SubNavItem a:hover {
    color: #FFFFFF;
}

.FloatLeftFullOnly {
    float: left;
}

.FloatRightFullOnly {
    float: right;
}

.fa {
    padding: 10px;
    margin: 5px;
}

/* ===== Animations ===== */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ===== Loading Animation ===== */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.5s ease;
}

.loading-overlay.hidden {
    opacity: 0;
    pointer-events: none;
}

.loader {
    width: 50px;
    height: 50px;
    border: 3px solid rgba(255, 255, 255, 0.1);
    border-top-color: white;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Waveform breathing animation */
@keyframes breathe {
    0%, 100% {
        opacity: 0.4;
        transform: scaleY(0.7);
    }
    50% {
        opacity: 1;
        transform: scaleY(1);
    }
}

.waveform-icon rect {
    animation: breathe 3s ease-in-out infinite;
    transform-origin: center;
}

.waveform-icon rect:nth-child(1) { animation-delay: 0s; }
.waveform-icon rect:nth-child(2) { animation-delay: 0.2s; }
.waveform-icon rect:nth-child(3) { animation-delay: 0.4s; }
.waveform-icon rect:nth-child(4) { animation-delay: 0.6s; }
.waveform-icon rect:nth-child(5) { animation-delay: 0.8s; }
.waveform-icon rect:nth-child(6) { animation-delay: 1s; }

/* ===== Promo Banner ===== */
/* To hide on specific pages: Add class "no-promo-banner" to body tag */
body.no-promo-banner .promo-banner {
    display: none !important;
}
body.no-promo-banner {
    padding-top: 0 !important;
}
body.no-promo-banner nav {
    top: 0 !important;
    margin-top: 0 !important;
}
body.no-promo-banner .hero {
    margin-top: 0 !important;
    padding-top: 8rem !important;
}

.promo-banner {
    background: #aa0000;
    animation: colorFade 4s ease-in-out infinite;
    color: white;
    padding: 12px 20px;
    text-align: center;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 2000;
    font-weight: 600;
    box-shadow: 0 2px 10px rgba(170, 0, 0, 0.3);
}

/* Push everything down when banner is visible */
body.has-promo-banner {
    padding-top: 48px;
}

/* Push nav down when banner is visible */
body.has-promo-banner nav {
    top: 48px;
}

@keyframes colorFade {
    0% { background: #aa0000; }
    50% { background: #ff9d00; }
    100% { background: #aa0000; }
}

.promo-banner-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.promo-badge {
    background: rgba(255, 255, 255, 0.2);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.promo-text {
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.promo-discount {
    font-size: 1.25rem;
    font-weight: 800;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.promo-cta {
    background: white;
    color: #FF9500;
    padding: 6px 16px;
    border-radius: 20px;
    text-decoration: none;
    font-weight: 700;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.promo-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    background: #fff;
    color: #FF7A00;
}

.promo-close {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    font-size: 18px;
    line-height: 1;
}

.promo-close:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-50%) rotate(90deg);
}

.promo-timer {
    font-size: 0.875rem;
    opacity: 0.95;
    font-weight: 500;
}

/* ===== Mobile Responsive ===== */
@media (max-width: 1200px) {
    .pricing-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    /* Footer - 3 columns on tablets */
    footer .container > div:first-child {
        grid-template-columns: repeat(3, 1fr) !important;
    }
}

@media (max-width: 992px) {
    /* Footer - 2 columns on smaller tablets */
    footer .container > div:first-child {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

@media (max-width: 768px) {
    .pricing-comparison {
        display: none;
    }
    
    .pricing-cards-mobile {
        display: grid;
        gap: 1.5rem;
    }
    
    .mobile-pricing-card {
        background: white;
        border-radius: 16px;
        padding: 2rem;
        box-shadow: 0 10px 30px rgba(0,0,0,0.08);
        border: 2px solid transparent;
        transition: all 0.3s ease;
    }
    
    .mobile-pricing-card li {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
    
    .mobile-pricing-card li > span:first-child {
        margin-right: 0.5rem;
        flex-shrink: 0;
    }
    
    .mobile-pricing-card li > span:nth-child(2) {
        flex: 1;
        margin-right: 0.5rem;
    }
    
    .mobile-pricing-card li > div {
        margin-left: auto;
        flex-shrink: 0;
    }
    
    .mobile-pricing-card.recommended {
        border-color: var(--primary);
        transform: scale(1.02);
    }
    
    .recommended-badge {
        background: var(--primary);
        color: white;
        padding: 0.5rem 1rem;
        border-radius: 50px;
        font-size: 0.75rem;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 1px;
        display: inline-block;
        margin-bottom: 1rem;
    }

    /* Fix padding issues on mobile */
    .container {
        padding: 0 1rem;
    }
    
    .hero-container {
        padding: 0 1rem;
    }
    
    /* Ensure all content sections have proper padding */
    .problem-card {
        padding: 1rem !important;
        min-height: auto !important;
    }
    
    /* Override inline margin-top on h3 elements in problem cards */
    .problem-card h3[style*="margin-top"] {
        margin-top: 0.5rem !important;
        margin-bottom: 0.25rem !important;
    }
    
    /* Reduce paragraph spacing in problem cards */
    .problem-card p[style*="margin-top"] {
        margin-top: 0.25rem !important;
        margin-bottom: 0 !important;
    }
    
    /* Reduce icon margin */
    .problem-icon {
        margin-bottom: 0 !important;
    }
    
    /* Hide arrow divs between problem cards on mobile */
    .problem-grid > div > div[style*="padding: 1.5rem 0"] {
        display: none !important;
    }
    
    .solution-box {
        padding: 2rem 1.5rem;
    }
    
    .testimonials .container {
        padding: 0 1rem;
    }
    
    /* Fix footer content padding */
    footer .container {
        padding: 0 1rem;
    }
    
    /* Make footer responsive */
    footer .container > div:first-child {
        grid-template-columns: 1fr !important;
        gap: 2rem !important;
    }
    
    /* Stack social media and app links on mobile */
    footer .container:last-child {
        flex-direction: column !important;
        gap: 2rem !important;
        text-align: center !important;
    }
    
    footer .container:last-child > div {
        justify-content: center !important;
    }
    
    /* Hide online memorize elements on mobile */
    .online-sync-text,
    .memorize-online-btn {
        display: none;
    }

    h1 {
        font-size: 2.5rem;
        margin-bottom: 0.75rem !important;
    }

    .hero-grid {
        grid-template-columns: 1fr !important;
        gap: 2rem !important;
    }
    
    /* Reduce hero title/subtitle spacing when stacked */
    .hero h1 {
        margin-bottom: 0.75rem !important;
        margin-top: -20px !important;
    }
    
    .hero p[style*="font-size: 1.125rem"] {
        margin-bottom: 2rem !important;
    }
    
    /* Remove the extra spacing div above title on mobile */
    .hero-grid > div:first-child > div:first-child {
        display: none !important;
    }

    .hero-badge {
        font-size: 0.875rem !important;
        padding: 0.5rem 1rem !important;
    }

    .hero-stats {
        gap: 1.5rem;
        justify-content: center;
    }
    
    .hero-stats .stat-number {
        font-size: 2rem !important;
    }
    
    .hero-stats .stat-label {
        font-size: 0.75rem !important;
    }

    .hero-cta {
        flex-direction: column;
    }

    .solution-steps {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .pricing-grid {
        grid-template-columns: 1fr;
    }

    .pricing-card.featured {
        transform: none;
    }

    .footer-cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    /* Problem/Solution mobile */
    .problem-solution > .container > div:nth-child(2) {
        grid-template-columns: 1fr !important;
    }
    
    .problem-solution h2 {
        white-space: normal !important;
        font-size: 2rem !important;
    }

    /* Promo banner mobile */
    .promo-banner {
        padding: 10px 40px 10px 15px;
    }
    
    .promo-banner-content {
        font-size: 0.875rem;
    }
    
    .promo-text {
        font-size: 0.875rem;
    }
    
    .promo-discount {
        font-size: 1.125rem;
    }
    
    .promo-badge {
        font-size: 0.75rem;
        padding: 3px 8px;
    }
    
    .promo-cta {
        font-size: 0.875rem;
        padding: 5px 12px;
    }
    
    .promo-close {
        right: 10px;
    }
}

