/* style.css */
:root {
    --bg-dark: #000000;
    --bg-black: #000000;
    --primary-gold: #e10600;
    --gold-dark: #b80500;
    --gold-light: #ff2a1a;
    --text-white: #ffffff;
    --text-gray: #e0e0e0;
    --text-dark: #888888;
    --card-bg: #111111;
    --card-border: #222222;
    --success: #28a745;
    --error: #dc3545;
    --shadow: rgba(225, 6, 0, 0.25);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Cairo', 'Tajawal', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-white);
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Styles */
.header {
    background-color: var(--bg-black);
    padding: 20px 0;
    border-bottom: 2px solid var(--primary-gold);
    position: sticky;
    top: 0;
    z-index: 1000;
    min-height: 90px;
    display: flex;
    align-items: center;
}

.header .container {
    display: flex;
    justify-content: center;
    align-items: center;
}

.logo img {
    height: 50px;
    width: auto;
    display: block;
}

/* Progress Steps */
.progress-steps {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin: 40px 0;
    position: relative;
}

.progress-steps::before {
    content: '';
    position: absolute;
    top: 25px;
    right: 10%;
    left: 10%;
    height: 2px;
    background: var(--card-border);
    z-index: 1;
}

.step {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 2;
}

.step-number {
    width: 50px;
    height: 50px;
    background: var(--card-bg);
    border: 2px solid var(--card-border);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
    margin-bottom: 10px;
    transition: all 0.3s ease;
}

.step.active .step-number {
    background: var(--primary-gold);
    color: #ffffff;
    border-color: var(--primary-gold);
    box-shadow: 0 0 15px var(--shadow);
}

.step-text {
    font-size: 0.9rem;
    color: var(--text-dark);
}

.step.active .step-text {
    color: var(--primary-gold);
    font-weight: 600;
}

/* Hero Section */
.hero-section {
    text-align: center;
    margin: 60px 0;
    padding: 40px 0;
}

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 15px;
    background: linear-gradient(to right, var(--primary-gold), var(--gold-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-gray);
}

/* Pricing Container */
.pricing-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin: 40px 0;
    align-items: stretch;
}

.pricing-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 15px;
    padding: 30px;
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: all 0.3s ease;
}

.pricing-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-gold);
    box-shadow: 0 10px 30px var(--shadow);
}

.pricing-card.featured {
    border-color: var(--primary-gold);
}

.badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary-gold);
    color: #ffffff;
    padding: 5px 20px;
    border-radius: 20px;
    font-weight: 700;
    font-size: 0.9rem;
}

.plan-header {
    text-align: center;
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--card-border);
}

.plan-title {
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.plan-price {
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary-gold);
}

.currency {
    font-size: 1.2rem;
    color: var(--text-gray);
}

/* Features List */
.features-list {
    list-style: none;
    margin: 20px 0;
    flex: 1;
}

.features-list li {
    padding: 10px 0;
    border-bottom: 1px dashed var(--card-border);
    color: var(--text-gray);
    position: relative;
    padding-right: 25px;
}

.features-list li:before {
    content: '✓';
    position: absolute;
    right: 0;
    color: var(--primary-gold);
    font-weight: bold;
}

/* Button Container */
.button-container {
    margin-top: auto;
    padding-top: 20px;
}

/* Buttons */
.select-plan-btn {
    width: 100%;
    padding: 15px;
    background: linear-gradient(45deg, var(--primary-gold), var(--gold-light));
    color: #ffffff;
    border: none;
    border-radius: 10px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
}

.select-plan-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px var(--shadow);
}

/* Footer */
.footer {
    margin-top: auto;
    background: var(--bg-black);
    padding: 40px 0 20px;
    border-top: 2px solid var(--primary-gold);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 30px;
}

.footer-section h4 {
    color: var(--primary-gold);
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.footer-section p,
.footer-section a {
    color: var(--text-gray);
    margin-bottom: 10px;
    display: block;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: var(--primary-gold);
}

.copyright {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid var(--card-border);
    color: var(--text-dark);
    font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .progress-steps {
        gap: 20px;
    }
    
    .progress-steps::before {
        right: 5%;
        left: 5%;
    }
    
    .pricing-container {
        grid-template-columns: 1fr;
    }
    
    .logo img {
        height: 42px;
    }
    
    .header {
        min-height: 70px;
    }
}

@media (max-width: 480px) {
    .step-number {
        width: 40px;
        height: 40px;
    }
    
    .hero-title {
        font-size: 1.8rem;
    }
}

/* ================================
   FORM + THANK YOU STYLES (ADDED)
================================== */

.main-content {
    flex: 1;
    padding: 20px 0;
}

/* Form Styles */
.form-container {
    max-width: 600px;
    margin: 40px auto;
    padding: 40px;
    background: var(--card-bg);
    border-radius: 15px;
    border: 1px solid var(--card-border);
}

.form-title {
    text-align: center;
    margin-bottom: 30px;
    color: var(--primary-gold);
}

.form-group {
    margin-bottom: 25px;
}

.form-label {
    display: block;
    margin-bottom: 8px;
    color: var(--text-gray);
    font-weight: 500;
}

.form-input {
    width: 100%;
    padding: 15px;
    background: var(--bg-black);
    border: 1px solid var(--card-border);
    border-radius: 8px;
    color: var(--text-white);
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.3s ease;
}

.form-input:focus {
    outline: none;
    border-color: var(--primary-gold);
    box-shadow: 0 0 0 3px var(--shadow);
}

.order-summary {
    background: var(--bg-black);
    padding: 20px;
    border-radius: 10px;
    margin: 30px 0;
    border: 1px solid var(--card-border);
}

.summary-item {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid var(--card-border);
    gap: 15px;
}

.summary-item:last-child {
    border-bottom: none;
    font-weight: 700;
    color: var(--primary-gold);
}

.form-buttons {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

.btn {
    flex: 1;
    padding: 15px;
    border: none;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-secondary {
    background: transparent;
    color: var(--text-gray);
    border: 2px solid var(--card-border);
}

.btn-secondary:hover {
    border-color: var(--primary-gold);
    color: var(--primary-gold);
}

.btn-primary {
    background: linear-gradient(45deg, var(--primary-gold), var(--gold-light));
    color: var(--bg-black);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px var(--shadow);
}

/* Thank You Page */
.thank-you-container {
    max-width: 800px;
    margin: 40px auto;
    text-align: center;
    padding: 40px;
}

.success-icon {
    font-size: 5rem;
    color: var(--primary-gold);
    margin-bottom: 20px;
}

.success-title {
    font-size: 2.5rem;
    color: var(--primary-gold);
    margin-bottom: 40px;
}

.order-details {
    background: var(--card-bg);
    border-radius: 15px;
    padding: 30px;
    margin: 40px 0;
    border: 1px solid var(--card-border);
}

.details-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    text-align: right;
}

.order-id {
    background: var(--bg-black);
    padding: 15px;
    border-radius: 10px;
    font-family: monospace;
    font-size: 1.2rem;
    margin: 20px 0;
    color: var(--primary-gold);
    border: 1px solid var(--card-border);
}

/* (Optional) Payment Methods - in case you add them later */
.payment-methods {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin: 40px 0;
}

.payment-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 15px;
    padding: 25px;
}

.payment-title {
    color: var(--primary-gold);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.payment-details {
    text-align: right;
}

.payment-field {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px dashed var(--card-border);
}

.copy-btn {
    background: var(--bg-black);
    border: 1px solid var(--card-border);
    color: var(--text-gray);
    padding: 5px 15px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 0.9rem;
    transition: all 0.2s ease;
}

.copy-btn:hover {
    background: var(--primary-gold);
    color: var(--bg-black);
    border-color: var(--primary-gold);
}

.whatsapp-btn {
    background: #25D366;
    color: white;
    padding: 20px 40px;
    border: none;
    border-radius: 10px;
    font-size: 1.2rem;
    font-weight: 700;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin: 40px 0;
    transition: all 0.3s ease;
}

.whatsapp-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(37, 211, 102, 0.3);
}

/* Responsive for form + thank you */
@media (max-width: 768px) {
    .form-container {
        padding: 20px;
    }

    .thank-you-container {
        padding: 20px;
    }

    .payment-methods {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .form-buttons {
        flex-direction: column;
    }

    .success-title {
        font-size: 2rem;
    }
}
/* Fix Logo Size on Mobile */
@media (max-width: 480px) {
  .logo img {
    height: 32px;
    max-width: 160px;
  }

  .header {
    min-height: 60px;
    padding: 12px 0;
  }
}
