/* ============================================================
   BDMU — AI-Powered Digital Marketing, Udaipur
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=Playfair+Display:ital,wght@0,700;1,700&display=swap');

:root {
    --bg: #F7F4F0;
    --bg-card: #FFFFFF;
    --bg-elevated: #EDEAE5;
    --text: #1A1A1A;
    --text-soft: #2D2D2D;
    --text-muted: #7A7A7A;
    --accent: #4F46E5;
    --accent-light: rgba(79,70,229,0.08);
    --accent-glow: rgba(79,70,229,0.15);
    --border: rgba(26,26,26,0.08);
    --radius: 16px;
    --font: 'Inter', -apple-system, sans-serif;
    --serif: 'Playfair Display', Georgia, serif;
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    background: var(--bg);
    color: var(--text-soft);
    font-family: var(--font);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    line-height: 1.6;
}
a { color: inherit; text-decoration: none; }
::selection { background: var(--accent); color: #fff; }

/* ============================================================
   NAV
   ============================================================ */
.nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 100;
    padding: 0 48px;
    height: 68px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(247,244,240,0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
}
.nav-logo {
    font-size: 1.05rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--text);
    display: flex;
    align-items: center;
    gap: 8px;
}
.nav-logo .dot {
    width: 7px; height: 7px;
    background: var(--accent);
    border-radius: 50%;
    display: inline-block;
    animation: pulse-dot 2.5s infinite;
}
@keyframes pulse-dot {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}
.nav-links {
    display: flex;
    gap: 32px;
    list-style: none;
}
.nav-links a {
    font-size: 0.82rem;
    font-weight: 500;
    color: var(--text-muted);
    transition: color 0.25s;
}
.nav-links a:hover { color: var(--text); }
.nav-cta {
    font-size: 0.78rem;
    font-weight: 600;
    padding: 10px 22px;
    background: var(--accent);
    color: #fff;
    border-radius: 100px;
    transition: all 0.3s;
}
.nav-cta:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 16px var(--accent-glow);
}
.nav-toggle {
    display: none;
    background: none; border: none;
    cursor: pointer; color: var(--text);
}
.nav-toggle svg { width: 22px; height: 22px; }

/* ============================================================
   HERO
   ============================================================ */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 140px 48px 100px;
    position: relative;
    overflow: hidden;
}
.hero::before {
    content: '';
    position: absolute;
    top: -100px; right: -150px;
    width: 500px; height: 500px;
    background: radial-gradient(circle, var(--accent-light) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}
.hero::after {
    content: '';
    position: absolute;
    bottom: -50px; left: -100px;
    width: 350px; height: 350px;
    background: radial-gradient(circle, rgba(79,70,229,0.04) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px;
    background: var(--accent-light);
    border: 1px solid rgba(79,70,229,0.12);
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--accent);
    width: fit-content;
    margin-bottom: 32px;
    letter-spacing: 0.02em;
}
.hero-badge .badge-dot {
    width: 6px; height: 6px;
    background: var(--accent);
    border-radius: 50%;
    animation: pulse-dot 2s infinite;
}

.hero h1 {
    font-size: clamp(2.8rem, 7vw, 5.5rem);
    font-weight: 900;
    letter-spacing: -0.04em;
    line-height: 0.95;
    margin-bottom: 24px;
    max-width: 850px;
    color: var(--text);
}
.hero h1 em {
    font-family: var(--serif);
    font-style: italic;
    color: var(--accent);
}
.hero-sub {
    font-size: clamp(1rem, 2vw, 1.35rem);
    font-weight: 500;
    color: var(--text-muted);
    margin-bottom: 40px;
    display: flex;
    align-items: center;
    gap: 12px;
}
.hero-sub::before {
    content: '';
    width: 24px; height: 2px;
    background: var(--accent);
    flex-shrink: 0;
}
.hero-desc {
    font-size: 1.1rem;
    color: var(--text-muted);
    max-width: 500px;
    line-height: 1.8;
    margin-bottom: 48px;
}
.hero-actions {
    display: flex;
    gap: 16px;
    align-items: center;
    flex-wrap: wrap;
}
.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 36px;
    background: var(--accent);
    color: #fff;
    font-weight: 700;
    font-size: 0.88rem;
    border-radius: 100px;
    border: none;
    cursor: pointer;
    transition: all 0.3s;
    font-family: var(--font);
}
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 28px var(--accent-glow);
}
.btn-primary svg { width: 18px; height: 18px; }
.btn-ghost {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 16px 32px;
    border: 1.5px solid var(--border);
    color: var(--text);
    font-weight: 600;
    font-size: 0.85rem;
    border-radius: 100px;
    transition: all 0.3s;
}
.btn-ghost:hover { border-color: var(--text-muted); }

/* Scrolling ticker */
.hero-ticker {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    border-top: 1px solid var(--border);
    overflow: hidden;
    height: 48px;
    display: flex;
    align-items: center;
}
.ticker-track {
    display: flex;
    white-space: nowrap;
    animation: ticker 35s linear infinite;
    gap: 40px;
}
.ticker-track span {
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 10px;
}
.ticker-track span::after {
    content: '◆';
    color: var(--accent);
    font-size: 0.4rem;
    opacity: 0.5;
}
@keyframes ticker {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}

/* ============================================================
   STATS BAR
   ============================================================ */
.stats-bar {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    border-bottom: 1px solid var(--border);
}
.stat-item {
    padding: 48px 32px;
    text-align: center;
    border-right: 1px solid var(--border);
}
.stat-item:last-child { border-right: none; }
.stat-num {
    font-size: clamp(1.8rem, 3.5vw, 3rem);
    font-weight: 900;
    letter-spacing: -0.03em;
    color: var(--text);
    line-height: 1;
    margin-bottom: 8px;
}
.stat-label {
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--text-muted);
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

/* ============================================================
   SERVICES
   ============================================================ */
.section {
    padding: 120px 48px;
}
.section-label {
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 16px;
}
.section-title {
    font-size: clamp(1.8rem, 3.5vw, 2.8rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.15;
    margin-bottom: 16px;
    color: var(--text);
}
.section-title em {
    font-family: var(--serif);
    font-style: italic;
    color: var(--accent);
}
.section-subtitle {
    font-size: 1.05rem;
    color: var(--text-muted);
    max-width: 520px;
    line-height: 1.7;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 56px;
}
.service-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 40px 32px;
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    cursor: default;
    position: relative;
    overflow: hidden;
}
.service-card:hover {
    border-color: rgba(79,70,229,0.15);
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.04);
}
.service-icon {
    width: 48px; height: 48px;
    background: var(--accent-light);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    margin-bottom: 24px;
}
.service-card h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text);
    letter-spacing: -0.01em;
    margin-bottom: 10px;
}
.service-card p {
    font-size: 0.88rem;
    color: var(--text-muted);
    line-height: 1.7;
}
.service-card .ai-tag {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    margin-top: 16px;
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--accent);
    letter-spacing: 0.05em;
}

/* ============================================================
   HOW AI WORKS — visual flow
   ============================================================ */
.ai-flow {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    margin-top: 56px;
    position: relative;
}
.ai-flow::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 80px; right: 80px;
    height: 1px;
    background: var(--border);
    z-index: 0;
}
.flow-step {
    text-align: center;
    position: relative;
    z-index: 1;
    padding: 0 24px;
}
.flow-num {
    width: 56px; height: 56px;
    border-radius: 50%;
    background: var(--bg-card);
    border: 2px solid var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--accent);
    margin: 0 auto 20px;
}
.flow-step h3 {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 8px;
}
.flow-step p {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.65;
}

/* ============================================================
   CTA
   ============================================================ */
.cta-section {
    text-align: center;
    padding: 120px 48px;
    position: relative;
}
.cta-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at center, var(--accent-light) 0%, transparent 60%);
    pointer-events: none;
}
.cta-section h2 {
    font-size: clamp(2rem, 4.5vw, 3.5rem);
    font-weight: 900;
    letter-spacing: -0.03em;
    line-height: 1.1;
    margin-bottom: 16px;
    color: var(--text);
}
.cta-section h2 em {
    font-family: var(--serif);
    font-style: italic;
    color: var(--accent);
}
.cta-section p {
    font-size: 1.05rem;
    color: var(--text-muted);
    max-width: 440px;
    margin: 0 auto 40px;
    line-height: 1.7;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
    border-top: 1px solid var(--border);
    padding: 56px 48px 28px;
}
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 48px;
}
.footer-brand h3 {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--text);
    margin-bottom: 10px;
}
.footer-brand p {
    font-size: 0.84rem;
    color: var(--text-muted);
    line-height: 1.7;
    max-width: 260px;
}
.footer-col h4 {
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 14px;
}
.footer-col ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 9px;
}
.footer-col a {
    font-size: 0.85rem;
    color: var(--text-muted);
    transition: color 0.2s;
}
.footer-col a:hover { color: var(--text); }
.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 24px;
    border-top: 1px solid var(--border);
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* ============================================================
   REVEAL
   ============================================================ */
.reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}
.reveal:nth-child(2) { transition-delay: 0.06s; }
.reveal:nth-child(3) { transition-delay: 0.12s; }
.reveal:nth-child(4) { transition-delay: 0.18s; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .ai-flow { grid-template-columns: 1fr; gap: 32px; }
    .ai-flow::before { display: none; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 768px) {
    .nav { padding: 0 20px; }
    .nav-links { display: none; }
    .nav-toggle { display: block; }
    .section { padding: 80px 20px; }
    .hero { padding: 120px 20px 80px; }
    .stats-bar { grid-template-columns: repeat(2, 1fr); }
    .stat-item { padding: 32px 16px; }
    .services-grid { grid-template-columns: 1fr; }
    .cta-section { padding: 80px 20px; }
    .footer { padding: 40px 20px 20px; }
    .footer-grid { grid-template-columns: 1fr; gap: 28px; }
    .footer-bottom { flex-direction: column; gap: 6px; text-align: center; }
}
