/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #2563eb;
    --primary-dark: #1e40af;
    --secondary-color: #64748b;
    --success-color: #10b981;
    --warning-color: #f59e0b;
    --danger-color: #ef4444;
    --text-dark: #1e293b;
    --text-light: #64748b;
    --bg-light: #f8fafc;
    --bg-white: #ffffff;
    --border-color: #e2e8f0;
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1);
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background: linear-gradient(135deg, #e8eef5 0%, #d4dce8 100%);
    background-attachment: fixed;
    min-height: 100vh;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Floating Header */
.floating-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-md);
    z-index: 1000;
    padding: 1rem 0;
}

.floating-header h1 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin: 0;
}

/* Main Content */
main {
    padding: 0;
}

section {
    background: var(--bg-white);
    border-radius: 12px;
    padding: 3rem;
    margin-bottom: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1), 0 1px 3px rgba(0, 0, 0, 0.05);
    transform: translateY(0);
    transition: all 0.3s ease;
    position: relative;
}

section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.8), transparent);
    border-radius: 12px 12px 0 0;
}

section:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15), 0 1px 3px rgba(0, 0, 0, 0.05);
}

h2 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
}

h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.lead {
    font-size: 1.25rem;
    color: var(--text-light);
    line-height: 1.8;
}

/* Hero Section */
.hero {
    text-align: center;
    background: var(--bg-white);
    color: var(--text-dark);
    margin-top: 80px;
}

.hero h1 {
    color: var(--text-dark);
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.hero .lead {
    color: var(--text-light);
    max-width: 800px;
    margin: 0 auto;
}

/* Feature Grid */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.feature-card {
    padding: 2rem;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    transition: all 0.3s ease;
    background: linear-gradient(135deg, #ffffff 0%, #f9fafb 100%);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.8), transparent);
}

.feature-card:hover {
    border-color: var(--primary-color);
    box-shadow: 0 15px 35px rgba(37, 99, 235, 0.15), 0 1px 3px rgba(0, 0, 0, 0.05);
    transform: translateY(-6px);
}

.feature-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

/* Specifications Table */
.spec-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 1.5rem;
}

.spec-table tr {
    border-bottom: 1px solid var(--border-color);
}

.spec-table td {
    padding: 1rem;
}

.spec-table td:first-child {
    width: 40%;
}

/* Pricing Section */
.pricing-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.pricing-card {
    border: 2px solid var(--border-color);
    border-radius: 12px;
    padding: 2.5rem;
    text-align: center;
    position: relative;
    transition: all 0.3s ease;
    background: linear-gradient(135deg, #ffffff 0%, #f9fafb 100%);
    overflow: hidden;
}

.pricing-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.8), transparent);
}

.pricing-card:hover {
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12), 0 1px 3px rgba(0, 0, 0, 0.05);
    transform: translateY(-8px);
}

.pricing-card.featured {
    border-color: var(--primary-color);
    border-width: 3px;
    background: linear-gradient(135deg, #ffffff 0%, #f0f4ff 100%);
}

.pricing-card.featured:hover {
    box-shadow: 0 25px 50px rgba(37, 99, 235, 0.2), 0 1px 3px rgba(0, 0, 0, 0.05);
}

.badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary-color);
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
}

.price {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-color);
    margin: 1rem 0 0.5rem;
}

.pricing-card ul {
    list-style: none;
    margin: 2rem 0;
    text-align: left;
}

.pricing-card li {
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border-color);
}

.pricing-card li:before {
    content: "✓ ";
    color: var(--success-color);
    font-weight: bold;
    margin-right: 0.5rem;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.875rem 2rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

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

.btn-primary:hover {
    background: var(--primary-dark);
    box-shadow: var(--shadow-md);
}

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

.btn-secondary:hover {
    background: #475569;
    box-shadow: var(--shadow-md);
}

.btn-large {
    padding: 1.125rem 3rem;
    font-size: 1.125rem;
}

/* Order Form */
.order-section {
    max-width: 900px;
    margin: 2rem auto;
}

.form-intro {
    color: var(--text-light);
    margin-bottom: 2rem;
}

.order-form {
    margin-top: 2rem;
}

.form-section {
    margin-bottom: 2.5rem;
    padding-bottom: 2rem;
    border-bottom: 2px solid var(--border-color);
}

.form-section:last-of-type {
    border-bottom: none;
}

.form-section h3 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="number"],
select,
textarea {
    width: 100%;
    padding: 0.875rem;
    border: 2px solid var(--border-color);
    border-radius: 6px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

input:focus,
select:focus,
textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

textarea {
    resize: vertical;
    font-family: inherit;
}

.checkbox-group {
    display: flex;
    align-items: center;
}

.checkbox-group label {
    display: flex;
    align-items: center;
    font-weight: normal;
    margin-bottom: 0;
}

.checkbox-group input[type="checkbox"] {
    width: auto;
    margin-right: 0.75rem;
}

/* Order Summary */
.order-summary {
    background: linear-gradient(135deg, #f9fafb 0%, #f3f4f6 100%);
    padding: 2rem;
    border-radius: 8px;
    margin: 2rem 0;
    border: 1px solid var(--border-color);
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.05);
}

.order-summary h3 {
    margin-bottom: 1.5rem;
}

.summary-line {
    display: flex;
    justify-content: space-between;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border-color);
}

.summary-line.total {
    border-top: 2px solid var(--text-dark);
    border-bottom: none;
    margin-top: 1rem;
    padding-top: 1rem;
    font-size: 1.25rem;
}

.shipping-note {
    margin-top: 1rem;
    padding: 1rem;
    background: var(--warning-color);
    color: white;
    border-radius: 6px;
    font-weight: 600;
}

.form-actions {
    text-align: center;
    margin: 2rem 0;
}

.form-note {
    text-align: center;
    color: var(--text-light);
    font-size: 0.875rem;
    line-height: 1.6;
}

/* About Section */
.about p {
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.contact-info {
    background: linear-gradient(135deg, #f9fafb 0%, #f3f4f6 100%);
    padding: 2rem;
    border-radius: 8px;
    margin-top: 2rem;
    border: 1px solid var(--border-color);
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.05);
}

.contact-info p {
    margin-bottom: 0.5rem;
}

/* Confirmation Page */
.confirmation {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.success-icon {
    width: 80px;
    height: 80px;
    background: var(--success-color);
    color: white;
    font-size: 3rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
}

.order-details {
    text-align: left;
    margin: 3rem 0;
}

.details-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 1.5rem;
}

.details-table tr {
    border-bottom: 1px solid var(--border-color);
}

.details-table td {
    padding: 1rem;
}

.details-table td:first-child {
    width: 35%;
}

.total-row {
    border-top: 2px solid var(--text-dark);
    font-size: 1.25rem;
}

.notes-section {
    background: var(--bg-light);
    padding: 1.5rem;
    border-radius: 8px;
    margin-top: 2rem;
}

.next-steps,
.support-info {
    text-align: left;
    margin: 3rem 0;
}

.next-steps ol {
    margin-top: 1rem;
    padding-left: 1.5rem;
}

.next-steps li {
    padding: 0.75rem 0;
    line-height: 1.6;
}

.action-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 3rem;
}

/* Error Page */
.error {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.error-icon {
    width: 80px;
    height: 80px;
    background: var(--danger-color);
    color: white;
    font-size: 3rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
}

.error-details {
    background: #fee2e2;
    border: 2px solid var(--danger-color);
    padding: 1.5rem;
    border-radius: 8px;
    margin: 2rem 0;
}

.error-actions {
    margin: 2rem 0;
}

/* Footer */
footer {
    background: var(--text-dark);
    color: white;
    text-align: center;
    padding: 2rem 0;
    margin-top: 4rem;
}

footer p {
    margin: 0.5rem 0;
    opacity: 0.8;
}

/* Responsive Design */
@media (max-width: 768px) {
    header h1 {
        font-size: 2rem;
    }

    .hero h2 {
        font-size: 1.75rem;
    }

    section {
        padding: 2rem 1.5rem;
    }

    .feature-grid,
    .pricing-options {
        grid-template-columns: 1fr;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .action-buttons {
        flex-direction: column;
    }

    .btn {
        width: 100%;
    }
}

/* Links */
a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

/* Hero Section with Image */
.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.hero-text {
    flex: 1;
}

.hero-image {
    flex: 1;
}

.hero-image img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15), 0 1px 3px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.hero-image img:hover {
    transform: translateY(-8px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.2), 0 1px 3px rgba(0, 0, 0, 0.05);
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

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

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

.btn-secondary {
    background-color: white;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background-color: var(--bg-light);
}

/* Product Showcase */
.product-showcase {
    margin: 3rem 0;
    padding: 2rem;
    background: white;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
}

.product-showcase h2 {
    text-align: center;
    margin-bottom: 2rem;
    color: var(--text-dark);
}

.showcase-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.showcase-item {
    text-align: center;
}

.showcase-item img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: var(--shadow-sm);
    margin-bottom: 1rem;
}

.showcase-item p {
    color: var(--text-light);
    font-size: 0.9rem;
}

/* Form Hint */
.form-hint {
    display: block;
    margin-top: 0.5rem;
    font-size: 0.85rem;
    color: var(--text-light);
    font-style: italic;
}

/* Payment Instructions */
.payment-instructions {
    margin: 2rem 0;
    padding: 2rem;
    background: linear-gradient(135deg, #f9fafb 0%, #f3f4f6 100%);
    border-radius: 12px;
    border: 1px solid var(--border-color);
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.05);
}

.payment-instructions h3 {
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

.payment-box {
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    border-left: 4px solid var(--primary-color);
    box-shadow: var(--shadow-sm);
}

.payment-box h4 {
    margin-bottom: 1rem;
    color: var(--primary-color);
    font-size: 1.2rem;
}

.payment-detail {
    margin: 0.75rem 0;
    font-size: 1rem;
    line-height: 1.8;
}

.payment-note {
    margin: 1rem 0;
    padding: 0.75rem;
    background: var(--bg-light);
    border-radius: 6px;
    font-size: 0.9rem;
    color: var(--text-light);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .btn {
        text-align: center;
    }
    
    .showcase-grid {
        grid-template-columns: 1fr;
    }
}
