/* ===== TALL Creations — landing page ===== */
/* Palette matched to the admin welcome screen */
:root {
    --bg:          #0f0e16;  /* brand dark */
    --bg-alt:      #08070d;  /* darker section, toward #010003 */
    --surface:     rgba(255, 255, 255, 0.04);
    --surface-brd: rgba(255, 255, 255, 0.08);
    --text:        #eff0f3;  /* brand off-white */
    --text-muted:  #8a89a0;
    --violet:      #9267f2;  /* brand primary */
    --violet-deep: #5724c8;  /* brand deep */
    --violet-lite: #d29ff4;  /* brand light lavender */
    --violet-soft: rgba(146, 103, 242, 0.15);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: var(--bg);
    color: var(--text);
    overflow-x: hidden;
    position: relative;
}

/* ----- Background decoration (grid + glow) ----- */
.bg-grid {
    position: fixed;
    inset: 0;
    z-index: -2;
    background-image:
        linear-gradient(rgba(146, 103, 242, 0.06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(146, 103, 242, 0.06) 1px, transparent 1px);
    background-size: 40px 40px;
    pointer-events: none;
}

.bg-glow {
    position: fixed;
    top: -250px;
    left: 50%;
    transform: translateX(-50%);
    width: 900px;
    height: 700px;
    z-index: -1;
    background: radial-gradient(ellipse, rgba(146, 103, 242, 0.15) 0%, transparent 70%);
    pointer-events: none;
}

/* ----- Navbar ----- */
.tc-navbar {
    background: rgba(15, 14, 22, 0.7);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--surface-brd);
    padding: 0.85rem 0;
    transition: background 0.3s, padding 0.3s;
}
.tc-navbar.scrolled {
    background: rgba(15, 14, 22, 0.95);
    padding: 0.6rem 0;
}
.nav-logo { height: 38px; width: auto; }
.brand-text {
    font-weight: 800;
    letter-spacing: 0.5px;
    color: #fff;
    font-size: 1.1rem;
}
.tc-navbar .nav-link {
    color: var(--text-muted);
    font-weight: 500;
    transition: color 0.2s;
}
.tc-navbar .nav-link:hover { color: #fff; }
.navbar-toggler {
    border-color: var(--surface-brd);
}
.navbar-toggler:focus { box-shadow: 0 0 0 3px var(--violet-soft); }

/* ----- Buttons ----- */
.btn-tc-primary {
    background: linear-gradient(135deg, var(--violet), var(--violet-deep));
    border: none;
    color: #fff;
    font-weight: 600;
    border-radius: 12px;
    padding: 0.75rem 1.75rem;
    box-shadow: 0 4px 20px rgba(146, 103, 242, 0.35);
    transition: opacity 0.2s, transform 0.1s, box-shadow 0.2s;
}
.btn-tc-primary:hover {
    color: #fff;
    opacity: 0.92;
    box-shadow: 0 4px 30px rgba(146, 103, 242, 0.55);
}
.btn-tc-primary:active { transform: scale(0.99); }

.btn-tc-ghost {
    background: var(--surface);
    border: 1px solid var(--surface-brd);
    color: var(--text);
    font-weight: 600;
    border-radius: 12px;
    padding: 0.75rem 1.75rem;
    transition: border-color 0.2s, color 0.2s;
}
.btn-tc-ghost:hover {
    color: #fff;
    border-color: rgba(146, 103, 242, 0.6);
}

/* ----- Hero ----- */
.tc-hero {
    padding: 11rem 0 6rem;
}
.hero-eyebrow {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--violet);
    margin-bottom: 1rem;
}
.hero-title {
    font-size: clamp(2.2rem, 5vw, 3.4rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -1px;
    color: #fff;
    margin-bottom: 1.25rem;
}
.gradient-text {
    background: linear-gradient(135deg, var(--violet), var(--violet-lite));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
.hero-lead {
    font-size: 1.1rem;
    color: var(--text-muted);
    max-width: 540px;
    margin-bottom: 2rem;
}
.text-lg-start .hero-lead { margin-left: 0; }
.hero-actions { display: flex; gap: 0.75rem; flex-wrap: wrap; }
.text-center .hero-actions { justify-content: center; }

.hero-logo-wrap {
    display: inline-block;
    filter: drop-shadow(0 0 40px rgba(146, 103, 242, 0.45));
    animation: float 6s ease-in-out infinite;
}
.hero-logo { max-width: 100%; height: auto; max-height: 360px; }

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50%      { transform: translateY(-14px); }
}

/* ----- Sections ----- */
.tc-section { padding: 5rem 0; }
.tc-section-alt {
    background: var(--bg-alt);
    border-top: 1px solid var(--surface-brd);
    border-bottom: 1px solid var(--surface-brd);
}
.section-head { margin-bottom: 3rem; }
.section-title {
    font-size: clamp(1.8rem, 4vw, 2.4rem);
    font-weight: 800;
    letter-spacing: -0.5px;
    color: #fff;
    margin-bottom: 0.75rem;
}
.section-subtitle {
    color: var(--text-muted);
    font-size: 1.05rem;
    max-width: 540px;
    margin: 0 auto;
}

/* ----- Product cards ----- */
.tc-card {
    background: var(--surface);
    border: 1px solid var(--surface-brd);
    border-radius: 18px;
    overflow: hidden;
    transition: transform 0.25s, border-color 0.25s, box-shadow 0.25s;
}
.tc-card:hover {
    transform: translateY(-6px);
    border-color: rgba(146, 103, 242, 0.5);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}
.tc-card-img { aspect-ratio: 4 / 3; overflow: hidden; }
.tc-card-img img {
    width: 100%; height: 100%; object-fit: cover;
    transition: transform 0.4s;
}
.tc-card:hover .tc-card-img img { transform: scale(1.06); }
.tc-card-body { padding: 1.25rem; }
.tc-card-title { font-size: 1.15rem; font-weight: 700; color: #fff; margin-bottom: 0.4rem; }
.tc-card-text { font-size: 0.9rem; color: var(--text-muted); margin: 0; }

/* ----- About ----- */
.about-img {
    border-radius: 18px;
    border: 1px solid var(--surface-brd);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.4);
}
.about-text { color: var(--text-muted); font-size: 1.05rem; margin-bottom: 1rem; }
.tc-name { color: var(--violet-lite); font-weight: 800; }
.about-features { list-style: none; padding: 0; margin: 1.5rem 0 0; }
.about-features li {
    position: relative;
    padding-left: 1.75rem;
    margin-bottom: 0.6rem;
    color: var(--text);
    font-weight: 500;
}
.about-features li::before {
    content: '';
    position: absolute;
    left: 0; top: 50%;
    transform: translateY(-50%);
    width: 18px; height: 18px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--violet), var(--violet-deep));
    box-shadow: 0 0 12px rgba(146, 103, 242, 0.5);
}

/* ----- Contact ----- */
.tc-contact-card {
    background: var(--surface);
    border: 1px solid var(--surface-brd);
    border-radius: 20px;
    padding: 2.5rem;
    backdrop-filter: blur(12px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.4);
}
.form-label {
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #9999aa;
}
.tc-input {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    color: var(--text);
    padding: 0.7rem 1rem;
}
.tc-input:focus {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(146, 103, 242, 0.6);
    box-shadow: 0 0 0 3px var(--violet-soft);
    color: var(--text);
}
.tc-input::placeholder { color: #4a4a58; }

.form-alert {
    margin-top: 1.25rem;
    border-radius: 10px;
    padding: 0.85rem 1rem;
    font-size: 0.9rem;
}
.form-alert.success {
    background: rgba(34, 197, 94, 0.12);
    border: 1px solid rgba(34, 197, 94, 0.3);
    color: #4ade80;
}
.form-alert.error {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #f87171;
}

.tc-link { color: var(--violet); text-decoration: none; }
.tc-link:hover { text-decoration: underline; }

/* ----- Footer ----- */
.tc-footer {
    background: var(--bg-alt);
    border-top: 1px solid var(--surface-brd);
    padding: 2.5rem 0;
}
.footer-logo { height: 32px; width: auto; }
.footer-social-link {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 500;
    margin-left: 1rem;
    transition: color 0.2s;
}
.footer-social-link:first-child { margin-left: 0; }
.footer-social-link:hover { color: var(--violet); }
.heart { color: var(--violet); }

/* ----- Responsive ----- */
@media (max-width: 991px) {
    .tc-hero { padding: 9rem 0 4rem; }
    .hero-logo { max-height: 280px; }
}
