/* =============================================
   SamGenie EduShelf — Premium Stylesheet
   All custom styles for the promotional website
   ============================================= */

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

:root {
    --primary: #FF6B00;
    --primary-dark: #E05F00;
}

body {
    font-family: 'Inter', system_ui, -apple-system, sans-serif;
}

.heading-font {
    font-family: 'Poppins', system_ui, -apple-system, sans-serif;
    font-weight: 700;
    letter-spacing: -0.04em;
}

.premium-gradient {
    background: linear-gradient(135deg, #111827 0%, #1E2937 100%);
}

.section-header {
    font-size: 2.1rem;
    line-height: 1.15;
    font-weight: 800;
    letter-spacing: -0.025em;
}

@media (min-width: 768px) {
    .section-header {
        font-size: 2.75rem;
    }
}

.nav-glass {
    background: rgba(255,255,255, 0.92);
    backdrop-filter: blur(20px);
}

.premium-card {
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    border: 1px solid #e2e8f0;
    padding: 1.5rem;
}

@media (min-width: 768px) {
    .premium-card {
        padding: 2rem;
    }
}

.premium-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 25px 50px -12px rgb(15 23 42 / 0.15), 
               0 10px 10px -6px rgb(15 23 42 / 0.1);
    border-color: #fed7aa;
}

.phone-frame {
    box-shadow: 0 25px 50px -12px rgb(15 23 42 / 0.3),
                0 0 0 8px #111827,
                0 0 0 14px #0f172a,
                inset 0 0 0 1px #334155;
    border-radius: 2.75rem;
    overflow: hidden;
    position: relative;
    transition: transform 0.4s cubic-bezier(0.23, 1.0, 0.32, 1), 
               box-shadow 0.4s cubic-bezier(0.23, 1.0, 0.32, 1);
}

@media (max-width: 767px) {
    .phone-frame {
        width: 240px !important;
        height: 480px !important;
        border-radius: 2.5rem;
        box-shadow: 0 20px 40px -12px rgb(15 23 42 / 0.3),
                    0 0 0 6px #111827,
                    0 0 0 11px #0f172a;
    }
}

.phone-frame:hover {
    transform: scale(1.03) translateY(-6px);
    box-shadow: 0 40px 90px -15px rgb(15 23 42 / 0.4),
                0 0 0 12px #111827,
                0 0 0 18px #0f172a;
}

.phone-frame::before {
    content: '';
    position: absolute;
    top: 14px;
    left: 50%;
    transform: translateX(-50%);
    width: 130px;
    height: 32px;
    background: #111827;
    border-radius: 9999px;
    z-index: 30;
    box-shadow: inset 0 2px 4px rgb(255 255 255 / 0.1);
}

.phone-frame::after {
    content: '';
    position: absolute;
    bottom: 18px;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 4px;
    background: #334155;
    border-radius: 9999px;
    z-index: 30;
}

.screenshot-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.feature-icon {
    width: 54px;
    height: 54px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 9999px;
    background: linear-gradient(145deg, #FF6B00, #F59E0B);
    box-shadow: 0 10px 15px -3px rgb(249 115 22 / 0.3);
    transition: transform 0.3s ease;
}

.premium-card:hover .feature-icon {
    transform: scale(1.1) rotate(3deg);
}

.nav-scrolled {
    box-shadow: 0 10px 15px -3px rgb(15 23 42 / 0.08),
                0 4px 6px -4px rgb(15 23 42 / 0.08);
}

.modern-gradient {
    background: linear-gradient(90deg, #FF6B00, #F59E0B);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1.05;
}

.learning-card {
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

.learning-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 25px -12px rgb(15 23 42 / 0.12);
}

.premium-btn {
    transition: all 0.3s cubic-bezier(0.23, 1, 0.32, 1);
    box-shadow: 0 10px 15px -3px rgb(249 115 22 / 0.35), 
               0 4px 6px -4px rgb(249 115 22 / 0.3);
    position: relative;
    overflow: hidden;
    font-size: 0.95rem;
    padding-top: 0.85rem;
    padding-bottom: 0.85rem;
}

@media (min-width: 768px) {
    .premium-btn {
        font-size: 1rem;
        padding-top: 1rem;
        padding-bottom: 1rem;
    }
}

.premium-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 25px -5px rgb(249 115 22 / 0.45), 
               0 10px 10px -5px rgb(249 115 22 / 0.4);
}

.premium-btn:active {
    transform: scale(0.985);
}

.premium-btn::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 60%;
    height: 300%;
    background: linear-gradient(
        120deg,
        transparent,
        rgba(255,255,255,0.4),
        transparent
    );
    transition: 0.6s;
}

.premium-btn:hover::after {
    left: 150%;
}

.nav-link {
    transition: all 0.2s ease;
    position: relative;
}

.nav-link:hover {
    color: #FF6B00;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: #FF6B00;
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.glass {
    background: rgba(255,255,255, 0.95);
    backdrop-filter: blur(16px);
}

.section-divider {
    height: 1px;
    background: linear-gradient(to right, transparent, #e2e8f0, transparent);
}

.stat-value {
    font-weight: 800;
    line-height: 1;
    font-size: 2.25rem;
}

.app-section {
    scroll-margin-top: 90px;
}

.premium-shadow {
    box-shadow: 0 25px 50px -12px rgb(15 23 42 / 0.15),
                0 10px 10px -6px rgb(15 23 42 / 0.1);
}

.metric-label {
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: -.015em;
}

.hero-text-shadow {
    text-shadow: 0 4px 12px rgb(15 23 42 / 0.2);
}

/* Mobile Floating Button */
@media (max-width: 1024px) {
    .floating-download {
        display: flex;
    }
}
