:root {
    --gt-primary: #1e5aa8;
    --gt-primary-dark: #164a8f;
    --gt-accent: #25d366; /* WhatsApp green */
    --gt-ink: #0f172a;
    --gt-muted: #64748b;
    --gt-bg: #f1f5fb;
    --gt-card: #ffffff;
    --gt-border: #e2e8f0;
    --gt-radius: 14px;
    --gt-shadow: 0 8px 30px rgba(15, 23, 42, 0.08);
    --gt-shadow-lg: 0 16px 50px rgba(15, 23, 42, 0.12);
}

* {
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: var(--gt-bg);
    color: var(--gt-ink);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* ================= HEADER ================= */
.gt-header {
    position: relative;
    background: #fff;
    box-shadow: 0 2px 12px rgba(15, 23, 42, 0.05);
    z-index: 20;
}

.gt-header-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 14px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.gt-brand {
    display: flex;
    align-items: center;
    gap: 14px;
    text-decoration: none;
    color: inherit;
}

.gt-brand-logo {
    height: 52px;
    width: auto;
    object-fit: contain;
}

.gt-brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.15;
}

.gt-brand-title {
    font-weight: 700;
    font-size: 1.05rem;
    color: var(--gt-ink);
}

.gt-brand-sub {
    font-size: 0.78rem;
    color: var(--gt-muted);
    letter-spacing: 0.02em;
}

.gt-header-nav {
    display: flex;
    gap: 8px;
}

.gt-nav-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 16px;
    border-radius: 10px;
    color: var(--gt-muted);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.92rem;
    transition: all .2s ease;
}

    .gt-nav-link:hover {
        background: #eef4ff;
        color: var(--gt-primary);
    }

    .gt-nav-link.active {
        background: var(--gt-primary);
        color: #fff;
    }

.gt-header-strip {
    height: 4px;
    background: linear-gradient(90deg, var(--gt-primary), var(--gt-accent), var(--gt-primary));
}

/* ================= MAIN ================= */
.gt-main {
    flex: 1;
    padding: 40px 20px 60px;
}

.gt-hero {
    max-width: 900px;
    margin: 0 auto 30px;
    text-align: center;
}

    .gt-hero h1 {
        font-weight: 800;
        font-size: clamp(1.6rem, 3vw, 2.1rem);
        color: var(--gt-ink);
        margin: 0 0 10px;
    }

    .gt-hero p {
        color: var(--gt-muted);
        margin: 0;
        font-size: 1rem;
    }

/* ================= CARD ================= */
.gt-card {
    max-width: 980px;
    margin: 0 auto;
    background: var(--gt-card);
    border-radius: var(--gt-radius);
    box-shadow: var(--gt-shadow);
    overflow: hidden;
    border: 1px solid var(--gt-border);
}

.gt-card-body {
    padding: 36px 40px 40px;
}

/* ================= STEPPER ================= */
.gt-stepper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    padding: 26px 20px 6px;
    background: linear-gradient(180deg, #f8fafc 0%, #fff 100%);
    border-bottom: 1px solid var(--gt-border);
}

.gt-step {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--gt-muted);
    font-weight: 500;
    font-size: .9rem;
}

.gt-step-num {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #e2e8f0;
    color: #64748b;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    transition: all .25s ease;
}

.gt-step.active .gt-step-num {
    background: var(--gt-primary);
    color: #fff;
    box-shadow: 0 4px 12px rgba(30,90,168,.35);
}

.gt-step.done .gt-step-num {
    background: var(--gt-accent);
    color: #fff;
}

.gt-step.done .gt-step-label {
    color: var(--gt-ink);
}

.gt-step-line {
    width: 60px;
    height: 2px;
    background: #e2e8f0;
    margin: 0 8px;
}

/* ================= FORM ================= */
.gt-section-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--gt-ink);
    margin: 0 0 18px;
    display: flex;
    align-items: center;
    gap: 8px;
}

    .gt-section-title i {
        color: var(--gt-primary);
    }

.form-label {
    font-weight: 600;
    font-size: .87rem;
    color: #334155;
    margin-bottom: 6px;
}

    .form-label .req {
        color: #dc3545;
        margin-left: 2px;
    }

.form-control, .form-select {
    border-radius: 10px;
    border: 1.5px solid var(--gt-border);
    padding: 11px 14px;
    font-size: .95rem;
    transition: all .18s ease;
}

    .form-control:focus, .form-select:focus {
        border-color: var(--gt-primary);
        box-shadow: 0 0 0 4px rgba(30,90,168,.10);
    }

textarea.form-control {
    min-height: 90px;
    resize: vertical;
}

.gt-hint {
    font-size: .8rem;
    color: var(--gt-muted);
    margin-top: 4px;
}

    .gt-hint i {
        color: var(--gt-accent);
    }

.field-error {
    color: #dc3545;
    font-size: .82rem;
    margin-top: 5px;
    display: none;
}

/* ================= SIGNATURE PAD ================= */
.gt-sig-wrap {
    position: relative;
    border: 2px dashed #cbd5e1;
    border-radius: 12px;
    background: repeating-linear-gradient(45deg, #f8fafc 0 6px, #f1f5f9 6px 12px);
    overflow: hidden;
}

    .gt-sig-wrap canvas {
        display: block;
        width: 100%;
        height: 170px;
        cursor: crosshair;
        touch-action: none;
    }

.gt-sig-hint {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #94a3b8;
    pointer-events: none;
    font-size: .95rem;
    font-weight: 500;
}

.gt-sig-wrap.signed .gt-sig-hint {
    display: none;
}

/* ================= BUTTONS ================= */
.btn {
    border-radius: 10px;
    font-weight: 600;
    padding: 10px 20px;
}

.btn-primary {
    background: var(--gt-primary);
    border-color: var(--gt-primary);
    box-shadow: 0 4px 14px rgba(30,90,168,.28);
}

    .btn-primary:hover {
        background: var(--gt-primary-dark);
        border-color: var(--gt-primary-dark);
    }

.btn-success {
    background: var(--gt-accent);
    border-color: var(--gt-accent);
}

    .btn-success:hover {
        background: #1eb558;
        border-color: #1eb558;
    }

/* ================= OTP PANEL ================= */
.gt-otp-panel {
    max-width: 460px;
    margin: 0 auto;
    text-align: center;
}

.gt-wa-icon {
    width: 82px;
    height: 82px;
    border-radius: 50%;
    background: linear-gradient(135deg, #25d366, #128c7e);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.4rem;
    margin: 0 auto 18px;
    box-shadow: 0 10px 26px rgba(37,211,102,.35);
}

.gt-otp-input {
    letter-spacing: 14px;
    font-weight: 800;
    font-size: 1.7rem !important;
    text-align: center;
    padding: 14px 10px 14px 24px !important;
    border: 2px solid var(--gt-border) !important;
    border-radius: 12px !important;
}

    .gt-otp-input:focus {
        border-color: var(--gt-accent) !important;
        box-shadow: 0 0 0 4px rgba(37,211,102,.15) !important;
    }

/* ================= REVIEW BOX ================= */
.gt-review {
    background: #f8fafc;
    border: 1px solid var(--gt-border);
    border-radius: 12px;
    padding: 20px;
}

.gt-review-item {
    padding: 8px 0;
    border-bottom: 1px dashed #e2e8f0;
}

    .gt-review-item:last-child {
        border-bottom: none;
    }

.gt-review-label {
    color: var(--gt-muted);
    font-size: .78rem;
    text-transform: uppercase;
    letter-spacing: .04em;
    font-weight: 600;
}

.gt-review-value {
    color: var(--gt-ink);
    font-weight: 500;
    margin-top: 2px;
}
/* ============ NEED HELP CARD ============ */
.gt-help-card {
    max-width: 980px;
    margin: 22px auto 0;
    background: linear-gradient(135deg, #ffffff 0%, #f4fdf7 100%);
    border: 1px solid #d1fae5;
    border-radius: var(--gt-radius);
    padding: 20px 26px;
    display: flex;
    align-items: center;
    gap: 20px;
    box-shadow: 0 4px 18px rgba(37, 211, 102, .08);
}

.gt-help-icon {
    width: 54px;
    height: 54px;
    flex: 0 0 54px;
    border-radius: 50%;
    background: linear-gradient(135deg, #25d366, #128c7e);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    box-shadow: 0 6px 16px rgba(37,211,102,.32);
}

.gt-help-body {
    flex: 1;
}

    .gt-help-body h5 {
        font-weight: 700;
        color: var(--gt-ink);
    }

.gt-help-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

@media (max-width: 768px) {
    .gt-help-card {
        flex-direction: column;
        text-align: center;
        padding: 22px 20px;
    }

    .gt-help-actions {
        justify-content: center;
        width: 100%;
    }

        .gt-help-actions .btn {
            flex: 1;
        }
}
/* ============ OTP HELP ============ */
.gt-otp-help{ margin-top: 24px; }
.gt-otp-help-divider{
  position: relative;
  text-align: center;
  margin: 18px 0 14px;
  color: #94a3b8;
  font-size: .8rem;
}
.gt-otp-help-divider::before{
  content: '';
  position: absolute;
  top: 50%; left: 0; right: 0;
  height: 1px;
  background: #e2e8f0;
}
.gt-otp-help-divider span{
  position: relative;
  background: #fff;
  padding: 0 12px;
  text-transform: uppercase;
  letter-spacing: .05em;
  font-weight: 600;
}
/* ================= FOOTER ================= */
.gt-footer {
    background: #0f172a;
    color: #cbd5e1;
    margin-top: auto;
}

.gt-footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 44px 24px 30px;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
}

.gt-footer-title {
    color: #fff;
    font-weight: 700;
    font-size: .95rem;
    margin-bottom: 14px;
    text-transform: uppercase;
    letter-spacing: .05em;
}

.gt-footer-text {
    color: #94a3b8;
    font-size: .88rem;
    line-height: 1.7;
}

    .gt-footer-text i {
        color: var(--gt-accent);
        margin-right: 6px;
    }

.gt-footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

    .gt-footer-links li {
        margin-bottom: 8px;
    }

    .gt-footer-links a {
        color: #cbd5e1;
        text-decoration: none;
        font-size: .88rem;
        transition: color .18s ease;
    }

        .gt-footer-links a:hover {
            color: var(--gt-accent);
        }

.gt-footer-bottom {
    border-top: 1px solid #1e293b;
    background: #0a1220;
}

.gt-footer-bottom-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 16px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    color: #94a3b8;
    font-size: .82rem;
}

.gt-dev-credit {
    display: flex;
    align-items: center;
    gap: 10px;
}

.gt-dev-label {
    color: #64748b;
}

.gt-dev-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #e2e8f0;
    text-decoration: none;
    font-weight: 600;
    transition: color .18s ease;
}

    .gt-dev-link:hover {
        color: var(--gt-accent);
    }

.gt-dev-logo {
    height: 24px;
    width: auto;
    background: #fff;
    border-radius: 6px;
    padding: 2px 6px;
    object-fit: contain;
}

/* ================= RESPONSIVE ================= */
@media (max-width: 768px) {
    .gt-card-body {
        padding: 24px 20px 28px;
    }

    .gt-stepper {
        padding: 18px 8px 4px;
    }

    .gt-step-line {
        width: 30px;
    }

    .gt-step-label {
        display: none;
    }

    .gt-header-inner {
        padding: 12px 16px;
    }

    .gt-brand-title {
        font-size: .95rem;
    }

    .gt-header-nav .gt-nav-link span {
        display: none;
    }

    .gt-footer-inner {
        grid-template-columns: 1fr;
        gap: 26px;
        padding: 30px 20px;
    }

    .gt-footer-bottom-inner {
        justify-content: center;
        text-align: center;
    }
}
