/* V3.2 Fixes - Landing Page Restoration & Auth Styles */
:root {
    --primary: #0f172a;
    --accent: #e67e22; /* Warm Orange */
    --accent-hover: #d35400;
    --bg-gradient: linear-gradient(135deg, #fffaf5 0%, #fef3e7 100%);
    --glass-bg: rgba(255, 255, 255, 0.85);
    --glass-border: rgba(255, 255, 255, 0.6);
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.08);
    --shadow-xl: 0 20px 40px -5px rgba(230, 126, 34, 0.08);
    --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: var(--font); color: var(--primary); background: var(--bg-gradient); -webkit-font-smoothing: antialiased; overflow-x: hidden; top: 0 !important; }
a { text-decoration: none; color: inherit; }

/* Hide Google Translate UI */
.goog-te-banner-frame, .skiptranslate, #goog-gt-tt { display: none !important; }
body { top: 0 !important; }

/* Global Animations */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
    100% { transform: translateY(0px); }
}

.animate-up { animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards; opacity: 0; }
.delay-1 { animation-delay: 0.2s; }
.delay-2 { animation-delay: 0.4s; }

/* -------------------------------------------
   RESTORING THE LANDING PAGE HERO (V2.6)
   ------------------------------------------- */
.hero { min-height: 80vh; display: flex; align-items: center; justify-content: center; position: relative; padding: 120px 24px 60px; overflow: hidden; }
.hero-container { max-width: 1200px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 40px; width: 100%; }
.hero-content { flex: 1; text-align: left; z-index: 2; }
.hero-content h1 { font-size: 64px; font-weight: 800; letter-spacing: -2px; line-height: 1.1; margin-bottom: 24px; color: var(--primary); }
.hero-content h1 span { color: var(--accent); }
.hero-content p { font-size: 20px; color: #475569; max-width: 500px; margin-bottom: 40px; line-height: 1.6; }
.hero-buttons { display: flex; gap: 16px; }

/* Hero Vector Graphic */
.hero-visual { flex: 1; display: flex; justify-content: center; align-items: center; z-index: 1; }
.hero-visual svg { width: 100%; max-width: 500px; height: auto; animation: float 6s ease-in-out infinite; filter: drop-shadow(0 20px 30px rgba(230, 126, 34, 0.15)); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; padding: 16px 32px; border-radius: 100px; font-size: 16px; font-weight: 600; transition: all 0.3s ease; cursor: pointer; border: none; outline: none; }
.btn-primary { background: var(--primary); color: #fff; box-shadow: 0 10px 20px rgba(0,0,0,0.1); }
.btn-primary:hover { transform: translateY(-3px); background: #000; box-shadow: 0 15px 30px rgba(0,0,0,0.2); color: #fff; }
.btn-accent { background: var(--accent); color: #fff; box-shadow: 0 10px 20px rgba(230,126,34,0.2); }
.btn-accent:hover { transform: translateY(-3px); background: var(--accent-hover); box-shadow: 0 15px 30px rgba(230,126,34,0.3); color: #fff; }
.btn-outline { background: transparent; color: var(--primary); border: 2px solid var(--primary); padding: 10px 20px; font-size: 14px; border-radius: 100px; }
.btn-outline:hover { background: var(--primary); color: #fff; }

/* Sections */
section { padding: 100px 24px; max-width: 1200px; margin: 0 auto; }
.section-title { font-size: 40px; font-weight: 800; letter-spacing: -1px; text-align: center; margin-bottom: 16px; color: var(--primary); }
.section-subtitle { font-size: 18px; color: #64748b; text-align: center; margin-bottom: 60px; max-width: 600px; margin-inline: auto; line-height: 1.6; }

/* Features Grid with Icons (Restored) */
.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 40px; }
.feature-card { background: rgba(255, 255, 255, 0.7); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); border-radius: 30px; padding: 40px; box-shadow: var(--shadow-sm); transition: transform 0.4s ease, box-shadow 0.4s ease; border: 1px solid rgba(255,255,255,0.9); }
.feature-card:hover { transform: translateY(-10px); box-shadow: var(--shadow-xl); }
.feature-icon { width: 60px; height: 60px; background: rgba(230, 126, 34, 0.1); border-radius: 20px; display: flex; align-items: center; justify-content: center; margin-bottom: 24px; color: var(--accent); }
.feature-icon svg { width: 30px; height: 30px; }
.feature-card h3 { font-size: 24px; font-weight: 700; margin-bottom: 16px; color: var(--primary); }
.feature-card p { color: #475569; line-height: 1.6; }

/* Grid Cards (General) */
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 40px; }
.card { background: var(--glass-bg); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); border-radius: 30px; padding: 40px; box-shadow: var(--shadow-md); transition: transform 0.4s ease, box-shadow 0.4s ease; border: 1px solid rgba(255,255,255,0.9); }
.card:hover { transform: translateY(-8px); box-shadow: var(--shadow-xl); }
.card h3 { font-size: 24px; font-weight: 700; margin-bottom: 16px; color: var(--primary); }
.card p { color: #475569; line-height: 1.6; }

/* -------------------------------------------
   APPLE ID-STYLE LOGIN / REGISTER FORMS
   ------------------------------------------- */
.auth-container { min-height: 80vh; display: flex; align-items: center; justify-content: center; padding: 40px 20px; }
.auth-box { background: rgba(255, 255, 255, 0.9); backdrop-filter: blur(30px); -webkit-backdrop-filter: blur(30px); border-radius: 24px; padding: 48px; width: 100%; max-width: 440px; box-shadow: 0 20px 40px rgba(0,0,0,0.08), 0 1px 3px rgba(0,0,0,0.05); border: 1px solid rgba(255,255,255,1); text-align: center; }
.auth-logo { width: 60px; height: 60px; margin-bottom: 24px; }
.auth-box h2 { font-size: 28px; font-weight: 700; letter-spacing: -0.5px; margin-bottom: 8px; color: var(--primary); }
.auth-box p { color: #64748b; font-size: 15px; margin-bottom: 32px; }

.form-group { position: relative; margin-bottom: 20px; text-align: left; }
.form-group input, .form-group textarea { width: 100%; padding: 16px 20px; border-radius: 12px; border: 1px solid #cbd5e1; background: #f8fafc; font-family: var(--font); font-size: 16px; transition: all 0.2s ease; color: var(--primary); }
.form-group input:focus, .form-group textarea:focus { outline: none; border-color: var(--accent); background: #fff; box-shadow: 0 0 0 4px rgba(230,126,34,0.1); }
.form-group input::placeholder, .form-group textarea::placeholder { color: #94a3b8; }

.auth-switch { margin-top: 24px; font-size: 14px; color: #64748b; }
.auth-switch a { color: var(--accent); font-weight: 600; cursor: pointer; transition: color 0.2s; }
.auth-switch a:hover { color: var(--accent-hover); }

/* Alerts */
.alert { padding: 16px; border-radius: 12px; margin-bottom: 24px; font-size: 14px; font-weight: 500; text-align: left; display: flex; align-items: center; gap: 12px; }
.alert-error { background: #fef2f2; color: #dc2626; border: 1px solid #fecaca; }
.alert-success { background: #f0fdf4; color: #16a34a; border: 1px solid #bbf7d0; }

/* Dashboard Tables */
.admin-table { width: 100%; border-collapse: collapse; margin-top: 20px; background: #fff; border-radius: 12px; overflow: hidden; box-shadow: var(--shadow-sm); }
.admin-table th, .admin-table td { padding: 16px; text-align: left; border-bottom: 1px solid #e2e8f0; font-size: 15px; }
.admin-table th { background: #f8fafc; font-weight: 600; color: #475569; }
.admin-table tr:last-child td { border-bottom: none; }
.badge { padding: 4px 10px; border-radius: 100px; font-size: 12px; font-weight: 600; }
.badge-admin { background: #fef3c7; color: #d97706; }
.badge-member { background: #f1f5f9; color: #64748b; }

/* Prayer Wall Masonry Grid */
.prayer-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 24px; margin-top: 40px; align-items: start; }
.prayer-card { background: #fff; border-radius: 20px; padding: 32px; box-shadow: 0 4px 15px rgba(0,0,0,0.03); border: 1px solid #f1f5f9; text-align: left; transition: transform 0.3s; }
.prayer-card:hover { transform: translateY(-4px); box-shadow: 0 10px 25px rgba(0,0,0,0.05); }
.prayer-text { font-size: 18px; color: var(--primary); line-height: 1.6; margin-bottom: 24px; font-style: italic; }
.prayer-meta { display: flex; justify-content: space-between; align-items: center; border-top: 1px solid #f1f5f9; padding-top: 16px; }
.prayer-author { font-size: 13px; color: #64748b; font-weight: 500; }
.pray-btn { background: rgba(230, 126, 34, 0.1); color: var(--accent); padding: 8px 16px; border-radius: 100px; font-size: 13px; font-weight: 600; border: none; cursor: pointer; transition: all 0.2s; display: flex; align-items: center; gap: 6px; }
.pray-btn:hover { background: var(--accent); color: #fff; }

/* Footer */
footer { padding: 40px 24px; text-align: center; color: #94a3b8; font-size: 14px; border-top: 1px solid rgba(0,0,0,0.05); margin-top: 80px; }

/* Mobile Responsiveness */
@media (max-width: 968px) {
    .hero-container { flex-direction: column; text-align: center; }
    .hero-content { text-align: center; }
    .hero-content p { margin: 0 auto 40px; }
    .hero-buttons { justify-content: center; }
    .hero-visual { margin-top: 40px; }
    .hero-content h1 { font-size: 48px; }
}
