@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@300;400;600;700;900&family=Tajawal:wght@400;500;700;800&display=swap');

:root {
    --primary: #0C3708;
    --primary-light: #1a5c12;
    --accent: #F26D00;
    --accent-light: #FF8D29;
    --white: #ffffff;
    --bg-light: #f8fafc;
    --text-main: #0f172a;
    --text-muted: #64748b;
    --glass: rgba(255, 255, 255, 0.85);
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --feature-card-bg: var(--white);
    --body-bg: #fdfdfd;
}

[data-theme="dark"] {
    --white: #1e293b;
    --bg-light: #0f172a;
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    --glass: rgba(15, 23, 42, 0.9);
    --feature-card-bg: #1e293b;
    --body-bg: #020617;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: 'Cairo', 'Tajawal', sans-serif;
    color: var(--text-main);
    background-color: var(--body-bg);
    line-height: 1.8;
    overflow-x: hidden;
    scroll-behavior: smooth;
}

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* Navbar */
nav {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 1200px;
    padding: 15px 30px;
    z-index: 1000;
    background: var(--glass);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 25px;
    transition: var(--transition);
    box-shadow: var(--shadow-md);
}

nav.scrolled {
    top: 10px;
    width: 95%;
    padding: 12px 30px;
    background: var(--glass);
    box-shadow: var(--shadow-lg);
    border-color: rgba(12, 55, 8, 0.1);
}

.nav-content { display: flex; justify-content: space-between; align-items: center; }
.logo { display: flex; align-items: center; gap: 12px; text-decoration: none; font-weight: 900; font-size: 1.5rem; color: var(--primary); }
.logo img { height: 45px; width: 45px; border-radius: 12px; background: none; padding: 0; box-shadow: 0 5px 15px rgba(12, 55, 8, 0.2); }

.nav-links { display: flex; align-items: center; gap: 20px; list-style: none; }
.nav-links a { text-decoration: none; color: var(--text-main); font-weight: 700; font-size: 0.95rem; padding: 8px 12px; transition: 0.3s; border-radius: 10px; }
.nav-links a:hover { background: rgba(12, 55, 8, 0.05); color: var(--primary); }

.nav-actions { display: flex; align-items: center; gap: 15px; }
.theme-btn { background: none; border: none; color: var(--text-main); font-size: 1.2rem; cursor: pointer; transition: 0.3s; width: 40px; height: 40px; border-radius: 12px; display: flex; align-items: center; justify-content: center; }
.theme-btn:hover { background: rgba(0,0,0,0.05); }

.menu-toggle { display: none; background: none; border: none; color: var(--text-main); font-size: 1.5rem; cursor: pointer; }

.btn-download-nav {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: white !important; padding: 10px 22px; border-radius: 15px; text-decoration: none; font-weight: 800; font-size: 0.9rem;
    box-shadow: 0 4px 15px rgba(12, 55, 8, 0.2); transition: 0.3s;
}
.btn-download-nav:hover { transform: translateY(-3px); box-shadow: 0 8px 20px rgba(12, 55, 8, 0.3); }

/* Hero Section */
.hero {
    min-height: 100vh; padding: 160px 0 100px; display: flex; align-items: center;
    background: radial-gradient(circle at 10% 20%, rgba(12, 55, 8, 0.05) 0%, transparent 50%),
                radial-gradient(circle at 90% 80%, rgba(242, 109, 0, 0.05) 0%, transparent 50%);
    position: relative; overflow: hidden;
}
.hero::after { content: ''; position: absolute; top: 20%; right: 10%; width: 400px; height: 400px; background: var(--primary); filter: blur(150px); opacity: 0.05; z-index: -1; }

.hero-content { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 60px; align-items: center; }
.hero-text h1 { font-size: clamp(2.5rem, 6vw, 3.8rem); line-height: 1.2; font-weight: 900; color: var(--primary); margin-bottom: 25px; }
.hero-text h1 span { color: var(--accent); display: block; }
.hero-text p { font-size: 1.2rem; color: var(--text-muted); margin-bottom: 40px; max-width: 550px; }

.badge-new { display: inline-block; padding: 6px 16px; background: rgba(242, 109, 0, 0.1); color: var(--accent); border-radius: 30px; font-weight: 800; font-size: 0.85rem; margin-bottom: 20px; border: 1px solid rgba(242, 109, 0, 0.2); }

.download-btns { display: flex; gap: 15px; flex-wrap: wrap; }
.btn-store {
    display: inline-flex; align-items: center; gap: 14px; background: #000; color: white;
    padding: 12px 24px; border-radius: 18px; text-decoration: none; transition: var(--transition);
    border: 1px solid rgba(255,255,255,0.15); box-shadow: var(--shadow-md);
}
.btn-store:hover { transform: translateY(-5px); border-color: var(--accent); }

/* Dual Phone Mockups */
.hero-image { position: relative; height: 600px; width: 100%; display: flex; justify-content: center; align-items: center; }
.dual-phones { position: relative; width: 100%; max-width: 400px; height: 550px; }
.phone-container { position: absolute; width: 250px; filter: drop-shadow(0 30px 60px rgba(0,0,0,0.15)); }
.main-phone { z-index: 2; left: 0; top: 0; animation: floatMain 6s ease-in-out infinite; }
.secondary-phone { z-index: 1; right: 0; top: 100px; transform: scale(0.9); animation: floatSec 6s ease-in-out infinite 1s; }
.phone-label { position: absolute; top: -30px; left: 50%; transform: translateX(-50%); background: var(--accent); color: white; padding: 5px 15px; border-radius: 10px; font-weight: 800; font-size: 0.8rem; z-index: 10; }

@keyframes floatMain { 0%, 100% { transform: translateY(0) rotate(-2deg); } 50% { transform: translateY(-20px) rotate(1deg); } }
@keyframes floatSec { 0%, 100% { transform: translateY(0) rotate(2deg) scale(0.9); } 50% { transform: translateY(-15px) rotate(-1deg) scale(0.9); } }

.phone-mockup { width: 100%; padding: 10px; background: #1a1a1a; border-radius: 40px; border: 3px solid #333; position: relative; }
.phone-screen { width: 100%; aspect-ratio: 9/19.5; border-radius: 32px; overflow: hidden; background: #000; }
.phone-screen img { width: 100%; height: 100%; object-fit: cover; }

/* Daily Inspiration */
.daily-inspiration { padding: 40px 0; margin-top: -60px; position: relative; z-index: 5; }
.quote-card { background: var(--white); padding: 40px; border-radius: 35px; text-align: center; border: 1px solid rgba(0,0,0,0.05); box-shadow: var(--shadow-md); max-width: 800px; margin: 0 auto; transition: var(--transition); }
.quote-card:hover { transform: scale(1.02); box-shadow: var(--shadow-lg); }
.quote-icon { font-size: 2.5rem; color: var(--primary); opacity: 0.15; margin-bottom: 15px; }
#inspiration-text { font-size: 1.5rem; font-weight: 800; color: var(--primary); margin-bottom: 10px; }
#inspiration-source { font-size: 0.9rem; color: var(--text-muted); font-weight: 600; }

/* Prayer Times Section */
.prayer-times-section { padding: 30px 0; margin-bottom: 50px; }
.prayer-bar {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: white; border-radius: 30px; padding: 25px 40px; display: flex; align-items: center;
    justify-content: space-between; gap: 30px; flex-wrap: wrap; box-shadow: var(--shadow-lg);
}
.location-info { display: flex; align-items: center; gap: 12px; font-weight: 700; font-size: 1.1rem; }
.location-info i { font-size: 1.5rem; color: var(--accent); }
.times-container { display: flex; gap: 25px; flex-grow: 1; justify-content: center; }
.prayer-time-item { text-align: center; background: rgba(255,255,255,0.1); padding: 10px 20px; border-radius: 20px; min-width: 90px; }
.prayer-time-item.active { background: var(--accent); box-shadow: 0 5px 15px rgba(242, 109, 0, 0.4); }
.prayer-time-item span { display: block; font-weight: 800; font-size: 1.1rem; }
.prayer-time-item small { opacity: 0.8; font-weight: 600; }
.next-prayer-box { text-align: left; border-right: 1px solid rgba(255,255,255,0.2); padding-right: 30px; min-width: 150px; }
[dir="rtl"] .next-prayer-box { text-align: right; border-right: none; border-left: 1px solid rgba(255,255,255,0.2); padding-right: 0; padding-left: 30px; }
.next-prayer-box small { font-weight: 700; opacity: 0.8; text-transform: uppercase; letter-spacing: 1px; }
#next-prayer-name { font-size: 1.5rem; font-weight: 900; color: var(--accent-light); margin-top: -5px; }
#next-prayer-countdown { font-family: monospace; font-size: 1.2rem; font-weight: 700; }

/* Features Section */
.section-padding { padding: 100px 0; }
.section-title { text-align: center; margin-bottom: 80px; max-width: 750px; margin-inline: auto; }
.section-title h2 { font-size: 3rem; font-weight: 900; color: var(--primary); margin-bottom: 20px; }
.section-title p { color: var(--text-muted); font-size: 1.1rem; }

.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }
.feature-card {
    background: var(--feature-card-bg); padding: 45px 35px; border-radius: 40px;
    border: 1px solid rgba(0,0,0,0.03); transition: var(--transition);
}
.feature-card:hover { transform: translateY(-10px); border-color: var(--primary); box-shadow: var(--shadow-lg); }
.feature-icon { width: 75px; height: 75px; background: rgba(12, 55, 8, 0.05); border-radius: 22px; display: flex; align-items: center; justify-content: center; font-size: 2.2rem; color: var(--primary); margin-bottom: 25px; transition: 0.3s; }
.feature-card:hover .feature-icon { background: var(--primary); color: white; transform: rotate(10deg); }
.feature-card h3 { font-size: 1.5rem; font-weight: 800; margin-bottom: 15px; color: var(--text-main); }
.feature-card p { font-size: 1rem; color: var(--text-muted); }

/* Steps Section */
.steps-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 30px; }
.step-card {
    background: var(--white); padding: 40px; border-radius: 30px; text-align: center;
    position: relative; border: 1px solid rgba(0,0,0,0.03); transition: var(--transition);
}
.step-card:hover { transform: translateY(-10px); box-shadow: var(--shadow-lg); }
.step-number {
    width: 60px; height: 60px; background: var(--primary); color: white; border-radius: 50%;
    display: flex; align-items: center; justify-content: center; font-size: 1.5rem; font-weight: 900;
    margin: 0 auto 20px; box-shadow: 0 10px 20px rgba(12, 55, 8, 0.2);
}
.step-card h3 { font-size: 1.4rem; color: var(--primary); margin-bottom: 15px; }
.step-card p { color: var(--text-muted); }

/* Stats Section */
.stats-section { padding: 80px 0; background: rgba(12, 55, 8, 0.02); border-radius: 50px; margin: 40px 24px; }
.stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 30px; text-align: center; }
.stat-number { font-size: 3.2rem; font-weight: 900; color: var(--accent); margin-bottom: 5px; }
.stat-label { font-size: 1.1rem; font-weight: 700; color: var(--primary); }

/* Interactive Preview */
.preview-container { background: var(--white); padding: 50px; border-radius: 50px; box-shadow: var(--shadow-lg); border: 1px solid rgba(0,0,0,0.03); }
.preview-tabs { display: flex; gap: 12px; margin-bottom: 40px; justify-content: center; flex-wrap: wrap; }
.tab-btn { padding: 12px 25px; border-radius: 15px; border: 1px solid rgba(0,0,0,0.05); background: var(--bg-light); cursor: pointer; font-weight: 700; transition: 0.3s; color: var(--text-main); }
.tab-btn.active { background: var(--primary); color: white; }
.tab-panel { display: none; grid-template-columns: 1fr 0.8fr; gap: 40px; align-items: center; }
.tab-panel.active { display: grid; animation: fadeIn 0.5s ease; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
.panel-info h3 { font-size: 2.2rem; font-weight: 900; color: var(--primary); margin-bottom: 20px; }
.panel-info p { font-size: 1.1rem; color: var(--text-muted); margin-bottom: 25px; }
.panel-list { list-style: none; }
.panel-list li { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; font-weight: 700; }
.panel-list i { color: #4ade80; }
.panel-image { display: flex; justify-content: center; }
.panel-image img { width: 100%; max-width: 280px; border-radius: 30px; box-shadow: var(--shadow-lg); }

/* AI Chat Experience - SIDE BY SIDE & COMPACT */
.ai-demo-section { background: radial-gradient(circle at 100% 0%, rgba(12, 55, 8, 0.03) 0%, transparent 50%); }
.ai-demo-wrapper {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 80px;
    align-items: center;
    background: var(--white);
    padding: 60px;
    border-radius: 50px;
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(0,0,0,0.03);
}

.ai-demo-info h2 { font-size: 2.8rem; font-weight: 900; color: var(--primary); margin-bottom: 20px; }
.ai-demo-info p { font-size: 1.2rem; color: var(--text-muted); margin-bottom: 35px; }

.ai-features-minimal { display: flex; flex-direction: column; gap: 15px; }
.ai-f-item { display: flex; align-items: center; gap: 12px; font-weight: 800; color: var(--primary); }
.ai-f-item i { color: var(--accent); font-size: 1.2rem; }

/* Compact iOS Chat Frame */
.main-chat-frame { width: 320px; height: 580px; }
.phone-frame-ios { width: 100%; height: 100%; background: #000; border: 10px solid #1a1a1a; border-radius: 45px; position: relative; overflow: hidden; display: flex; flex-direction: column; box-shadow: 0 30px 60px rgba(0,0,0,0.2); }
.phone-inner-content { flex: 1; background: #fff; border-radius: 35px; overflow: hidden; display: flex; flex-direction: column; position: relative; }

.ios-status-bar { height: 35px; padding: 0 25px; display: flex; justify-content: space-between; align-items: flex-end; font-size: 0.75rem; font-weight: 700; background: #fff; padding-bottom: 5px; }
.ios-icons { display: flex; gap: 5px; }

.chat-interface { flex: 1; display: flex; flex-direction: column; overflow: hidden; background: #f0f2f5; }
.chat-header-minimal { background: #fff; padding: 10px 15px; display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid #eee; }
.ai-profile { display: flex; align-items: center; gap: 10px; }
.ai-profile img { width: 35px; height: 35px; border-radius: 50%; }
.ai-status strong { display: block; font-size: 0.85rem; }
.online-status { font-size: 0.65rem; color: #666; display: flex; align-items: center; gap: 3px; }
.online-status .dot { width: 5px; height: 6px; background: #4ade80; border-radius: 50%; }

.chat-messages-area { flex: 1; padding: 15px; overflow-y: auto; display: flex; flex-direction: column; gap: 10px; background: #e5ddd5 url('https://user-images.githubusercontent.com/15075759/28719144-86dc0f70-73b1-11e7-911d-60d70fcded21.png'); background-size: cover; scrollbar-width: none; }
.msg-bubble { max-width: 85%; padding: 8px 12px; border-radius: 12px; font-size: 0.8rem; line-height: 1.4; position: relative; box-shadow: 0 1px 2px rgba(0,0,0,0.1); }
.msg-bubble.ai { align-self: flex-start; background: #fff; border-bottom-left-radius: 2px; }
.msg-bubble.user { align-self: flex-end; background: var(--primary); color: #fff; border-bottom-right-radius: 2px; }
.msg-bubble .time { display: block; font-size: 0.6rem; margin-top: 3px; opacity: 0.6; }

.chat-suggestions-bar { padding: 8px 0; background: #fff; }
.suggestions-scroll { display: flex; gap: 6px; padding: 0 10px; overflow-x: auto; scrollbar-width: none; }
.suggest-chip { white-space: nowrap; padding: 6px 12px; background: #f8fafc; border: 1px solid #e2e8f0; border-radius: 15px; font-size: 0.7rem; font-weight: 700; color: var(--primary); cursor: pointer; }

.chat-input-footer { padding: 10px 10px 20px; background: #fff; }
.input-container { display: flex; align-items: center; background: #f1f5f9; border-radius: 20px; padding: 4px 4px 4px 10px; }
.input-container input { flex: 1; border: none; background: none; padding: 8px; font-family: inherit; font-size: 0.8rem; }
.send-btn { width: 32px; height: 32px; border-radius: 50%; border: none; background: var(--primary); color: #fff; }

.ios-notch { position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: 140px; height: 25px; background: #1a1a1a; border-bottom-left-radius: 15px; border-bottom-right-radius: 15px; z-index: 20; }
.ios-home-bar { position: absolute; bottom: 6px; left: 50%; transform: translateX(-50%); width: 100px; height: 4px; background: rgba(0,0,0,0.1); border-radius: 10px; }

/* App Screenshots Slider */
.screenshots { background: radial-gradient(circle at center, rgba(12, 55, 8, 0.03) 0%, transparent 70%); overflow: hidden; padding-bottom: 150px; }
.screenshots-slider { width: 100%; padding-top: 50px; padding-bottom: 80px; }
.screenshot-slide { width: 300px; height: auto; transition: var(--transition); }
.phone-mockup-wrapper { position: relative; width: 100%; aspect-ratio: 9/19; perspective: 1000px; }
.phone-frame-sc { width: 100%; height: 100%; background: #080808; border: 8px solid #1a1a1a; border-radius: 40px; box-shadow: 0 20px 50px rgba(0,0,0,0.3); position: relative; overflow: hidden; }
.phone-screen-inner img { width: 100%; height: 100%; object-fit: cover; }

.screenshot-label-container { text-align: center; margin-top: -30px; min-height: 100px; }
#current-ss-title { font-size: 2rem; font-weight: 900; color: var(--primary); margin-bottom: 10px; }
#current-ss-desc { color: var(--text-muted); font-size: 1.1rem; max-width: 600px; margin: 0 auto; }

/* Testimonials */
.testimonials-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 30px; }
.testimonial-card { background: var(--white); padding: 35px; border-radius: 30px; box-shadow: var(--shadow-md); border: 1px solid rgba(0,0,0,0.03); display: flex; flex-direction: column; gap: 20px; }
.stars { color: #facc15; font-size: 0.9rem; }
.user-info { display: flex; align-items: center; gap: 15px; margin-top: auto; }
.user-avatar { width: 50px; height: 50px; border-radius: 50%; background: var(--primary); color: white; display: flex; align-items: center; justify-content: center; font-weight: 900; font-size: 1.2rem; }

/* FAQ */
.faq-container { max-width: 800px; margin: 0 auto; }
.faq-item { background: var(--white); margin-bottom: 15px; border-radius: 20px; border: 1px solid rgba(0,0,0,0.05); overflow: hidden; transition: var(--transition); }
.faq-question { padding: 22px 30px; display: flex; justify-content: space-between; align-items: center; cursor: pointer; font-weight: 800; font-size: 1.1rem; color: var(--primary); }
.faq-answer { padding: 0 30px; max-height: 0; overflow: hidden; transition: 0.4s ease; color: var(--text-muted); line-height: 1.7; }
.faq-item.active .faq-answer { padding: 0 30px 25px; max-height: 200px; border-top: 1px solid rgba(0,0,0,0.02); }

/* Download Section */
.cta { background: linear-gradient(135deg, #051403 0%, #0C3708 100%); border-radius: 60px; margin: 80px 24px; padding: 100px 40px; text-align: center; color: white; position: relative; overflow: hidden; }
.cta h2 { font-size: 3rem; font-weight: 900; margin-bottom: 20px; }
.cta p { font-size: 1.2rem; opacity: 0.9; margin-bottom: 40px; }

/* Footer Improved Design */
footer {
    background: #051403;
    color: #cbd5e1;
    padding: 100px 0 40px;
    position: relative;
    overflow: hidden;
}

/* Background Decoration for Footer */
footer::before {
    content: '';
    position: absolute;
    top: -50px;
    left: 50%;
    transform: translateX(-50%);
    width: 120%;
    height: 100px;
    background: #051403;
    border-radius: 50%;
    z-index: 1;
}

.footer-top {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 60px;
    margin-bottom: 60px;
    position: relative;
    z-index: 2;
}

.footer-brand {
    display: flex;
    flex-direction: column;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 15px;
    color: white;
    text-decoration: none;
    font-weight: 900;
    font-size: 2.2rem;
    margin-bottom: 25px;
}

.footer-logo img {
    height: 55px;
    width: 55px;
    border-radius: 14px;
    background: var(--primary);
    padding: 6px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.3);
}

.footer-brand p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #94a3b8;
    margin-bottom: 30px;
}

.footer-links h4 {
    color: white;
    font-size: 1.3rem;
    font-weight: 800;
    margin-bottom: 30px;
    position: relative;
}

.footer-links h4::after {
    content: '';
    position: absolute;
    bottom: -8px;
    right: 0;
    width: 40px;
    height: 3px;
    background: var(--accent);
    border-radius: 2px;
}

.footer-links ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.footer-links ul li a {
    color: #94a3b8;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-links ul li a:hover {
    color: var(--accent-light);
    transform: translateX(-8px);
}

.footer-links ul li a i {
    font-size: 0.8rem;
    opacity: 0.6;
}

.social-grid {
    display: flex;
    gap: 15px;
}

.social-circle {
    width: 45px;
    height: 45px;
    border-radius: 14px;
    background: rgba(255,255,255,0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: var(--transition);
    border: 1px solid rgba(255,255,255,0.1);
}

.social-circle:hover {
    background: var(--accent);
    transform: translateY(-8px) rotate(8deg);
    border-color: var(--accent);
    box-shadow: 0 10px 20px rgba(242, 109, 0, 0.3);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.05);
    padding-top: 40px;
    text-align: center;
    font-size: 1rem;
    color: #64748b;
    position: relative;
    z-index: 2;
}

.footer-bottom strong {
    color: white;
}

/* Typing indicator */
.typing-dot { display: flex; gap: 4px; padding: 10px 14px; align-self: flex-start; background: #fff; border-radius: 12px; margin-bottom: 5px; }
.typing-dot span { width: 6px; height: 6px; background: #ccc; border-radius: 50%; animation: type 1s infinite; }
.typing-dot span:nth-child(2) { animation-delay: 0.2s; }
.typing-dot span:nth-child(3) { animation-delay: 0.4s; }
@keyframes type { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.3); } }

/* Animations */
.animate-pop { animation: pop 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275); }
@keyframes pop { from { transform: scale(0.8); opacity: 0; } to { transform: scale(1); opacity: 1; } }

[data-aos] { opacity: 0; transform: translateY(30px); transition: 0.8s; }
[data-aos].aos-animate { opacity: 1; transform: translateY(0); }

/* Responsive */
@media (max-width: 1024px) {
    .footer-top {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
    .hero-text h1 { font-size: 3rem; }
}

@media (max-width: 992px) {
    .hero-content { grid-template-columns: 1fr; text-align: center; gap: 40px; }
    .hero-text { display: flex; flex-direction: column; align-items: center; }
    .hero-text p { margin-inline: auto; }
    .hero-image { height: 450px; margin-top: 40px; }
    .ai-demo-wrapper { grid-template-columns: 1fr; text-align: center; padding: 40px 25px; gap: 40px; }
    .phone-frame-container { order: -1; display: flex; justify-content: center; }
}

@media (max-width: 768px) {
    nav {
        width: 92%;
        padding: 12px 20px;
        top: 15px;
        border-radius: 20px;
    }

    .nav-links {
        position: absolute;
        top: calc(100% + 10px);
        left: 0;
        width: 100%;
        background: var(--glass);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 25px;
        gap: 10px;
        border-radius: 20px;
        box-shadow: var(--shadow-lg);
        border: 1px solid rgba(12, 55, 8, 0.1);
        display: none;
        opacity: 0;
        transform: translateY(-10px);
        transition: var(--transition);
    }

    .nav-links.active {
        display: flex;
        opacity: 1;
        transform: translateY(0);
    }

    .nav-links a {
        width: 100%;
        text-align: center;
        padding: 12px;
        font-size: 1.1rem;
    }

    .menu-toggle { display: block; order: 3; }
    .btn-download-nav { display: none; }

    .hero { padding-top: 140px; padding-bottom: 60px; }
    .hero-text h1 { font-size: 2.4rem; }

    .dual-phones { max-width: 320px; height: 450px; margin: 0 auto; }
    .main-phone { width: 200px; left: 50%; transform: translateX(-50%) !important; animation: none; }
    .secondary-phone { display: none; }

    .section-padding { padding: 60px 0; }
    .section-title h2 { font-size: 2.2rem; }

    .features-grid { grid-template-columns: 1fr; }
    .stat-item { border-bottom: 1px solid rgba(0,0,0,0.05); padding-bottom: 20px; }
    .stat-item:last-child { border-bottom: none; }
}

@media (max-width: 600px) {
    .footer-top {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }
    .footer-logo, .footer-links h4::after {
        justify-content: center;
        left: 50% !important;
        right: auto !important;
        transform: translateX(-50%);
    }
    .footer-links ul li a {
        justify-content: center;
    }
    .social-grid {
        justify-content: center;
    }
    .cta { padding: 60px 20px; border-radius: 35px; margin: 40px 15px; }
    .cta h2 { font-size: 2rem; }
    .stat-number { font-size: 2.8rem; }

    .quote-card { padding: 30px 20px; border-radius: 25px; }
    #inspiration-text { font-size: 1.2rem; }
}
