/* TollywoodTunes — shared Phase-1 stylesheet
   Deep blue (#1F3864) primary, saffron (#F39C12) accent.
   Replace with your finalised brand at any time. */

:root {
    --color-primary: #1F3864;
    --color-primary-dark: #142544;
    --color-accent: #F39C12;
    --color-accent-dark: #C77F0B;
    --color-text: #1f2937;
    --color-muted: #6b7280;
    --color-bg: #fafbfc;
    --color-surface: #ffffff;
    --color-border: #e5e7eb;
    --color-error: #b91c1c;
    --color-success: #166534;
    --radius: 8px;
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.08);
    --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }

html, body {
    margin: 0;
    padding: 0;
    font-family: var(--font);
    color: var(--color-text);
    background: var(--color-bg);
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
}

a { color: var(--color-primary); text-decoration: none; }
a:hover { text-decoration: underline; }

img { max-width: 100%; height: auto; display: block; }

/* ---- Layout ---- */
.tt-container { max-width: 1100px; margin: 0 auto; padding: 0 16px; }
.tt-narrow    { max-width: 460px;  margin: 0 auto; padding: 0 16px; }

/* ---- Header ---- */
.tt-header {
    background: var(--color-primary);
    color: #fff;
    padding: 14px 0;
    box-shadow: var(--shadow-sm);
}
.tt-header .tt-container {
    display: flex; align-items: center; justify-content: space-between;
    gap: 16px;
}
.tt-header__brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    line-height: 0;
}
.tt-header__brand:hover { text-decoration: none; opacity: 0.92; }
.tt-header__brand img {
    height: 30px;
    width: auto;
    display: block;
}
.tt-header__brand-suffix {
    font-size: 14px;
    font-weight: 600;
    color: rgba(255,255,255,0.75);
    letter-spacing: 0.6px;
    text-transform: uppercase;
    line-height: 30px;
    padding-left: 10px;
    border-left: 1px solid rgba(255,255,255,0.25);
}
@media (max-width: 480px) {
    .tt-header__brand img { height: 26px; }
}

.tt-header__nav { display: flex; gap: 14px; align-items: center; font-size: 14px; }
.tt-header__nav a { color: rgba(255,255,255,0.85); }
.tt-header__nav a:hover { color: #fff; }
.tt-header__user { color: rgba(255,255,255,0.9); font-size: 13px; }
.tt-header__user strong { color: var(--color-accent); font-weight: 600; }

/* ---- Buttons ---- */
.tt-btn {
    display: inline-block;
    padding: 10px 18px;
    border-radius: var(--radius);
    background: var(--color-primary);
    color: #fff;
    font-weight: 600;
    border: 0;
    cursor: pointer;
    font-size: 15px;
    transition: background 120ms ease;
}
.tt-btn:hover { background: var(--color-primary-dark); text-decoration: none; }
.tt-btn--accent { background: var(--color-accent); }
.tt-btn--accent:hover { background: var(--color-accent-dark); }
.tt-btn--ghost {
    background: transparent;
    border: 1px solid rgba(255,255,255,0.6);
}
.tt-btn--ghost:hover { background: rgba(255,255,255,0.1); }
.tt-btn--block { display: block; width: 100%; }

/* ---- Forms ---- */
.tt-form {
    background: var(--color-surface);
    padding: 28px;
    border-radius: var(--radius);
    box-shadow: var(--shadow-md);
}
.tt-form h1 { margin-top: 0; font-size: 24px; }
.tt-form label {
    display: block; font-weight: 600; margin: 14px 0 6px; font-size: 14px;
}
.tt-form input[type=email],
.tt-form input[type=password],
.tt-form input[type=text] {
    width: 100%; padding: 10px 12px;
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    font: inherit; font-size: 15px;
}
.tt-form input:focus {
    outline: 2px solid var(--color-primary);
    outline-offset: 1px;
    border-color: var(--color-primary);
}
.tt-form .tt-form__row { margin-top: 18px; }
.tt-form__hint { color: var(--color-muted); font-size: 13px; margin-top: 4px; }

/* ---- Alerts ---- */
.tt-alert {
    padding: 10px 14px; border-radius: var(--radius);
    margin: 0 0 14px; font-size: 14px;
}
.tt-alert--error   { background: #fee2e2; color: var(--color-error); }
.tt-alert--success { background: #dcfce7; color: var(--color-success); }
.tt-alert--info    { background: #dbeafe; color: #1e3a8a; }

/* ---- Choice cards (landing page) ---- */
.tt-hero {
    text-align: center; padding: 56px 16px 24px;
}
.tt-hero h1 { font-size: 36px; margin: 0 0 8px; color: var(--color-primary); }
.tt-hero p  { font-size: 17px; color: var(--color-muted); margin: 0 0 8px; }

.tt-choices {
    display: grid; grid-template-columns: repeat(3, 1fr);
    gap: 24px; padding: 40px 0;
}
@media (max-width: 900px) {
    .tt-choices { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
    .tt-choices { grid-template-columns: 1fr; }
}
.tt-choice {
    background: var(--color-surface);
    border-radius: var(--radius);
    box-shadow: var(--shadow-md);
    padding: 32px 24px;
    text-align: center;
    transition: transform 160ms ease, box-shadow 160ms ease;
    display: block;
    color: inherit;
}
.tt-choice:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0,0,0,0.12);
    text-decoration: none;
}
.tt-choice__badge {
    display: inline-block;
    padding: 4px 10px;
    background: var(--color-accent);
    color: #fff;
    border-radius: 999px;
    font-size: 12px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    font-weight: 700;
}
.tt-choice h2 { margin: 14px 0 8px; font-size: 24px; color: var(--color-primary); }
.tt-choice p  { color: var(--color-muted); font-size: 14px; margin: 0 0 16px; }
.tt-choice__cta {
    color: var(--color-primary); font-weight: 700; font-size: 14px;
    letter-spacing: 0.3px;
}

/* ---- Footer ---- */
.tt-footer {
    margin-top: 60px; padding: 24px 0;
    border-top: 1px solid var(--color-border);
    color: var(--color-muted);
    font-size: 13px;
    text-align: center;
}
.tt-footer a { color: var(--color-muted); margin: 0 6px; }

/* ----