:root {
    --primary: #f27a1a;
    --primary-hover: #e06b12;
    --primary-light: #fff7ed;
    --success: #10B981;
    --text-main: #1e293b;
    --text-muted: #64748b;
    --bg-main: #f8fafc;
    --bg-card: #ffffff;
    --border: #e2e8f0;
    --radius: 16px;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.1);
    --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -1px rgba(0,0,0,0.06);
    --shadow-lg: 0 20px 25px -5px rgba(0,0,0,0.1), 0 10px 10px -5px rgba(0,0,0,0.04);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    -webkit-font-smoothing: antialiased;
}

body {
    background-color: var(--bg-main);
    color: var(--text-main);
    line-height: 1.6;
    display: flex;
    justify-content: center;
}

.landing-container {
    width: 100%;
    max-width: 500px;
    background: var(--bg-card);
    position: relative;
    overflow-x: hidden;
}

.image-stack {
    display: flex;
    flex-direction: column;
    width: 100%;
    gap: 0;
    font-size: 0;
    line-height: 0;
}

.landing-img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
}

/* Form Styles */
.order-form-wrapper {
    background: var(--bg-card);
    position: relative;
    z-index: 10;
    border-radius: 32px 32px 0 0;
    box-shadow: 0 -12px 24px rgba(0,0,0,0.03);
    margin-top: -20px;
    line-height: 1.5;
    font-size: 16px;
}

.order-form-container {
    padding: 24px 16px 36px;
    animation: slideUp 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.order-form-container h2 {
    font-size: 26px;
    font-weight: 800;
    color: var(--text-main);
    margin-bottom: 8px;
    text-align: center;
    letter-spacing: -0.02em;
}

.subtitle {
    color: var(--text-muted);
    font-size: 14px;
    text-align: center;
    margin-bottom: 32px;
}

.form-group {
    margin-bottom: 14px;
    display: flex;
    flex-direction: column;
}

.form-row {
    display: flex;
    gap: 10px;
    margin-bottom: 14px;
}

.form-row .form-group {
    flex: 1;
    margin-bottom: 0;
}

label {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-main);
    margin-bottom: 6px;
    margin-left: 4px;
}

input, select, textarea {
    width: 100%;
    padding: 11px 15px;
    border: 1.5px solid var(--border);
    border-radius: 12px;
    font-size: 15px;
    color: var(--text-main);
    background-color: #fff;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

input:hover, select:hover, textarea:hover {
    border-color: #cbd5e1;
}

input:focus, select:focus, textarea:focus {
    outline: none;
    border-color: var(--primary);
    background-color: #fff;
    box-shadow: 0 0 0 4px rgba(242, 122, 26, 0.1);
}

input::placeholder, textarea::placeholder {
    color: #94a3b8;
}

small {
    font-size: 12px;
    color: var(--text-muted);
    margin-top: 6px;
    margin-left: 4px;
}

.select-wrapper {
    position: relative;
}

.select-wrapper::after {
    content: '';
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    width: 12px;
    height: 8px;
    background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%2364748b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    pointer-events: none;
}

select {
    appearance: none;
    cursor: pointer;
    line-height: 1.2;
}

select:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    background-color: #f1f5f9;
}

/* Payment Methods */
.payment-methods {
    margin: 24px 0;
}

.payment-methods > label {
    margin-bottom: 16px;
    display: block;
}

.radio-group {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.radio-card {
    display: flex;
    align-items: center;
    padding: 12px 14px;
    background: #fff;
    border: 2px solid var(--border);
    border-radius: 14px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.radio-card:hover {
    border-color: var(--primary);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    background: var(--primary-light);
}

.radio-card input {
    position: absolute;
    opacity: 0;
}

.radio-icon {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 14px;
    font-size: 18px;
    transition: all 0.3s ease;
}

.icon-nakit {
    background: #ecfdf5;
    color: #10b981;
}

.icon-kart {
    background: var(--primary-light);
    color: var(--primary);
}

.radio-content {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.radio-content .title {
    font-size: 15px;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 0px;
}

.radio-content .desc {
    font-size: 12px;
    color: var(--text-muted);
}

/* Selected State */
.radio-card:has(input:checked) {
    border-color: var(--primary);
    background: var(--primary-light);
    box-shadow: 0 12px 24px rgba(242, 122, 26, 0.12);
}

.check-mark {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #fff;
    border: 2px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    margin-left: 12px;
    flex-shrink: 0;
}

.check-mark i {
    color: #fff;
    font-size: 12px;
    opacity: 0;
    transform: scale(0.5);
    transition: all 0.2s ease;
}

.radio-card input:checked ~ .check-mark {
    background: var(--primary);
    border-color: var(--primary);
}

.radio-card input:checked ~ .check-mark i {
    opacity: 1;
    transform: scale(1);
}

.submit-btn {
    width: 100%;
    padding: 16px;
    background: linear-gradient(135deg, var(--primary) 0%, #e66a00 100%);
    color: white;
    border: none;
    border-radius: 14px;
    font-size: 18px;
    font-weight: 800;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 8px 16px rgba(242, 122, 26, 0.25);
    margin-top: 10px;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 30px rgba(242, 122, 26, 0.35);
    filter: brightness(1.05);
}

.submit-btn:active {
    transform: translateY(2px);
    box-shadow: 0 5px 10px rgba(242, 122, 26, 0.2);
}

.secure-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 24px;
    color: var(--text-muted);
    font-size: 13px;
    font-weight: 500;
}

.secure-badge svg {
    color: var(--success);
}

/* Sticky Banner - Minimal Design */
.sticky-banner {
    position: fixed;
    bottom: 16px;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 32px);
    max-width: 468px;
    background: linear-gradient(135deg, #e53935 0%, #b71c1c 100%); /* Original Red Gradient */
    color: white;
    z-index: 100;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    box-shadow: 0 8px 24px rgba(229, 57, 53, 0.4);
    cursor: pointer;
    border-radius: 16px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 1;
    visibility: visible;
}

.sticky-banner.hidden {
    opacity: 0;
    visibility: hidden;
    transform: translateX(-50%) translateY(40px);
    pointer-events: none;
}

.sticky-banner:active:not(.hidden) {
    transform: translateX(-50%) scale(0.98);
}

.banner-left {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.banner-text-1 { 
    font-size: 12px; 
    font-weight: 600;
    color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 2px;
}

.banner-text-3 { 
    font-size: 16px; 
    font-weight: 800;
}

.banner-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    flex: 1;
}

.banner-timer {
    background: var(--primary);
    border-radius: 8px;
    padding: 4px 10px;
    font-size: 14px;
    font-weight: 800;
    margin-bottom: 4px;
    display: flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 4px 12px rgba(242, 122, 26, 0.3);
}

.banner-timer i {
    font-size: 12px;
}

.banner-viewer-count {
    font-size: 11px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.6);
}

/* Trust Badges Image */
.trust-banner-img {
    width: 100%;
    height: auto;
    display: block;
    margin: 0;
    padding: 0;
}

/* Legal Footer */
.legal-footer {
    background: #111424;
    color: rgba(255, 255, 255, 0.6);
    padding: 30px 16px;
    padding-bottom: 100px; /* Space for the fixed sticky banner */
    text-align: center;
    font-size: 12px;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: white;
    text-decoration: underline;
}

.footer-links .dot {
    opacity: 0.3;
    font-size: 10px;
}

.footer-copyright {
    opacity: 0.4;
    font-size: 11px;
}

@media (max-width: 480px) {
    .order-form-container {
        padding: 20px 16px 32px;
    }
    
    .form-row {
        gap: 10px;
    }
}

/* Modal Overlay */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 20px;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Modal Content */
.modal-content {
    background: white;
    border-radius: 24px;
    width: 100%;
    max-width: 400px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    transform: translateY(20px) scale(0.95);
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    overflow: hidden;
}

.modal-overlay.active .modal-content {
    transform: translateY(0) scale(1);
}

.modal-header {
    padding: 24px 24px 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    text-align: center;
}

.modal-icon {
    width: 64px;
    height: 64px;
    background: #fef2f2;
    color: #ef4444;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    margin-bottom: 16px;
}

.modal-header h3 {
    font-size: 20px;
    font-weight: 800;
    color: var(--text-main);
    margin: 0;
}

.close-modal {
    position: absolute;
    top: 16px;
    right: 16px;
    background: #f1f5f9;
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: var(--text-muted);
    cursor: pointer;
    transition: all 0.2s;
}

.close-modal:hover {
    background: #e2e8f0;
    color: var(--text-main);
}

.modal-body {
    padding: 0 24px 24px;
    text-align: center;
}

.modal-input-group {
    margin-bottom: 20px;
}

.modal-input {
    width: 100%;
    padding: 16px;
    border: 2px solid var(--border);
    border-radius: 12px;
    font-size: 18px;
    font-weight: 700;
    text-align: center;
    color: var(--text-main);
    background: #f8fafc;
    transition: all 0.3s;
}

.modal-input:focus {
    outline: none;
    border-color: var(--primary);
    background: white;
    box-shadow: 0 0 0 4px rgba(242, 122, 26, 0.1);
}

.modal-input.error {
    border-color: #ef4444;
    background: #fef2f2;
    animation: shake 0.4s cubic-bezier(.36,.07,.19,.97) both;
}

@keyframes shake {
  10%, 90% { transform: translate3d(-1px, 0, 0); }
  20%, 80% { transform: translate3d(2px, 0, 0); }
  30%, 50%, 70% { transform: translate3d(-4px, 0, 0); }
  40%, 60% { transform: translate3d(4px, 0, 0); }
}

.modal-body p {
    color: var(--text-muted);
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 16px;
}

.example-box {
    background: #f8fafc;
    border: 1px dashed var(--border);
    border-radius: 12px;
    padding: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.example-box span {
    font-size: 13px;
    color: var(--text-muted);
}

.example-box strong {
    font-size: 15px;
    color: var(--primary);
    letter-spacing: 0.5px;
}

.modal-footer {
    padding: 0 24px 24px;
}

.modal-btn {
    width: 100%;
    padding: 14px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s;
    border: none;
}

.modal-btn.primary {
    background: var(--primary);
    color: white;
    box-shadow: 0 10px 15px -3px rgba(242, 122, 26, 0.2);
}

.modal-btn.primary:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 15px 20px -3px rgba(242, 122, 26, 0.3);
}

.modal-btn.primary:active {
    transform: translateY(1px);
}
