/* Base Styles */
:root {
    --primary-bg: #0a1a30;
    --secondary-bg: #051022;
    --accent-color: #ffd700;
    --accent-light: #ffea00;
    --text-color: #ffffff;
    --text-secondary: #cccccc;
    --input-bg: rgba(255, 255, 255, 0.05);
    --input-border: rgba(255, 255, 255, 0.1);
    --input-focus: rgba(255, 215, 0, 0.3);
    --card-bg: rgba(255, 255, 255, 0.03);
    --error-color: #ff4d4d;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: var(--primary-bg);
    color: var(--text-color);
    line-height: 1.6;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */
.navbar {
    background-color: rgba(10, 26, 48, 0.9);
    backdrop-filter: blur(10px);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo img {
    height: 40px;
    margin-right: 10px;
}

.logo span {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-color);
}

.nav-list {
    display: flex;
    list-style: none;
}

.nav-list li {
    margin-left: 25px;
}

.nav-list a {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-list a:hover {
    color: var(--accent-color);
}

.menu-toggle {
    display: none;
    cursor: pointer;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
}

.menu-toggle span {
    display: block;
    height: 3px;
    width: 100%;
    background-color: var(--text-color);
    border-radius: 3px;
    transition: all 0.3s;
}

/* Purchase Main */
.purchase-main {
    padding: 50px 0;
}

.purchase-title {
    text-align: center;
    margin-bottom: 40px;
    font-size: 2.5rem;
    color: var(--accent-color);
}

.purchase-form {
    max-width: 800px;
    margin: 0 auto;
    background: var(--secondary-bg);
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

/* Form Sections */
.form-section {
    margin-bottom: 30px;
    padding-bottom: 30px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.form-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.form-section h2 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: var(--accent-color);
    display: flex;
    align-items: center;
    gap: 10px;
}

.form-section h2 i {
    font-size: 1.3rem;
}

.package-display {
    padding: 15px;
    background: rgba(255, 215, 0, 0.1);
    border: 1px solid var(--accent-color);
    border-radius: 5px;
    font-weight: 600;
    color: var(--accent-color);
    text-align: center;
}

/* Form Groups */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    background: var(--input-bg);
    border: 1px solid var(--input-border);
    border-radius: 5px;
    color: var(--text-color);
    font-family: inherit;
    font-size: 1rem;
    transition: all 0.3s;
}

/* Make select options dark */
.form-group select {
    color: #333;
    background: white;
}

.form-group select option {
    color: #333;
    background: white;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 0 2px var(--input-focus);
}

.form-group textarea {
    min-height: 100px;
    resize: vertical;
}

.field-note {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-top: 5px;
    font-style: italic;
}

/* Radio Options */
.radio-group {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.radio-option {
    display: flex;
    align-items: center;
    cursor: pointer;
}

.radio-btn {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 2px solid var(--accent-color);
    border-radius: 50%;
    margin-right: 10px;
    position: relative;
}

.radio-option input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
}

.radio-option input:checked ~ .radio-btn::after {
    content: '';
    position: absolute;
    top: 3px;
    left: 3px;
    width: 10px;
    height: 10px;
    background: var(--accent-color);
    border-radius: 50%;
}

/* Customer Fields */
.customer-fields {
    margin-top: 20px;
    padding: 15px;
    background: var(--card-bg);
    border-radius: 5px;
}

/* MAC Address Fields */
.mac-address-group {
    margin-top: 15px;
}

.mac-field {
    display: none;
    padding: 15px;
    background: var(--card-bg);
    border-radius: 5px;
    border-left: 3px solid var(--accent-color);
    margin-bottom: 15px;
}

.mac-field label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

.mac-field input {
    width: 100%;
    padding: 12px 15px;
    background: var(--input-bg);
    border: 1px solid var(--input-border);
    border-radius: 5px;
    color: var(--text-color);
    font-family: inherit;
    font-size: 1rem;
    transition: all 0.3s;
}

.mac-field input:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 0 2px var(--input-focus);
}

/* Other Device Field */
#other-device-field {
    display: none;
}

/* Submit Button */
.form-submit {
    text-align: center;
    margin-top: 40px;
}

.btn-order {
    background: var(--accent-color);
    color: var(--primary-bg);
    border: none;
    padding: 15px 40px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.btn-order:hover {
    background: var(--accent-light);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(255, 215, 0, 0.3);
}

/* Footer */
.footer {
    background: var(--secondary-bg);
    padding: 50px 0 20px;
    margin-top: 50px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 30px;
}

.footer-about img {
    height: 40px;
    margin-bottom: 15px;
}

.footer-about p {
    color: var(--text-secondary);
    margin-top: 15px;
}

.footer-links h3,
.footer-contact h3 {
    font-size: 1.2rem;
    color: var(--accent-color);
    margin-bottom: 20px;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--accent-color);
}

.footer-contact p {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
    color: var(--text-secondary);
}

.footer-contact i {
    color: var(--accent-color);
    width: 20px;
    text-align: center;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }
    
    .nav-list {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: var(--primary-bg);
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        padding-top: 30px;
        transition: left 0.3s;
    }
    
    .nav-list.active {
        left: 0;
    }
    
    .nav-list li {
        margin: 15px 0;
    }
    
    .purchase-form {
        padding: 30px 20px;
    }
    
    .radio-group {
        flex-direction: column;
        gap: 10px;
    }
}

@media (max-width: 480px) {
    .purchase-title {
        font-size: 2rem;
    }
    
    .form-section h2 {
        font-size: 1.3rem;
    }
    
    .btn-order {
        width: 100%;
        justify-content: center;
    }
}