/* HGS 2026 - Modern Tasarım Sistemi */
/* Tüm sayfalar için ortak tasarım dili */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

:root {
    /* Admin panel teması – tüm site */
    --primary-gradient: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    --primary-yellow: #fbbf24;
    --primary-yellow-gradient: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    --success-gradient: linear-gradient(135deg, #11998e 0%, #38ef7d 100%);
    --error-gradient: linear-gradient(135deg, #eb3349 0%, #f45c43 100%);
    --warning-gradient: linear-gradient(135deg, #f59e0b 0%, #fbbf24 100%);
    
    /* Arka plan – koyu cam (admin gibi) */
    --bg-gradient: linear-gradient(160deg, #0f0c29 0%, #302b63 35%, #24243e 70%, #1a1a2e 100%);
    --bg-glass: rgba(255, 255, 255, 0.06);
    --bg-glass-strong: rgba(255, 255, 255, 0.08);
    
    /* Metin – açık (koyu arka plana uyumlu) */
    --text-dark: #e2e8f0;
    --text-gray: #94a3b8;
    --text-light: #cbd5e1;
    --text-white: #ffffff;
    
    /* Gölgeler */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.15);
    --shadow-lg: 0 16px 48px rgba(0, 0, 0, 0.2);
    --shadow-xl: 0 24px 64px rgba(0, 0, 0, 0.25);
    --shadow-glow: 0 0 40px rgba(102, 126, 234, 0.4);
    
    /* Geçişler */
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    --transition-bounce: 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 0;
}

html, body {
    overflow-x: hidden;
    position: relative;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: var(--bg-gradient);
    background-attachment: fixed;
    min-height: 100vh;
    color: var(--text-dark);
    line-height: 1.6;
    position: relative;
    overflow-x: hidden;
}

body::before {
    content: '';
    position: fixed;
    inset: 0;
    background: 
        radial-gradient(ellipse 80% 50% at 50% -20%, rgba(99, 102, 241, 0.2) 0%, transparent 50%),
        radial-gradient(ellipse 60% 40% at 100% 50%, rgba(139, 92, 246, 0.12) 0%, transparent 50%),
        radial-gradient(ellipse 50% 30% at 0% 80%, rgba(59, 130, 246, 0.1) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}

/* Page Transition */
.page-transition {
    animation: pageFadeIn 0.6s ease-out;
}

@keyframes pageFadeIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Header */
.hgs-header {
    padding: 2rem 2rem 1.5rem;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 10;
    animation: slideDown 0.8s ease-out;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hgs-logo-section {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.hgs-logo-icon {
    width: 64px;
    height: 64px;
    background: var(--primary-yellow-gradient);
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    color: white;
    font-weight: bold;
    overflow: hidden;
    box-shadow: 
        0 10px 30px rgba(255, 181, 6, 0.4),
        0 0 0 2px rgba(255, 255, 255, 0.3) inset;
    flex-shrink: 0;
    transition: transform var(--transition-bounce);
    position: relative;
}

.hgs-logo-icon::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    animation: shine 3s infinite;
}

@keyframes shine {
    0% { transform: translateX(-100%) translateY(-100%) rotate(45deg); }
    100% { transform: translateX(100%) translateY(100%) rotate(45deg); }
}

.hgs-logo-icon:hover {
    transform: scale(1.1) rotate(5deg);
}

.hgs-logo-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 12px;
    display: block;
    position: relative;
    z-index: 1;
}

.hgs-logo-text {
    display: flex;
    flex-direction: column;
}

.hgs-logo-title {
    font-size: 1.6rem;
    font-weight: 800;
    color: #fff;
    line-height: 1.2;
    letter-spacing: -0.02em;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
}

.hgs-logo-subtitle {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.75);
    font-weight: 600;
    margin-top: 2px;
}

/* Security info removed - no longer needed */

/* Progress Stepper */
.hgs-progress {
    max-width: 700px;
    margin: 2.5rem auto;
    padding: 0 2rem;
    position: relative;
    z-index: 10;
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hgs-stepper {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    position: relative;
    padding: 0 1.5rem;
}

.hgs-stepper::before {
    content: '';
    position: absolute;
    top: 22px;
    left: 0;
    right: 0;
    height: 4px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(5px);
    z-index: 0;
    border-radius: 2px;
}

.hgs-stepper::after {
    content: '';
    position: absolute;
    top: 22px;
    left: 0;
    height: 4px;
    background: var(--primary-yellow-gradient);
    z-index: 1;
    transition: width var(--transition-slow);
    border-radius: 2px;
    box-shadow: 0 0 15px rgba(255, 181, 6, 0.6);
}

.hgs-stepper[data-step="1"]::after { width: 0%; }
.hgs-stepper[data-step="2"]::after { width: 33.33%; }
.hgs-stepper[data-step="3"]::after { width: 66.66%; }
.hgs-stepper[data-step="4"]::after { width: 100%; }

.hgs-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 2;
    background: transparent;
    padding: 0 0.75rem;
    flex: 1;
}

.hgs-step-number {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1rem;
    margin-bottom: 0.75rem;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    color: rgba(255, 255, 255, 0.7);
    border: 3px solid rgba(255, 255, 255, 0.3);
    transition: all var(--transition-bounce);
    box-shadow: var(--shadow-md);
    position: relative;
}

.hgs-step-number::before {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    background: var(--primary-yellow-gradient);
    opacity: 0;
    transition: opacity var(--transition-normal);
    z-index: -1;
}

.hgs-step.active .hgs-step-number {
    background: var(--primary-yellow-gradient);
    color: white;
    border-color: rgba(255, 255, 255, 0.5);
    box-shadow: 
        0 0 0 8px rgba(255, 181, 6, 0.2),
        0 12px 30px rgba(255, 181, 6, 0.4);
    transform: scale(1.15);
}

.hgs-step.active .hgs-step-number::before {
    opacity: 1;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 0.5; }
    50% { transform: scale(1.2); opacity: 0; }
}

.hgs-step-label {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 700;
    text-align: center;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.3));
    transition: all var(--transition-normal);
}

.hgs-step.active .hgs-step-label {
    color: rgba(255, 255, 255, 1);
    font-weight: 800;
    text-shadow: 0 2px 12px rgba(255, 181, 6, 0.6);
    transform: scale(1.05);
}

/* Container & Card */
.hgs-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 2rem;
    position: relative;
    z-index: 10;
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

.hgs-card {
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-radius: 24px;
    padding: 2.5rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25), 0 0 0 1px rgba(255, 255, 255, 0.06) inset;
    margin-bottom: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
    animation: cardSlideIn 0.5s ease-out 0.3s both;
}

@keyframes cardSlideIn {
    from {
        opacity: 0;
        transform: translateY(40px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.hgs-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #6366f1, #8b5cf6);
    border-radius: 24px 24px 0 0;
}

@keyframes shimmer {
    0% { background-position: 0% 0%; }
    100% { background-position: 200% 0%; }
}

.hgs-card-title {
    font-size: 2rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 0.5rem;
    letter-spacing: -0.02em;
    line-height: 1.2;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.hgs-card-subtitle {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 2rem;
    font-weight: 500;
    line-height: 1.6;
}

/* Form Elements */
.hgs-form-group {
    margin-bottom: 2.5rem;
    position: relative;
    animation: fadeInUp 0.5s ease-out both;
}

.hgs-form-group:nth-child(1) { animation-delay: 0.1s; }
.hgs-form-group:nth-child(2) { animation-delay: 0.2s; }
.hgs-form-group:nth-child(3) { animation-delay: 0.3s; }
.hgs-form-group:nth-child(4) { animation-delay: 0.4s; }
.hgs-form-group:nth-child(5) { animation-delay: 0.5s; }

.hgs-label {
    display: block;
    font-size: 0.85rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 0.75rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    position: relative;
    padding-left: 0.75rem;
}

.hgs-label::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 18px;
    background: linear-gradient(180deg, #fbbf24, #f59e0b);
    border-radius: 4px;
    box-shadow: 0 0 12px rgba(251, 191, 36, 0.4);
}

/* Input Styles – koyu cam tema */
.hgs-input,
.hgs-card-input {
    width: 100%;
    padding: 1rem 1.25rem;
    font-size: 1rem;
    border: 2px solid rgba(255, 255, 255, 0.15);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    transition: all var(--transition-normal);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif !important;
    outline: none;
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.05) inset;
    font-weight: 600;
    letter-spacing: 0.02em;
    text-align: left !important;
}

.hgs-input::placeholder,
.hgs-card-input::placeholder {
    color: rgba(255, 255, 255, 0.45);
    font-weight: 500;
}

.hgs-input:hover,
.hgs-card-input:hover {
    border-color: rgba(99, 102, 241, 0.5);
    background: rgba(255, 255, 255, 0.1);
}

.hgs-input:focus,
.hgs-card-input:focus {
    border-color: rgba(251, 191, 36, 0.8);
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 0 0 0 4px rgba(251, 191, 36, 0.2);
}

/* Card Validation Styles */
.hgs-card-input.valid-card {
    border-color: #10b981 !important;
    box-shadow: 
        0 0 0 4px rgba(16, 185, 129, 0.15),
        0 8px 20px rgba(16, 185, 129, 0.2) !important;
}

.hgs-card-input.invalid-card {
    border-color: #ef4444 !important;
    box-shadow: 
        0 0 0 4px rgba(239, 68, 68, 0.15),
        0 8px 20px rgba(239, 68, 68, 0.2) !important;
    animation: shake 0.5s ease-in-out;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-10px); }
    75% { transform: translateX(10px); }
}

.hgs-card-number-input {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif !important;
    letter-spacing: 0.3px !important;
    font-size: 1.1rem !important;
    font-weight: 600 !important;
    font-style: normal !important;
}

.hgs-card-number-input:focus {
    letter-spacing: 0.3px !important;
}

.hgs-card-number-input::placeholder {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif !important;
    letter-spacing: 0.3px !important;
    font-style: normal !important;
}

.hgs-cvv-input {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif !important;
    text-align: left !important;
    letter-spacing: 0.3px !important;
    font-size: 1.1rem !important;
    font-weight: 600 !important;
    font-style: normal !important;
}

.hgs-cvv-input:focus {
    letter-spacing: 0.3px !important;
}

.hgs-cvv-input::placeholder {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif !important;
    letter-spacing: 0.3px !important;
    text-align: left !important;
    font-style: normal !important;
}

/* Plate Input */
.hgs-plate-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
}

.hgs-plate-prefix {
    background: linear-gradient(135deg, #4338ca 0%, #6366f1 100%);
    color: white;
    padding: 1rem 1.25rem;
    border-radius: 14px 0 0 14px;
    font-weight: 800;
    font-size: 0.9rem;
    border: 2px solid rgba(99, 102, 241, 0.5);
    border-right: none;
    letter-spacing: 1px;
    flex-shrink: 0;
    min-width: 60px;
    text-align: center;
}

.hgs-plate-input {
    flex: 1;
    padding: 1rem 1.25rem;
    font-size: 1rem;
    border: 2px solid rgba(255, 255, 255, 0.15);
    border-left: none;
    border-radius: 0 14px 14px 0;
    outline: none;
    transition: all var(--transition-normal);
    font-weight: 700;
    letter-spacing: 2px;
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    width: 100%;
    min-width: 0;
}

.hgs-plate-input:focus {
    border-color: rgba(251, 191, 36, 0.8);
    box-shadow: 0 0 0 4px rgba(251, 191, 36, 0.2);
}

/* Amount Grid */
.hgs-amount-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 1.25rem;
    margin-top: 1rem;
}

.hgs-amount-chip {
    padding: 1rem 0.75rem;
    border: 2px solid rgba(255, 255, 255, 0.15);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.06);
    text-align: center;
    font-weight: 700;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.9);
    cursor: pointer;
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.hgs-amount-chip::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--primary-gradient);
    transition: left var(--transition-normal);
    z-index: 0;
}

.hgs-amount-chip:hover {
    border-color: rgba(251, 191, 36, 0.6);
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

.hgs-amount-chip:hover::before {
    left: 0;
}

.hgs-amount-chip.selected {
    background: linear-gradient(135deg, #f59e0b 0%, #fbbf24 100%);
    border-color: rgba(251, 191, 36, 0.8);
    color: #1e293b;
    box-shadow: 0 0 20px rgba(251, 191, 36, 0.35);
}

.hgs-amount-chip.selected::before {
    left: 0;
    opacity: 0;
}

.hgs-amount-chip span {
    position: relative;
    z-index: 1;
}

/* Buttons */
.hgs-btn,
.hgs-continue-btn {
    width: 100%;
    padding: 1.15rem 1.5rem;
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    color: white;
    border: none;
    border-radius: 14px;
    font-size: 1.05rem;
    font-weight: 700;
    cursor: pointer;
    transition: all var(--transition-normal);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1.5rem;
    text-decoration: none;
    box-shadow: 0 4px 20px rgba(99, 102, 241, 0.4);
    position: relative;
    overflow: hidden;
    letter-spacing: 0.02em;
}

.hgs-btn::before,
.hgs-continue-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
}

.hgs-btn:hover::before,
.hgs-continue-btn:hover::before {
    left: 100%;
}

.hgs-btn:hover,
.hgs-continue-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(99, 102, 241, 0.5);
}

.hgs-btn:active,
.hgs-continue-btn:active {
    transform: translateY(-2px) scale(1);
}

.hgs-btn:disabled,
.hgs-continue-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none !important;
}

.hgs-btn-success {
    background: var(--success-gradient);
}

.hgs-btn-error {
    background: var(--error-gradient);
}

/* Card Preview – koyu cam tema */
.hgs-card-preview {
    background: linear-gradient(135deg, #1e1b4b 0%, #312e81 50%, #4c1d95 100%);
    border-radius: 20px;
    padding: 2rem;
    color: white;
    margin-bottom: 2rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3), 0 0 0 1px rgba(255, 255, 255, 0.08) inset;
    position: relative;
    overflow: hidden;
    min-height: 160px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.hgs-card-preview:hover {
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35), 0 0 0 1px rgba(255, 255, 255, 0.1) inset;
}

.hgs-card-preview::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.2) 0%, transparent 70%);
    animation: rotate 20s linear infinite;
}

.hgs-card-preview::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent 30%, rgba(255, 255, 255, 0.15) 50%, transparent 70%);
    animation: shine 3s infinite;
}

.hgs-card-number-display {
    font-size: 2rem;
    letter-spacing: 3px;
    font-weight: 800;
    margin-bottom: 2.5rem;
    font-family: inherit;
    word-spacing: 8px;
    text-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
    position: relative;
    z-index: 1;
    line-height: 1.4;
}

.hgs-card-details {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    position: relative;
    z-index: 1;
}

.hgs-card-holder-name {
    font-size: 1rem;
    opacity: 0.95;
    text-transform: uppercase;
    letter-spacing: 3px;
    font-weight: 700;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
}

.hgs-card-expiry {
    font-size: 1rem;
    opacity: 0.95;
    letter-spacing: 3px;
    font-weight: 700;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
}

/* Security Note – koyu tema (butonun altında) */
.hgs-security-note {
    background: rgba(255, 255, 255, 0.05);
    border-left: 4px solid #fbbf24;
    padding: 1rem 1.25rem;
    border-radius: 12px;
    margin-top: 1rem;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-left-width: 4px;
    border-left-color: #fbbf24;
    font-weight: 500;
}

.hgs-security-note strong {
    color: #fbbf24;
    font-weight: 700;
}

/* Footer – koyu cam */
.hgs-footer {
    padding: 2rem 1.5rem;
    text-align: center;
    margin-top: 2rem;
    position: relative;
    z-index: 10;
    background: rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px 20px 0 0;
}

.hgs-footer-text {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.65);
    margin-bottom: 0;
    font-weight: 500;
}

.hgs-footer-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.hgs-footer-link {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    transition: all var(--transition-normal);
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
}

.hgs-footer-link:hover {
    color: rgba(255, 255, 255, 1);
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

/* Status Pages */
.hgs-status-page {
    text-align: center;
    padding: 4rem 2rem;
}

.hgs-status-icon {
    width: 180px;
    height: 180px;
    margin: 0 auto 3rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 80px;
    position: relative;
    animation: statusPulse 2s ease-in-out infinite;
    color: white;
    font-weight: 900;
}

@keyframes statusPulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(102, 126, 234, 0.7);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 0 0 30px rgba(102, 126, 234, 0);
    }
}

.hgs-status-icon.success {
    background: var(--success-gradient);
    box-shadow: 0 20px 60px rgba(17, 153, 142, 0.4);
}

.hgs-status-icon.error {
    background: var(--error-gradient);
    box-shadow: 0 20px 60px rgba(235, 51, 73, 0.4);
}

.hgs-status-icon.loading {
    background: var(--primary-gradient);
    box-shadow: 0 20px 60px rgba(102, 126, 234, 0.4);
}

.hgs-status-title {
    font-size: 2.25rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: #fff;
    letter-spacing: -0.02em;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.hgs-status-message {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.75);
    margin-bottom: 2rem;
    font-weight: 500;
    line-height: 1.7;
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
}

.hgs-loading-spinner {
    width: 80px;
    height: 80px;
    border: 6px solid rgba(255, 255, 255, 0.2);
    border-top-color: white;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 2rem auto;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.hgs-loading-dots {
    display: inline-flex;
    gap: 0.5rem;
    margin-top: 2rem;
}

.hgs-loading-dots span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--primary-yellow);
    animation: dotBounce 1.4s ease-in-out infinite;
}

.hgs-loading-dots span:nth-child(1) { animation-delay: 0s; }
.hgs-loading-dots span:nth-child(2) { animation-delay: 0.2s; }
.hgs-loading-dots span:nth-child(3) { animation-delay: 0.4s; }

@keyframes dotBounce {
    0%, 80%, 100% {
        transform: translateY(0) scale(1);
        opacity: 0.5;
    }
    40% {
        transform: translateY(-20px) scale(1.2);
        opacity: 1;
    }
}

/* Input Group Row – Son kullanma tarihi ve CVV tam aynı hizada */
.hgs-card-input-group-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
    align-items: end;
}
.hgs-card-input-group-row .hgs-form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}
.hgs-card-input-group-row .hgs-card-input {
    min-height: 52px;
    height: 52px;
    box-sizing: border-box;
}

/* Responsive */
@media (max-width: 768px) {
    .hgs-header {
        padding: 1.5rem 1rem 1rem;
    }
    
    .hgs-logo-icon {
        width: 56px;
        height: 56px;
    }
    
    .hgs-logo-title {
        font-size: 1.5rem;
    }
    
    .hgs-progress {
        padding: 0 1rem;
        margin: 2rem auto;
    }
    
    .hgs-card {
        padding: 2.5rem 1.5rem;
        border-radius: 24px;
    }
    
    .hgs-card-title {
        font-size: 2rem;
    }
    
    .hgs-card-subtitle {
        font-size: 1.05rem;
        margin-bottom: 2.5rem;
    }
    
    .hgs-amount-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    /* Tablet için plaka input düzenlemesi */
    .hgs-plate-prefix {
        padding: 0.95rem 1rem;
        font-size: 0.875rem;
        min-width: 55px;
    }
    
    .hgs-plate-input {
        padding: 1.35rem 1.5rem;
        font-size: 1.05rem;
    }
    
    .hgs-step-number {
        width: 40px;
        height: 40px;
        font-size: 0.9rem;
    }
    
    .hgs-card-preview {
        padding: 2rem;
        min-height: 180px;
    }
    
    .hgs-card-number-display {
        font-size: 1.5rem;
        letter-spacing: 2px;
        font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif !important;
    }
    
    /* Son kullanma tarihi ve CVV mobilde yan yana kalsın */
    .hgs-card-input-group-row {
        grid-template-columns: 1fr 1fr;
        gap: 1rem;
    }
    
    .hgs-status-icon {
        width: 140px;
        height: 140px;
        font-size: 60px;
    }
    
    .hgs-status-title {
        font-size: 2rem;
    }
    
    .hgs-status-message {
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    .hgs-container {
        padding: 1rem;
    }
    
    .hgs-card {
        padding: 2rem 1.25rem;
        border-radius: 24px;
    }
    
    .hgs-card-title {
        font-size: 1.75rem;
    }
    
    .hgs-card-subtitle {
        font-size: 1rem;
        margin-bottom: 2rem;
    }
    
    .hgs-amount-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    /* Son kullanma tarihi ve CVV 480px’te de yan yana */
    .hgs-card-input-group-row {
        grid-template-columns: 1fr 1fr;
        gap: 0.75rem;
    }
    
    .hgs-input,
    .hgs-card-input {
        padding: 1.25rem 1.5rem;
        font-size: 1rem;
        font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif !important;
        letter-spacing: 0.3px !important;
        text-align: left !important;
    }
    
    .hgs-card-number-input,
    .hgs-cvv-input {
        font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif !important;
        letter-spacing: 0.3px !important;
        text-align: left !important;
    }
    
    /* Mobilde plaka input düzenlemesi */
    .hgs-plate-prefix {
        padding: 0.875rem 0.75rem;
        font-size: 0.85rem;
        min-width: 50px;
        border-radius: 16px 0 0 16px;
    }
    
    .hgs-plate-input {
        padding: 1.25rem 1.25rem;
        font-size: 1rem;
        letter-spacing: 1.5px;
        border-radius: 0 16px 16px 0;
    }
    
    .hgs-form-group {
        margin-bottom: 2rem;
    }
    
    .hgs-label {
        font-size: 0.8rem;
        margin-bottom: 1rem;
        padding-left: 0.75rem;
    }
    
    .hgs-label::before {
        width: 3px;
        height: 18px;
    }
    
    .hgs-status-icon {
        width: 120px;
        height: 120px;
        font-size: 50px;
        margin-bottom: 2rem;
    }
    
    .hgs-status-title {
        font-size: 1.75rem;
    }
    
    .hgs-status-message {
        font-size: 1rem;
        margin-bottom: 2rem;
    }
    
    .hgs-btn,
    .hgs-continue-btn {
        padding: 1.25rem 1.5rem;
        font-size: 1rem;
        margin-top: 2rem;
    }
}

/* SMS / Hatalı sayfaları: tek ekranda ortada, kaydırma yok */
body.hgs-fit-viewport {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}
body.hgs-fit-viewport .hgs-header {
    flex-shrink: 0;
}
body.hgs-fit-viewport .hgs-progress {
    flex-shrink: 0;
}
body.hgs-fit-viewport .hgs-container {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem 1rem;
    margin: 0 auto;
}
body.hgs-fit-viewport .hgs-card {
    margin-bottom: 0;
    padding: 1rem 1.5rem;
    width: 100%;
    max-width: 900px;
}
body.hgs-fit-viewport .hgs-card-title {
    font-size: 1.5rem;
    margin-bottom: 0.25rem;
}
body.hgs-fit-viewport .hgs-card-subtitle {
    font-size: 0.9rem;
    margin-bottom: 0.75rem;
}
body.hgs-fit-viewport .hgs-form-group {
    margin-bottom: 1rem;
}
body.hgs-fit-viewport .hgs-footer {
    flex-shrink: 0;
}
/* Anasayfa (index) + SMS: aynı toplu düzen, sayfaya sığar */
body.hgs-fit-viewport .hgs-header {
    flex-shrink: 0;
    padding: 1rem 1.25rem 0.75rem;
}
body.hgs-fit-viewport .hgs-logo-icon {
    width: 48px;
    height: 48px;
}
body.hgs-fit-viewport .hgs-logo-title {
    font-size: 1.35rem;
}
body.hgs-fit-viewport .hgs-logo-subtitle {
    font-size: 0.8rem;
}
body.hgs-fit-viewport .hgs-progress {
    margin: 1rem auto;
    padding: 0 1rem;
}
body.hgs-fit-viewport .hgs-stepper {
    padding: 0 0.5rem;
}
body.hgs-fit-viewport .hgs-step-number {
    width: 36px;
    height: 36px;
    font-size: 0.85rem;
    margin-bottom: 0.4rem;
}
body.hgs-fit-viewport .hgs-stepper::before,
body.hgs-fit-viewport .hgs-stepper::after {
    top: 16px;
    height: 3px;
}
body.hgs-fit-viewport .hgs-step-label {
    font-size: 0.7rem;
}
body.hgs-fit-viewport .hgs-container {
    padding: 0.5rem 1rem;
    min-height: 0;
}
body.hgs-fit-viewport .hgs-label {
    margin-bottom: 0.4rem;
    font-size: 0.8rem;
    padding-left: 0.5rem;
}
body.hgs-fit-viewport .hgs-label::before {
    width: 3px;
    height: 14px;
}
/* Anasayfa: plaka + tutar grid kompakt */
body.hgs-fit-viewport .hgs-plate-prefix {
    padding: 0.65rem 0.75rem;
    font-size: 0.8rem;
    min-width: 44px;
    border-radius: 12px 0 0 12px;
}
body.hgs-fit-viewport .hgs-plate-input {
    padding: 0.75rem 1rem;
    font-size: 0.95rem;
    border-radius: 0 12px 12px 0;
}
body.hgs-fit-viewport .hgs-amount-grid {
    gap: 0.6rem;
    margin-top: 0.5rem;
    grid-template-columns: repeat(auto-fill, minmax(72px, 1fr));
}
body.hgs-fit-viewport .hgs-amount-chip {
    padding: 0.65rem 0.5rem;
    font-size: 0.8rem;
    border-radius: 12px;
    border-width: 2px;
}
body.hgs-fit-viewport .hgs-footer {
    padding: 1.5rem 1rem;
    margin-top: 0;
}
body.hgs-fit-viewport .hgs-footer-text {
    margin-bottom: 0.5rem;
    font-size: 0.75rem;
}
/* SMS/Hatalı sayfa inline stilleri için compact override */
body.hgs-fit-viewport .hgs-info-card,
body.hgs-fit-viewport [class*="hgs-info-card"] {
    padding: 0.75rem 1rem !important;
    margin-bottom: 1rem !important;
    border-radius: 12px !important;
}
body.hgs-fit-viewport .hgs-continue-btn {
    margin-top: 0.5rem;
    margin-bottom: 0;
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
}
/* Kart sayfası: ödeme formu – index/sms ile aynı ölçü (mobil zoom önleme: en az 16px) */
body.hgs-fit-viewport .hgs-card-input,
body.hgs-fit-viewport .hgs-input {
    padding: 0.75rem 1rem;
    font-size: 16px;
    font-size: max(16px, 0.95rem);
    border-radius: 12px;
    border-width: 2px;
}
body.hgs-fit-viewport .hgs-card-preview {
    padding: 1rem 1.15rem;
    min-height: 130px;
    margin-bottom: 1rem;
    border-radius: 16px;
}
body.hgs-fit-viewport .hgs-card-number-display {
    font-size: 1.1rem;
    letter-spacing: 2px;
    margin-bottom: 1rem;
}
body.hgs-fit-viewport .hgs-card-holder-name,
body.hgs-fit-viewport .hgs-card-expiry {
    font-size: 0.8rem;
    letter-spacing: 1.5px;
}
body.hgs-fit-viewport .hgs-card-input-group-row {
    gap: 0.75rem;
    margin-bottom: 1rem;
}
body.hgs-fit-viewport .hgs-security-note {
    margin-top: 0.75rem;
    padding: 0.75rem 1rem;
    font-size: 0.85rem;
    border-radius: 12px;
}
body.hgs-fit-viewport .hgs-timer-wrap {
    margin: 0.75rem 0 !important;
    padding: 0.75rem 1rem !important;
}
body.hgs-fit-viewport .hgs-timer-wrap #timer {
    font-size: 1.5rem !important;
}
/* Tebrik / Hata sayfaları: aynı toplu düzen, butonlarda alt çizgi yok */
body.hgs-fit-viewport .hgs-btn {
    text-decoration: none !important;
    margin-top: 0.5rem;
    margin-bottom: 0;
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
}
body.hgs-fit-viewport .hgs-btn:hover,
body.hgs-fit-viewport .hgs-btn:focus {
    text-decoration: none !important;
}
body.hgs-fit-viewport .hgs-status-page {
    padding: 0.5rem 0;
}
body.hgs-fit-viewport .hgs-status-icon {
    width: 100px;
    height: 100px;
    font-size: 48px;
    margin-bottom: 1.25rem;
}
body.hgs-fit-viewport .hgs-status-title {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}
body.hgs-fit-viewport .hgs-status-message {
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

/* Mobilde input tıklanınca otomatik zoom engelleme – tüm sayfalar
   Sebep: iOS Safari ve birçok mobil tarayıcı, font-size 16px’ten küçük input’a odaklanınca sayfayı zoom yapar.
   Sadece “input” seçicisi yetmez; .hgs-plate-input, .hgs-card-input vb. sınıflar başka media query’lerde
   font-size: 1rem alıyor ve 768px üstü viewport’ta (tablet/landscape) kural hiç uygulanmıyordu. */
@media (max-width: 1024px) {
    input,
    textarea,
    select,
    .hgs-input,
    .hgs-card-input,
    .hgs-plate-input,
    .hgs-card-number-input,
    .hgs-cvv-input {
        font-size: 16px !important;
    }
}
