/* =============================================
   Premghor — Brand Design System
   ============================================= */

:root {
    --color-primary: #8B2252;
    --color-primary-dark: #6B1A3F;
    --color-accent: #E91E8C;
    --color-accent-light: #F472B6;
    --color-purple: #7B2D8E;
    --color-purple-light: #9B4DB0;
    --color-bg: #FFFFFF;
    --color-bg-soft: #FFF5F8;
    --color-bg-muted: #FDF0F5;
    --color-night: #1A1225;
    --color-night-card: #251A35;
    --color-text: #2D1B2E;
    --color-text-muted: #6B5B6E;
    --color-text-light: #9B8B9E;
    --color-border: rgba(139, 34, 82, 0.1);
    --color-white: #FFFFFF;

    --font-body: 'Hind Siliguri', sans-serif;
    --font-display: 'Tiro Bangla', serif;

    --shadow-sm: 0 2px 8px rgba(139, 34, 82, 0.06);
    --shadow-md: 0 8px 24px rgba(139, 34, 82, 0.1);
    --shadow-lg: 0 16px 48px rgba(139, 34, 82, 0.14);
    --shadow-glow: 0 8px 32px rgba(233, 30, 140, 0.25);

    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-full: 9999px;

    --header-h: 72px;
    --container: 1200px;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--header-h);
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.7;
    color: var(--color-text);
    background: var(--color-bg);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: var(--color-primary);
    text-decoration: none;
    transition: color var(--transition);
}

a:hover {
    color: var(--color-accent);
}

.container {
    width: 100%;
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 24px;
}

/* =============================================
   Buttons
   ============================================= */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-family: var(--font-body);
    font-weight: 600;
    border: none;
    border-radius: var(--radius-full);
    cursor: pointer;
    transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
    text-decoration: none;
    white-space: nowrap;
}

.btn:hover {
    transform: translateY(-2px);
}

.btn--play {
    background: linear-gradient(135deg, var(--color-accent) 0%, var(--color-purple) 100%);
    color: var(--color-white);
    box-shadow: var(--shadow-glow);
}

.btn--play:hover {
    color: var(--color-white);
    box-shadow: 0 12px 40px rgba(233, 30, 140, 0.35);
}

.btn--sm {
    padding: 10px 20px;
    font-size: 14px;
}

.btn--lg {
    padding: 16px 32px;
    font-size: 16px;
}

.btn__play-icon {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

/* =============================================
   Header
   ============================================= */

.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    height: var(--header-h);
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--color-border);
    transition: box-shadow var(--transition), background var(--transition);
}

.header--scrolled {
    box-shadow: var(--shadow-sm);
    background: rgba(255, 255, 255, 0.95);
}

.header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    gap: 24px;
}

.header__brand {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--color-text);
}

.header__brand:hover {
    color: var(--color-primary);
}

.header__logo {
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
}

.header__name {
    font-family: var(--font-display);
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--color-primary);
}

.header__nav {
    display: flex;
    align-items: center;
    gap: 32px;
}

.header__link {
    font-weight: 500;
    color: var(--color-text-muted);
    font-size: 15px;
    position: relative;
}

.header__link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--color-accent), var(--color-purple));
    border-radius: 2px;
    transition: width var(--transition);
}

.header__link:hover {
    color: var(--color-primary);
}

.header__link:hover::after {
    width: 100%;
}

.header__cta {
    flex-shrink: 0;
}

.header__toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 40px;
    height: 40px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.header__toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--color-primary);
    border-radius: 2px;
    transition: transform var(--transition), opacity var(--transition);
}

.header__toggle.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.header__toggle.active span:nth-child(2) {
    opacity: 0;
}

.header__toggle.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* =============================================
   Hero
   ============================================= */

.hero {
    position: relative;
    padding: calc(var(--header-h) + 60px) 0 80px;
    overflow: hidden;
    min-height: 90vh;
    display: flex;
    align-items: center;
}

.hero__bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 80% 60% at 20% 40%, rgba(233, 30, 140, 0.12) 0%, transparent 60%),
        radial-gradient(ellipse 60% 50% at 80% 20%, rgba(123, 45, 142, 0.1) 0%, transparent 55%),
        radial-gradient(ellipse 50% 40% at 60% 80%, rgba(244, 114, 182, 0.08) 0%, transparent 50%),
        linear-gradient(180deg, var(--color-bg-soft) 0%, var(--color-bg) 100%);
    z-index: 0;
}

.hero__inner {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero__icon {
    border-radius: 22px;
    box-shadow: var(--shadow-lg);
    margin-bottom: 16px;
}

.hero__developer {
    font-size: 14px;
    font-weight: 600;
    color: var(--color-purple);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 8px;
}

.hero__title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 5vw, 3rem);
    line-height: 1.25;
    color: var(--color-primary);
    margin-bottom: 20px;
}

.hero__subtitle {
    color: var(--color-text-muted);
    font-size: 17px;
    margin-bottom: 12px;
    max-width: 540px;
}

.hero__subtitle--secondary {
    margin-bottom: 24px;
}

.hero__badges {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 32px;
}

.badge {
    display: inline-block;
    padding: 6px 14px;
    background: var(--color-bg-muted);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-full);
    font-size: 13px;
    font-weight: 500;
    color: var(--color-text-muted);
}

.badge--rating {
    background: rgba(139, 34, 82, 0.08);
    color: var(--color-primary);
    border-color: rgba(139, 34, 82, 0.15);
}

/* Phone Mockup */
.hero__visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.phone-mockup {
    position: relative;
}

.phone-mockup::before {
    content: '';
    position: absolute;
    inset: -20px;
    background: linear-gradient(135deg, rgba(233, 30, 140, 0.2), rgba(123, 45, 142, 0.2));
    border-radius: 40px;
    filter: blur(40px);
    z-index: 0;
}

.phone-mockup__frame {
    position: relative;
    z-index: 1;
    background: var(--color-white);
    border-radius: var(--radius-lg);
    padding: 12px;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--color-border);
    max-width: 520px;
    overflow: hidden;
}

.phone-mockup__screen {
    border-radius: calc(var(--radius-lg) - 8px);
    width: 100%;
}

/* =============================================
   Sections
   ============================================= */

.section {
    padding: 80px 0;
}

.section--soft {
    background: var(--color-bg-soft);
}

.section--legal {
    background: var(--color-bg-muted);
}

.section__header {
    text-align: center;
    margin-bottom: 56px;
}

.section__label {
    display: inline-block;
    font-size: 14px;
    font-weight: 600;
    color: var(--color-accent);
    margin-bottom: 12px;
    letter-spacing: 0.02em;
}

.section__title {
    font-family: var(--font-display);
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    color: var(--color-primary);
    line-height: 1.3;
}

.section__desc {
    max-width: 680px;
    margin: 16px auto 0;
    color: var(--color-text-muted);
    font-size: 17px;
}

/* =============================================
   Features Grid
   ============================================= */

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.feature-card {
    background: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    padding: 28px 24px;
    transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: rgba(233, 30, 140, 0.2);
}

.feature-card__icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(233, 30, 140, 0.1), rgba(123, 45, 142, 0.1));
    border-radius: var(--radius-sm);
    margin-bottom: 16px;
    color: var(--color-accent);
}

.feature-card__icon svg {
    width: 24px;
    height: 24px;
}

.feature-card__title {
    font-size: 16px;
    font-weight: 600;
    color: var(--color-text);
    margin-bottom: 8px;
    line-height: 1.4;
}

.feature-card__desc {
    font-size: 14px;
    color: var(--color-text-light);
    line-height: 1.5;
}

/* =============================================
   Carousel
   ============================================= */

.carousel {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
}

.carousel__track-wrap {
    overflow: hidden;
    border-radius: var(--radius-md);
}

.carousel__track {
    display: flex;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.carousel__slide {
    flex: 0 0 100%;
    text-align: center;
}

.carousel__slide img {
    width: 100%;
    max-height: 480px;
    object-fit: contain;
    border-radius: var(--radius-md);
    margin: 0 auto;
    box-shadow: var(--shadow-md);
}

.carousel__slide figcaption {
    margin-top: 16px;
    font-size: 16px;
    font-weight: 600;
    color: var(--color-primary);
}

.carousel__btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--color-white);
    border: 1px solid var(--color-border);
    box-shadow: var(--shadow-md);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-primary);
    transition: background var(--transition), color var(--transition), transform var(--transition);
    z-index: 2;
}

.carousel__btn:hover {
    background: var(--color-accent);
    color: var(--color-white);
    transform: translateY(-50%) scale(1.05);
}

.carousel__btn svg {
    width: 20px;
    height: 20px;
}

.carousel__btn--prev { left: -22px; }
.carousel__btn--next { right: -22px; }

.carousel__dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 24px;
}

.carousel__dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--color-border);
    border: none;
    cursor: pointer;
    transition: background var(--transition), transform var(--transition);
    padding: 0;
}

.carousel__dot.active {
    background: var(--color-accent);
    transform: scale(1.2);
}

/* =============================================
   Highlights
   ============================================= */

.highlights {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.highlight-card {
    background: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    padding: 36px 28px;
    transition: transform var(--transition), box-shadow var(--transition);
}

.highlight-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.highlight-card--night {
    background: var(--color-night);
    border-color: rgba(255, 255, 255, 0.08);
    color: var(--color-white);
}

.highlight-card--night .highlight-card__title {
    color: var(--color-white);
}

.highlight-card--night .highlight-card__desc {
    color: rgba(255, 255, 255, 0.75);
}

.highlight-card__icon {
    font-size: 2rem;
    margin-bottom: 16px;
}

.highlight-card__title {
    font-family: var(--font-display);
    font-size: 1.25rem;
    color: var(--color-primary);
    margin-bottom: 12px;
}

.highlight-card__desc {
    font-size: 15px;
    color: var(--color-text-muted);
    line-height: 1.7;
}

/* =============================================
   Tags
   ============================================= */

.tags {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
}

.tag {
    display: inline-block;
    padding: 10px 20px;
    background: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-full);
    font-size: 14px;
    font-weight: 500;
    color: var(--color-text-muted);
    transition: background var(--transition), color var(--transition), border-color var(--transition), transform var(--transition);
}

.tag:hover {
    background: linear-gradient(135deg, var(--color-accent), var(--color-purple));
    color: var(--color-white);
    border-color: transparent;
    transform: translateY(-2px);
}

/* =============================================
   Info Cards
   ============================================= */

.info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.info-card {
    background: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    padding: 32px;
}

.info-card--trust {
    background: linear-gradient(135deg, rgba(233, 30, 140, 0.04), rgba(123, 45, 142, 0.04));
}

.info-card__title {
    font-family: var(--font-display);
    font-size: 1.25rem;
    color: var(--color-primary);
    margin-bottom: 16px;
}

.info-card__list {
    list-style: none;
    padding: 0;
}

.info-card__list li {
    position: relative;
    padding-left: 24px;
    margin-bottom: 10px;
    color: var(--color-text-muted);
}

.info-card__list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--color-accent);
    font-weight: 700;
}

.trust-badges {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.trust-badge {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 15px;
    color: var(--color-text-muted);
}

.trust-badge svg {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    color: var(--color-accent);
}

/* =============================================
   Legal
   ============================================= */

.legal {
    max-width: 800px;
    margin: 0 auto;
}

.legal__title {
    font-family: var(--font-display);
    font-size: 1.5rem;
    color: var(--color-primary);
    margin-bottom: 24px;
}

.legal p {
    color: var(--color-text-muted);
    margin-bottom: 16px;
    font-size: 15px;
    line-height: 1.8;
}

/* =============================================
   CTA Banner
   ============================================= */

.cta-banner {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-purple) 100%);
    padding: 60px 0;
}

.cta-banner__inner {
    display: flex;
    align-items: center;
    gap: 32px;
    flex-wrap: wrap;
    justify-content: center;
    text-align: center;
}

.cta-banner__icon {
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
}

.cta-banner__text {
    flex: 1;
    min-width: 240px;
}

.cta-banner__title {
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 3vw, 2rem);
    color: var(--color-white);
    margin-bottom: 8px;
}

.cta-banner__desc {
    color: rgba(255, 255, 255, 0.85);
    font-size: 16px;
}

.cta-banner .btn--play {
    background: var(--color-white);
    color: var(--color-primary);
    box-shadow: var(--shadow-lg);
}

.cta-banner .btn--play:hover {
    color: var(--color-accent);
    background: var(--color-white);
}

/* =============================================
   Footer
   ============================================= */

.footer {
    background: var(--color-night);
    color: rgba(255, 255, 255, 0.75);
    padding: 60px 0 32px;
}

.footer__grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr 1.5fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer__brand img {
    border-radius: 12px;
    margin-bottom: 12px;
}

.footer__name {
    font-family: var(--font-display);
    font-size: 1.5rem;
    color: var(--color-white);
    margin-bottom: 4px;
}

.footer__tagline {
    font-size: 14px;
    color: var(--color-accent-light);
}

.footer__heading {
    font-size: 14px;
    font-weight: 600;
    color: var(--color-white);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 16px;
}

.footer__col p {
    font-size: 14px;
    margin-bottom: 8px;
    line-height: 1.6;
}

.footer__col a {
    color: rgba(255, 255, 255, 0.75);
}

.footer__col a:hover {
    color: var(--color-accent-light);
}

.footer__keywords {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 24px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    margin-bottom: 24px;
}

.footer__keywords span {
    font-size: 12px;
    padding: 4px 12px;
    background: rgba(255, 255, 255, 0.06);
    border-radius: var(--radius-full);
    color: rgba(255, 255, 255, 0.5);
}

.footer__bottom {
    text-align: center;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.45);
}

.footer__rating {
    margin-top: 8px;
    font-size: 12px;
}

/* =============================================
   Scroll Reveal
   ============================================= */

.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1), transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

.reveal--delay {
    transition-delay: 0.15s;
}

/* =============================================
   Responsive
   ============================================= */

@media (max-width: 1024px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .hero__inner {
        grid-template-columns: 1fr;
        gap: 48px;
        text-align: center;
    }

    .hero__subtitle {
        margin-left: auto;
        margin-right: auto;
    }

    .hero__badges {
        justify-content: center;
    }

    .hero__icon {
        margin-left: auto;
        margin-right: auto;
    }

    .footer__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .header__nav {
        position: fixed;
        top: var(--header-h);
        left: 0;
        right: 0;
        background: var(--color-white);
        flex-direction: column;
        padding: 24px;
        gap: 0;
        border-bottom: 1px solid var(--color-border);
        box-shadow: var(--shadow-md);
        transform: translateY(-120%);
        opacity: 0;
        visibility: hidden;
        transition: transform var(--transition), opacity var(--transition), visibility var(--transition);
    }

    .header__nav.open {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    .header__link {
        display: block;
        padding: 14px 0;
        border-bottom: 1px solid var(--color-border);
        width: 100%;
    }

    .header__link:last-child {
        border-bottom: none;
    }

    .header__cta {
        display: none;
    }

    .header__toggle {
        display: flex;
    }

    .highlights {
        grid-template-columns: 1fr;
    }

    .info-grid {
        grid-template-columns: 1fr;
    }

    .carousel__btn--prev { left: 8px; }
    .carousel__btn--next { right: 8px; }

    .section {
        padding: 60px 0;
    }

    .cta-banner__inner {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .features-grid {
        grid-template-columns: 1fr;
    }

    .footer__grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .hero {
        min-height: auto;
        padding-bottom: 60px;
    }

    .btn--lg {
        width: 100%;
        padding: 14px 24px;
    }
}
