/* ============================================================
   TimeTracker Marketing — Theme Styles
   Modern, clean, fully responsive
   ============================================================ */

:root {
    --brand: #007AFF;
    --accent: #5856D6;
    --ink: #0a0e1a;
    --ink-2: #2d3548;
    --ink-3: #5b6478;
    --line: #e5e8ef;
    --bg: #ffffff;
    --bg-2: #f7f8fb;
    --bg-3: #f0f2f7;
    --green: #34c759;
    --orange: #ff9500;
    --red: #ff3b30;
    --pink: #ff2d55;
    --teal: #5ac8fa;
    --radius: 14px;
    --radius-lg: 20px;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.04), 0 1px 2px rgba(0,0,0,0.06);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.06), 0 2px 4px rgba(0,0,0,0.04);
    --shadow-lg: 0 20px 40px -12px rgba(0,0,0,0.12), 0 8px 16px -8px rgba(0,0,0,0.08);
    --container: 1200px;
    --font-display: 'Outfit', system-ui, sans-serif;
    --font-body: 'Inter', system-ui, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    margin: 0;
    font-family: var(--font-body);
    color: var(--ink);
    background: var(--bg);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

a { color: var(--brand); text-decoration: none; transition: opacity 0.2s; }
a:hover { opacity: 0.8; }

h1, h2, h3, h4 {
    font-family: var(--font-display);
    color: var(--ink);
    line-height: 1.15;
    letter-spacing: -0.02em;
    margin: 0 0 0.5em;
}

.tt-container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 24px;
}

/* ============== Buttons ============== */
.tt-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 22px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 15px;
    border: 1px solid transparent;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
    font-family: inherit;
    text-decoration: none;
}
.tt-btn-lg { padding: 16px 28px; font-size: 16px; border-radius: 14px; }
.tt-btn-block { width: 100%; }

.tt-btn-primary {
    background: linear-gradient(135deg, var(--brand), var(--accent));
    color: white;
    box-shadow: 0 4px 14px -4px rgba(0,122,255,0.4);
}
.tt-btn-primary:hover {
    opacity: 1;
    transform: translateY(-1px);
    box-shadow: 0 6px 20px -4px rgba(0,122,255,0.5);
}

.tt-btn-secondary {
    background: var(--ink);
    color: white;
}
.tt-btn-secondary:hover { opacity: 1; background: #1a1f2e; }

.tt-btn-ghost {
    color: var(--ink);
    background: transparent;
}
.tt-btn-ghost:hover {
    background: var(--bg-3);
    opacity: 1;
}

.tt-btn-arrow { transition: transform 0.2s; }
.tt-btn:hover .tt-btn-arrow { transform: translateX(3px); }

/* ============== Header ============== */
.tt-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255,255,255,0.85);
    backdrop-filter: saturate(180%) blur(20px);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    border-bottom: 1px solid var(--line);
}
.tt-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 24px;
    gap: 24px;
}
.tt-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--ink);
    font-weight: 700;
    font-size: 18px;
    font-family: var(--font-display);
}
.tt-logo-icon { color: var(--brand); }

.tt-nav-list {
    display: flex;
    gap: 28px;
    list-style: none;
    margin: 0;
    padding: 0;
}
.tt-nav-list a {
    color: var(--ink-2);
    font-weight: 500;
    font-size: 15px;
}
.tt-nav-list a:hover { color: var(--brand); }

.tt-header-actions {
    display: flex;
    gap: 10px;
    align-items: center;
}

.tt-menu-toggle {
    display: none;
    background: none;
    border: 0;
    flex-direction: column;
    gap: 4px;
    cursor: pointer;
    padding: 8px;
}
.tt-menu-toggle span {
    width: 22px;
    height: 2px;
    background: var(--ink);
    border-radius: 2px;
}

@media (max-width: 880px) {
    .tt-nav, .tt-header-actions { display: none; }
    .tt-menu-toggle { display: flex; }
    .tt-header-actions.tt-mobile-open {
        display: flex;
        position: absolute;
        top: 100%;
        right: 0;
        background: white;
        padding: 16px;
        border-radius: var(--radius);
        box-shadow: var(--shadow-md);
    }
}

/* ============== Hero ============== */
.tt-hero {
    position: relative;
    padding: 80px 0 100px;
    overflow: hidden;
}
.tt-hero-bg {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}
.tt-hero-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.4;
}
.tt-hero-blob-1 {
    width: 500px; height: 500px;
    background: var(--brand);
    top: -100px; left: -150px;
    opacity: 0.15;
}
.tt-hero-blob-2 {
    width: 400px; height: 400px;
    background: var(--accent);
    top: 100px; right: -100px;
    opacity: 0.12;
}
.tt-hero-blob-3 {
    width: 600px; height: 600px;
    background: var(--pink);
    bottom: -300px; left: 30%;
    opacity: 0.08;
}

.tt-hero-inner {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.tt-hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(0,122,255,0.08);
    color: var(--brand);
    padding: 6px 14px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 20px;
}
.tt-eyebrow-icon { font-size: 14px; }

.tt-hero-headline {
    font-size: clamp(36px, 5vw, 60px);
    font-weight: 800;
    margin: 0 0 20px;
    background: linear-gradient(135deg, var(--ink) 0%, var(--ink-2) 60%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.tt-hero-subhead {
    font-size: 19px;
    color: var(--ink-3);
    max-width: 540px;
    margin: 0 0 32px;
}

.tt-hero-cta-group {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 48px;
}

.tt-hero-trust {
    display: flex;
    gap: 24px;
    align-items: center;
}
.tt-trust-item {
    display: flex;
    flex-direction: column;
}
.tt-trust-item strong {
    font-size: 22px;
    font-family: var(--font-display);
    color: var(--ink);
}
.tt-trust-item span {
    font-size: 13px;
    color: var(--ink-3);
}
.tt-trust-divider {
    width: 1px;
    height: 36px;
    background: var(--line);
}

/* Hero phone mockup */
.tt-hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}
.tt-phone-frame {
    width: 320px;
    height: 660px;
    background: linear-gradient(145deg, #1a1f2e, #0a0e1a);
    border-radius: 50px;
    padding: 14px;
    box-shadow: var(--shadow-lg), 0 40px 80px -20px rgba(0,0,0,0.3);
    transform: rotate(-3deg) translateY(0);
    animation: float 6s ease-in-out infinite;
}
@keyframes float {
    0%, 100% { transform: rotate(-3deg) translateY(0); }
    50% { transform: rotate(-3deg) translateY(-10px); }
}
.tt-phone-screen {
    background: linear-gradient(180deg, #f0f4ff, #e8edff);
    border-radius: 38px;
    height: 100%;
    overflow: hidden;
    padding: 50px 18px 18px;
    position: relative;
}
.tt-phone-screen::before {
    content: '';
    position: absolute;
    top: 12px; left: 50%;
    transform: translateX(-50%);
    width: 100px; height: 28px;
    background: #0a0e1a;
    border-radius: 999px;
}
.tt-phone-statusbar {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    font-weight: 600;
    color: var(--ink);
    margin-bottom: 18px;
}
.tt-phone-greeting {
    font-size: 22px;
    font-weight: 700;
    font-family: var(--font-display);
    margin-bottom: 16px;
}
.tt-phone-card {
    background: white;
    border-radius: 16px;
    padding: 16px;
    margin-bottom: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.06);
}
.tt-phone-status-row {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 600;
    color: var(--green);
    margin-bottom: 8px;
}
.tt-phone-status-dot {
    width: 8px; height: 8px;
    background: var(--green);
    border-radius: 50%;
    animation: pulse 2s infinite;
}
@keyframes pulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(52,199,89,0.6); }
    50% { box-shadow: 0 0 0 8px rgba(52,199,89,0); }
}
.tt-phone-hours {
    font-size: 36px;
    font-weight: 800;
    font-family: var(--font-display);
    color: var(--ink);
}
.tt-phone-hours span {
    font-size: 18px;
    color: var(--ink-3);
    font-weight: 600;
    margin-left: 2px;
}
.tt-phone-progress {
    margin-top: 10px;
    height: 6px;
    background: var(--bg-3);
    border-radius: 999px;
    overflow: hidden;
}
.tt-phone-progress-fill {
    height: 100%;
    width: 80%;
    background: linear-gradient(90deg, var(--brand), var(--accent));
    border-radius: 999px;
}
.tt-phone-card-ai {
    background: linear-gradient(135deg, rgba(0,122,255,0.08), rgba(88,86,214,0.08));
    border: 1px solid rgba(88,86,214,0.15);
}
.tt-phone-ai-badge {
    font-size: 11px;
    font-weight: 700;
    background: linear-gradient(90deg, var(--brand), var(--accent));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin-bottom: 6px;
}
.tt-phone-ai-text {
    font-size: 13px;
    color: var(--ink-2);
}

@media (max-width: 880px) {
    .tt-hero-inner { grid-template-columns: 1fr; }
    .tt-hero-visual { display: none; }
    .tt-hero-trust { flex-wrap: wrap; }
}

/* ============== Sections ============== */
.tt-section {
    padding: 100px 0;
}
.tt-section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px;
}
.tt-section-eyebrow {
    display: inline-block;
    color: var(--brand);
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 16px;
}
.tt-section-header h2 {
    font-size: clamp(32px, 4vw, 48px);
    font-weight: 800;
}

/* ============== Features ============== */
.tt-features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}
.tt-feature-card {
    background: var(--bg);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 32px;
    transition: all 0.3s ease;
}
.tt-feature-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}
.tt-feature-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}
.tt-icon-blue { background: rgba(0,122,255,0.1); color: var(--brand); }
.tt-icon-purple { background: rgba(88,86,214,0.1); color: var(--accent); }
.tt-icon-green { background: rgba(52,199,89,0.1); color: var(--green); }
.tt-icon-orange { background: rgba(255,149,0,0.1); color: var(--orange); }
.tt-icon-pink { background: rgba(255,45,85,0.1); color: var(--pink); }
.tt-icon-teal { background: rgba(90,200,250,0.1); color: var(--teal); }

.tt-feature-card h3 {
    font-size: 20px;
    margin-bottom: 8px;
}
.tt-feature-card p {
    color: var(--ink-3);
    margin: 0;
}

/* ============== Signup ============== */
.tt-signup-section {
    background: var(--bg-2);
}
.tt-signup-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}
.tt-signup-content h2 {
    font-size: clamp(28px, 3.5vw, 40px);
    margin-bottom: 20px;
}
.tt-signup-content > p {
    font-size: 17px;
    color: var(--ink-3);
    margin-bottom: 24px;
}
.tt-signup-features {
    list-style: none;
    padding: 0;
    margin: 0;
}
.tt-signup-features li {
    padding: 8px 0;
    color: var(--ink-2);
    font-weight: 500;
}

.tt-signup-form {
    background: white;
    border-radius: var(--radius-lg);
    padding: 36px;
    box-shadow: var(--shadow-lg);
}
.tt-signup-form h3 {
    font-size: 24px;
    margin-bottom: 24px;
}

.tt-form-group {
    margin-bottom: 16px;
}
.tt-form-group label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--ink-2);
    margin-bottom: 6px;
}
.tt-form-group input {
    width: 100%;
    padding: 12px 14px;
    border-radius: 10px;
    border: 1.5px solid var(--line);
    font-size: 15px;
    font-family: inherit;
    transition: all 0.2s;
    background: var(--bg-2);
}
.tt-form-group input:focus {
    outline: none;
    border-color: var(--brand);
    background: white;
    box-shadow: 0 0 0 4px rgba(0,122,255,0.1);
}
.tt-form-hint {
    display: block;
    font-size: 12px;
    color: var(--ink-3);
    margin-top: 4px;
}

.tt-form-group-inline {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}
.tt-radio-card {
    cursor: pointer;
}
.tt-radio-card input { display: none; }
.tt-radio-card-content {
    display: block;
    padding: 14px;
    border-radius: 12px;
    border: 1.5px solid var(--line);
    background: var(--bg-2);
    text-align: center;
    transition: all 0.2s;
}
.tt-radio-card-content strong {
    display: block;
    font-size: 14px;
    color: var(--ink);
}
.tt-radio-card-content small {
    font-size: 12px;
    color: var(--ink-3);
}
.tt-radio-card input:checked + .tt-radio-card-content {
    border-color: var(--brand);
    background: rgba(0,122,255,0.05);
    color: var(--brand);
}

.tt-btn-spinner {
    width: 16px; height: 16px;
    border: 2px solid rgba(255,255,255,0.3);
    border-top-color: white;
    border-radius: 50%;
    animation: spin 0.6s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

.tt-form-message {
    margin-top: 16px;
    padding: 12px 14px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 500;
}
.tt-form-message.tt-success {
    background: rgba(52,199,89,0.1);
    color: #047a3a;
    border: 1px solid rgba(52,199,89,0.2);
}
.tt-form-message.tt-error {
    background: rgba(255,59,48,0.08);
    color: #c11a14;
    border: 1px solid rgba(255,59,48,0.2);
}

.tt-form-footer {
    text-align: center;
    margin-top: 20px;
    font-size: 14px;
    color: var(--ink-3);
}

@media (max-width: 880px) {
    .tt-signup-grid { grid-template-columns: 1fr; gap: 40px; }
}

/* ============== Testimonials ============== */
.tt-testimonials { background: var(--bg-2); }
.tt-testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}
.tt-testimonial {
    background: white;
    border-radius: var(--radius-lg);
    padding: 32px;
    margin: 0;
    box-shadow: var(--shadow-sm);
}
.tt-testimonial p {
    font-size: 17px;
    color: var(--ink-2);
    margin: 0 0 24px;
    line-height: 1.5;
}
.tt-testimonial footer {
    display: flex;
    flex-direction: column;
}
.tt-testimonial strong { color: var(--ink); }
.tt-testimonial span {
    font-size: 13px;
    color: var(--ink-3);
}

/* ============== Pricing ============== */
.tt-pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    max-width: 980px;
    margin: 0 auto;
}
.tt-pricing-card {
    background: white;
    border: 1.5px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 36px 28px;
    position: relative;
}
.tt-pricing-card-featured {
    border-color: var(--brand);
    box-shadow: 0 8px 30px -8px rgba(0,122,255,0.25);
    transform: translateY(-8px);
}
.tt-pricing-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, var(--brand), var(--accent));
    color: white;
    padding: 4px 14px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
.tt-pricing-card h3 {
    font-size: 20px;
    margin-bottom: 12px;
}
.tt-pricing-amount {
    font-size: 42px;
    font-weight: 800;
    font-family: var(--font-display);
    color: var(--ink);
    margin-bottom: 24px;
}
.tt-pricing-amount span {
    font-size: 14px;
    color: var(--ink-3);
    font-weight: 500;
}
.tt-pricing-card ul {
    list-style: none;
    padding: 0;
    margin: 0 0 28px;
}
.tt-pricing-card ul li {
    padding: 10px 0;
    border-bottom: 1px solid var(--bg-3);
    font-size: 14px;
    color: var(--ink-2);
}
.tt-pricing-card ul li:last-child { border: 0; }

/* ============== Footer ============== */
.tt-footer {
    background: var(--ink);
    color: rgba(255,255,255,0.7);
    padding: 80px 0 40px;
}
.tt-footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 60px;
}
.tt-footer-brand h3 {
    color: white;
    margin-bottom: 12px;
}
.tt-footer-brand p {
    max-width: 320px;
    margin-bottom: 20px;
}
.tt-footer-social {
    display: flex;
    gap: 12px;
}
.tt-footer-social a {
    width: 36px; height: 36px;
    border-radius: 8px;
    background: rgba(255,255,255,0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 14px;
}
.tt-footer-col h4 {
    color: white;
    font-size: 14px;
    margin-bottom: 16px;
}
.tt-footer-col ul {
    list-style: none;
    padding: 0; margin: 0;
}
.tt-footer-col ul li { padding: 6px 0; }
.tt-footer-col a { color: rgba(255,255,255,0.6); font-size: 14px; }
.tt-footer-col a:hover { color: white; }

.tt-footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.08);
    padding-top: 32px;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    font-size: 13px;
}

@media (max-width: 880px) {
    .tt-footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
    .tt-footer-grid { grid-template-columns: 1fr; }
}
