/* ============================================
   Praveenya — Company Profile Design System
   Modern, Clean, Stunning
   ============================================ */

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

/* --- CSS Variables --- */
:root {
    --primary: #0F172A;
    --primary-light: #1E293B;
    --secondary: #EAB308;
    --accent: #3B82F6;
    --accent-dark: #2563EB;
    --purple: #8B5CF6;
    --cyan: #06B6D4;
    --emerald: #10B981;
    --rose: #F43F5E;
    --bg-white: #FFFFFF;
    --bg-soft: #F8FAFC;
    --bg-muted: #F1F5F9;
    --text-main: #1E293B;
    --text-muted: #64748B;
    /* Darkened from #94A3B8 to clear WCAG AA (4.5:1) on white for helper/hint text */
    --text-light: #6B7A90;
    --border-color: #E2E8F0;
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 10px 25px -5px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 25px 50px -12px rgba(0, 0, 0, 0.12);
    --shadow-glow: 0 0 40px rgba(59, 130, 246, 0.15);
    --transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-bounce: all 0.6s cubic-bezier(0.68, -0.6, 0.32, 1.6);
    --transition-smooth: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* --- Reset --- */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background-color: var(--bg-white);
    color: var(--text-main);
    line-height: 1.7;
    overflow-x: hidden;
}

/* --- Typography --- */
h1, h2, h3, h4, h5 {
    font-family: 'Outfit', sans-serif;
    color: var(--text-main);
    line-height: 1.15;
    letter-spacing: -0.02em;
}

h1 { font-size: clamp(2.5rem, 5vw, 4.5rem); font-weight: 800; margin-bottom: 24px; }
h2 { font-size: clamp(2rem, 4vw, 3.25rem); font-weight: 800; margin-bottom: 20px; }
h3 { font-size: clamp(1.25rem, 2vw, 1.75rem); font-weight: 700; margin-bottom: 14px; }
h4 { font-size: 1.125rem; font-weight: 600; margin-bottom: 10px; }

p {
    margin-bottom: 1.25rem;
    font-size: 1.0625rem;
    line-height: 1.7;
    color: var(--text-muted);
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul { list-style: none; }

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

/* --- Keyboard focus visibility (WCAG 2.4.7) --- */
a:focus-visible,
button:focus-visible,
.menu-btn:focus-visible,
.showcase-feature:focus-visible,
.faq-question:focus-visible,
.scroll-top:focus-visible,
.form-control:focus-visible,
[role="button"]:focus-visible {
    outline: 3px solid var(--accent);
    outline-offset: 3px;
    border-radius: 6px;
}

/* On dark sections, brighten the ring so it stays visible */
.showcase .showcase-feature:focus-visible,
.download-cta a:focus-visible,
footer a:focus-visible {
    outline-color: #C4B5FD;
}

/* --- Layout --- */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.section-padding {
    padding: 120px 0;
}

.text-center { text-align: center; }

.section-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.08), rgba(139, 92, 246, 0.08));
    color: var(--accent);
    border-radius: 100px;
    font-weight: 600;
    font-size: 0.85rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-bottom: 20px;
    border: 1px solid rgba(59, 130, 246, 0.12);
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 16px;
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--text-muted);
    margin-bottom: 60px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* --- Gradient Text --- */
.text-gradient {
    background: linear-gradient(135deg, var(--accent), var(--purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
}

.text-gradient-gold {
    background: linear-gradient(135deg, var(--secondary), #F59E0B);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
}

/* ============================================
   HEADER & NAVIGATION
   ============================================ */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 18px 0;
    z-index: 1000;
    transition: var(--transition);
}

header.scrolled {
    padding: 12px 0;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.06);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    font-size: 1.5rem;
    color: var(--primary);
    text-decoration: none;
    letter-spacing: -0.5px;
    z-index: 1001;
}

.logo img {
    height: 34px;
    width: auto;
    object-fit: contain;
    border-radius: 8px;
}

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

.nav-links a {
    font-weight: 500;
    color: var(--text-muted);
    font-size: 0.9rem;
    padding: 8px 16px;
    border-radius: 10px;
    transition: var(--transition);
}

.nav-links a:hover {
    color: var(--accent);
    background: rgba(59, 130, 246, 0.06);
}

.nav-links .btn {
    margin-left: 8px;
}

/* The nav CTA is a filled button: keep its label white in both the default and
   hover states, and preserve its gradient on hover. Without this the generic
   `.nav-links a` (muted) and `.nav-links a:hover` (accent + tint) rules win on
   specificity and render the "Institution Login" text invisible on the gradient. */
.nav-links a.btn-primary,
.nav-links a.btn-primary:hover {
    color: #fff;
    background: linear-gradient(135deg, var(--accent), var(--accent-dark));
}

/* Hamburger Menu */
.menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    z-index: 1001;
    padding: 8px;
    background: none;
    border: none;
}

.menu-btn span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--primary);
    border-radius: 2px;
    transition: var(--transition);
}

.menu-btn.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.menu-btn.open span:nth-child(2) { opacity: 0; }
.menu-btn.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ============================================
   BUTTONS
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: 14px;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    font-family: 'Inter', sans-serif;
    letter-spacing: -0.01em;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent), var(--accent-dark));
    color: white;
    position: relative;
    overflow: hidden;
    z-index: 1;
    box-shadow: 0 4px 14px rgba(59, 130, 246, 0.3);
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: linear-gradient(135deg, var(--accent-dark), var(--purple));
    z-index: -1;
    transition: opacity 0.4s ease;
    opacity: 0;
}

.btn-primary:hover::before { opacity: 1; }

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.4);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--border-color);
    color: var(--text-main);
}

.btn-outline:hover {
    border-color: var(--accent);
    color: var(--accent);
    background: rgba(59, 130, 246, 0.04);
}

.btn-secondary {
    background: var(--secondary);
    color: var(--primary);
    box-shadow: 0 4px 14px rgba(234, 179, 8, 0.3);
}

.btn-secondary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(234, 179, 8, 0.4);
}

.btn-ghost {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
}

.btn-ghost:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.4);
}

.btn-lg {
    padding: 18px 36px;
    font-size: 1.05rem;
    border-radius: 16px;
}

/* ============================================
   ANIMATIONS & REVEALS
   ============================================ */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.reveal-left {
    opacity: 0;
    transform: translateX(-40px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-left.active {
    opacity: 1;
    transform: translateX(0);
}

.reveal-right {
    opacity: 0;
    transform: translateX(40px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-right.active {
    opacity: 1;
    transform: translateX(0);
}

.reveal-scale {
    opacity: 0;
    transform: scale(0.9);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-scale.active {
    opacity: 1;
    transform: scale(1);
}

/* Stagger delays */
.delay-1 { transition-delay: 100ms !important; }
.delay-2 { transition-delay: 200ms !important; }
.delay-3 { transition-delay: 300ms !important; }
.delay-4 { transition-delay: 400ms !important; }

/* Floating animation */
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-16px); }
}

.floating { animation: float 6s ease-in-out infinite; }

/* Pulse */
@keyframes pulse-ring {
    0% { box-shadow: 0 0 0 0 rgba(59, 130, 246, 0.4); }
    70% { box-shadow: 0 0 0 20px rgba(59, 130, 246, 0); }
    100% { box-shadow: 0 0 0 0 rgba(59, 130, 246, 0); }
}

/* Gradient shift */
@keyframes gradient-shift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Blob drift */
@keyframes drift {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(40px, -40px) scale(1.1); }
}

/* Spin slow */
@keyframes spin-slow {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* ============================================
   DECORATIVE ELEMENTS
   ============================================ */
.blob {
    position: absolute;
    filter: blur(80px);
    z-index: 0;
    opacity: 0.3;
    animation: drift 14s infinite alternate cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 50%;
    pointer-events: none;
}

.blob-1 {
    top: -10%; left: -5%;
    width: 400px; height: 400px;
    background: var(--accent);
}

.blob-2 {
    bottom: -10%; right: -5%;
    width: 500px; height: 500px;
    background: var(--purple);
    opacity: 0.2;
}

.grid-bg {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(59, 130, 246, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(59, 130, 246, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    pointer-events: none;
}

/* ============================================
   CARDS
   ============================================ */
.card {
    padding: 36px;
    background: white;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.card:hover {
    border-color: rgba(59, 130, 246, 0.2);
    box-shadow: var(--shadow-md);
}

.card-hover-effect {
    position: relative;
    overflow: hidden;
    background: white;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    padding: 36px;
    transition: var(--transition);
}

.card-hover-effect:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px -12px rgba(0, 0, 0, 0.1);
    border-color: rgba(59, 130, 246, 0.2);
}

.card-icon {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    font-size: 1.5rem;
    transition: var(--transition);
}

.card-icon-blue {
    background: rgba(59, 130, 246, 0.08);
    color: var(--accent);
}

.card-icon-purple {
    background: rgba(139, 92, 246, 0.08);
    color: var(--purple);
}

.card-icon-emerald {
    background: rgba(16, 185, 129, 0.08);
    color: var(--emerald);
}

.card-icon-gold {
    background: rgba(234, 179, 8, 0.08);
    color: var(--secondary);
}

.card-icon-cyan {
    background: rgba(6, 182, 212, 0.08);
    color: var(--cyan);
}

.card-icon-rose {
    background: rgba(244, 63, 94, 0.08);
    color: var(--rose);
}

/* ============================================
   GRIDS
   ============================================ */
.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

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

.grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 100px;
    overflow: hidden;
    background: linear-gradient(160deg, #f8fafc 0%, #eef2ff 40%, #f0f9ff 100%);
}

.hero-content {
    max-width: 620px;
}

.hero h1 {
    font-size: clamp(2.75rem, 5.5vw, 4.5rem);
    line-height: 1.05;
    margin-bottom: 24px;
}

.hero p {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 36px;
    line-height: 1.7;
}

.hero-btns {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

/* Store Badges */
.store-badges {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

.store-badge {
    height: 48px;
    transition: var(--transition);
    border-radius: 8px;
}

.store-badge:hover {
    transform: translateY(-3px);
    filter: brightness(1.05);
}

/* ============================================
   STATS BAR
   ============================================ */
.stats-bar {
    background: var(--primary);
    padding: 60px 0;
    position: relative;
    overflow: hidden;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    text-align: center;
}

.stat-item {
    color: white;
}

.stat-number {
    font-family: 'Outfit', sans-serif;
    font-size: clamp(2rem, 3vw, 3rem);
    font-weight: 800;
    color: white;
    line-height: 1.2;
    margin-bottom: 6px;
}

.stat-label {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
    font-weight: 500;
}

/* ============================================
   FEATURE SECTION
   ============================================ */
.feature-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    margin-bottom: 120px;
}

.feature-row:last-child {
    margin-bottom: 0;
}

.feature-row.reverse {
    direction: rtl;
}

.feature-row.reverse > * {
    direction: ltr;
}

.feature-visual {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    aspect-ratio: 4/3;
    background: var(--bg-soft);
}

.feature-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.feature-visual:hover img {
    transform: scale(1.03);
}

.feature-list {
    margin-top: 24px;
}

.feature-list-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 16px;
}

.feature-list-icon {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: rgba(16, 185, 129, 0.1);
    color: var(--emerald);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 0.75rem;
    margin-top: 2px;
}

.feature-list-item p {
    margin: 0;
    font-size: 1rem;
    color: var(--text-muted);
}

/* ============================================
   TECH PILLS
   ============================================ */
.tech-pill {
    display: inline-block;
    padding: 6px 16px;
    background: var(--bg-muted);
    border-radius: 100px;
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--text-muted);
    margin-right: 8px;
    margin-bottom: 8px;
    border: 1px solid var(--border-color);
}

/* ============================================
   PRODUCT CARDS (Project page)
   ============================================ */
.product-card {
    padding: 48px;
    background: white;
    border-radius: var(--radius-xl);
    border: 1px solid var(--border-color);
    display: flex;
    gap: 60px;
    align-items: center;
    margin-bottom: 40px;
    transition: var(--transition);
}

.product-card:hover {
    border-color: rgba(59, 130, 246, 0.15);
    box-shadow: var(--shadow-lg);
}

.product-card.reverse {
    flex-direction: row-reverse;
}

.product-info {
    flex: 1.2;
}

.product-media {
    flex: 1;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: var(--bg-soft);
}

.product-media img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.product-card:hover .product-media img {
    transform: scale(1.03);
}

/* ============================================
   QUOTE / TESTIMONIAL
   ============================================ */
.quote-box {
    background: white;
    border-left: 4px solid var(--accent);
    padding: 32px;
    border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
    font-size: 1.15rem;
    font-style: italic;
    color: var(--text-main);
    position: relative;
    box-shadow: var(--shadow-md);
}

.quote-box::before {
    content: '\201C';
    font-family: 'Outfit', sans-serif;
    font-size: 6rem;
    color: rgba(59, 130, 246, 0.08);
    position: absolute;
    top: -10px;
    left: 16px;
    line-height: 1;
}

/* ============================================
   FAQ
   ============================================ */
.faq-item {
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    margin-bottom: 12px;
    overflow: hidden;
    transition: var(--transition);
}

.faq-item:hover {
    border-color: rgba(59, 130, 246, 0.2);
}

.faq-question {
    font-size: 1.05rem;
    font-weight: 600;
    padding: 20px 24px;
    color: var(--text-main);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    transition: var(--transition);
    /* now a <button> — reset native chrome and fill the row */
    width: 100%;
    background: none;
    border: none;
    font-family: inherit;
    text-align: left;
}

.faq-question:hover {
    color: var(--accent);
}

.faq-question::after {
    content: '+';
    font-size: 1.5rem;
    font-weight: 300;
    color: var(--text-light);
    transition: var(--transition);
    flex-shrink: 0;
}

.faq-item.open .faq-question::after {
    transform: rotate(45deg);
    color: var(--accent);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1),
                padding 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.faq-item.open .faq-answer {
    max-height: 300px;
}

.faq-answer p {
    padding: 0 24px 20px;
    font-size: 0.95rem;
    margin: 0;
}

/* ============================================
   CONTACT
   ============================================ */
.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 40px;
    align-items: start;
}

.contact-info-block {
    background: var(--primary);
    color: white;
    padding: 48px;
    border-radius: var(--radius-xl);
    position: relative;
    overflow: hidden;
}

.contact-info-block h2 {
    color: white;
    margin-bottom: 32px;
}

.info-item {
    display: flex;
    gap: 16px;
    margin-bottom: 28px;
}

.info-icon {
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.info-item h4 {
    color: white;
    margin-bottom: 4px;
    font-size: 0.95rem;
}

.info-item p {
    opacity: 0.65;
    font-size: 0.9rem;
    margin: 0;
    color: white;
}

/* Forms */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    font-size: 0.9rem;
    color: var(--text-main);
}

.form-control {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    font-family: inherit;
    font-size: 0.95rem;
    transition: var(--transition);
    background: white;
    color: var(--text-main);
}

.form-control:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

textarea.form-control {
    min-height: 140px;
    resize: vertical;
}

/* ============================================
   PAGE HEADER (inner pages)
   ============================================ */
.page-header {
    padding: 160px 0 80px;
    text-align: center;
    background: linear-gradient(160deg, #f8fafc 0%, #eef2ff 40%, #f0f9ff 100%);
    position: relative;
    overflow: hidden;
}

.page-header h1 {
    margin-bottom: 12px;
}

.page-header p {
    color: var(--text-muted);
    font-size: 1.15rem;
}

/* ============================================
   CTA SECTION
   ============================================ */
.cta-section {
    background: var(--primary);
    padding: 100px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section h2 {
    color: white;
    margin-bottom: 16px;
}

.cta-section p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 36px;
}

/* ============================================
   FOOTER
   ============================================ */
footer {
    background: var(--primary);
    color: white;
    padding: 80px 0 40px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 60px;
}

.footer-logo {
    margin-bottom: 20px;
}

.footer-logo span {
    font-size: 1.4rem;
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    color: white;
}

.footer-info p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.95rem;
}

.footer-links h4 {
    color: white;
    margin-bottom: 20px;
    font-size: 0.95rem;
    letter-spacing: 0.02em;
}

.footer-links ul li {
    margin-bottom: 10px;
}

.footer-links ul li a {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
    transition: var(--transition);
}

.footer-links ul li a:hover {
    color: white;
    padding-left: 4px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 32px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.4);
}

.footer-bottom a {
    color: rgba(255, 255, 255, 0.6);
}

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

/* ============================================
   SCROLL TO TOP
   ============================================ */
.scroll-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 46px;
    height: 46px;
    background: var(--accent);
    color: white;
    border: none;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition);
    z-index: 999;
    font-size: 1.1rem;
    box-shadow: 0 4px 14px rgba(59, 130, 246, 0.3);
}

.scroll-top.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-top:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.4);
}

/* ============================================
   ABOUT PAGE
   ============================================ */
.about-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-grid h2 {
    color: var(--text-main);
}

.about-grid p {
    font-size: 1.05rem;
}

.mv-card {
    text-align: center;
    padding: 40px 32px;
}

.mv-card h3 {
    margin-bottom: 16px;
}

.value-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 16px;
    text-align: left;
}

.value-icon {
    font-size: 1.4rem;
    flex-shrink: 0;
    margin-top: 2px;
}

/* ============================================
   COMPLAINT PAGE
   ============================================ */
.process-steps {
    display: flex;
    justify-content: space-between;
    margin-bottom: 40px;
    background: var(--bg-soft);
    padding: 20px;
    border-radius: var(--radius-md);
}

.step {
    text-align: center;
    flex: 1;
}

.step span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: var(--accent);
    color: white;
    border-radius: 50%;
    font-weight: 600;
    font-size: 0.85rem;
    margin-bottom: 8px;
}

.form-section-title {
    padding-bottom: 12px;
    border-bottom: 2px solid var(--accent);
    margin-bottom: 28px;
    display: inline-block;
}

#success-message {
    display: none;
    text-align: center;
    padding: 60px 20px;
}

.ref-badge {
    background: #D1FAE5;
    color: #065F46;
    padding: 12px 24px;
    border-radius: 10px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 1.4rem;
    font-weight: 700;
    display: inline-block;
    margin: 16px 0;
}

.honeypot {
    display: none;
}

/* ============================================
   MARQUEE / LOGOS
   ============================================ */
.marquee-track {
    display: flex;
    gap: 60px;
    animation: marquee 30s linear infinite;
    width: max-content;
}

@keyframes marquee {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

.marquee-item {
    font-family: 'Outfit', sans-serif;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-light);
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 12px;
    opacity: 0.4;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
    .grid-2, .feature-row { grid-template-columns: 1fr; gap: 40px; }
    .feature-row.reverse { direction: ltr; }
    .grid-4 { grid-template-columns: repeat(2, 1fr); }
    .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 30px; }
    .product-card, .product-card.reverse { flex-direction: column; padding: 36px; gap: 32px; }
    .about-grid { grid-template-columns: 1fr; }
    .contact-wrapper { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    .section-padding { padding: 80px 0; }
    .grid-3 { grid-template-columns: 1fr; }
    .grid-4 { grid-template-columns: 1fr; }

    /* Mobile nav */
    .nav-links {
        position: fixed;
        top: 0; left: 0;
        width: 100%; height: 100vh;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 8px;
        opacity: 0;
        visibility: hidden;
        transform: translateY(-20px);
        transition: var(--transition);
        z-index: 1000;
    }

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

    .nav-links a {
        font-size: 1.15rem;
        padding: 14px 32px;
    }

    .nav-links .btn {
        margin-left: 0;
        margin-top: 12px;
    }

    .menu-btn {
        display: flex;
    }

    /* Hero mobile */
    .hero {
        padding-top: 120px;
        padding-bottom: 60px;
        min-height: auto;
    }

    .hero-layout {
        flex-direction: column;
        text-align: center;
    }

    .hero-content {
        max-width: 100%;
    }

    .hero-btns, .store-badges {
        justify-content: center;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }

    .process-steps {
        flex-direction: column;
        gap: 12px;
    }
}

@media (max-width: 480px) {
    .container { padding: 0 16px; }
    h1 { font-size: 2.25rem; }
    h2 { font-size: 1.75rem; }
    .btn-lg { padding: 14px 28px; font-size: 0.95rem; }
    .stat-number { font-size: 1.75rem; }
}

/* ============================================
   FORMS — INLINE ERROR / LOADING / HINT
   ============================================ */
.form-error-banner {
    background: linear-gradient(135deg, rgba(244, 63, 94, 0.08), rgba(244, 63, 94, 0.04));
    border: 1px solid rgba(244, 63, 94, 0.25);
    color: #9f1239;
    padding: 12px 16px;
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 20px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    line-height: 1.5;
}

.form-error-banner::before {
    content: '';
    flex-shrink: 0;
    width: 18px;
    height: 18px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='%23e11d48' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cline x1='12' y1='8' x2='12' y2='12'/%3E%3Cline x1='12' y1='16' x2='12.01' y2='16'/%3E%3C/svg%3E") no-repeat center/contain;
    margin-top: 1px;
}

.form-hint {
    font-size: 0.8rem;
    color: var(--text-light);
    margin: 6px 0 0;
    text-align: right;
}

.form-control:invalid:not(:placeholder-shown) {
    border-color: rgba(244, 63, 94, 0.45);
}

.form-control:disabled {
    background: var(--bg-muted);
    cursor: not-allowed;
    opacity: 0.7;
}

/* Submit button with spinner */
.btn-submit {
    position: relative;
}

.btn-submit .btn-spinner {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 18px;
    height: 18px;
    margin-top: -9px;
    margin-left: -9px;
    border: 2px solid rgba(255, 255, 255, 0.35);
    border-top-color: white;
    border-radius: 50%;
    opacity: 0;
    animation: btn-spin 0.7s linear infinite;
    pointer-events: none;
}

.btn-submit.is-loading .btn-label { opacity: 0; }
.btn-submit.is-loading .btn-spinner { opacity: 1; }
.btn-submit.is-loading { cursor: wait; pointer-events: none; }

@keyframes btn-spin { to { transform: rotate(360deg); } }

/* Visually hidden (screen-reader + bot-visible) honeypot — safer than display:none */
.honeypot {
    position: absolute !important;
    left: -9999px !important;
    top: auto !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
}

/* ============================================
   HERO APP PREVIEW (real app screenshots)
   Renders are self-contained Play-Store slides
   (device + dark bg baked in) — present them as
   premium floating preview cards, not inside a
   CSS phone frame.
   ============================================ */
.hero-preview {
    position: relative;
    width: 460px;
    max-width: 100%;
    height: 600px;
    flex-shrink: 0;
}

.hero-shot {
    position: absolute;
    border-radius: 30px;
    box-shadow: 0 40px 80px -24px rgba(15, 23, 42, 0.45),
                0 0 0 1px rgba(15, 23, 42, 0.04);
    background: var(--primary);
}

.hero-shot-primary {
    width: 290px;
    top: 0;
    left: 50%;
    transform: translateX(-58%) rotate(-3deg);
    z-index: 2;
}

.hero-shot-secondary {
    width: 250px;
    top: 60px;
    left: 50%;
    transform: translateX(8%) rotate(5deg);
    z-index: 1;
    opacity: 0.96;
}

.hero-coin {
    position: absolute;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: linear-gradient(135deg, #FCD34D, #F59E0B);
    box-shadow: 0 10px 24px rgba(234, 179, 8, 0.4), inset 0 -4px 8px rgba(180, 83, 9, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #7C2D12;
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    font-size: 1.5rem;
    z-index: 3;
    animation: float 5s ease-in-out infinite;
}

.hero-coin-1 { top: 30px; right: 0; }
.hero-coin-2 { bottom: 40px; left: 0; width: 44px; height: 44px; font-size: 1.2rem; animation-delay: 1.2s; }

/* ============================================
   APP FEATURE SHOWCASE (dark, interactive)
   ============================================ */
.showcase {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(900px 500px at 15% 0%, rgba(139, 92, 246, 0.22), transparent 60%),
        radial-gradient(900px 600px at 100% 100%, rgba(59, 130, 246, 0.20), transparent 55%),
        #0B1120;
    color: white;
}

.showcase .section-title,
.showcase .section-subtitle { color: white; }
.showcase .section-subtitle { color: rgba(255, 255, 255, 0.55); }
.showcase .section-label {
    background: rgba(255, 255, 255, 0.06);
    color: #C4B5FD;
    border-color: rgba(255, 255, 255, 0.12);
}

.showcase-layout {
    display: grid;
    grid-template-columns: 1fr 0.85fr;
    gap: 56px;
    align-items: center;
    margin-top: 24px;
}

.showcase-features {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.showcase-feature {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 18px 20px;
    width: 100%;
    text-align: left;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    cursor: pointer;
    transition: var(--transition);
    color: white;
    font-family: inherit;
}

.showcase-feature:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.16);
    transform: translateY(-2px);
}

.showcase-feature.active {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.18), rgba(139, 92, 246, 0.18));
    border-color: rgba(139, 92, 246, 0.5);
    box-shadow: 0 12px 30px -10px rgba(139, 92, 246, 0.4);
}

.sf-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.08);
    color: #C4B5FD;
}

.showcase-feature.active .sf-icon {
    background: linear-gradient(135deg, var(--accent), var(--purple));
    color: white;
}

.showcase-feature h4 { color: white; margin: 0 0 3px; font-size: 1.02rem; }
.showcase-feature p { color: rgba(255, 255, 255, 0.55); margin: 0; font-size: 0.88rem; line-height: 1.5; }

.showcase-stage {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 600px;
}

.showcase-glow {
    position: absolute;
    width: 360px;
    height: 360px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.35), transparent 70%);
    filter: blur(20px);
    z-index: 0;
}

.showcase-shot {
    position: relative;
    z-index: 1;
    width: 300px;
    max-width: 84%;
    border-radius: 30px;
    box-shadow: 0 40px 90px -25px rgba(0, 0, 0, 0.7), 0 0 0 1px rgba(255, 255, 255, 0.06);
    transition: opacity 0.35s ease, transform 0.35s ease;
}

.showcase-shot.is-swapping { opacity: 0; transform: translateY(14px) scale(0.98); }

/* ============================================
   DOWNLOAD CTA
   ============================================ */
.download-cta {
    background:
        radial-gradient(700px 400px at 0% 0%, rgba(59, 130, 246, 0.25), transparent 60%),
        radial-gradient(700px 400px at 100% 100%, rgba(139, 92, 246, 0.22), transparent 60%),
        var(--primary);
    color: white;
    border-radius: var(--radius-xl);
    padding: 64px 48px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.download-cta h2 { color: white; }
.download-cta p { color: rgba(255, 255, 255, 0.6); }

.store-badge.is-soon {
    opacity: 0.55;
    pointer-events: none;
    position: relative;
}

/* Small "Coming soon" tag for store badges */
.badge-wrap { position: relative; display: inline-flex; }
.badge-wrap .soon-tag {
    position: absolute;
    top: -10px;
    right: -8px;
    background: var(--secondary);
    color: var(--primary);
    font-size: 0.62rem;
    font-weight: 800;
    padding: 2px 8px;
    border-radius: 100px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

/* Numbered step badge (Get started) */
.step-num {
    width: 56px;
    height: 56px;
    margin: 0 auto 20px;
    border-radius: 18px;
    background: linear-gradient(135deg, var(--accent), var(--purple));
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Outfit', sans-serif;
    font-size: 1.4rem;
    font-weight: 800;
    box-shadow: 0 8px 20px -6px rgba(59, 130, 246, 0.5);
}

/* ============================================
   TRUST STRIP
   ============================================ */
.trust-strip {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px;
    margin-top: 28px;
}

.trust-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 100px;
    font-size: 0.82rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.8);
}

.trust-pill svg { color: var(--emerald); flex-shrink: 0; }

/* ============================================
   SHOWCASE / HERO RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
    .showcase-layout { grid-template-columns: 1fr; gap: 36px; }
    .showcase-stage { min-height: auto; order: -1; }
    /* Collapse the hero to a single column across the whole tablet band
       (769–1024px) instead of only at ≤768px, where the rigid 460px phone
       block would otherwise squeeze the text column. */
    .hero-layout { flex-direction: column; text-align: center; }
    .hero-content { max-width: 100%; }
    .hero-btns, .store-badges { justify-content: center; }
    .hero-preview { margin: 0 auto; }
}

@media (max-width: 768px) {
    .hero-preview { width: 320px; height: 480px; }
    .hero-shot-primary { width: 220px; transform: translateX(-56%) rotate(-3deg); }
    .hero-shot-secondary { width: 185px; transform: translateX(2%) rotate(5deg); }
    .download-cta { padding: 48px 24px; }
    .showcase-shot { width: 250px; }
}

@media (max-width: 480px) {
    /* Keep the fanned phones inside the 16px-padded content box (≈288px) */
    .hero-preview { width: 100%; max-width: 300px; height: 430px; }
    .hero-shot-primary { width: 190px; transform: translateX(-54%) rotate(-3deg); }
    .hero-shot-secondary { width: 160px; transform: translateX(0) rotate(5deg); opacity: 0.9; }
    .hero-coin { width: 42px; height: 42px; font-size: 1.1rem; }
    .hero-coin-2 { width: 34px; height: 34px; font-size: 0.95rem; }
}

/* ============================================
   ACCESSIBILITY — reduced motion
   ============================================ */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.001ms !important;
        scroll-behavior: auto !important;
    }
    .reveal, .reveal-left, .reveal-right, .reveal-scale { opacity: 1 !important; transform: none !important; }
    .floating, .blob, .hero-coin { animation: none !important; }
}
