@import url('css/animations.css');
@import url('css/effects.css');

:root {
  --bg: #fdfdfc; --card: #ffffff; --text: #0f172a; --muted: #475569;
  --accent: #2563eb; --accent-alt: #ea580c; --border: rgba(15, 23, 42, 0.08);
}
* { box-sizing: border-box; margin: 0; padding: 0; font-family: 'Outfit', sans-serif; scroll-behavior: smooth; }
body { background: var(--bg); color: var(--text); overflow-x: hidden; min-height: 100vh; display: flex; flex-direction: column; padding-top: 80px; }

/* Sticky Glassmorphic Header */
header { position: fixed; top: 0; left: 0; right: 0; display: flex; justify-content: space-between; align-items: center; padding: 1.2rem 5%; width: 100%; z-index: 1000; transition: all 0.3s ease; }
header.scrolled { background: rgba(253, 253, 252, 0.75); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border-bottom: 1px solid var(--border); padding: 0.9rem 5%; }
.logo { display: flex; align-items: center; gap: 0.6rem; font-weight: 800; font-size: 1.35rem; text-decoration: none; color: var(--text); }
.logo-icon { width: 34px; height: 34px; background: linear-gradient(135deg, var(--accent), var(--accent-alt)); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: white; font-weight: bold; }
nav { display: flex; gap: 2.2rem; }
nav a { text-decoration: none; color: var(--muted); font-weight: 500; transition: color 0.2s; font-size: 0.95rem; }
nav a:hover { color: var(--accent); }
.btn-header { background: #0ea5e9; color: white; border: none; padding: 0.6rem 1.4rem; border-radius: 50px; font-weight: 600; text-decoration: none; transition: all 0.2s; font-size: 0.9rem; }
.btn-header:hover { transform: translateY(-1px); background: #0284c7; box-shadow: 0 4px 12px rgba(14, 165, 233, 0.2); }
.header-actions { display: flex; align-items: center; gap: 1.2rem; }
.mobile-menu-btn { display: none; }

/* Hero */
.hero-wrapper { max-width: 1200px; width: calc(100% - 3rem); margin: 3rem auto; position: relative; }
.hero-card { background: var(--card); border: 1px solid var(--border); border-radius: 40px; padding: 7rem 2rem; text-align: center; box-shadow: 0 35px 70px rgba(15,23,42,0.03); display: flex; flex-direction: column; align-items: center; position: relative; overflow: hidden; }
.hero-card::before { content: ''; position: absolute; inset: 0; background-image: radial-gradient(#e2e8f0 1.5px, transparent 1.5px); background-size: 24px 24px; opacity: 0.6; pointer-events: none; }
.badge { background: #f1f5f9; padding: 0.5rem 1rem; border-radius: 50px; font-size: 0.85rem; font-weight: 600; color: var(--muted); display: inline-flex; align-items: center; gap: 0.5rem; margin-bottom: 2rem; border: 1px solid rgba(0,0,0,0.02); }
.badge-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
h1 { font-size: clamp(2.4rem, 5.5vw, 4.5rem); font-weight: 800; line-height: 1.1; max-width: 850px; margin-bottom: 1.5rem; letter-spacing: -0.03em; }
.accent-gradient { background: linear-gradient(135deg, var(--accent), var(--accent-alt)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
p.desc { font-size: clamp(1rem, 2vw, 1.15rem); color: var(--muted); max-width: 650px; line-height: 1.6; margin-bottom: 2.5rem; }
.btn-group { display: flex; flex-wrap: wrap; gap: 1rem; z-index: 10; }
.btn { padding: 0.85rem 2rem; border-radius: 12px; font-weight: 600; text-decoration: none; font-size: 0.95rem; display: inline-flex; align-items: center; gap: 0.5rem; transition: all 0.2s; cursor: pointer; border: 1px solid transparent; }
.btn-primary { background: var(--text); color: white; border-color: var(--text); }
.btn-primary:hover { background: #1e293b; transform: translateY(-2px); box-shadow: 0 8px 16px rgba(15,23,42,0.15); }
.btn-secondary { background: white; color: var(--text); border-color: #cbd5e1; }
.btn-secondary:hover { border-color: var(--text); transform: translateY(-2px); }

/* Floating Art with Keyframe Animation */
.float-art { position: absolute; width: 160px; background: white; border: 1px solid var(--border); border-radius: 20px; padding: 0.6rem; box-shadow: 0 20px 40px rgba(0,0,0,0.06); transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1); z-index: 10; }
.float-art img { width: 100%; aspect-ratio: 1; border-radius: 12px; object-fit: cover; background: #fafaf9; }
.float-art span { display: block; font-size: 0.75rem; font-weight: 700; margin-top: 0.5rem; color: var(--text); text-align: center; }
.float-l { left: -50px; top: 30%; transform: rotate(-8deg); animation: floatL 6s ease-in-out infinite alternate; }
.float-r { right: -50px; top: 25%; transform: rotate(8deg); animation: floatR 6s ease-in-out infinite alternate; }
@keyframes floatL { 0% { transform: translateY(0) rotate(-8deg); } 100% { transform: translateY(-10px) rotate(-6deg); } }
@keyframes floatR { 0% { transform: translateY(0) rotate(8deg); } 100% { transform: translateY(-10px) rotate(6deg); } }
.float-art:hover { transform: scale(1.08) translateY(-5px) !important; animation-play-state: paused; }

/* General Section layout */
.section { padding: 6rem 2rem; max-width: 1200px; margin: 0 auto; width: 100%; }
.section-header { text-align: center; margin-bottom: 4rem; }
.section-header h2 { font-size: 2.5rem; font-weight: 800; margin-bottom: 0.75rem; }
.section-header p { color: var(--muted); font-size: 1.1rem; max-width: 600px; margin: 0 auto; }

/* Services */
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 2rem; }
.service-card { background: white; border: 1px solid var(--border); border-radius: 24px; padding: 3rem 2.5rem; transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1); }
.service-card:hover { transform: translateY(-6px); box-shadow: 0 20px 40px rgba(0,0,0,0.04); border-color: var(--accent); }
.service-card h3 { margin-bottom: 1rem; font-size: 1.4rem; font-weight: 700; }
.service-card p { color: var(--muted); line-height: 1.6; font-size: 0.95rem; }

/* Pricing */
.pricing-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 2rem; max-width: 1100px; margin: 0 auto; }
.price-card { background: white; border: 1px solid var(--border); border-radius: 28px; padding: 3.5rem 2rem; text-align: center; position: relative; transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1); cursor: pointer; display: flex; flex-direction: column; justify-content: space-between; }
.price-card:hover { transform: translateY(-4px); border-color: #cbd5e1; box-shadow: 0 15px 30px rgba(0,0,0,0.02); }
.price-card.selected { border: 2px solid var(--accent); transform: scale(1.03); box-shadow: 0 20px 40px rgba(37,99,235,0.06); }
.rec-badge { position: absolute; top: -14px; left: 50%; transform: translateX(-50%); background: var(--accent); color: white; padding: 0.4rem 1.2rem; border-radius: 50px; font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; }
.price-card h4 { font-size: 1.4rem; font-weight: 700; margin-bottom: 1rem; }
.price-card .price { font-size: 3.2rem; font-weight: 800; color: var(--text); }
.price-card .setup { color: var(--accent-alt); font-weight: 700; font-size: 0.95rem; margin-bottom: 2rem; }
.price-card ul { list-style: none; text-align: left; display: flex; flex-direction: column; gap: 0.9rem; border-top: 1px solid var(--border); padding-top: 2rem; font-size: 0.95rem; color: var(--muted); }
.price-card ul li::before { content: "✓ "; color: var(--accent); font-weight: bold; margin-right: 0.5rem; }

/* CSS Phone Mockup Showcase */
.showcase-layout { display: grid; grid-template-columns: 1fr 1.2fr; gap: 4rem; align-items: center; max-width: 1000px; margin: 0 auto; }
.showcase-tabs { display: flex; flex-direction: column; gap: 1.2rem; }
.mock-tab { background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.08); border-radius: 16px; padding: 1.5rem; text-align: left; cursor: pointer; transition: all 0.3s ease; color: #94a3b8; }
.mock-tab.active, .mock-tab:hover { background: rgba(255,255,255,0.07); border-color: var(--accent); color: white; }
.mock-tab h4 { font-size: 1.25rem; font-weight: 700; margin-bottom: 0.4rem; }
.mock-tab p { font-size: 0.9rem; line-height: 1.4; color: #94a3b8; }
.mock-tab.active h4 { color: var(--accent); }

/* Phone Frame */
.phone-bezel { width: 280px; height: 560px; background: #000; border-radius: 40px; padding: 10px; box-shadow: 0 30px 60px rgba(0,0,0,0.5), inset 0 2px 4px rgba(255,255,255,0.2); position: relative; margin: 0 auto; }
.phone-notch { width: 110px; height: 26px; background: #000; border-radius: 0 0 15px 15px; position: absolute; top: 10px; left: 50%; transform: translateX(-50%); z-index: 100; }
.phone-screen { width: 100%; height: 100%; background: #0f172a; border-radius: 32px; overflow: hidden; position: relative; color: white; }
.phone-nav { display: flex; justify-content: space-between; padding: 2.2rem 1.2rem 0.8rem; font-size: 0.8rem; font-weight: 700; border-bottom: 1px solid rgba(255,255,255,0.06); }
.mock-screen-content { display: none; padding: 1.2rem; height: calc(100% - 70px); flex-direction: column; gap: 1rem; opacity: 0; transition: opacity 0.4s ease; }
.mock-screen-content.active { display: flex; opacity: 1; }

/* Phone Sub-contents UI */
.sermon-player { background: rgba(255,255,255,0.05); border-radius: 16px; padding: 1rem; text-align: center; margin-top: auto; }
.player-bar { height: 4px; background: rgba(255,255,255,0.1); border-radius: 20px; width: 100%; margin: 1rem 0; overflow: hidden; position: relative; }
.player-bar::after { content: ''; position: absolute; top: 0; left: 0; height: 100%; width: 45%; background: var(--accent); }
.mock-notif { background: var(--accent); border-radius: 12px; padding: 0.8rem; font-size: 0.75rem; box-shadow: 0 4px 12px rgba(37,99,235,0.3); border-left: 4px solid white; }
.mock-giving-circle { width: 100px; height: 100px; border-radius: 50%; border: 6px solid rgba(255,255,255,0.08); border-top-color: var(--accent-alt); margin: 2rem auto; display: flex; align-items: center; justify-content: center; font-size: 1.1rem; font-weight: 800; }

/* Creative Estimate Calculator Background Design */
.calc-section { position: relative; overflow: hidden; background: #fafaf9; border-radius: 40px; padding: 7rem 2rem; margin: 3rem auto; border: 1px solid var(--border); box-shadow: 0 30px 60px rgba(0,0,0,0.02); }
.calc-bg-glow { position: absolute; border-radius: 50%; filter: blur(120px); opacity: 0.15; pointer-events: none; transition: transform 0.5s ease; }
.calc-glow-1 { width: 350px; height: 350px; background: radial-gradient(circle, var(--accent) 0%, transparent 70%); top: -50px; left: -50px; animation: floatGlow1 12s ease-in-out infinite alternate; }
.calc-glow-2 { width: 450px; height: 450px; background: radial-gradient(circle, var(--accent-alt) 0%, transparent 70%); bottom: -100px; right: -100px; animation: floatGlow2 15s ease-in-out infinite alternate; }
@keyframes floatGlow1 { 0% { transform: translate(0, 0) scale(1); } 100% { transform: translate(50px, 30px) scale(1.1); } }
@keyframes floatGlow2 { 0% { transform: translate(0, 0) scale(1); } 100% { transform: translate(-60px, -40px) scale(1.15); } }
.calc-grid-overlay { position: absolute; inset: 0; background-image: radial-gradient(rgba(0,0,0,0.035) 1.5px, transparent 1.5px); background-size: 24px 24px; opacity: 0.6; pointer-events: none; }

/* Glassmorphic Container Card */
.calc-glass-card { background: rgba(255, 255, 255, 0.55); -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px); border: 1px solid rgba(255, 255, 255, 0.65); border-radius: 32px; padding: 3.5rem 2.5rem; position: relative; z-index: 10; max-width: 1000px; margin: 0 auto; box-shadow: 0 35px 70px rgba(15,23,42,0.03); }

.calc-container { display: grid; grid-template-columns: 1.2fr 1fr; gap: 4rem; text-align: left; }
.calc-inputs label { display: block; font-weight: 600; margin-bottom: 0.6rem; font-size: 0.95rem; color: var(--text); }
.calc-inputs select { width: 100%; padding: 0.9rem 1rem; border-radius: 10px; border: 1px solid var(--border); background: var(--card); color: var(--text); font-size: 1rem; margin-bottom: 2rem; box-shadow: 0 2px 4px rgba(0,0,0,0.01); }
.calc-inputs select:focus { outline: none; border-color: var(--accent); }
.calc-addons { display: flex; flex-direction: column; gap: 1rem; margin-top: 1.5rem; }
.calc-addons label { display: flex; align-items: center; gap: 0.8rem; font-weight: 500; cursor: pointer; color: var(--muted); }
.calc-addons input[type="checkbox"] { width: 18px; height: 18px; accent-color: var(--accent); }

/* Range Slider */
.range-group { margin-bottom: 2rem; }
.range-header { display: flex; justify-content: space-between; margin-bottom: 0.5rem; font-weight: 600; font-size: 0.9rem; color: var(--muted); }
input[type="range"] { -webkit-appearance: none; appearance: none; width: 100%; height: 6px; background: rgba(15,23,42,0.08); border-radius: 5px; outline: none; }
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; appearance: none; width: 18px; height: 18px; border-radius: 50%; background: var(--accent-alt); cursor: pointer; transition: transform 0.1s; }
input[type="range"]::-webkit-slider-thumb:hover { transform: scale(1.2); }

.calc-results { display: flex; flex-direction: column; gap: 1.5rem; justify-content: center; }
.result-box { background: var(--card); border: 1px solid rgba(255, 255, 255, 0.8); border-radius: 20px; padding: 2rem; text-align: center; box-shadow: 0 15px 30px rgba(0,0,0,0.02); }
.result-lbl { font-size: 0.85rem; text-transform: uppercase; color: var(--muted); letter-spacing: 0.08em; font-weight: 700; margin-bottom: 0.5rem; }
.result-val { font-size: 2.6rem; font-weight: 800; background: linear-gradient(135deg, #3b82f6, #f97316); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
#custom-alert { background: #fffbeb; border: 1px dashed #f59e0b; border-radius: 16px; padding: 1.5rem; font-size: 0.85rem; line-height: 1.6; color: #78350f; }
#custom-alert p strong { color: var(--accent-alt); }

.dark-section { background: var(--text); color: white; border-radius: 32px; padding: 5rem 3rem; margin: 3rem auto; width: calc(100% - 3rem); box-shadow: 0 20px 45px rgba(0,0,0,0.08); position: relative; }
.dark-section .section-header p { color: #94a3b8; }

/* About Section */
.about-container { display: flex; justify-content: center; text-align: center; }
.about-text { max-width: 800px; }
.about-text h2 { font-size: 2.5rem; font-weight: 800; margin-bottom: 1.5rem; }
.about-text p { font-size: 1.15rem; line-height: 1.7; color: var(--muted); margin-bottom: 1.5rem; }
.about-text .lead { font-size: 1.3rem; font-style: italic; font-weight: 500; color: var(--accent); margin-bottom: 2rem; border-left: 3px solid var(--accent-alt); padding-left: 1rem; text-align: left; max-width: 650px; margin: 0 auto 2rem auto; }

/* FAQs Section */
.faq-grid { max-width: 800px; margin: 0 auto; display: flex; flex-direction: column; gap: 1.2rem; }
.faq-item { background: white; border: 1px solid var(--border); border-radius: 16px; overflow: hidden; transition: all 0.3s ease; }
.faq-header { padding: 1.5rem; display: flex; justify-content: space-between; align-items: center; cursor: pointer; font-weight: 700; font-size: 1.1rem; }
.faq-icon { font-size: 1.2rem; transition: transform 0.3s ease; color: var(--muted); }
.faq-content { max-height: 0; overflow: hidden; padding: 0 1.5rem; transition: all 0.3s ease; color: var(--muted); line-height: 1.6; font-size: 0.95rem; }
.faq-item.active { border-color: var(--accent); box-shadow: 0 10px 25px rgba(0,0,0,0.02); }
.faq-item.active .faq-icon { transform: rotate(45deg); color: var(--accent); }
.faq-item.active .faq-content { max-height: 200px; padding-bottom: 1.5rem; }

/* Contact Section */
.contact-section { display: flex; justify-content: center; }
.contact-card { background: white; border: 1px solid var(--border); border-radius: 28px; padding: 4rem 3rem; max-width: 600px; width: 100%; box-shadow: 0 20px 40px rgba(0,0,0,0.02); }
.contact-card h2 { text-align: center; font-size: 2.2rem; font-weight: 800; margin-bottom: 0.6rem; }
.contact-card p { text-align: center; color: var(--muted); margin-bottom: 2.5rem; }
.contact-form { display: flex; flex-direction: column; gap: 1.2rem; }
.contact-form input, .contact-form textarea { padding: 1.1rem; border-radius: 12px; border: 1px solid #cbd5e1; font-size: 0.95rem; font-family: inherit; transition: all 0.2s; }
.contact-form input:focus, .contact-form textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px rgba(37,99,235,0.08); }
.contact-form button { margin-top: 0.5rem; width: 100%; justify-content: center; }

/* Sub-hero Section and Tags */
.sub-tags { display: flex; flex-wrap: wrap; justify-content: center; gap: 1.5rem; margin: 3rem auto 1.5rem auto; font-weight: 600; font-size: 0.9rem; max-width: 900px; }
.tag { display: flex; align-items: center; gap: 0.5rem; color: var(--text); }
.tag-dot { width: 8px; height: 8px; border-radius: 50%; }
.tag-dot.blue { background: var(--accent); }
.tag-dot.orange { background: var(--accent-alt); }
.tag-dot.green { background: #10b981; }

/* Footer Marquee */
.marquee-container { overflow: hidden; white-space: nowrap; width: 100%; background: transparent; padding: 2.5rem 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); margin-top: auto; }
.marquee-track { display: inline-flex; animation: marquee-scroll 35s linear infinite; gap: 4rem; }
.marquee-item { font-size: 0.85rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.15em; color: var(--muted); display: flex; align-items: center; gap: 0.5rem; }
@keyframes marquee-scroll { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

/* Mobile adaptations */
@media (max-width: 1023px) {
  body { padding-top: 70px; }
  .float-art { display: none; }
  .hero-card { padding: 5rem 1.5rem; }
  .mobile-gallery { display: flex; gap: 1.5rem !important; margin-top: 2.5rem; justify-content: center; }
  .m-art { width: 120px; background: white; border: 1px solid var(--border); border-radius: 16px; padding: 0.5rem; box-shadow: 0 10px 20px rgba(0,0,0,0.03); }
  .m-art img { width: 100%; aspect-ratio: 1; border-radius: 10px; object-fit: cover; }
  .m-art span { display: block; font-size: 0.75rem; font-weight: 700; margin-top: 0.4rem; text-align: center; }
  
  /* Mobile Menu & Navigation Drawer */
  .mobile-menu-btn {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 24px;
    height: 18px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1001;
    padding: 0;
  }
  .mobile-menu-btn .bar {
    width: 100%;
    height: 2px;
    background-color: var(--text);
    border-radius: 2px;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  }
  .mobile-menu-btn.active .bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
    background-color: var(--text);
  }
  .mobile-menu-btn.active .bar:nth-child(2) {
    opacity: 0;
  }
  .mobile-menu-btn.active .bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
    background-color: var(--text);
  }
  
  .nav-container {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: var(--bg);
    border-left: 1px solid var(--border);
    flex-direction: column;
    padding: 6rem 2rem 2rem;
    gap: 2rem;
    transition: right 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 999;
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.03);
    display: none;
  }
  .nav-container.active {
    right: 0;
    display: flex !important;
  }
  .nav-container a {
    font-size: 1.1rem;
    font-weight: 600;
  }
  .btn-header {
    padding: 0.5rem 1rem;
    font-size: 0.8rem;
  }
  
  /* Typography Adjustments */
  h1 { font-size: clamp(2rem, 8vw, 2.8rem) !important; }
  .section-header h2, .about-text h2, .contact-card h2 { font-size: 1.85rem !important; }
  .section-header p { font-size: 0.95rem; }
  
  /* Padding and Card Refinements */
  .dark-section { padding: 4rem 1.5rem; }
  .showcase-layout, .calc-container { grid-template-columns: 1fr; gap: 3rem; }
  .phone-bezel { width: 260px; height: 520px; }
  .calc-glass-card { padding: 2rem 1.2rem; }
  .calc-section { padding: 4rem 1rem; width: calc(100% - 3rem); }
  .pricing-grid { grid-template-columns: 1fr; gap: 2rem; max-width: 450px; }
  
  .contact-card { padding: 2.5rem 1.5rem !important; }
  .price-card { padding: 2.5rem 1.5rem !important; }

  /* Responsive Button Enhancements */
  .hero-card .btn-group {
    flex-direction: column !important;
    align-items: center !important;
    width: 100% !important;
    gap: 0.8rem !important;
  }
  .hero-card .btn {
    width: 100% !important;
    max-width: 280px !important;
    justify-content: center !important;
  }
  
  .contact-form .btn-group {
    flex-direction: column !important;
    width: 100% !important;
    gap: 0.8rem !important;
  }
  .contact-form .btn-group .btn {
    width: 100% !important;
    justify-content: center !important;
    flex: none !important;
  }
}
@media (min-width: 1024px) { .mobile-gallery { display: none; } }
.glow-mesh { position: absolute; top: 15%; left: 5%; width: 350px; height: 350px; background: radial-gradient(circle, rgba(37,99,235,0.06) 0%, transparent 70%); pointer-events: none; z-index: -1; }
