/* CSS Variables - Design System */
:root {
    --primary-color: #efc75e;
    --primary-dark: #d4b347;
    --secondary-color: #000000;
    --background-color: #ffffff;
    --background-gradient: linear-gradient(135deg, #fef7e7 0%, #ffffff 100%);
    --text-primary: #000000;
    --text-secondary: #6b7280;
    --text-white: #ffffff;
    --border-color: #e5e7eb;
    --shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 20px 40px -15px rgba(0, 0, 0, 0.15);
    --border-radius: 16px;
    --border-radius-lg: 24px;
    --transition: all 0.3s ease;
}

.form-card {
    color: #000;
}

.dk-v-core-ordering-form p {
    margin: 0;
}

.summary-content h3 {
    color: #000;
}

.form-card h2 {
    color: #000;
}

.form-card p {
    color: #000;
}

h3#kyc-status-message {
    color: #000;
}

/* Progress Header */
.progress-header {
    background: var(--secondary-color);
    color: var(--text-white);
    padding: 16px 0;
    display: none;
}

.progress-header.show {
    display: block;
}

.progress-content {
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    margin-bottom: 20px;
}

.progress-title {
    font-size: 1.25rem;
    font-weight: bold;
}

.progress-steps {
    display: flex;
    align-items: center;
    gap: 32px;
}

.progress-step {
    display: flex;
    align-items: center;
}

.step-number {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #4b5563;
    color: #9ca3af;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.875rem;
    font-weight: bold;
    transition: var(--transition);
}

.progress-step.active .step-number,
.progress-step.completed .step-number {
    background: var(--primary-color);
    color: var(--secondary-color);
}

.progress-line {
    width: 32px;
    height: 2px;
    background: #4b5563;
    transition: var(--transition);
}

.progress-line.completed {
    background: var(--primary-color);
}

/* Main Content */

.step-section {
    display: none;
}

.step-section.active {
    display: block;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--secondary-color) 0%, #374151 100%);
    color: var(--text-white);
    padding: 80px 0;
    display: block;
}

.hero-content {
    text-align: center;
}

.hero-title {
    font-size: 3rem;
    font-weight: bold;
    margin-bottom: 24px;
    background: linear-gradient(135deg, var(--primary-color) 0%, #fbbf24 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: #d1d5db;
    margin-bottom: 16px;
}

.hero-description {
    font-size: 1.125rem;
    color: #9ca3af;
    max-width: 768px;
    margin: 0 auto 64px;
    line-height: 1.75;
}

.hero-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 32px;
    max-width: 1200px;
    margin: 0 auto;
}

.feature-card {
    text-align: center;
    transition: var(--transition);
}

.feature-card:hover {
    transform: scale(1.05);
}

.feature-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color) 0%, #fbbf24 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    font-size: 2rem;
    box-shadow: 0 8px 20px rgba(239, 199, 94, 0.3);
}

.feature-title {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.feature-text {
    color: #9ca3af;
    font-size: 0.875rem;
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 48px;
}

.section-title {
    font-size: 2.5rem;
    font-weight: bold;
    color: #ffffff;
    margin-bottom: 16px;
}

.section-subtitle {
    font-size: 1.125rem;
    color: #ffffff;
}

/* Plans Grid */

.branch-icon svg {
    background-color: var(--primary-color);
    padding: 14px;
    border-radius: 100px;
    width: 60px;
    height: 60px;
}

.plans-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 32px;
    max-width: 1200px;
    margin: 0 auto;
}

.plan-card {
    background: var(--background-color);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-lg);
    border: 2px solid var(--border-color);
    transition: var(--transition);
    position: relative;
    cursor: pointer;
}

.plan-card:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.plan-popular {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(239, 199, 94, 0.2);
}

.plan-badge {
    position: absolute;
    top: -16px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary-color);
    color: var(--secondary-color);
    padding: 8px 24px;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: bold;
}

.plan-content {
    padding: 32px;
    text-align: center;
    height: 100%;
}

.plan-name {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 8px;
    color: #000;
}

.plan-size {
    color: var(--text-secondary);
    margin-bottom: 16px;
}

.plan-price {
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--text-primary);
    margin-bottom: 20px;
}

.plan-price span {
    font-size: 1rem;
    font-weight: normal;
    color: var(--text-secondary);
}

.plan-features {
    list-style: none;
    margin-bottom: 32px;
    text-align: left;
}

.plan-features li {
    padding: 8px 0;
    color: var(--text-secondary);
}

/* Branches Grid */
.branches-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 32px;
    max-width: 1000px;
    margin: 0 auto;
}

.branch-card {
    background: var(--background-color);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-lg);
    border: 2px solid transparent;
    padding: 32px;
    transition: var(--transition);
    cursor: pointer;
}

.branch-card:hover {
    border-color: var(--primary-color);
    transform: scale(1.02);
}

.branch-icon {
    font-size: 3rem;
    text-align: center;
    margin-bottom: 16px;
}

.branch-name {
    font-size: 1.875rem;
    font-weight: bold;
    text-align: center;
    margin-bottom: 24px;
    color: #000;
}

.branch-details {
    margin-bottom: 32px;
}

.branch-details p {
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 5px;
}

.branch-card svg.dk-svg-icon {
    width: 22px;
}

/* Account Types Grid */
.account-types-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 32px;
    max-width: 1000px;
    margin: 0 auto;
}

.account-card {
    background: var(--background-color);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-lg);
    border: 2px solid var(--border-color);
    padding: 32px;
    transition: var(--transition);
    cursor: pointer;
    text-align: center;
}

.account-card:hover {
    border-color: var(--primary-color);
    transform: scale(1.05);
    box-shadow: var(--shadow-lg);
}

.account-icon {
    font-size: 4rem;
    margin-bottom: 24px;
}

.account-icon svg {
    background-color: var(--primary-color);
    padding: 14px;
    border-radius: 100px;
    width: 70px;
    height: 70px;
}

.account-name {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 16px;
    color: #000;
}

.account-description {
    color: var(--text-secondary);
    margin-bottom: 24px;
}

.account-features {
    list-style: none;
    text-align: left;
    margin-top: 20px;
}

.account-features li {
    padding: 4px 0;
    color: var(--text-secondary);
}

/* Form Styles */
.form-card {
    background: var(--background-color);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-lg);
    padding: 32px;
    margin: 0 auto;
}

.plan-summary {
    background: linear-gradient(135deg, rgba(239, 199, 94, 0.1) 0%, rgba(251, 191, 36, 0.1) 100%);
    border-radius: var(--border-radius);
    padding: 15px;
    margin-bottom: 32px;
}

p.plan-size {
    margin-bottom: 15px;
}

.summary-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.summary-label {
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.summary-value {
    font-weight: 600;
    text-transform: capitalize;
}

h3#selected-plan-name {
    font-size: 18px;
    margin-bottom: 0;
}

.form-fields {
    display: none;
}

.form-fields.active {
    display: block;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-bottom: 24px;
}


.form-group label {
    display: block;
    font-weight: 500;
    color: #000;
    margin-bottom: 8px;
}

.form-group input {
    width: 100%!important;
    padding: 12px 16px!important;
    border: 1px solid var(--border-color)!important;
    border-radius: var(--border-radius)!important;
    font-size: 1rem!important;
    transition: var(--transition)!important;
    background-color: #fff!important;
    margin-bottom: 0px!important;
}

.form-group input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(239, 199, 94, 0.2);
}

/* Processing Cards */
.processing-card {
    background: var(--background-color);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-lg);
    padding: 32px;
    margin-bottom: 32px;
    text-align: center;
}

.processing-content {
    margin-bottom: 16px;
}

.status-icon {
    font-size: 4rem;
    margin-bottom: 42px;
}

.status-text {
    color: var(--text-secondary);
    margin-bottom: 24px;
}

.progress-bar {
    width: 100%;
    height: 16px;
    background: #e5e7eb;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 16px;
}

.progress-fill {
    height: 100%;
    background: var(--primary-color);
    width: 0%;
    transition: width 0.5s ease;
}

.processing-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
}

/* Instructions and Help */
.instructions-card {
    background: #fef9c3;
    border-radius: var(--border-radius);
    padding: 24px;
    margin-bottom: 32px;
}

.instructions-card h4 {
    font-weight: 600;
    margin-bottom: 16px;
    color: #000;
}


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

div#kyc-status-icon svg {
    background-color: var(--primary-color);
    padding: 19px;
    border-radius: 100px;
    width: 80px;
    height: 80px;
}

svg.dk-svg-icon.dk-icon-external-link {
    width: 24px;
}

.instruction-step {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.instruction-step .step-number {
    width: 24px;
    height: 24px;
    background: var(--primary-color);
    color: var(--secondary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: bold;
    flex-shrink: 0;
}

.step-title {
    font-weight: 500;
    margin-bottom: 4px;
    color: #000;
}

svg.dk-svg-icon.dk-icon-refresh-ccw {
    width: 24px;
}

.step-text {
    color: var(--text-secondary);
    font-size: 0.875rem;
}

.help-section {
    background: #f9fafb;
    border-radius: var(--border-radius);
    padding: 24px;
    text-align: center;
    color: var(--text-secondary);
    font-size: 0.875rem;
}

/* Payment Summary */
.payment-summary-card {
    background: var(--background-color);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-lg);
    padding: 32px;
    margin-bottom: 32px;
    color: #000;
}

.payment-summary-card h3 {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 24px;
    color: #000;
}

.summary-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    margin-bottom: 24px;
}

.summary-grid h4 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 16px;
    color: #000;
}

.summary-details p {
    margin-bottom: 8px;
}

h3#payment-status-message {
    color: #000;
}

.total-amount {
    border-top: 1px solid var(--border-color);
    padding-top: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.5rem;
    font-weight: bold;
}

div#payment-status-icon svg {
    background-color: var(--primary-color);
    padding: 14px;
    border-radius: 100px;
    width: 60px;
    height: 60px;
}

.amount {
    color: var(--primary-color);
    font-size: 1.875rem;
}

/* Success Page */
.success-header {
    text-align: center;
    margin-bottom: 48px;
}

.success-icon {
    font-size: 6rem;
    margin-bottom: 24px;
}

.reservation-card {
    background: linear-gradient(135deg, var(--primary-color) 0%, #fbbf24 100%);
    color: var(--secondary-color);
    border-radius: var(--border-radius-lg);
    padding: 32px;
    margin-bottom: 32px;
}

.reservation-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
}

.reservation-details p {
    margin-bottom: 12px;
}

.plan-details-box {
    background: rgba(0, 0, 0, 0.1);
    border-radius: var(--border-radius);
    padding: 16px;
}

.plan-details-box p {
    margin-bottom: 4px;
}

.account-info-card {
    background: var(--background-color);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-lg);
    padding: 32px;
    margin-bottom: 32px;
    color: #000;
}

.account-info-card h3 {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 24px;
    color: #000;
}

.account-info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.account-info-grid div {
    margin-bottom: 16px;
}

.account-info-grid .info-label {
    font-size: 0.875rem;
    color: var(--text-secondary);
    margin-bottom: 4px;
}

.account-info-grid .info-value {
    font-weight: 600;
}

.next-steps-card {
    background: var(--background-color);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-lg);
    padding: 32px;
    margin-bottom: 32px;
    color: #000;
}

.next-steps-card h3 {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 24px;
    color: #000;
}

.next-steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 24px;
}

.next-step {
    text-align: center;
}

.next-step-number {
    width: 64px;
    height: 64px;
    background: rgba(239, 199, 94, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    font-size: 1.5rem;
    font-weight: bold;
}

.next-step h4 {
    font-weight: 600;
    margin-bottom: 8px;
    color: #000;
}

.next-step p {
    color: var(--text-secondary);
    font-size: 0.875rem;
}

.action-buttons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 32px;
}

.contact-info {
    background: #f9fafb;
    border-radius: var(--border-radius);
    padding: 24px;
    text-align: center;
    color: var(--text-secondary);
    font-size: 0.875rem;
}

/* Buttons */
.btn {
    padding: 8px 32px;
    border: none;
    border-radius: var(--border-radius);
    font-size: 1.125rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-primary {
    background: var(--primary-color);
    color: var(--secondary-color);
    width: 100%;
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background: var(--secondary-color);
    color: var(--text-white);
}

.btn-secondary:hover {
    background: #374151;
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-plan {
    background: var(--secondary-color);
    color: var(--text-white);
    width: 100%;
}

.btn-plan:hover {
    background: #374151;
    box-shadow: var(--shadow);
}

.btn-plan.btn-primary {
    background: var(--primary-color);
    color: var(--secondary-color);
}

.btn-plan.btn-primary:hover {
    background: var(--primary-dark);
}

.btn-full {
    width: 100%;
}

.btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.btn:disabled:hover {
    transform: none;
    box-shadow: none;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .plans-grid,
    .branches-grid,
    .account-types-grid {
        grid-template-columns: 1fr;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .summary-grid,
    .reservation-grid,
    .account-info-grid {
        grid-template-columns: 1fr;
    }
    
    .action-buttons {
        grid-template-columns: 1fr;
    }
    
    .progress-content {
        flex-direction: column;
        gap: 16px;
    }
    
    .progress-steps {
        flex-wrap: wrap;
    }
    
    .next-steps-grid {
        grid-template-columns: 1fr;
    }
}

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

.spinning {
    animation: spin 1s linear infinite;
}

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

.fade-in {
    animation: fadeIn 0.5s ease-out;
}