/* ======================================== */
/* GLOBAL RESET                             */
/* ======================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Inter", sans-serif;
}

body {
    background: #0d0b12;
    color: #faf0f6;
    overflow-x: hidden;
}

a {
    text-decoration: none !important;
}

/* ======================================== */
/* HEADER                                   */
/* ======================================== */
.header {
    width: 100%;
    padding: 1rem 2.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(22, 18, 26, 0.65);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(255, 160, 200, 0.12);
    position: sticky;
    top: 0;
    z-index: 50;
}

.naya-logo {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    border: 2px solid rgba(255, 180, 210, 0.6);
    box-shadow: 0 0 14px rgba(255, 130, 180, 0.45);
}

.logo-text {
    font-size: 1.55rem;
    margin-left: 0.7rem;
    color: #ffc6dc;
    font-weight: 700;
}

.header-left {
    display: flex;
    align-items: center;
}

.header-nav {
    display: flex;
    gap: 1.6rem;
}

.header-nav a {
    color: #e8d0dc;
    font-size: 0.97rem;
    padding: 0.75rem 1.25rem; /* slightly larger hover box */
    border-radius: 14px;       /* more rounded */
    transition: 0.25s ease;
}

.header-nav a:hover {
    background: rgba(255, 255, 255, 0.15);
    color: #ff9fc3;
}

.header-right {
    display: flex;
    gap: 1rem;
}

.premium-btn,
.header-login {
    padding: 0.6rem 1.2rem;
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 0.45rem;
    transition: 0.25s ease;
    position: relative;
    overflow: hidden;
}

.premium-btn {
    background: linear-gradient(135deg, #ff9ecb, #ff7bb4);
    color: #fff;
    box-shadow: 0 0 12px rgba(255, 130, 180, 0.45);
}

.premium-btn:hover {
    background: linear-gradient(135deg, #ff8ebf, #ff66ac);
    box-shadow: 0 0 18px rgba(255, 130, 180, 0.65);
}

.header-login {
    background: #1c1a20;
    color: #e4d0de;
}

.header-login:hover {
    background: #27242c;
}



/* ======================================== */
/* HERO SECTION                             */
/* ======================================== */
.hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 5rem 3rem;
}

.hero-text {
    max-width: 45%;
}

.hero-text h1 {
    font-size: 3.1rem;
    line-height: 3.35rem;
    font-weight: 800;
    color: #ffe1ec;
}

.hero-text p {
    margin-top: 1rem;
    opacity: 0.9;
    font-size: 1.12rem;
    line-height: 1.7rem;
    color: #fbd2e1;
}

.hero-buttons {
    display: flex;
    gap: 1.3rem;
    margin-top: 2rem;
}

.btn-primary,
.btn-secondary {
    padding: 0.85rem 1.6rem;
    border-radius: 12px;
    font-weight: 650;
    font-size: 1.05rem;
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    transition: 0.28s ease;
}

.btn-primary {
    background: #ff9fc3;
    color: #fff;
    position: relative;
    overflow: hidden;
}

.btn-primary:hover {
    background: #ff8eb6;
}

.btn-secondary {
    background: #1c1a20;
    color: #e8d0de;
}

.btn-secondary:hover {
    background: #27242c;
}

.hero-img-container {
    width: 40%;
}

.hero-img {
    width: 100%;
    border-radius: 18px;
    box-shadow: 0 12px 28px rgba(255, 120, 165, 0.18);
}



/* ======================================== */
/* ALIVE TEXT SECTION — GRADIENT LIKE CTA  */
/* ======================================== */

.alive-section {
    text-align: center;
    padding: 6rem 2rem;
    position: relative;
    max-width: 900px;
    margin: 0 auto;
}

.alive-gradient {
    font-size: 3rem;            /* same as CTA */
    font-weight: 800;
    background: linear-gradient(90deg, #ff8ec9, #d582ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.alive-deco {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 2rem;
    opacity: 0.45;
    color: #ff92c9;
}

.alive-deco.left {
    left: -45px;
}

.alive-deco.right {
    right: -45px;
}

.alive-section p {
    margin-top: 1.2rem;
    color: #eacdda;
    font-size: 1.05rem;
    line-height: 1.65rem;
    font-weight: 400;     /* thinner text as you wanted */
    opacity: 0.85;
}



/* ======================================== */
/* FEATURE CARDS                            */
/* ======================================== */

.naya-feature-cards {
    padding: 4rem 3rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
}

.naya-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 150, 200, 0.18);
    border-radius: 16px;
    padding: 2.2rem;
    transition: 0.25s ease;
}

.naya-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 14px 38px rgba(255, 140, 200, 0.18);
    border-color: rgba(255, 170, 220, 0.45);
}

.naya-icon {
    font-size: 2.1rem;
    color: #ff8fc8;
    margin-bottom: 1rem;
}

.naya-card h3 {
    font-size: 1.45rem;
    color: #ffc6dd;
    margin-bottom: 0.7rem;
}

.naya-card p {
    color: #e7c8d5;
    line-height: 1.6rem;
    margin-bottom: 1.4rem;
}

.naya-card-btn {
    color: #ffb3d6;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.45rem 0.8rem;
    border-radius: 8px;
    transition: 0.25s ease;
}

.naya-card-btn:hover {
    background: rgba(255, 180, 220, 0.15);
}



/* ======================================== */
/* CTA STRIP                                */
/* ======================================== */

.naya-cta {
    width: 100%;
    padding: 6rem 2rem;
    background: radial-gradient(circle at center,
            rgba(255, 150, 220, 0.18),
            rgba(10, 8, 13, 1) 70%),
        linear-gradient(90deg, #0d0b12, #130f19, #0d0b12);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    margin-top: 5rem;
}

.cta-inner {
    text-align: center;
}

.naya-cta h1 {
    font-size: 3rem;
    font-weight: 800;
    background: linear-gradient(90deg, #ff8ec9, #d582ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 2.3rem;
}

.cta-btn {
    padding: 1rem 2.1rem;
    border-radius: 14px;
    border: 2px solid rgba(255, 155, 210, 0.55);
    background: rgba(255, 255, 255, 0.04);
    color: #ffe6f3;
    font-weight: 650;
    font-size: 1.2rem;
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    transition: 0.25s ease;
    position: relative;
    overflow: hidden;
}

.cta-btn:hover {
    border-color: rgba(255, 170, 235, 0.8);
    background: rgba(255,255,255,0.1);
    transform: translateY(-3px);
}

.cta-deco {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 2rem;
    opacity: 0.45;
    color: #ff92c9;
}

.cta-deco.left {
    left: 4%;
}

.cta-deco.right {
    right: 4%;
}

/* ======================================== */
/* SPARKLE ANIMATION — ADVANCED VERSION     */
/* Multiple sparkles + rotation + bursts    */
/* ======================================== */

.sparkle-hover {
    position: relative;
    overflow: hidden;
}

/* Base sparkles (3 built-in) */
.sparkle-hover::before,
.sparkle-hover::after {
    position: absolute;
    pointer-events: none;
    opacity: 0;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.7);
    animation-timing-function: ease-out;
}

/* ✦ Main sparkle (rotates slightly) */
.sparkle-hover::before {
    content: "✦";
    font-size: 1.4rem;
    color: #ffb7e6;
}

/* ♡ Larger drift sparkle */
.sparkle-hover::after {
    content: "♡";
    font-size: 1.6rem;
    color: #ffc8ef;
}

/* Additional floating ✧ sparkles (2 random bursts) */
.sparkle-hover .burst1,
.sparkle-hover .burst2 {
    position: absolute;
    content: "✧";
    font-size: 1.1rem;
    color: #ffe0f7;
    pointer-events: none;
    opacity: 0;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.6);
}

/* MULTI-SPARKLE ACTIVATION */
.sparkle-hover:hover::before {
    animation: sparkleTwirl 1.05s forwards;
}

.sparkle-hover:hover::after {
    animation: sparkleRiseRight 1.2s forwards;
}

.sparkle-hover:hover .burst1 {
    animation: sparkleBurstLeft 1.1s forwards;
}

.sparkle-hover:hover .burst2 {
    animation: sparkleBurstDown 1.15s forwards;
}


/* ======================================== */
/* KEYFRAMES — wide offsets + rotation      */
/* ======================================== */

/* Rotating ✦ */
@keyframes sparkleTwirl {
    0%   { opacity: 0; transform: translate(-50%, -50%) scale(0.4) rotate(0deg); }
    30%  { opacity: 1; }
    100% { transform: translate(-90%, -150%) scale(1.1) rotate(22deg); opacity: 0; }
}

/* Floating ♡ upward-right */
@keyframes sparkleRiseRight {
    0%   { opacity: 0; transform: translate(-50%, -50%) scale(0.5); }
    25%  { opacity: 0.9; }
    100% { transform: translate(60%, -170%) scale(1.25); opacity: 0; }
}

/* ✧ random drift left */
@keyframes sparkleBurstLeft {
    0%   { opacity: 0; transform: translate(-50%, -50%) scale(0.45); }
    25%  { opacity: 0.85; }
    100% { transform: translate(-160%, -120%) scale(1.0); opacity: 0; }
}

/* ✧ random drift downward-left */
@keyframes sparkleBurstDown {
    0%   { opacity: 0; transform: translate(-50%, -50%) scale(0.45); }
    30%  { opacity: 0.9; }
    100% { transform: translate(-120%, 40%) scale(1.0); opacity: 0; }
}


/* ======================================== */
/* FOOTER                                   */
/* ======================================== */

.footer {
    padding: 4rem 3rem;
    background: #09070d;
    border-top: 1px solid rgba(255, 150, 190, 0.1);
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 3rem;
    justify-items: center;
    text-align: center;
}

.footer-col h3 {
    color: #ffcada;
    margin-bottom: 0.8rem;
}

.footer-col a {
    display: block;
    color: #e4d0dc;
    margin: 0.4rem 0;
    transition: 0.25s ease;
}

.footer-col a:hover {
    color: #ff9ecb;
}

.footer-bottom {
    text-align: center;
    padding: 1.5rem;
    font-size: 0.9rem;
    color: #caa9b7;
    opacity: 0.7;
    background: #09070d;
    border-top: 1px solid rgba(255,150,190,0.1);
}


/* ======================================== */
/* COMMANDS PAGE                            */
/* ======================================== */

.commands-title {
    text-align: center;
    padding: 6rem 1rem 3rem;
}

.gradient-heading {
    font-size: 3rem;
    font-weight: 800;
    background: linear-gradient(90deg, #ff8ec9, #d582ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.subtitle {
    margin-top: 0.7rem;
    color: #d7bed0;
}

/* Search bar */
.command-search {
    margin: 2rem auto 0;
    width: 320px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,150,190,0.18);
    padding: 0.75rem 1rem;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: .75rem;
}

.command-search input {
    background: transparent;
    border: none;
    color: #ffe6f3;
    width: 100%;
    font-size: 1rem;
    outline: none;
}

/* Command list */
.command-list {
    padding: 2rem 3rem 6rem;
    max-width: 900px;
    margin: 0 auto;
    display: grid;
    gap: 1.5rem;
}

.command-item {
    background: rgba(255,255,255,0.04);
    border-radius: 14px;
    border: 1px solid rgba(255,150,190,0.2);
    overflow: hidden;
    transition: 0.25s ease;
}

.command-item.open {
    border-color: rgba(255,170,220,0.45);
    box-shadow: 0 10px 30px rgba(255,150,200,0.18);
}

.command-toggle {
    width: 100%;
    padding: 1.2rem 1.4rem;
    background: none;
    border: none;
    color: #ffcfe6;
    font-size: 1.25rem;
    font-weight: 600;
    text-align: left;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}

.command-toggle i:first-child {
    margin-right: .8rem;
    font-size: 1.35rem;
    color: #ff93c8;
}

.command-content {
    padding: 1.4rem;
    display: none;
    color: #e7c8d5;
}

.command-item.open .command-content {
    display: block;
}

.command-item.open .arrow {
    transform: rotate(180deg);
    transition: 0.3s ease;
}

/* ======================================== */
/* COMMAND PAGE STYLES                      */
/* ======================================== */

/* Hide all categories except active */
.command-category {
    display: none;
}
.command-category.active {
    display: block;
}

/* Page title */
.commands-hero {
    padding: 4rem 2rem 2rem;
    text-align: center;
}

.commands-subtext {
    opacity: 0.8;
    margin-top: 0.8rem;
    font-size: 1.05rem;
}

/* Search bar */
.commands-search-container {
    text-align: center;
    margin-top: 2rem;
}

#commandSearch {
    width: 70%;
    max-width: 420px;
    padding: 0.9rem 1.2rem;
    border-radius: 12px;
    border: 1px solid rgba(255,150,200,0.25);
    background: rgba(255,255,255,0.05);
    color: #ffd9ea;
    font-size: 1rem;
}

/* Tabs */
.command-tabs {
    margin-top: 2.5rem;
    text-align: center;
}

.cmd-tab {
    padding: 0.78rem 1.7rem;
    margin: 0 0.45rem;
    background: rgba(255,255,255,0.05);
    color: #ffb4d9;
    border-radius: 12px;
    border: 1px solid rgba(255,150,200,0.25);
    cursor: pointer;
    transition: 0.25s ease;
    font-size: 1rem;
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
}

.cmd-tab i {
    opacity: 0.85;
    font-size: 1rem;
}

.cmd-tab:hover {
    background: rgba(255,150,200,0.15);
}

.cmd-tab.active {
    background: rgba(255,150,200,0.28);
    color: white;
    border-color: rgba(255,180,220,0.5);
}

/* Commands list */
.commands-wrapper {
    max-width: 880px;
    margin: 3rem auto;
    padding: 0 2rem;
}

.cmd-cat-title {
    font-size: 1.9rem;
    color: #ffc8e8;
    margin-bottom: 0.4rem;
}

.cmd-divider {
    height: 2px;
    background: linear-gradient(90deg,#ff9bd7,#d9a2ff,#ff9bd7);
    opacity: 0.38;
    margin-bottom: 1.7rem;
}

/* Collapsible commands */
.cmd-collapse {
    margin-bottom: 1rem;
    border-radius: 14px;
    overflow: hidden;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,150,200,0.15);
}

.cmd-collapse summary {
    padding: 1rem 1.3rem;
    cursor: pointer;
    font-size: 1.1rem;
    color: #ffd8ee;
}

/* Softer purple inside divider */
.cmd-inner-divider {
    height: 1px;
    background: rgba(215,180,255,0.28);
    margin: 0 1rem;
}

.cmd-content {
    padding: 1rem 1.4rem 1.4rem;
    color: #e8c6d9;
    line-height: 1.55rem;
}



/* ======================================== */
/* FAQ SECTION — NAYA THEME                 */
/* ======================================== */

.faq-section {
    padding: 6rem 3rem;
    max-width: 900px;
    margin: 0 auto;
}

.faq-title {
    text-align: center;
    font-size: 2.8rem;
    font-weight: 800;
    margin-bottom: 3rem;
    background: linear-gradient(90deg, #ff8ec9, #d582ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.faq-item {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,140,200,0.18);
    border-radius: 14px;
    overflow: hidden;
    transition: 0.28s ease;
}

.faq-item:hover {
    border-color: rgba(255,170,220,0.45);
    box-shadow: 0 10px 28px rgba(255,140,200,0.18);
}

.faq-question {
    width: 100%;
    background: none;
    border: none;
    color: #f7ddeb;
    font-size: 1.25rem;
    padding: 1.4rem 1.8rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    text-align: left;
    font-weight: 600;
}

.faq-icon {
    margin-right: 0.6rem;
    font-size: 1.35rem;
    color: #ffb0df;
    animation: floatIcon 3.2s ease-in-out infinite;
}

@keyframes floatIcon {
    0% { transform: translateY(0); }
    50% { transform: translateY(-3px); }
    100% { transform: translateY(0); }
}

.chevron {
    font-size: 1rem;
    transition: transform 0.3s ease;
    color: #ffbfe9;
}

.faq-answer {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    padding: 0 1.8rem;
    color: #e9cada;
    line-height: 1.65rem;
    font-size: 1.05rem;
    transition: 0.35s ease;
    border-top: 1px solid rgba(255,140,200,0.15);
}

.faq-item.open .faq-answer {
    max-height: 280px;
    opacity: 1;
    padding: 1.2rem 1.8rem 1.8rem;
}

.faq-item.open .chevron {
    transform: rotate(180deg);
}


.header-left {
    display: flex;
    align-items: center;
    cursor: pointer;
    text-decoration: none;
    transition: 0.25s ease;
}

.header-left:hover .logo-text {
    color: #ffb3d6;
}

.header-left:hover .naya-logo {
    box-shadow: 0 0 18px rgba(255, 140, 200, 0.55);
}


/* ======================================== */
/* RESPONSIVE + MOBILE FRIENDLY PATCH       */
/* Paste at END of style.css                */
/* ======================================== */

/* Safer media behavior everywhere (prevents stretched/overflow images) */
img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Prevent long text/buttons from forcing overflow */
.header, .hero, .naya-feature-cards, .commands-wrapper, .faq-section, .footer {
  min-width: 0;
}

/* Slightly nicer tap behavior on mobile */
button, a {
  -webkit-tap-highlight-color: transparent;
}

/* ---------- <= 1100px (laptop/tablet) ---------- */
@media (max-width: 1100px) {
  .header {
    padding: 1rem 1.6rem;
  }

  .hero {
    padding: 4rem 2rem;
    gap: 2.2rem;
  }

  .hero-text h1 {
    font-size: 2.75rem;
    line-height: 3.0rem;
  }

  .alive-section {
    padding: 5rem 1.6rem;
  }

  .naya-feature-cards {
    padding: 3.5rem 2rem;
    gap: 2rem;
  }

  .footer {
    padding: 3.5rem 2rem;
  }
}

/* ---------- <= 900px (tablet / small laptop) ---------- */
@media (max-width: 900px) {
  /* HERO stacks */
  .hero {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 3.7rem 1.6rem;
  }

  .hero-text {
    max-width: 720px;
    width: 100%;
    text-align: center;
  }

  .hero-buttons {
    justify-content: center;
    flex-wrap: wrap;
  }

  .hero-img-container {
    width: min(720px, 100%);
  }

  /* Ensure hero image never “stretches” oddly */
  .hero-img {
    width: 100%;
    height: auto;
    border-radius: 18px;
    object-fit: cover;
  }

  /* Decorative glyphs stop going off-screen */
  .alive-deco.left { left: 10px; }
  .alive-deco.right { right: 10px; }
}

/* ---------- <= 720px (phones) ---------- */
@media (max-width: 720px) {
  /* HEADER wraps cleanly */
  .header {
    flex-wrap: wrap;
    gap: 0.85rem;
    padding: 0.95rem 1.1rem;
  }

  .naya-logo {
    width: 40px;
    height: 40px;
  }

  .logo-text {
    font-size: 1.35rem;
    margin-left: 0.6rem;
  }

  /* Nav becomes a wrapped row (no overflow) */
  .header-nav {
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.55rem;
  }

  .header-nav a {
    padding: 0.6rem 0.95rem;
    font-size: 0.95rem;
  }

  /* Buttons move to their own row and wrap */
  .header-right {
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.7rem;
  }

  .premium-btn,
  .header-login {
    padding: 0.65rem 1.05rem;
    font-size: 0.93rem;
  }

  /* HERO typography */
  .hero {
    padding: 3.2rem 1.1rem;
  }

  .hero-text h1 {
    font-size: 2.35rem;
    line-height: 2.55rem;
  }

  .hero-text p {
    font-size: 1.03rem;
    line-height: 1.65rem;
  }

  /* CTA sizing */
  .naya-cta {
    padding: 4.5rem 1.1rem;
  }

  .naya-cta h1 {
    font-size: 2.2rem;
    margin-bottom: 1.7rem;
  }

  .cta-btn {
    font-size: 1.08rem;
    padding: 0.95rem 1.5rem;
  }

  /* Feature cards tighter padding on phones */
  .naya-feature-cards {
    padding: 3rem 1.1rem;
    gap: 1.5rem;
  }

  .naya-card {
    padding: 1.75rem;
  }

  /* Commands page: tabs + search become phone friendly */
  #commandSearch {
    width: 92%;
    max-width: 520px;
  }

  .command-tabs {
    padding: 0 0.75rem;
    overflow-x: auto;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
  }

  .cmd-tab {
    margin: 0 0.35rem 0.6rem;
  }

  .commands-wrapper {
    padding: 0 1.1rem;
  }

  /* FAQ spacing */
  .faq-section {
    padding: 4.5rem 1.1rem;
  }

  .faq-question {
    padding: 1.15rem 1.2rem;
    font-size: 1.12rem;
  }

  .faq-answer {
    padding: 0 1.2rem;
  }

  .faq-item.open .faq-answer {
    padding: 1.05rem 1.2rem 1.35rem;
  }

  /* Footer tighter padding */
  .footer {
    padding: 3rem 1.1rem;
    gap: 2rem;
  }
}

/* ---------- <= 480px (small phones) ---------- */
@media (max-width: 480px) {
  /* Buttons stack full width for comfy tapping */
  .hero-buttons {
    flex-direction: column;
    align-items: stretch;
    gap: 0.85rem;
  }

  .btn-primary,
  .btn-secondary {
    width: 100%;
    justify-content: center;
  }

  .cta-btn {
    width: 100%;
    justify-content: center;
  }

  /* Reduce big headings slightly */
  .alive-gradient {
    font-size: 2.2rem;
  }

  .docs-subtext,
  .commands-subtext {
    font-size: 1rem;
  }
}

/* ---------- Reduced motion (accessibility) ---------- */
@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}

