﻿@import url("https://fonts.googleapis.com/css2?family=Barlow:wght@500;600;700;800&family=Space+Grotesk:wght@600;700;800&display=swap");

:root {
    --zw-bg: #f4f7fb;
    --zw-surface: #ffffff;
    --zw-surface-soft: #f8fbff;
    --zw-ink: #0f172a;
    --zw-muted: #5b6b84;
    --zw-brand: #ff2b2b;
    --zw-brand-dark: #d91420;
    --zw-brand-soft: #ffe7ea;
    --zw-accent: #ff7a1a;
    --zw-border: #d9e2ef;
}

* {
    box-sizing: border-box;
}

body.template-kickcss {
    margin: 0;
    font-family: "Barlow", "Segoe UI", sans-serif;
    color: var(--zw-ink);
    background:
        radial-gradient(circle at 8% 0%, rgba(255, 43, 43, 0.1) 0%, rgba(255, 43, 43, 0) 28%),
        radial-gradient(circle at 100% 0%, rgba(255, 122, 26, 0.11) 0%, rgba(255, 122, 26, 0) 30%),
        var(--zw-bg);
}

.zw-shell {
    width: min(1160px, 92%);
    margin: 0 auto;
}

.zw-header {
    position: sticky;
    top: 0;
    z-index: 20;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--zw-border);
}

.zw-header .zw-shell {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 168px;
    gap: 20px;
}

.zw-brand {
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    min-height: 130px;
}

.zw-logo-full,
.zw-logo-mark {
    max-height: 164px;
    width: auto;
}

.zw-brand-fallback {
    display: none;
    color: var(--zw-ink);
    font-family: "Space Grotesk", "Barlow", sans-serif;
    align-items: baseline;
    gap: 8px;
}

.zw-kicker {
    color: var(--zw-brand);
    font-size: 1.18rem;
    font-weight: 800;
    text-transform: uppercase;
}

.zw-brand-name {
    font-size: 0.94rem;
    color: var(--zw-muted);
    font-weight: 600;
}

.zw-nav {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.zw-nav a {
    text-decoration: none;
    color: #334155;
    font-weight: 700;
    border-bottom: 2px solid transparent;
    transition: color 0.2s ease, border-color 0.2s ease;
}

.zw-nav a:hover,
.zw-nav a:focus {
    color: var(--zw-brand-dark);
    border-color: var(--zw-brand);
}

.zw-main {
    padding-bottom: 48px;
}

.zw-eyebrow {
    display: inline-block;
    margin: 0;
    padding: 6px 10px;
    border-radius: 999px;
    background: var(--zw-brand-soft);
    color: var(--zw-brand-dark);
    font-size: 0.82rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.07em;
}

.zw-hero {
    padding: 70px 0 48px;
}

.zw-hero-layout {
    display: grid;
    grid-template-columns: 1.35fr 0.95fr;
    gap: 24px;
    align-items: center;
}

.zw-hero h1 {
    margin: 14px 0 10px;
    max-width: 860px;
    font-family: "Space Grotesk", "Barlow", sans-serif;
    font-size: clamp(2rem, 5vw, 3.1rem);
    line-height: 1.08;
}

.zw-hero p {
    max-width: 760px;
    color: var(--zw-muted);
    font-size: 1.08rem;
}

.zw-hero-mark {
    background: linear-gradient(160deg, #ffffff 0%, #f4f8ff 100%);
    border: 1px solid var(--zw-border);
    border-radius: 22px;
    padding: 24px;
    box-shadow: 0 20px 40px rgba(31, 55, 92, 0.12);
}

.zw-hero-mark img {
    width: 100%;
    height: auto;
    display: block;
}

.zw-hero-bars {
    display: flex;
    gap: 10px;
    margin-top: 14px;
}

.zw-hero-bars span {
    height: 8px;
    border-radius: 999px;
    display: inline-block;
}

.zw-hero-bars span:first-child {
    width: 44%;
    background: linear-gradient(90deg, #ff2b2b, #ff5518);
}

.zw-hero-bars span:last-child {
    width: 30%;
    background: rgba(255, 122, 26, 0.3);
}

.zw-actions {
    display: flex;
    gap: 10px;
    margin-top: 22px;
    flex-wrap: wrap;
}

.zw-btn {
    display: inline-block;
    padding: 12px 18px;
    border-radius: 999px;
    font-weight: 700;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.zw-btn:hover {
    transform: translateY(-1px);
}

.zw-btn-primary {
    background: linear-gradient(90deg, #ff2626, #ff4f1f);
    color: #fff;
}

.zw-btn-primary:hover {
    box-shadow: 0 10px 20px rgba(255, 66, 54, 0.25);
}

.zw-btn-ghost {
    border: 1px solid var(--zw-border);
    color: var(--zw-ink);
    background: var(--zw-surface);
}

.zw-grid {
    display: grid;
    gap: 16px;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.zw-card,
.template-kickcss .panel,
.template-kickcss .well,
.template-kickcss .domain-pricing,
.template-kickcss .ticket-reply,
.template-kickcss .alert {
    background: linear-gradient(180deg, #ffffff 0%, #f9fbff 100%);
    border: 1px solid var(--zw-border);
    border-radius: 16px;
    box-shadow: 0 14px 30px rgba(39, 61, 97, 0.09);
}

.zw-card {
    padding: 20px;
}

.zw-card h2 {
    margin-top: 0;
    margin-bottom: 8px;
    font-family: "Space Grotesk", "Barlow", sans-serif;
    font-size: 1.08rem;
}

.zw-card p {
    margin-top: 0;
    color: var(--zw-muted);
}

.zw-card a {
    color: #dd2f2f;
    text-decoration: none;
    font-weight: 700;
}

.zw-metrics {
    display: grid;
    gap: 14px;
    margin-top: 20px;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.zw-metric-card {
    background: #ffffff;
    border: 1px solid var(--zw-border);
    border-radius: 14px;
    padding: 14px 16px;
}

.zw-metric-card strong {
    display: block;
    font-family: "Space Grotesk", "Barlow", sans-serif;
    margin-bottom: 4px;
}

.zw-metric-card p {
    margin: 0;
    color: var(--zw-muted);
}

.zw-link-card {
    text-decoration: none;
    color: inherit;
}

.zw-link-card:hover {
    border-color: #bdccdf;
}

.zw-client-home {
    padding-top: 50px;
}

.zw-footer {
    margin-top: 48px;
    border-top: 1px solid var(--zw-border);
    padding: 18px 0;
    color: var(--zw-muted);
    background: rgba(255, 255, 255, 0.72);
}

.template-kickcss .main-content,
.template-kickcss .container,
.template-kickcss #main-body {
    color: var(--zw-ink);
}

.template-kickcss a,
.template-kickcss .text-primary {
    color: #d62525;
}

.template-kickcss a:hover,
.template-kickcss a:focus {
    color: #f04a3c;
}

.template-kickcss .btn,
.template-kickcss .btn-default,
.template-kickcss .btn-primary,
.template-kickcss .btn-success,
.template-kickcss .btn-info {
    border-radius: 12px;
    border: 1px solid #cfdae8;
    background: #ffffff;
    color: #132038;
    transition: all 0.2s ease;
}

.template-kickcss .btn-primary,
.template-kickcss .btn-success {
    background: linear-gradient(90deg, #ff2626, #ff4f1f);
    border-color: transparent;
    color: #fff;
}

.template-kickcss .btn:hover,
.template-kickcss .btn:focus {
    transform: translateY(-1px);
    box-shadow: 0 8px 16px rgba(27, 56, 92, 0.16);
}

.template-kickcss .form-control,
.template-kickcss select,
.template-kickcss textarea,
.template-kickcss input[type="text"],
.template-kickcss input[type="email"],
.template-kickcss input[type="password"] {
    background: #ffffff;
    border: 1px solid #cfdae8;
    color: #1a2741;
    border-radius: 10px;
}

.template-kickcss .form-control:focus,
.template-kickcss select:focus,
.template-kickcss textarea:focus {
    border-color: #ff5a3c;
    box-shadow: 0 0 0 2px rgba(255, 90, 60, 0.18);
}

.template-kickcss .table,
.template-kickcss table.dataTable {
    color: #18253d;
    background: #ffffff;
    border-color: #cfdae8;
}

.template-kickcss .table > thead > tr > th,
.template-kickcss table.dataTable thead th {
    background: #f4f8ff;
    border-bottom: 1px solid #cfdae8;
}

.template-kickcss .table > tbody > tr > td,
.template-kickcss .table > tbody > tr > th,
.template-kickcss table.dataTable tbody td {
    border-top: 1px solid #dde6f3;
}

.template-kickcss .panel-heading,
.template-kickcss .panel-footer,
.template-kickcss .modal-header,
.template-kickcss .modal-footer {
    background: #f7faff;
    border-color: #d4dfee;
    color: #16233a;
}

.template-kickcss .modal-content {
    background: #ffffff;
    border: 1px solid #d4dfee;
    color: #16233a;
}

.template-kickcss .breadcrumb {
    background: #f8fbff;
    border: 1px solid #d4dfee;
    border-radius: 10px;
}

@media (max-width: 960px) {
    .zw-hero-layout {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 860px) {
    .zw-logo-full {
        display: none;
    }

    .zw-logo-mark {
        display: inline-block;
        max-height: 130px;
    }

    .zw-header .zw-shell {
        min-height: 138px;
    }
}

@media (min-width: 861px) {
    .zw-logo-full {
        display: inline-block;
    }

    .zw-logo-mark {
        display: none;
    }
}

@media (max-width: 680px) {
    .zw-header .zw-shell {
        min-height: 126px;
        padding: 12px 0;
        flex-direction: column;
        align-items: flex-start;
    }

    .zw-hero {
        padding-top: 42px;
    }

    .zw-nav {
        gap: 10px;
    }
}

.zw-page {
    padding-top: 36px;
}

.zw-page > h1 {
    margin-top: 12px;
}
.zw-auth-card {
    max-width: 560px;
}

.zw-auth-form .form-group {
    margin-bottom: 14px;
}

.zw-auth-form label {
    display: block;
    margin-bottom: 6px;
    font-weight: 700;
    color: #22324d;
}

.zw-auth-page {
    position: relative;
    overflow: hidden;
}

.zw-auth-page::before,
.zw-auth-page::after {
    content: "";
    position: absolute;
    width: 280px;
    height: 280px;
    border-radius: 999px;
    background: radial-gradient(circle, rgba(255, 122, 26, 0.22), rgba(255, 122, 26, 0));
    filter: blur(2px);
    z-index: -1;
    animation: zw-orbit 16s ease-in-out infinite;
}

.zw-auth-page::before {
    top: -80px;
    left: -40px;
}

.zw-auth-page::after {
    bottom: -120px;
    right: -40px;
    animation-delay: -6s;
    background: radial-gradient(circle, rgba(255, 43, 43, 0.22), rgba(255, 43, 43, 0));
}

.zw-auth-layout {
    display: grid;
    grid-template-columns: minmax(220px, 0.95fr) minmax(280px, 1fr);
    gap: 32px;
    align-items: center;
    padding: 40px 0 28px;
    animation: zw-fade-in 0.8s ease both;
}

.zw-auth-copy h1 {
    font-family: "Space Grotesk", "Barlow", sans-serif;
    font-size: clamp(2.1rem, 4.3vw, 3rem);
    line-height: 1.05;
    margin-top: 14px;
}

.zw-auth-lede {
    color: var(--zw-muted);
    font-size: 1.08rem;
    max-width: 420px;
}

.zw-auth-card {
    max-width: 560px;
    position: relative;
    overflow: hidden;
    transform: translateY(6px);
    animation: zw-rise 0.8s ease 0.1s both;
}

.zw-auth-form .form-group {
    margin-bottom: 14px;
    animation: zw-stagger 0.6s ease both;
}

.zw-auth-form label {
    display: block;
    margin-bottom: 6px;
    font-weight: 700;
    color: #22324d;
}

.zw-auth-form .form-group:nth-of-type(1) {
    animation-delay: 0.12s;
}

.zw-auth-form .form-group:nth-of-type(2) {
    animation-delay: 0.22s;
}

.zw-auth-form .zw-actions {
    animation: zw-stagger 0.6s ease 0.32s both;
}

.zw-auth-card::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 16px;
    border: 1px solid rgba(255, 122, 26, 0.25);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.zw-auth-card:hover::after {
    opacity: 1;
}

.zw-auth-form .form-control {
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.zw-auth-form .form-control:focus {
    transform: translateY(-1px);
}

@keyframes zw-fade-in {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes zw-rise {
    from {
        opacity: 0;
        transform: translateY(14px) scale(0.98);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes zw-stagger {
    from {
        opacity: 0;
        transform: translateY(8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes zw-orbit {
    0% {
        transform: translate(0, 0);
    }
    50% {
        transform: translate(16px, 12px);
    }
    100% {
        transform: translate(0, 0);
    }
}

@media (max-width: 900px) {
    .zw-auth-layout {
        grid-template-columns: 1fr;
        padding-top: 28px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .zw-auth-layout,
    .zw-auth-card,
    .zw-auth-form .form-group,
    .zw-auth-form .zw-actions,
    .zw-auth-page::before,
    .zw-auth-page::after {
        animation: none;
    }
}

body.template-kickcss {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.zw-main {
    flex: 1;
}

.zw-auth-copy {
    max-width: 440px;
}

.zw-auth-copy .zw-eyebrow {
    margin-bottom: 12px;
}

.zw-auth-copy h1 {
    margin: 0 0 12px;
}

.zw-auth-form {
    display: grid;
    gap: 18px;
}

.zw-auth-form .form-group {
    margin-bottom: 0;
}

.zw-auth-form label {
    margin-bottom: 8px;
}

.zw-auth-form .zw-actions {
    margin-top: 4px;
}

.zw-btn-primary,
.zw-btn-primary:hover,
.zw-btn-primary:focus,
.template-kickcss .btn-primary,
.template-kickcss .btn-primary:hover,
.template-kickcss .btn-primary:focus,
.template-kickcss .btn-success,
.template-kickcss .btn-success:hover,
.template-kickcss .btn-success:focus {
    color: #fff;
}

.zw-btn-primary,
.zw-btn-primary:hover,
.zw-btn-primary:focus,
.template-kickcss .btn-primary,
.template-kickcss .btn-primary:hover,
.template-kickcss .btn-primary:focus,
.template-kickcss .btn-success,
.template-kickcss .btn-success:hover,
.template-kickcss .btn-success:focus,
.template-kickcss .btn-warning,
.template-kickcss .btn-warning:hover,
.template-kickcss .btn-warning:focus,
.template-kickcss .btn-danger,
.template-kickcss .btn-danger:hover,
.template-kickcss .btn-danger:focus {
    color: #fff;
}
