/* ============================================
   MIHRAB - Landing Page CSS
   Modern, Hybrid Theme, Mobile-First
   ============================================ */

:root {
    --primary: #1F7A5C;
    --primary-light: #2A9F77;
    --primary-dark: #145440;
    --primary-darker: #0E3D2E;
    --accent: #E8B14F;
    --accent-light: #F4CB7A;
    --accent-dark: #C89535;
    
    --bg: #FFFFFF;
    --bg-soft: #F9FAFB;
    --bg-cream: #FAFAF7;
    
    --text: #0A0A0A;
    --text-2: #1F2937;
    --text-muted: #6B7280;
    --text-light: #9CA3AF;
    
    --border: #E5E7EB;
    --border-soft: #F3F4F6;
    
    --dark-bg: #0A1F1A;
    --dark-bg-2: #0E3D2E;
    
    --radius-sm: 8px;
    --radius: 16px;
    --radius-lg: 24px;
    --radius-xl: 32px;
    
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.04);
    --shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 16px 48px rgba(0, 0, 0, 0.10);
    --shadow-xl: 0 24px 64px rgba(0, 0, 0, 0.15);
}

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

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

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

img {
    max-width: 100%;
    display: block;
}

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

/* ============================================
   HEADER
============================================ */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    transition: all 0.3s;
    padding: 16px 0;
}

.site-header.scrolled {
    background: rgba(10, 31, 26, 0.85);
    backdrop-filter: saturate(180%) blur(20px);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    padding: 12px 0;
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.08);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    color: white;
    text-decoration: none;
    font-weight: 700;
    font-size: 20px;
    letter-spacing: -0.02em;
}

.logo img {
    width: 36px;
    height: 36px;
    border-radius: 8px;
}

.nav {
    display: flex;
    gap: 32px;
    align-items: center;
}

.nav a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-weight: 500;
    font-size: 15px;
    transition: color 0.2s;
}

.nav a:hover {
    color: white;
}

.btn-header {
    background: white;
    color: var(--primary-dark);
    padding: 10px 20px;
    border-radius: 100px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.2s;
}

.btn-header:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 20px rgba(255, 255, 255, 0.2);
}

/* ============================================
   HERO
============================================ */
.hero {
    position: relative;
    padding: 140px 0 120px;
    background: linear-gradient(180deg, #0A1F1A 0%, #0E3D2E 50%, #1F7A5C 100%);
    color: white;
    overflow: hidden;
    isolation: isolate;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: -1;
    background-image: 
        radial-gradient(circle at 20% 30%, rgba(232, 177, 79, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(31, 122, 92, 0.4) 0%, transparent 50%);
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100' height='100'%3E%3Cpath d='M0 0h100v100H0z' fill='none'/%3E%3Cpath d='M50 5 L50 95 M5 50 L95 50' stroke='rgba(255,255,255,0.02)' stroke-width='1'/%3E%3C/svg%3E");
    z-index: -1;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    color: white;
    padding: 8px 16px;
    border-radius: 100px;
    font-size: 13px;
    font-weight: 500;
    margin-bottom: 24px;
}

.badge-pulse {
    width: 8px;
    height: 8px;
    background: var(--accent);
    border-radius: 50%;
    box-shadow: 0 0 0 0 var(--accent);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(232, 177, 79, 0.7); }
    70% { box-shadow: 0 0 0 12px rgba(232, 177, 79, 0); }
    100% { box-shadow: 0 0 0 0 rgba(232, 177, 79, 0); }
}

.hero h1 {
    font-size: clamp(40px, 6vw, 72px);
    line-height: 1.05;
    font-weight: 800;
    letter-spacing: -0.03em;
    margin-bottom: 24px;
}

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

.hero-subtitle {
    font-size: 19px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 40px;
    max-width: 540px;
}

.hero-buttons {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.store-button {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: black;
    color: white;
    padding: 12px 24px;
    border-radius: 14px;
    text-decoration: none;
    transition: all 0.2s;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.store-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.4);
}

.store-button.google {
    background: white;
    color: black;
}

.store-button.coming-soon {
    pointer-events: auto;
    opacity: 0.85;
}

.store-button span {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    line-height: 1.2;
}

.store-button small {
    font-size: 11px;
    font-weight: 500;
    opacity: 0.7;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.store-button strong {
    font-size: 17px;
    font-weight: 600;
}

.hero-meta {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
}

.meta-item svg {
    color: var(--accent);
}

/* ============================================
   PHONE MOCKUP
============================================ */
.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    perspective: 1000px;
}

.phone-frame {
    width: 320px;
    height: 660px;
    background: #1A1A1A;
    border-radius: 50px;
    padding: 14px;
    box-shadow: 
        0 30px 60px rgba(0, 0, 0, 0.4),
        0 0 0 2px rgba(255, 255, 255, 0.05);
    position: relative;
    transform: rotate(-3deg) translateZ(0);
}

.phone-notch {
    position: absolute;
    top: 14px;
    left: 50%;
    transform: translateX(-50%);
    width: 110px;
    height: 28px;
    background: #1A1A1A;
    border-radius: 0 0 16px 16px;
    z-index: 10;
}

.phone-screen {
    width: 100%;
    height: 100%;
    background: var(--bg-cream);
    border-radius: 36px;
    overflow: hidden;
    position: relative;
    color: var(--text);
}

.screen-statusbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 24px 0;
    font-size: 13px;
    font-weight: 600;
}

.screen-statusbar .indicators {
    display: flex;
    gap: 4px;
    align-items: center;
    font-size: 11px;
}

.screen-content {
    padding: 32px 20px 20px;
}

.hicri-date {
    font-size: 12px;
    color: var(--text-muted);
    margin-bottom: 16px;
    text-align: left;
}

.next-prayer {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
    padding: 28px 24px;
    border-radius: 24px;
    text-align: center;
    margin-bottom: 16px;
    box-shadow: 0 8px 24px rgba(31, 122, 92, 0.3);
}

.next-prayer .label {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.12em;
    opacity: 0.85;
    display: block;
    margin-bottom: 8px;
}

.next-prayer h2 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 8px;
}

.time-big {
    font-size: 48px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: -0.02em;
    margin-bottom: 12px;
}

.countdown {
    background: rgba(255, 255, 255, 0.15);
    padding: 4px 12px;
    border-radius: 100px;
    font-size: 12px;
    display: inline-block;
}

.prayer-list {
    background: white;
    border-radius: 16px;
    padding: 4px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.prayer-row {
    display: flex;
    justify-content: space-between;
    padding: 10px 16px;
    font-size: 14px;
    border-bottom: 1px solid var(--border-soft);
}

.prayer-row:last-child {
    border-bottom: none;
}

.prayer-row.active {
    background: rgba(31, 122, 92, 0.08);
    color: var(--primary);
    font-weight: 600;
    border-radius: 12px;
}

.prayer-time {
    font-weight: 600;
}

.floating-card {
    position: absolute;
    background: white;
    border-radius: 16px;
    padding: 12px 16px;
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    gap: 12px;
    animation: float 6s ease-in-out infinite;
}

.floating-card.card-1 {
    top: 10%;
    left: -10%;
    animation-delay: 0s;
}

.floating-card.card-2 {
    bottom: 15%;
    right: -10%;
    animation-delay: 2s;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

.card-icon {
    width: 40px;
    height: 40px;
    background: rgba(31, 122, 92, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

.card-icon.green {
    background: rgba(232, 177, 79, 0.15);
}

.card-title {
    font-size: 12px;
    color: var(--text-muted);
    font-weight: 500;
}

.card-text {
    font-size: 16px;
    font-weight: 700;
    color: var(--text);
}

/* ============================================
   FEATURES
============================================ */
.features {
    padding: 120px 0;
    background: var(--bg);
}

.section-head {
    text-align: center;
    max-width: 680px;
    margin: 0 auto 80px;
}

.eyebrow {
    display: inline-block;
    color: var(--primary);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.section-head h2 {
    font-size: clamp(32px, 5vw, 48px);
    line-height: 1.1;
    font-weight: 800;
    letter-spacing: -0.025em;
    margin-bottom: 20px;
}

.section-head p {
    font-size: 19px;
    color: var(--text-muted);
    line-height: 1.6;
}

.features-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    grid-template-rows: auto auto auto;
    gap: 20px;
}

.feature-card {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 32px;
    transition: all 0.3s;
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow);
    border-color: var(--primary);
}

.feature-card.large {
    grid-column: span 1;
    grid-row: span 2;
    background: linear-gradient(180deg, rgba(31, 122, 92, 0.03) 0%, transparent 100%);
}

.feature-icon {
    width: 64px;
    height: 64px;
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    color: white;
}

.feature-icon.green-bg { background: var(--primary); }
.feature-icon.gold-bg { background: var(--accent); }
.feature-icon.blue-bg { background: #3B82F6; }
.feature-icon.purple-bg { background: #8B5CF6; }
.feature-icon.orange-bg { background: #F97316; }
.feature-icon.red-bg { background: #EF4444; }
.feature-icon.teal-bg { background: #14B8A6; }
.feature-icon.pink-bg { background: #EC4899; }

.feature-card h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
    letter-spacing: -0.01em;
}

.feature-card.large h3 {
    font-size: 26px;
}

.feature-card p {
    color: var(--text-muted);
    font-size: 15px;
    line-height: 1.6;
}

/* ============================================
   WHY MIHRAB
============================================ */
.why {
    padding: 120px 0;
    background: var(--bg-soft);
}

.why-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 80px;
    align-items: center;
}

.why-content h2 {
    font-size: clamp(32px, 5vw, 48px);
    line-height: 1.1;
    font-weight: 800;
    letter-spacing: -0.025em;
    margin-bottom: 20px;
}

.why-lead {
    font-size: 19px;
    color: var(--text-muted);
    margin-bottom: 40px;
    line-height: 1.6;
}

.why-points {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.why-point {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.check-icon {
    width: 32px;
    height: 32px;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.why-point strong {
    display: block;
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 4px;
}

.why-point span {
    color: var(--text-muted);
    font-size: 15px;
    line-height: 1.6;
}

.why-visual {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.why-stat {
    background: white;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px;
    text-align: center;
    transition: all 0.3s;
}

.why-stat:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow);
}

.stat-number {
    font-size: 56px;
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
    margin-bottom: 8px;
    letter-spacing: -0.03em;
}

.stat-label {
    font-size: 14px;
    color: var(--text-muted);
    font-weight: 500;
}

/* ============================================
   CTA
============================================ */
.cta {
    padding: 60px 0 120px;
}

.cta-card {
    background: linear-gradient(135deg, #0A1F1A 0%, #0E3D2E 50%, #1F7A5C 100%);
    border-radius: var(--radius-xl);
    padding: 80px 48px;
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
}

.cta-card::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(232, 177, 79, 0.2) 0%, transparent 70%);
    border-radius: 50%;
}

.cta-card::after {
    content: '';
    position: absolute;
    bottom: -100px;
    left: -100px;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(31, 122, 92, 0.3) 0%, transparent 70%);
    border-radius: 50%;
}

.cta-card h2 {
    font-size: clamp(32px, 5vw, 48px);
    font-weight: 800;
    letter-spacing: -0.025em;
    margin-bottom: 16px;
    position: relative;
}

.cta-card p {
    font-size: 19px;
    opacity: 0.85;
    margin-bottom: 40px;
    max-width: 540px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
    position: relative;
}

.newsletter {
    display: flex;
    gap: 12px;
    max-width: 480px;
    margin: 0 auto 32px;
    position: relative;
}

.newsletter input {
    flex: 1;
    padding: 16px 20px;
    border-radius: 14px;
    border: none;
    font-size: 15px;
    font-family: inherit;
    background: rgba(255, 255, 255, 0.95);
    color: var(--text);
}

.newsletter input:focus {
    outline: 2px solid var(--accent);
    background: white;
}

.newsletter button {
    padding: 16px 28px;
    border-radius: 14px;
    border: none;
    background: var(--accent);
    color: var(--text);
    font-weight: 700;
    font-size: 15px;
    cursor: pointer;
    transition: all 0.2s;
    font-family: inherit;
    white-space: nowrap;
}

.newsletter button:hover {
    background: var(--accent-light);
    transform: translateY(-1px);
}

.cta-stores {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
    position: relative;
}

/* ============================================
   CONTACT
============================================ */
.contact {
    padding: 120px 0;
    background: var(--bg-soft);
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    max-width: 900px;
    margin: 0 auto;
}

.contact-card {
    background: white;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 40px 28px;
    text-align: center;
    text-decoration: none;
    color: var(--text);
    transition: all 0.3s;
}

.contact-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow);
    border-color: var(--primary);
}

.contact-icon {
    width: 56px;
    height: 56px;
    background: rgba(31, 122, 92, 0.1);
    color: var(--primary);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.contact-card h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 8px;
}

.contact-card p {
    color: var(--primary);
    font-weight: 500;
    font-size: 15px;
}

/* ============================================
   FOOTER
============================================ */
.footer {
    background: #0A1F1A;
    color: rgba(255, 255, 255, 0.7);
    padding: 80px 0 32px;
}

.footer-top {
    display: grid;
    grid-template-columns: 2fr 3fr;
    gap: 64px;
    margin-bottom: 48px;
}

.footer-brand p {
    margin-top: 16px;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.6;
    max-width: 320px;
}

.footer-logo span {
    color: white;
}

.footer-cols {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.footer-col h4 {
    color: white;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 20px;
}

.footer-col a {
    display: block;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    margin-bottom: 12px;
    font-size: 14px;
    transition: color 0.2s;
}

.footer-col a:hover {
    color: white;
}

.footer-bottom {
    padding-top: 32px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.5);
}

.footer-disclaimer {
    font-size: 12px;
}

/* ============================================
   RESPONSIVE
============================================ */
@media (max-width: 1024px) {
    .hero-content {
        gap: 48px;
    }
    
    .features-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .feature-card.large {
        grid-column: span 2;
        grid-row: span 1;
    }
}

/* ============================================
   RESPONSIVE FIXES
============================================ */
@media (max-width: 1024px) {
    .hero-content {
        gap: 48px;
    }
    
    .features-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .feature-card.large {
        grid-column: span 2;
        grid-row: span 1;
    }
}

@media (max-width: 768px) {
    .nav {
        display: none;
    }
    
    .btn-header {
        padding: 8px 14px;
        font-size: 13px;
    }
    
    .hero {
        padding: 100px 0 60px;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        gap: 48px;
        text-align: center;
    }
    
    .hero h1 {
        font-size: 40px;
    }
    
    .hero-subtitle {
        margin: 0 auto 32px;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .hero-meta {
        justify-content: center;
    }
    
    .phone-frame {
        transform: rotate(0deg) scale(0.9);
    }
    
    .floating-card {
        display: none;
    }
    
    .features {
        padding: 80px 0;
    }
    
    .section-head {
        margin-bottom: 56px;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .feature-card.large {
        grid-column: span 1;
    }
    
    .why {
        padding: 80px 0;
    }
    
    .why-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    /* Tablet/Mobil için taşma önleyici istatistik ayarları */
    .why-stat {
        padding: 20px 16px; /* İç boşluğu daralttık */
    }

    .stat-number {
        font-size: 40px; /* Yazı boyutunu makul bir seviyeye çektik */
    }
    
    .cta-card {
        padding: 60px 28px;
    }
    
    .newsletter {
        flex-direction: column;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-top {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .footer-cols {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 20px;
    }
    
    .hero h1 {
        font-size: 36px;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .store-button {
        width: 100%;
        justify-content: center;
    }

    /* Tam mobil cihazlarda (büyük sayıların sığması için) kutuları alt alta alıyoruz */
    .why-visual {
        grid-template-columns: 1fr; 
        gap: 12px;
    }
    
    .footer-cols {
        grid-template-columns: 1fr;
    }
}
