/* Stotra Vandana - minimal site styles */

:root {
    --bg: #FAF6EF;
    --bg-alt: #F1E9DB;
    --accent: #7A1F2B;
    --accent-dark: #5E1620;
    --text: #2B2420;
    --text-muted: #6B6055;
    --border: #E4DAC8;
    --max-width: 1080px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Noto Sans Devanagari", Arial, sans-serif;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
}

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

a:hover {
    color: var(--accent-dark);
}

img {
    max-width: 100%;
}

.container {
    width: 80%;
    max-width: 1400px;
    margin: 0 auto;
}

/* Header */

.site-header {
    border-bottom: 1px solid var(--border);
    background: var(--bg);
}

.site-header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 16px;
    padding-bottom: 16px;
    flex-wrap: wrap;
    gap: 12px;
}

.site-brand {
    display: flex;
    align-items: center;
    gap: 10px;
}

.site-brand img {
    width: 100px;
    height: 100px;
    object-fit: contain;
}

.site-brand span {
    font-size: 19px;
    font-weight: 600;
    color: var(--text);
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 28px;
    flex-wrap: wrap;
}

.site-nav a {
    color: var(--text);
    font-size: 15px;
}

.site-nav a:hover {
    color: var(--accent);
}

.btn-download-small {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 1px solid var(--accent);
    color: var(--accent);
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 14px;
}

.btn-download-small:hover {
    color: var(--accent-dark);
    border-color: var(--accent-dark);
}

.btn-download-small img {
    width: 18px;
    height: 18px;
}

/* Hero */

.hero {
    padding: 56px 0;
}

.hero-row {
    display: flex;
    align-items: center;
    gap: 48px;
}

.hero-text {
    flex: 0 0 40%;
    max-width: 40%;
    text-align: left;
}

.hero-text h1 {
    font-size: 36px;
    margin: 0 0 16px;
    font-weight: 700;
    color: var(--text);
}

.hero-text p {
    font-size: 17px;
    color: var(--text-muted);
    margin: 0 0 28px;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--accent);
    color: #fff;
    padding: 13px 26px;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
}

.btn-primary:hover {
    background: var(--accent-dark);
    color: #fff;
}

.btn-primary img {
    width: 20px;
    height: 20px;
}

.hero-visual {
    flex: 1 1 60%;
    max-width: 60%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-visual-inner {
    position: relative;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.phone-frame {
    position: relative;
    z-index: 1;
    width: 45%;
    max-width: 343px;
    min-width: 238px;
    aspect-ratio: 720 / 1480;
    border: 10px solid var(--text);
    border-radius: 36px;
    background: #fff;
    overflow: hidden;
    box-shadow: 0 24px 54px rgba(43, 36, 32, 0.2);
}

.phone-slider {
    position: relative;
    width: 100%;
    height: 100%;
}

.phone-slider .slide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.6s ease;
}

.phone-slider .slide.is-active {
    opacity: 1;
}

.slider-dots {
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 18px;
}

.slider-dots .dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--border);
    border: none;
    padding: 0;
    cursor: pointer;
}

.slider-dots .dot.is-active {
    background: var(--accent);
}

/* Sections */

section {
    padding: 64px 0;
}

.section-alt {
    background: var(--bg-alt);
}

.section-title {
    text-align: center;
    margin: 0 0 44px;
}

.section-title h2 {
    font-size: 28px;
    margin: 0 0 10px;
    font-weight: 700;
}

.section-title p {
    color: var(--text-muted);
    margin: 0;
    font-size: 15px;
}

/* Features */

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

.feature-card {
    text-align: center;
    padding: 8px;
}

.feature-icon {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: var(--bg);
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    font-size: 22px;
    color: var(--accent);
}

.feature-card h3 {
    font-size: 17px;
    margin: 0 0 8px;
}

.feature-card p {
    font-size: 14px;
    color: var(--text-muted);
    margin: 0;
}

/* About */

.about-content {
    max-width: 720px;
    margin: 0 auto;
    text-align: center;
}

.about-content p {
    color: var(--text-muted);
    font-size: 16px;
}

/* Contact */

.contact-content {
    max-width: 480px;
    margin: 0 auto;
    text-align: center;
}

.contact-content .contact-line {
    font-size: 16px;
    margin: 10px 0;
}

.contact-content .contact-line span {
    color: var(--text-muted);
    display: inline-block;
    min-width: 70px;
    font-weight: 600;
    color: var(--text);
}

/* Bottom CTA */

.cta-band {
    text-align: center;
    background: var(--accent);
    color: #fff;
    padding: 56px 0;
}

.cta-band h2 {
    margin: 0 0 12px;
    font-size: 26px;
}

.cta-band p {
    margin: 0 0 28px;
    color: #f2dede;
}

.cta-band .btn-primary {
    background: #fff;
    color: var(--accent);
}

.cta-band .btn-primary:hover {
    background: var(--bg-alt);
}

/* Back to top */

.back-to-top {
    position: fixed;
    right: 24px;
    bottom: 24px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--accent);
    color: #fff;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    line-height: 1;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: opacity 0.2s ease, transform 0.2s ease, background 0.2s ease;
    z-index: 100;
}

.back-to-top.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: var(--accent-dark);
}

/* Footer */

.site-footer {
    border-top: 1px solid var(--border);
    padding: 32px 0;
}

.site-footer .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
}

.footer-links {
    display: flex;
    gap: 22px;
    flex-wrap: wrap;
}

.footer-links a {
    font-size: 14px;
    color: var(--text-muted);
}

.footer-links a:hover {
    color: var(--accent);
}

.footer-copy {
    font-size: 14px;
    color: var(--text-muted);
}

/* Static content pages (Privacy Policy / Terms) */

.page-content {
    max-width: 760px;
    margin: 0 auto;
}

.page-content h1 {
    font-size: 30px;
    margin: 0 0 6px;
}

.page-content .effective-date {
    color: var(--text-muted);
    margin: 0 0 32px;
    font-size: 14px;
}

.page-content h4 {
    margin: 32px 0 10px;
    font-size: 18px;
}

.page-content p {
    color: var(--text-muted);
    font-size: 15px;
}

.page-content ul {
    color: var(--text-muted);
    font-size: 15px;
    margin: 0 0 16px;
    padding-left: 22px;
}

.page-content li {
    margin-bottom: 4px;
}

/* Responsive */

@media (max-width: 900px) {
    .hero-row {
        flex-direction: column;
        text-align: center;
    }

    .hero-text {
        max-width: 100%;
        text-align: center;
    }

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

    .phone-frame {
        width: 60%;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .site-nav {
        gap: 16px;
    }
}
