/* Global Styles */
:root {
    --primary-color: #0071e3;
    --primary-hover: #0077ed;
    --text-color: #1d1d1f;
    --light-text: #86868b;
    --background: #ffffff;
    --light-gray: #f5f5f7;
    --border-color: #d2d2d7;
    --success-color: #34c759;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}

body {
    color: var(--text-color);
    background-color: var(--background);
    line-height: 1.5;
}

a {
    text-decoration: none;
    color: var(--primary-color);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

/* Header & Navigation */
header {
    background-color: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px);
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid var(--border-color);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 22px;
    max-width: 1200px;
    margin: 0 auto;
    height: 44px;
}

.logo i {
    font-size: 20px;
    color: var(--text-color);
}

.nav-links {
    display: flex;
    gap: 24px;
}

.nav-links a {
    color: var(--text-color);
    font-size: 12px;
    font-weight: 400;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--primary-color);
}

.language-selector select {
    border: none;
    background: transparent;
    font-size: 12px;
    padding: 2px 5px;
    cursor: pointer;
}

/* Buttons */
.cta-button {
    display: inline-block;
    background-color: var(--primary-color);
    color: white;
    padding: 8px 16px;
    border-radius: 980px;
    font-size: 14px;
    font-weight: 400;
    transition: background-color 0.3s;
    border: none;
    cursor: pointer;
}

.cta-button:hover {
    background-color: var(--primary-hover);
}

.secondary-button {
    display: inline-block;
    background-color: transparent;
    color: var(--primary-color);
    padding: 8px 16px;
    border-radius: 980px;
    font-size: 14px;
    font-weight: 400;
    transition: background-color 0.3s;
    border: 1px solid var(--primary-color);
    cursor: pointer;
}

.secondary-button:hover {
    background-color: rgba(0, 113, 227, 0.1);
}

/* Hero Section */
.hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 40px 20px;
    background-color: var(--light-gray);
}

.hero-content {
    max-width: 600px;
    margin-bottom: 40px;
}

.hero-content h1 {
    font-size: 56px;
    font-weight: 600;
    margin-bottom: 10px;
}

.tagline {
    font-size: 28px;
    color: var(--light-text);
    margin-bottom: 20px;
}

.price {
    font-size: 24px;
    margin-bottom: 20px;
}

.hero-image img {
    max-width: 800px;
    width: 100%;
}

/* Feature Sections */
.feature-section {
    padding: 60px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 40px;
}

.section-header h2 {
    font-size: 40px;
    font-weight: 600;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.feature-item {
    text-align: center;
}

.feature-item img {
    border-radius: 18px;
    margin-bottom: 20px;
}

.feature-item h3 {
    font-size: 24px;
    margin-bottom: 10px;
}

.feature-item p {
    color: var(--light-text);
}

.cta-center {
    text-align: center;
}

.highlight-section {
    padding: 80px 20px;
    text-align: center;
    background-color: var(--light-gray);
}

.highlight-content {
    max-width: 800px;
    margin: 0 auto;
}

.highlight-content h2 {
    font-size: 40px;
    font-weight: 600;
    margin-bottom: 20px;
}

.highlight-content p {
    font-size: 24px;
    color: var(--light-text);
    margin-bottom: 40px;
}

/* Specs Section */
.specs-section {
    padding: 60px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.specs-section h2 {
    font-size: 40px;
    font-weight: 600;
    text-align: center;
    margin-bottom: 40px;
}

.specs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.specs-item h3 {
    font-size: 24px;
    margin-bottom: 15px;
}

.specs-item ul {
    color: var(--light-text);
}

.specs-item li {
    margin-bottom: 8px;
    position: relative;
    padding-left: 20px;
}

.specs-item li:before {
    content: "•";
    position: absolute;
    left: 0;
}

/* Footer */
footer {
    background-color: var(--light-gray);
    padding: 40px 20px;
    border-top: 1px solid var(--border-color);
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-links {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.footer-links a {
    color: var(--light-text);
    font-size: 12px;
}

.footer-links a:hover {
    color: var(--primary-color);
}

.copyright {
    color: var(--light-text);
    font-size: 12px;
}

/* Order Page Styles */
.order-main {
    padding: 40px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.order-main h1 {
    font-size: 40px;
    font-weight: 600;
    margin-bottom: 40px;
    text-align: center;
}

.order-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
}

@media (min-width: 992px) {
    .order-container {
        grid-template-columns: 1fr 1fr;
    }
}

.product-options {
    padding: 30px;
    background-color: var(--light-gray);
    border-radius: 18px;
}

.option-section {
    margin-bottom: 40px;
}

.option-section h2 {
    font-size: 24px;
    margin-bottom: 20px;
}

.color-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    gap: 15px;
}

.color-option {
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
    padding: 10px;
    border-radius: 10px;
    transition: background-color 0.3s;
}

.color-option:hover {
    background-color: rgba(0, 0, 0, 0.05);
}

.color-option.selected {
    background-color: rgba(0, 113, 227, 0.1);
    border: 1px solid var(--primary-color);
}

.color-sample {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    margin-bottom: 10px;
    border: 1px solid var(--border-color);
}

.color-sample.graphite {
    background-color: #363537;
}

.color-sample.gold {
    background-color: #fae8cf;
}

.color-sample.silver {
    background-color: #f1f2ed;
}

.color-sample.sierra-blue {
    background-color: #69abce;
}

.storage-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 10px;
}

.storage-option {
    padding: 10px;
    text-align: center;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s;
}

.storage-option:hover {
    border-color: var(--primary-color);
}

.storage-option.selected {
    background-color: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.price-summary {
    margin-top: 40px;
    padding: 20px;
    background-color: white;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.price-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--border-color);
}

.price-total {
    display: flex;
    justify-content: space-between;
    margin-top: 20px;
    font-weight: 600;
    font-size: 18px;
}

.customer-info {
    padding: 30px;
    background-color: var(--light-gray);
    border-radius: 18px;
}

.customer-info h2 {
    font-size: 24px;
    margin-bottom: 30px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-size: 14px;
    font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 10px 15px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-size: 16px;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

/* Payment Page Styles */
.payment-main {
    padding: 40px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.payment-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
}

@media (min-width: 992px) {
    .payment-container {
        grid-template-columns: 1fr 1fr;
    }
}

.order-summary {
    padding: 30px;
    background-color: var(--light-gray);
    border-radius: 18px;
}

.order-summary h2 {
    font-size: 24px;
    margin-bottom: 30px;
}

.summary-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--border-color);
}

.summary-item.total {
    font-weight: 600;
    font-size: 18px;
    border-bottom: none;
    margin-top: 20px;
}

.shipping-info {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
}

.shipping-info h3 {
    font-size: 18px;
    margin-bottom: 15px;
}

.payment-method {
    padding: 30px;
    background-color: white;
    border-radius: 18px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.payment-method h2 {
    font-size: 24px;
    margin-bottom: 30px;
}

.payment-options {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}

.payment-option {
    padding: 15px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s;
}

.payment-option:hover {
    border-color: var(--primary-color);
}

.payment-option.active {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(0, 113, 227, 0.2);
}

.payment-option img {
    height: 30px;
}

#paypal-button-container {
    margin-top: 30px;
}

.secure-payment {
    margin-top: 30px;
    font-size: 14px;
    color: var(--light-text);
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Confirmation Page Styles */
.confirmation-main {
    padding: 60px 20px;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.confirmation-container {
    background-color: white;
    padding: 40px;
    border-radius: 18px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.confirmation-icon {
    font-size: 60px;
    color: var(--success-color);
    margin-bottom: 30px;
}

.confirmation-main h1 {
    font-size: 36px;
    margin-bottom: 20px;
}

.order-number {
    font-size: 18px;
    margin-bottom: 30px;
    font-weight: 500;
}

.confirmation-message {
    margin-bottom: 40px;
}

.confirmation-message p {
    margin-bottom: 15px;
    font-size: 18px;
}

.confirmation-message .important {
    font-weight: 600;
    color: var(--text-color);
}

.order-details {
    text-align: left;
    margin-bottom: 40px;
    padding: 30px;
    background-color: var(--light-gray);
    border-radius: 12px;
}

.order-details h2 {
    font-size: 24px;
    margin-bottom: 20px;
}

.details-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 15px;
}

@media (min-width: 768px) {
    .details-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.details-item {
    display: flex;
    justify-content: space-between;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--border-color);
}

.confirmation-actions {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 40px;
    }
    
    .tagline {
        font-size: 22px;
    }
    
    .section-header h2, .highlight-content h2, .specs-section h2 {
        font-size: 32px;
    }
    
    .feature-item h3, .specs-item h3 {
        font-size: 20px;
    }
    
    .confirmation-main h1 {
        font-size: 28px;
    }
}

@media (max-width: 480px) {
    .nav-links {
        display: none;
    }
    
    .hero-content h1 {
        font-size: 32px;
    }
    
    .section-header h2, .highlight-content h2, .specs-section h2 {
        font-size: 28px;
    }
    
    .confirmation-container {
        padding: 20px;
    }
    
    .confirmation-actions {
        flex-direction: column;
        gap: 15px;
    }
    
    .confirmation-actions a, .confirmation-actions button {
        width: 100%;
    }
}

