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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background: #ffffff;
    margin: 0;
    padding: 0;
}

/* Header */
.site-header {
    background: linear-gradient(135deg, #1e3a5f 0%, #2d5a8f 100%);
    color: white;
    padding: 3rem 2rem;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

.site-header h1 {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.site-header .subtitle {
    font-size: 1rem;
    opacity: 0.9;
    font-weight: 300;
}

/* Container */
.container {
    max-width: 100%;
    margin: 0;
    padding: 0;
}

/* Intro Section */
.intro-section {
    text-align: center;
    margin-bottom: 3rem;
}

.intro-section h2 {
    font-size: 2rem;
    color: #1e3a5f;
    margin-bottom: 1rem;
}

.device-info {
    display: inline-block;
    background: #f0f4f8;
    padding: 0.5rem 1.5rem;
    border-radius: 25px;
    font-weight: 500;
    color: #2d5a8f;
    margin-top: 1rem;
}

#device-type {
    font-weight: 700;
    color: #1e3a5f;
}

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

.design-card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #e8e8e8;
}

.design-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
}

.card-header {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 2rem;
    border-bottom: 2px solid #2d5a8f;
}

.card-header h3 {
    font-size: 1.75rem;
    color: #1e3a5f;
    margin-bottom: 0.5rem;
}

.card-header p {
    color: #666;
    font-size: 0.95rem;
}

.card-body {
    padding: 1.5rem 2rem;
    color: #555;
    line-height: 1.7;
}

/* Buttons */
.btn {
    display: block;
    text-align: center;
    padding: 1rem 2rem;
    margin: 1.5rem 2rem 2rem;
    text-decoration: none;
    font-weight: 600;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.btn-primary {
    background: #2d5a8f;
    color: white;
}

.btn-primary:hover {
    background: #1e3a5f;
    transform: scale(1.02);
}

.btn-back {
    display: inline-block;
    margin: 2rem 0;
    background: #6c757d;
    color: white;
}

.btn-back:hover {
    background: #5a6268;
}

/* Info Section */
.info-section {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 3rem;
    padding-top: 3rem;
    border-top: 2px solid #e9ecef;
}

.info-box {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 8px;
    border-left: 4px solid #2d5a8f;
}

.info-box h4 {
    color: #1e3a5f;
    margin-bottom: 0.75rem;
    font-size: 1.1rem;
}

.info-box p {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Footer */
.site-footer {
    background: #1e3a5f;
    color: white;
    text-align: center;
    padding: 2rem;
    margin-top: 4rem;
}

/* Page Title Styles */
.page-title {
    text-align: center;
    margin-bottom: 2rem;
}

.page-title h2 {
    font-size: 2.5rem;
    color: #1e3a5f;
    margin-bottom: 0.5rem;
}

.page-title .design-type {
    display: inline-block;
    background: #2d5a8f;
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-top: 0.5rem;
}
.interactive-mockup-container {
    background: #ffffff;
    padding: 0;
    margin: 0;
    width: 100vw;
    height: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    position: relative;
}

.mockup-display {
    position: relative;
    width: 100vw;
    height: auto;
    display: flex;
    align-items: flex-start;
    justify-content: center;
}

.main-mockup-image {
    width: 100vw;
    height: auto;
    object-fit: contain;
    display: block;
    transition: all 0.3s ease;
}

.page-navigation {
    position: fixed;
    left: 0;
    top: 50%;
    transform: translateY(-50%) translateX(-90%);
    background: rgba(255, 255, 255, 0.6);
    border-radius: 0 20px 20px 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    z-index: 1000;
    backdrop-filter: blur(10px);
    user-select: none;
    transition: transform 0.3s ease;
    padding: 16px 12px;
}

.page-navigation:hover {
    transform: translateY(-50%) translateX(0);
}

.menu-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.design-indicator {
    font-size: 11px;
    font-weight: 600;
    color: #2d5a8f;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    writing-mode: vertical-rl;
    text-orientation: mixed;
    white-space: nowrap;
}

.page-navigation:hover .design-indicator {
    writing-mode: horizontal-tb;
}

.drag-handle {
    font-size: 16px;
    color: #6c757d;
    cursor: pointer;
    line-height: 1;
    transform: rotate(90deg);
}

.menu-buttons {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.nav-btn {
    background: rgba(248, 249, 250, 0.8);
    border: 1px solid rgba(233, 236, 239, 0.6);
    color: #495057;
    padding: 8px 12px;
    border-radius: 15px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s ease;
    font-size: 12px;
    backdrop-filter: blur(5px);
    white-space: nowrap;
    min-width: 80px;
    text-align: center;
}

.nav-btn:hover {
    background: rgba(233, 236, 239, 0.9);
    border-color: #2d5a8f;
    color: #2d5a8f;
    transform: translateX(3px);
}

.nav-btn.active {
    background: rgba(45, 90, 143, 0.9);
    border-color: #2d5a8f;
    color: white;
}

.back-btn {
    background: rgba(108, 117, 125, 0.8);
    border: 1px solid rgba(108, 117, 125, 0.6);
    color: white;
    padding: 8px 12px;
    border-radius: 15px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s ease;
    font-size: 12px;
    backdrop-filter: blur(5px);
    white-space: nowrap;
    min-width: 80px;
    text-align: center;
    margin-bottom: 8px;
}

.back-btn:hover {
    background: rgba(90, 98, 104, 0.9);
    transform: translateX(3px);
}

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

    .site-header {
        padding: 2rem 1rem;
    }

    .container {
        padding: 2rem 1rem;
    }

    .intro-section h2 {
        font-size: 1.5rem;
    }

    .design-grid {
        grid-template-columns: 1fr;
    }

    .page-title h2 {
        font-size: 1.75rem;
    }

    .mockup-wrapper {
        padding: 1rem;
    }
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Loading State */
.loading {
    opacity: 0.5;
    pointer-events: none;
}


