/* ========================================
   ROSARY73 - PROFESSIONAL DESIGN SYSTEM
   Modern Catholic Prayer App Website
   With Light/Dark Mode Support
======================================== */

/* ===============================
   DESIGN TOKENS - LIGHT MODE (Default)
=============================== */
:root {
    /* Primary Colors - Marian Blue */
    --primary-500: #5DADE2;
    --primary-600: #3498DB;
    --primary-400: #AED6F1;
    --primary-700: #2980B9;
    --primary-100: #EBF5FB;
    
    /* Accent - Gold */
    --gold-500: #FFD700;
    --gold-600: #DAA520;
    --gold-100: #FFF8DC;
    --gold-700: #B8860B;
    
    /* Neutrals */
    --gray-900: #1A202C;
    --gray-800: #2D3748;
    --gray-700: #4A5568;
    --gray-600: #718096;
    --gray-500: #A0AEC0;
    --gray-300: #CBD5E0;
    --gray-200: #E2E8F0;
    --gray-100: #F7FAFC;
    
    /* Semantic Colors */
    --success: #27AE60;
    --warning: #F39C12;
    --error: #E53E3E;
    
    /* Background */
    --bg-primary: #FFFFFF;
    --bg-secondary: #F8F9FA;
    --bg-tertiary: #F7FAFC;
    --bg-card: #FFFFFF;
    --bg-navbar: rgba(255, 255, 255, 0.95);
    
    /* Text */
    --text-primary: #1A202C;
    --text-secondary: #4A5568;
    --text-tertiary: #718096;
    --text-inverse: #FFFFFF;
    
    /* Borders */
    --border-color: rgba(93, 173, 226, 0.1);
    --border-light: rgba(0, 0, 0, 0.08);
    
    /* Shadows */
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.04);
    --shadow-md: 0 4px 12px rgba(93, 173, 226, 0.12);
    --shadow-lg: 0 12px 32px rgba(93, 173, 226, 0.18);
    --shadow-xl: 0 24px 64px rgba(93, 173, 226, 0.24);
    --shadow-primary: 0 8px 24px rgba(93, 173, 226, 0.35);
    --shadow-gold: 0 8px 24px rgba(255, 215, 0, 0.35);
    
    /* Hero Gradient */
    --hero-gradient: linear-gradient(180deg, #F7FAFC 0%, #FFFFFF 50%, #F7FAFC 100%);
    
    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 9999px;
    
    /* Spacing */
    --space-xs: 8px;
    --space-sm: 16px;
    --space-md: 24px;
    --space-lg: 32px;
    --space-xl: 48px;
    --space-2xl: 64px;
    --space-3xl: 96px;
    
    /* Transitions */
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-base: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ===============================
   DARK MODE THEME
=============================== */
[data-theme="dark"] {
    /* Primary Colors - Slightly brighter for dark mode */
    --primary-500: #6BC5F8;
    --primary-600: #5DADE2;
    --primary-400: #8ED4FA;
    --primary-700: #3498DB;
    --primary-100: #1A3A4A;
    
    /* Gold - Warmer for dark mode */
    --gold-500: #FFD93D;
    --gold-600: #F4C430;
    --gold-100: #3D3520;
    --gold-700: #DAA520;
    
    /* Neutrals - Inverted */
    --gray-900: #F7FAFC;
    --gray-800: #E2E8F0;
    --gray-700: #CBD5E0;
    --gray-600: #A0AEC0;
    --gray-500: #718096;
    --gray-300: #4A5568;
    --gray-200: #2D3748;
    --gray-100: #1A202C;
    
    /* Background - Dark tones */
    --bg-primary: #0D1117;
    --bg-secondary: #161B22;
    --bg-tertiary: #1C2128;
    --bg-card: #21262D;
    --bg-navbar: rgba(13, 17, 23, 0.95);
    
    /* Text - Light for dark backgrounds */
    --text-primary: #F0F6FC;
    --text-secondary: #C9D1D9;
    --text-tertiary: #8B949E;
    --text-inverse: #0D1117;
    
    /* Borders */
    --border-color: rgba(93, 173, 226, 0.2);
    --border-light: rgba(255, 255, 255, 0.1);
    
    /* Shadows - Adjusted for dark mode */
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 12px 32px rgba(0, 0, 0, 0.5);
    --shadow-xl: 0 24px 64px rgba(0, 0, 0, 0.6);
    --shadow-primary: 0 8px 24px rgba(93, 173, 226, 0.25);
    --shadow-gold: 0 8px 24px rgba(255, 215, 0, 0.25);
    
    /* Hero Gradient - Dark */
    --hero-gradient: linear-gradient(180deg, #0D1117 0%, #161B22 50%, #0D1117 100%);
}

/* ===============================
   RESET & BASE STYLES
=============================== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: var(--text-primary);
    background: var(--bg-primary);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
    transition: background-color var(--transition-base), color var(--transition-base);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-md);
}

/* ===============================
   THEME TOGGLE BUTTON
=============================== */
.theme-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: none;
    background: var(--bg-card);
    border-radius: var(--radius-full);
    cursor: pointer;
    transition: var(--transition-base);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    flex-shrink: 0;
}

.theme-toggle:hover {
    background: var(--primary-100);
    transform: scale(1.05);
    box-shadow: var(--shadow-md);
}

.theme-toggle svg {
    width: 20px;
    height: 20px;
    transition: var(--transition-base);
}

/* Sun icon (shown in dark mode) */
.theme-toggle .sun-icon {
    display: none;
    color: var(--gold-500);
}

/* Moon icon (shown in light mode) */
.theme-toggle .moon-icon {
    display: block;
    color: var(--primary-600);
}

[data-theme="dark"] .theme-toggle .sun-icon {
    display: block;
}

[data-theme="dark"] .theme-toggle .moon-icon {
    display: none;
}

/* ===============================
   TYPOGRAPHY SYSTEM
=============================== */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-primary);
    margin-bottom: var(--space-md);
    transition: color var(--transition-base);
}

h1 { 
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    font-family: 'Playfair Display', serif;
    letter-spacing: -0.02em;
}

h2 { 
    font-size: clamp(2rem, 4vw, 3rem);
    font-family: 'Playfair Display', serif;
    letter-spacing: -0.01em;
}

h3 { 
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 600;
}

h4 { font-size: 1.25rem; }

p {
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: var(--space-sm);
    transition: color var(--transition-base);
}

a {
    text-decoration: none;
    color: var(--primary-500);
    transition: var(--transition-fast);
}

a:hover {
    color: var(--primary-600);
}

/* ===============================
   MODERN NAVIGATION
=============================== */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: var(--bg-navbar);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 1px 3px var(--border-light);
    z-index: 1000;
    padding: var(--space-sm) 0;
    border-bottom: 1px solid var(--border-color);
    transition: background-color var(--transition-base), border-color var(--transition-base);
}

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

.nav-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.5rem;
    font-weight: 700;
}

.logo-r73 {
    height: 45px;
    width: auto;
}

.brand-text {
    background: linear-gradient(135deg, var(--primary-500) 0%, var(--primary-600) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 10;
}

.nav-toggle span {
    width: 24px;
    height: 3px;
    background: var(--primary-500);
    border-radius: 2px;
    transition: var(--transition-base);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: var(--space-lg);
    align-items: center;
}

.nav-link {
    color: var(--text-primary);
    font-weight: 500;
    font-size: 1rem;
    position: relative;
    padding: 8px 0;
    transition: var(--transition-base);
}

.nav-link:not(.btn-primary)::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gold-500);
    transition: var(--transition-base);
}

.nav-link:not(.btn-primary):hover::after {
    width: 100%;
}

/* Nav actions container - RIGHT SIDE */
.nav-actions {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    margin-left: auto;
}

/* ===============================
   HERO SECTION - SPLIT SCREEN
=============================== */
.hero-modern {
    min-height: 100vh;
    padding-top: 120px;
    padding-bottom: var(--space-3xl);
    position: relative;
    overflow: hidden;
    background: var(--hero-gradient);
    transition: background var(--transition-base);
}

/* Animated Gradient Background */
.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
}

.gradient-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.3;
    animation: float 8s ease-in-out infinite;
}

[data-theme="dark"] .gradient-orb {
    opacity: 0.15;
}

.orb-1 {
    width: 400px;
    height: 400px;
    background: linear-gradient(135deg, var(--primary-400), var(--primary-500));
    top: -100px;
    right: -100px;
    animation-delay: 0s;
}

.orb-2 {
    width: 300px;
    height: 300px;
    background: linear-gradient(135deg, var(--gold-100), var(--gold-500));
    bottom: -100px;
    left: -100px;
    animation-delay: 2s;
}

.orb-3 {
    width: 250px;
    height: 250px;
    background: linear-gradient(135deg, var(--primary-500), var(--gold-500));
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation-delay: 4s;
}

.hero-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-2xl);
    align-items: center;
    position: relative;
    z-index: 2;
}

/* Hero Text Content */
.hero-text {
    animation: fadeInUp 0.8s ease;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    background: var(--bg-card);
    backdrop-filter: blur(10px);
    border-radius: var(--radius-full);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    margin-bottom: var(--space-md);
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--primary-600);
    transition: background-color var(--transition-base), border-color var(--transition-base);
}

.badge-icon {
    font-size: 1.25rem;
}

.hero-title-new {
    font-size: clamp(2.5rem, 5vw, 4rem);
    line-height: 1.1;
    margin-bottom: var(--space-md);
    color: var(--text-primary);
    font-family: 'Playfair Display', serif;
}

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

.hero-description-new {
    font-size: 1.125rem;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: var(--space-xl);
    max-width: 540px;
}

/* Hero Stats */
.hero-stats {
    display: flex;
    gap: var(--space-lg);
    margin-bottom: var(--space-xl);
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary-600);
    line-height: 1;
    margin-bottom: 4px;
}

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

/* Hero Buttons */
.hero-buttons-new {
    display: flex;
    gap: var(--space-sm);
    margin-bottom: var(--space-md);
    flex-wrap: wrap;
}

.trust-bar {
    padding: var(--space-sm) 0;
    color: var(--text-tertiary);
    font-size: 0.875rem;
}

.trust-bar strong {
    color: var(--text-secondary);
}

/* Hero Visual - Floating Beads */
.hero-visual {
    position: relative;
    height: 600px;
    animation: fadeIn 1s ease 0.4s both;
}

.bead-showcase {
    position: relative;
    width: 100%;
    height: 100%;
}

.floating-bead {
    position: absolute;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: var(--bg-card);
    box-shadow: var(--shadow-lg);
    padding: 12px;
    cursor: pointer;
    transition: var(--transition-base);
    animation: floatBead 6s ease-in-out infinite;
}

.floating-bead:hover {
    transform: scale(1.1) translateY(-10px);
    box-shadow: var(--shadow-xl);
}

.floating-bead::before {
    content: attr(data-tooltip);
    position: absolute;
    bottom: -40px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--bg-card);
    color: var(--text-primary);
    padding: 6px 12px;
    border-radius: var(--radius-sm);
    font-size: 0.75rem;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition-fast);
    box-shadow: var(--shadow-md);
}

.floating-bead:hover::before {
    opacity: 1;
}

.bead-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* Bead Positions */
.bead-1 { top: 10%; left: 10%; animation-delay: 0s; }
.bead-2 { top: 5%; right: 20%; animation-delay: 1s; }
.bead-3 { top: 40%; left: 5%; animation-delay: 2s; }
.bead-4 { top: 40%; right: 5%; animation-delay: 3s; }
.bead-5 { bottom: 15%; left: 15%; animation-delay: 4s; }
.bead-6 { bottom: 10%; right: 15%; animation-delay: 5s; }
.bead-center { 
    top: 50%; 
    left: 50%; 
    transform: translate(-50%, -50%);
    width: 120px;
    height: 120px;
    box-shadow: var(--shadow-primary);
    animation-delay: 0.5s;
}

.hero-blessing {
    position: absolute;
    bottom: -40px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, var(--gold-100), var(--gold-500));
    padding: var(--space-sm) var(--space-lg);
    border-radius: var(--radius-full);
    box-shadow: var(--shadow-gold);
    font-size: 1.125rem;
    color: var(--text-inverse);
    white-space: nowrap;
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: var(--space-lg);
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: var(--text-tertiary);
    font-size: 0.875rem;
    animation: bounce 2s ease-in-out infinite;
    cursor: pointer;
}

/* ===============================
   MODERN BUTTONS
=============================== */
.btn-modern {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition-base);
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.btn-modern::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn-modern:hover::before {
    width: 300px;
    height: 300px;
}

.btn-primary-modern {
    background: linear-gradient(135deg, var(--primary-500) 0%, var(--primary-600) 100%);
    color: white;
    box-shadow: var(--shadow-primary);
}

.btn-primary-modern:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 28px rgba(93, 173, 226, 0.4);
}

.btn-secondary-modern {
    background: transparent;
    color: var(--text-primary);
    border: 2px solid var(--gray-300);
}

.btn-secondary-modern:hover {
    background: var(--bg-card);
    border-color: var(--primary-500);
    color: var(--primary-600);
}

.btn-white-modern {
    background: var(--bg-card);
    color: var(--primary-600);
    border: 2px solid var(--border-color);
}

.btn-white-modern:hover {
    background: var(--bg-secondary);
}

.btn-large {
    padding: 18px 36px;
    font-size: 1.125rem;
}

.btn-wide {
    width: 100%;
    justify-content: center;
}

.btn-video {
    background: linear-gradient(135deg, var(--gold-500) 0%, var(--gold-600) 100%);
    color: var(--text-inverse);
    box-shadow: var(--shadow-gold);
}

/* ===============================
   DECORATIVE ELEMENTS
=============================== */
.rosary-divider {
    text-align: center;
    margin: var(--space-2xl) 0;
    color: var(--gold-500);
    font-size: 1.5rem;
    letter-spacing: 10px;
}

.section-tag {
    display: inline-block;
    padding: 6px 16px;
    background: var(--primary-100);
    color: var(--primary-600);
    border-radius: var(--radius-full);
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: var(--space-sm);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: background-color var(--transition-base), color var(--transition-base);
}

/* ===============================
   SECTION HEADERS
=============================== */
.section-header {
    text-align: center;
    margin-bottom: var(--space-2xl);
}

.section-title {
    margin-bottom: var(--space-sm);
    color: var(--text-primary);
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

/* ===============================
   FEATURES SECTION - ENHANCED
=============================== */
.features-enhanced {
    padding: var(--space-3xl) 0;
    background: var(--bg-secondary);
    position: relative;
    transition: background-color var(--transition-base);
}

.features-grid-enhanced {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: var(--space-lg);
}

.feature-card-enhanced {
    background: var(--bg-card);
    padding: var(--space-xl);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    transition: var(--transition-base);
    border-top: 3px solid var(--gold-500);
    position: relative;
    overflow: hidden;
}

.feature-card-enhanced::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, transparent 0%, rgba(93, 173, 226, 0.05) 100%);
    opacity: 0;
    transition: var(--transition-base);
}

.feature-card-enhanced:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.feature-card-enhanced:hover::before {
    opacity: 1;
}

.feature-icon-enhanced {
    width: 80px;
    height: 80px;
    margin: 0 auto var(--space-md);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    position: relative;
}

.icon-emoji {
    font-size: 2.5rem;
}

.feature-title-enhanced {
    margin-bottom: var(--space-sm);
    color: var(--text-primary);
    text-align: center;
}

.feature-description-enhanced {
    color: var(--text-secondary);
    line-height: 1.8;
    text-align: center;
    margin-bottom: var(--space-md);
}

.feature-link {
    color: var(--primary-600);
    font-weight: 600;
    font-size: 0.875rem;
    text-align: center;
    display: block;
    transition: var(--transition-fast);
}

.feature-link:hover {
    color: var(--primary-700);
    gap: 8px;
}

/* ===============================
   HOW IT WORKS - TIMELINE
=============================== */
.how-it-works-enhanced {
    padding: var(--space-3xl) 0;
    background: linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
    transition: background var(--transition-base);
}

.timeline-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1000px;
    margin: 0 auto var(--space-2xl);
    position: relative;
}

.timeline-container::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 10%;
    right: 10%;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-500), var(--gold-500), var(--primary-500));
    border-radius: var(--radius-full);
    z-index: 0;
}

.timeline-step {
    flex: 1;
    text-align: center;
    padding: var(--space-md);
    position: relative;
    z-index: 1;
}

.step-number-circle {
    width: 80px;
    height: 80px;
    margin: 0 auto var(--space-md);
    background: var(--bg-card);
    border: 4px solid var(--gold-500);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-md);
    transition: var(--transition-base);
    position: relative;
}

.step-number-circle::after {
    content: '';
    position: absolute;
    width: 90px;
    height: 90px;
    border: 2px solid var(--primary-400);
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}

.timeline-step:hover .step-number-circle {
    transform: scale(1.1);
    box-shadow: var(--shadow-lg);
}

.number {
    font-size: 2.5rem;
    color: var(--primary-600);
}

.step-icon-badge {
    font-size: 2rem;
    margin-bottom: var(--space-sm);
}

.step-content-enhanced h3 {
    margin-bottom: var(--space-sm);
    color: var(--text-primary);
}

.step-content-enhanced p {
    color: var(--text-secondary);
    line-height: 1.7;
}

.video-cta {
    text-align: center;
}

/* ===============================
   PRICING SECTION
=============================== */
.pricing-enhanced {
    padding: var(--space-3xl) 0;
    background: var(--bg-secondary);
    transition: background-color var(--transition-base);
}

.pricing-simple {
    max-width: 800px;
    margin: 0 auto;
}

.price-card-simple {
    background: var(--bg-card);
    padding: var(--space-2xl);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    border: 2px solid var(--gold-500);
    text-align: center;
    transition: background-color var(--transition-base), box-shadow var(--transition-base);
}

.price-badge {
    display: inline-block;
    padding: 8px 20px;
    background: linear-gradient(135deg, var(--gold-500), var(--gold-600));
    color: var(--text-inverse);
    border-radius: var(--radius-full);
    font-weight: 700;
    margin-bottom: var(--space-md);
}

.price-card-simple h3 {
    font-size: 2rem;
    margin-bottom: var(--space-sm);
}

.price-description {
    font-size: 1.125rem;
    color: var(--text-secondary);
    margin-bottom: var(--space-lg);
    line-height: 1.8;
}

.price-details {
    background: var(--bg-secondary);
    padding: var(--space-md);
    border-radius: var(--radius-md);
    margin-bottom: var(--space-lg);
    transition: background-color var(--transition-base);
}

.price-details p {
    margin-bottom: 8px;
    color: var(--text-primary);
    font-weight: 500;
}

.clergy-note {
    margin-top: var(--space-lg);
    padding: var(--space-md);
    background: var(--gold-100);
    border-radius: var(--radius-md);
    border-left: 4px solid var(--gold-500);
    transition: background-color var(--transition-base);
}

.clergy-note p {
    color: var(--text-secondary);
    margin-bottom: 4px;
}

.clergy-note strong {
    color: var(--gold-700);
}

/* ===============================
   CTA SECTION
=============================== */
.cta-enhanced {
    padding: var(--space-3xl) 0;
    background: linear-gradient(135deg, var(--primary-500) 0%, var(--primary-700) 100%);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-enhanced::before {
    content: '✚';
    position: absolute;
    font-size: 300px;
    color: rgba(255, 255, 255, 0.05);
    top: -100px;
    right: -50px;
    transform: rotate(15deg);
}

.cta-content-enhanced {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
}

.holy-cross-large {
    font-size: 4rem;
    color: var(--gold-500);
    display: block;
    margin-bottom: var(--space-md);
}

.cta-title-enhanced {
    color: white;
    font-size: 3rem;
    margin-bottom: var(--space-md);
}

.cta-description-enhanced {
    color: rgba(255, 255, 255, 0.95);
    font-size: 1.25rem;
    line-height: 1.8;
    margin-bottom: var(--space-xl);
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: var(--space-sm);
    margin-bottom: var(--space-md);
    flex-wrap: wrap;
}

.testflight-note {
    color: white;
    font-size: 1.125rem;
}

.testflight-note a {
    color: var(--gold-500);
    font-weight: 600;
    text-decoration: underline;
}

/* ===============================
   FOOTER
=============================== */
.footer {
    background: var(--gray-100);
    color: var(--text-primary);
    padding: var(--space-2xl) 0 var(--space-md);
    position: relative;
    transition: background-color var(--transition-base);
}

/* Light mode footer - dark background */
:root .footer {
    background: #1A202C;
    color: white;
}

:root .footer .footer-tagline,
:root .footer .footer-links a,
:root .footer .footer-bottom {
    color: rgba(255, 255, 255, 0.8);
}

:root .footer .footer-links a:hover {
    color: white;
}

/* Dark mode footer - slightly lighter dark */
[data-theme="dark"] .footer {
    background: #0D1117;
    color: #F0F6FC;
}

[data-theme="dark"] .footer .footer-tagline,
[data-theme="dark"] .footer .footer-links a,
[data-theme="dark"] .footer .footer-bottom {
    color: rgba(240, 246, 252, 0.7);
}

[data-theme="dark"] .footer .footer-links a:hover {
    color: #F0F6FC;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-500), var(--gold-500), var(--primary-500));
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: var(--space-xl);
    margin-bottom: var(--space-xl);
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: var(--space-sm);
}

.footer-tagline {
    margin-bottom: var(--space-md);
}

.footer-title {
    color: var(--primary-400);
    margin-bottom: var(--space-sm);
    font-size: 1.125rem;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 8px;
}

.footer-links a {
    transition: var(--transition-fast);
}

.footer-bottom {
    padding-top: var(--space-md);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.footer-verse {
    margin-top: var(--space-sm);
    font-style: italic;
    color: var(--gold-500);
}

/* ===============================
   ANIMATIONS
=============================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0) scale(1);
    }
    50% {
        transform: translateY(-20px) scale(1.02);
    }
}

@keyframes floatBead {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    25% {
        transform: translateY(-10px) rotate(2deg);
    }
    50% {
        transform: translateY(0) rotate(0deg);
    }
    75% {
        transform: translateY(-5px) rotate(-2deg);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 0.3;
    }
    50% {
        transform: scale(1.1);
        opacity: 0.5;
    }
}

@keyframes bounce {
    0%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    50% {
        transform: translateX(-50%) translateY(-10px);
    }
}

/* ===============================
   RESPONSIVE DESIGN
=============================== */
@media (max-width: 1024px) {
    .hero-split {
        grid-template-columns: 1fr;
        gap: var(--space-xl);
    }
    
    .hero-visual {
        height: 500px;
    }
    
    .features-grid-enhanced {
        grid-template-columns: 1fr;
    }
    
    .timeline-container {
        flex-direction: column;
        gap: var(--space-xl);
    }
    
    .timeline-container::before {
        left: 50%;
        top: 10%;
        bottom: 10%;
        width: 3px;
        height: auto;
        transform: translateX(-50%);
    }
    
    .footer-content {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    /* Mobile Navigation */
    .navbar .container {
        position: relative;
    }
    
    .nav-toggle {
        display: flex;
        order: 3;
    }
    
    /* Theme toggle - mobile positioning */
    .theme-toggle {
        width: 36px;
        height: 36px;
        order: 2;
        margin-left: auto;
        margin-right: 12px;
    }
    
    .theme-toggle svg {
        width: 18px;
        height: 18px;
    }
    
    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--bg-navbar);
        flex-direction: column;
        padding: var(--space-md);
        box-shadow: var(--shadow-lg);
        border-top: 2px solid var(--gold-500);
    }
    
    .nav-menu.active {
        display: flex;
    }
    
    /* Ensure nav links are visible in dark mode mobile menu */
    .nav-menu .nav-link {
        color: var(--text-primary);
        padding: 12px 0;
    }
    
    .hero-text {
        text-align: center;
    }
    
    .hero-buttons-new {
        justify-content: center;
    }
    
    .hero-stats {
        justify-content: center;
    }
    
    .hero-visual {
        height: 400px;
    }
    
    .floating-bead {
        width: 80px;
        height: 80px;
    }
    
    .bead-center {
        width: 100px;
        height: 100px;
    }
    
    .cta-buttons {
        flex-direction: column;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

@media (max-width: 480px) {
    h1 { font-size: 2rem; }
    h2 { font-size: 1.75rem; }
    
    .hero-title-new {
        font-size: 2rem;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: var(--space-sm);
    }
    
    .btn-modern {
        padding: 12px 24px;
        font-size: 0.875rem;
    }
    
    .floating-bead {
        width: 60px;
        height: 60px;
    }
    
    .bead-center {
        width: 80px;
        height: 80px;
    }
    
    /* Theme toggle - smaller screens */
    .theme-toggle {
        width: 34px;
        height: 34px;
        margin-right: 10px;
    }
    
    .theme-toggle svg {
        width: 16px;
        height: 16px;
    }
}

/* ===============================
   ACCESSIBILITY
=============================== */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

/* Focus states */
a:focus,
button:focus {
    outline: 2px solid var(--primary-500);
    outline-offset: 2px;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Respect system preference initially */
@media (prefers-color-scheme: dark) {
    :root:not([data-theme="light"]) {
        /* Apply dark mode variables when no explicit preference is set */
    }
}
