/* Homepage only. Shared theme lives in site.css */
.pt-hero { padding: 3.5rem 0 2rem; position: relative; overflow: hidden; }
.pt-hero::before {
    content: ''; position: absolute; width: 520px; height: 520px; top: -160px; left: 5%;
    background: radial-gradient(circle, rgba(236, 72, 153, 0.09) 0%, transparent 70%); pointer-events: none;
}
.pt-hero::after {
    content: ''; position: absolute; width: 600px; height: 600px; bottom: -260px; right: 5%;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.09) 0%, transparent 70%); pointer-events: none;
}
.pt-hero .container { position: relative; z-index: 1; }

/* The one animated moment: the logo with a scan line */
.pt-logo-wrap { position: relative; width: 180px; height: 180px; margin: 0 auto 1.5rem; display: flex; align-items: center; justify-content: center; }
.pt-logo-glow {
    position: absolute; width: 140px; height: 140px; border-radius: 50%;
    background: conic-gradient(from 0deg, #ff4500, #ff00a0, #00f2fe, #4facfe, #00ff87, #ff4500);
    filter: blur(25px); opacity: 0.65;
    animation: ptSpin 6s linear infinite;
}
.pt-logo-wrap img { position: relative; z-index: 2; width: 150px; height: 150px; object-fit: contain; }
.pt-logo-scan {
    position: absolute; left: 5%; width: 90%; height: 2px; z-index: 3;
    background: linear-gradient(90deg, transparent, #fff, #00f2fe, #fff, transparent);
    box-shadow: 0 0 10px #00f2fe, 0 0 20px #ff00a0;
    animation: ptScan 3s ease-in-out infinite;
}
@keyframes ptSpin { to { transform: rotate(360deg); } }
@keyframes ptScan { 0% { top: 10%; opacity: 0; } 10%, 90% { opacity: 1; } 100% { top: 90%; opacity: 0; } }

.pt-status { color: var(--pt-cyan); font-weight: 600; margin-bottom: 0.5rem; }
.pt-hero h1 {
    font-size: clamp(2.2rem, 6vw, 3.2rem); font-weight: 800; letter-spacing: -0.5px; margin-bottom: 1rem;
    background: linear-gradient(135deg, #ffffff 30%, #a3aed0 100%);
    -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.pt-lead { color: var(--pt-muted); font-size: 1.1rem; line-height: 1.6; max-width: 60ch; margin: 0 auto; }

/* Tool tiles */
.pt-tool {
    display: flex; align-items: center; gap: 0.75rem; padding: 0.85rem 1.1rem; height: 100%;
    background: rgba(255, 255, 255, 0.02); border: 1px solid var(--pt-border); border-radius: 14px;
    color: #cbd5e1; text-decoration: none;
}
a.pt-tool:hover { border-color: var(--pt-cyan); background: rgba(0, 242, 254, 0.04); color: #fff; }
.pt-tool-icon {
    width: 38px; height: 38px; display: flex; align-items: center; justify-content: center;
    background: rgba(255, 255, 255, 0.04); border-radius: 10px; font-size: 1.25rem; flex: none;
}
.pt-tool-name { font-weight: 500; flex: 1; }
.pt-tool-badge { font-size: 0.75rem; color: var(--pt-muted); border: 1px solid var(--pt-border); border-radius: 999px; padding: 2px 10px; white-space: nowrap; }

/* Email signup */
.pt-signup { max-width: 540px; padding-top: 2rem; }
.pt-signup-form {
    display: flex; gap: 6px; padding: 6px; border-radius: 999px;
    background: rgba(255, 255, 255, 0.04); border: 1px solid var(--pt-border);
}
.pt-signup-form:focus-within { border-color: var(--pt-cyan); }
.pt-signup-form input {
    flex: 1; min-width: 0; background: transparent; border: 0; color: #fff; padding: 0.6rem 1.1rem; outline: none;
}
.pt-signup-form input::placeholder { color: #566579; }
#form-message { min-height: 1.5rem; font-weight: 500; }
#form-message.msg-success { color: var(--pt-success); }
#form-message.msg-error { color: var(--pt-danger); }

@media (max-width: 480px) {
    .pt-signup-form { flex-direction: column; background: transparent; border: 0; padding: 0; }
    .pt-signup-form input { background: rgba(255,255,255,0.04); border: 1px solid var(--pt-border); border-radius: 999px; text-align: center; }
    .pt-signup-form .btn { width: 100%; }
}
