/* ========================================
   COLOR PALETTE DEFINITIONS
   ======================================== */
:root {
    /* Primary Colors - Professional Palette */
    --color-dark: #3a4454;           /* Koyu Mavi-Gri */
    --color-primary: #6d7486;        /* Gri */
    --color-light: #b8bcc8;          /* Açık Gri */
    --color-cream: #f5f3f0;          /* Krem */
    
    /* Neutral & Backgrounds */
    --color-white: #ffffff;
    --color-dark-bg: #2a2d35;
    --color-light-bg: #f8f9fa;
    
    /* Text Colors */
    --text-dark: #2c3e50;
    --text-primary: #3a4454;
    --text-secondary: #6d7486;
    --text-light: #95a0b8;
    
    /* Accent & Status */
    --color-error: #e74c3c;
    --color-success: #27ae60;
    --color-warning: #f39c12;
}

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

/* Global: ensure content starts below fixed header */
.page-main,
main,
.cart-section,
.product-detail-section,
.guide-page,
.cart-page {
    margin-top: 100px;
}

@media (max-width: 768px) {
    .page-main,
    main,
    .cart-section,
    .product-detail-section,
    .guide-page,
    .cart-page {
        margin-top: 90px;
    }
}

/* Sample Cards Filmstrip */
.sample-cards {
    padding: 2rem 0 1rem;
    background: var(--color-cream);
}
.sample-cards .container { max-width: 1280px; }
.sample-header { text-align: center; margin-bottom: 1rem; }
.sample-header h2 { margin: 0 0 .25rem; }
.filmstrip { overflow: hidden; position: relative; }
.filmstrip-track {
    display: flex;
    gap: 16px;
    animation: filmScroll 25s linear infinite;
    will-change: transform;
}
.filmstrip .slide {
    flex: 0 0 auto;
    width: 220px;
    height: 140px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 18px rgba(58, 68, 84, 0.15);
    background: #fff;
}
.filmstrip .slide img { width: 100%; height: 100%; object-fit: cover; display: block; }
.filmstrip .slide:hover { transform: scale(1.03); transition: transform .2s ease; }
@keyframes filmScroll {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background: linear-gradient(180deg, var(--color-primary), var(--color-dark));
    min-height: 100vh;
    margin: 0;
    padding: 0;
}

body.product-detail-page {
    background: linear-gradient(135deg, var(--color-cream) 0%, #ede8e3 100%);
}

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

/* Header Styles */
.header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(42, 45, 53, 0.98);
    backdrop-filter: blur(10px);
    z-index: 1000;
    transition: all 0.3s ease;
}

.navbar {
    padding: 0;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    height: 80px;
    gap: 2rem;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-img {
    height: 60px;
    width: auto;
    object-fit: contain;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.logo-img:hover {
    transform: scale(1.05);
}

.nav-logo a {
    display: inline-block;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.nav-logo a:hover {
    opacity: 0.8;
}


.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    margin: 0;
    padding: 0;
}

.nav-menu-left {
    justify-content: flex-start;
}

.nav-menu-right {
    justify-content: flex-end;
    align-items: center;
}

.nav-item {
    display: flex;
    align-items: center;
    height: 100%;
}

.nav-link {
    color: #ffffff;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: var(--color-cream);
}

.nav-auth {
    display: flex;
    gap: 1rem;
    align-items: center;
    position: relative;
    list-style: none;
    height: 100%;
}

.auth-buttons {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.profile-dropdown {
    position: relative;
}

.profile-btn {
    background: none;
    border: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    color: #ffffff;
}

.profile-btn:hover {
    background: rgba(255,255,255,0.1);
    transform: translateY(-1px);
}

.profile-avatar {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    object-fit: cover;
}

.profile-name {
    font-weight: 500;
    font-size: 0.9rem;
}

.profile-menu {
    position: absolute;
    top: calc(100% + 5px);
    right: 0;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(58, 68, 84, 0.2);
    border: 2px solid rgba(184, 188, 200, 0.2);
    min-width: 220px;
    z-index: 1002;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    padding: 8px 0;
    overflow: hidden;
}

.profile-menu.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.profile-menu-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 12px 16px;
    color: var(--text-primary);
    text-decoration: none;
    transition: background 0.3s ease;
    font-size: 0.9rem;
    white-space: nowrap;
    min-height: 44px;
    line-height: 1.2;
}

.profile-menu-item:hover {
    background: var(--color-cream);
    color: var(--text-primary);
}

.profile-menu-item.logout {
    color: var(--color-error);
}

.profile-menu-item.logout:hover {
    background: #ffe5e5;
    color: var(--color-error);
}

.profile-divider {
    margin: 0.5rem 0;
    border: none;
    border-top: 1px solid var(--color-light);
}

.profile-menu-item i {
    width: 18px;
    text-align: center;
    flex-shrink: 0;
    font-size: 14px;
}

.btn-login {
    color: #ffffff;
    text-decoration: none;
    padding: 0.6rem 1.2rem;
    border: 1px solid var(--color-light);
    border-radius: 5px;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.btn-login:hover {
    background: var(--color-primary);
    color: #ffffff;
}

.btn-register {
    background: linear-gradient(0deg, var(--color-light), var(--color-cream));
    color: var(--color-dark);
    text-decoration: none;
    padding: 0.6rem 1.2rem;
    border-radius: 5px;
    font-weight: 600;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.btn-register:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(58, 68, 84, 0.2);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background: #ffffff;
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    height: calc(100vh - 80px);
    position: relative;
    overflow: hidden;
    margin-top: 80px;
}

.hero-video {
    position: relative;
    width: 100%;
    height: 100%;
}

.hero-video video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(109, 116, 134, 0.5), rgba(58, 68, 84, 0.7));
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-content {
    text-align: center;
    color: #ffffff;
    max-width: 800px;
    padding: 0 20px;
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.hero-content p {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.btn-primary {
    background: linear-gradient(0deg, var(--color-light), var(--color-cream));
    color: var(--color-dark);
    padding: 1rem 2rem;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    display: inline-block;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(58, 68, 84, 0.2);
}

/* Custom Card Designer Section */
.custom-designs {
    padding: 2rem 0;
    background: linear-gradient(135deg, var(--color-cream) 0%, #ede8e3 100%);
    min-height: 100vh;
}

/* Wider container specifically for the card designer */
#card-designer .container {
    max-width: 1280px;
}

.designer-header {
    text-align: center;
    margin-bottom: 1.5rem;
}

.designer-header h2 {
    font-size: 1.8rem;
    margin-bottom: 0.3rem;
    color: #333;
}

.designer-header p {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 1rem;
}

/* New Card Designer Styles */
.designer-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.designer-panel {
    background: white;
    border-radius: 15px;
    padding: 1.5rem;
    box-shadow: 0 10px 25px rgba(109, 116, 134, 0.15);
    border: 2px solid rgba(109, 116, 134, 0.1);
    height: fit-content;
}

.controls-panel {
    height: 100%;
}

.designer-section {
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #e9ecef;
}

.designer-section:last-of-type {
    border-bottom: none;
    margin-bottom: 0;
}

.designer-section h3 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: #333;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.designer-section h3 i {
    color: #6d7486;
}

/* Logo Upload */
.logo-upload-area {
    border: 2px dashed #6d7486;
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    background: #f8f9fa;
}

.logo-upload-area:hover {
    border-color: #0a0d13;
    background: #e9ecef;
}

.logo-upload-content i {
    font-size: 2rem;
    color: #6d7486;
    margin-bottom: 1rem;
}

.logo-upload-content p {
    font-size: 1rem;
    color: #333;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.uploaded-logo {
    position: relative;
    margin-top: 1rem;
    border-radius: 10px;
    overflow: hidden;
    border: 2px solid #e9ecef;
    text-align: center;
    padding: 1rem;
}

.uploaded-logo #logoPreview {
    max-width: 100px;
    max-height: 50px;
    margin: 0 auto;
}

.remove-logo {
    position: absolute;
    top: 5px;
    right: 5px;
    width: 25px;
    height: 25px;
    border: none;
    background: rgba(231, 76, 60, 0.9);
    color: white;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.remove-logo:hover {
    background: #e74c3c;
    transform: scale(1.1);
}

/* Color Options */
.color-tabs {
    display: inline-flex;
    background: #f4f6f9;
    border: 1px solid #e2e6ee;
    border-radius: 10px;
    margin-bottom: 10px;
    overflow: hidden;
}
.color-tab {
    padding: 8px 14px;
    border: none;
    background: transparent;
    color: #4a5568;
    cursor: pointer;
    font-weight: 600;
}
.color-tab.active { background: #ffffff; color: #0a0d13; }
.color-options {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.color-option {
    cursor: pointer;
    display: block;
}

.color-option input {
    display: none;
}

.color-preview {
    width: 100%;
    aspect-ratio: 7/3;
    border-radius: 12px;
    border: 1px solid #d7dbe2;
    box-shadow: 0 2px 8px rgba(10,13,19,0.06);
    transition: transform 0.16s ease, box-shadow 0.16s ease, border-color 0.16s ease;
}

.color-option input:checked + .color-preview {
    border-color: #6d7486;
    box-shadow: 0 6px 16px rgba(10,13,19,0.18);
    transform: translateY(-2px);
}

.color-option span {
    font-size: 0.8rem;
    font-weight: 500;
    color: #666;
}

/* Color Presets applied to both .color-preview swatches and .card-background */
/* Solid colors */
.solid-7ffff0 { background: #7ffff0 !important; }
.solid-aa9aff { background: #aa9aff !important; }
.solid-ffffac { background: #ffffac !important; }
.solid-ffade5 { background: #ffade5 !important; }
.solid-ffc9b5 { background: #ffc9b5 !important; }
.solid-bbffb0 { background: #bbffb0 !important; }
.solid-e4e4e4 { background: #e4e4e4 !important; }
.solid-000000 { background: #000000 !important; }
.solid-ffffff { background: #ffffff !important; }

/* Gradients (angles and stops as per titles in index.html) */
.grad-7ffff0 { background: linear-gradient(0deg, #888888, #ffffff) !important; }
.grad-aa9aff { background: linear-gradient(180deg, #b2f1ff, #5555b7, #03102f) !important; }
.grad-ffffac { background: linear-gradient(90deg, #cdffd8, #94b9ff) !important; }
.grad-ffade5 { background: linear-gradient(90deg, #f3b0f2, #fdf5b9) !important; }
.grad-ffc9b5 { background: linear-gradient(45deg, #6ae70e, #08fded, #0072ed) !important; }
.grad-bbffb0 { background: linear-gradient(90deg, #94b9ff, #e894ff) !important; }
.grad-e4e4e4 { background: linear-gradient(180deg, #6d7486, #0a0d13) !important; }
.grad-000000 { background: linear-gradient(180deg, #450050, #e753fe) !important; }
.grad-ffffff { background: linear-gradient(45deg, #ff1d9d, #ffefd2) !important; }

/* Form Styles */
.form-group {
    margin-bottom: 1rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: #333;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.8rem;
    border: 2px solid #e9ecef;
    border-radius: 10px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #6d7486;
    box-shadow: 0 0 0 3px rgba(109, 116, 134, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 80px;
}

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

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

/* Card Preview */
.card-preview-container {
    background: white;
    border-radius: 15px;
    padding: 1.5rem;
    box-shadow: 0 10px 25px rgba(109, 116, 134, 0.15);
    border: 2px solid rgba(109, 116, 134, 0.1);
    height: fit-content;
}

.preview-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.preview-header h3 {
    color: #333;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin: 0;
}

.preview-header h3 i {
    color: #6d7486;
}

.preview-controls {
    display: flex;
    gap: 0.5rem;
}

.preview-btn {
    padding: 0.5rem 1rem;
    border: 2px solid #e9ecef;
    background: white;
    color: #666;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.preview-btn.active {
    border-color: #6d7486;
    background: #6d7486;
    color: white;
}

.preview-btn:hover {
    border-color: #6d7486;
    color: #6d7486;
}

.card-preview {
    perspective: 1000px;
    margin-bottom: 2rem;
}

.card-front,
.card-back {
    width: 340px;
    height: 214px;
    margin: 0 auto;
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
}

.card-front:hover,
.card-back:hover {
    transform: rotateY(5deg) rotateX(5deg);
}

.card-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.card-product-image {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1.5;
    overflow: hidden;
    border-radius: 15px;
}

.card-product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.3;
    transition: opacity 0.3s ease;
}

.card-product-image:hover img {
    opacity: 0.5;
}

.card-content {
    position: relative;
    z-index: 2;
    padding: 1.5rem;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    color: white;
}

.card-logo {
    text-align: center;
    margin-bottom: 1rem;
}

.card-logo #logoDisplay {
    font-size: 1.2rem;
    font-weight: 700;
    opacity: 0.8;
}

.card-name {
    text-align: center;
    flex-grow: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.card-name h4 {
    font-size: 1.4rem;
    margin: 0;
    font-weight: 700;
}

.card-title {
    text-align: center;
}

.card-title p {
    font-size: 1rem;
    margin: 0;
    opacity: 0.9;
}

/* Card Back */
.qr-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    gap: 1rem;
}

.qr-code {
    color: white;
    opacity: 0.8;
}

.nfc-icon {
    position: absolute;
    bottom: 1.5rem;
    left: 1.5rem;
    color: white;
    font-size: 1rem;
    opacity: 0.8;
    z-index: 10;
}

/* Designer Actions */
.designer-actions {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.btn-primary, .btn-secondary {
    padding: 0.8rem 1.5rem;
    border: none;
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex: 1;
    justify-content: center;
}

.btn-primary {
    background: linear-gradient(135deg, #6d7486 0%, #0a0d13 100%);
    color: white;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(109, 116, 134, 0.3);
}

.btn-primary:disabled {
    background: #ccc;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.btn-secondary {
    background: #f8f9fa;
    color: #6d7486;
    border: 2px solid #e9ecef;
}

.btn-secondary:hover {
    background: #e9ecef;
    transform: translateY(-2px);
}

/* Responsive Design */
@media (max-width: 768px) {
    .designer-container {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .card-preview-container {
        order: -1;
    }
    
    .card-type-options {
        grid-template-columns: 1fr;
    }
    
    .color-options {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .designer-actions {
        flex-direction: column;
    }
    
    .card-front,
    .card-back {
        width: 300px;
        height: 180px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
}

.designer-header {
    text-align: center;
    margin-bottom: 1.5rem;
}

.designer-header h2 {
    font-size: 1.8rem;
    margin-bottom: 0.3rem;
    color: #333;
}

.designer-header p {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 1rem;
}


.designer-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    max-width: 900px;
    margin: 0 auto;
}

.right-panel {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.designer-panel {
    background: white;
    border-radius: 12px;
    padding: 1.2rem;
    box-shadow: 0 8px 20px rgba(109, 116, 134, 0.15);
    border: 2px solid rgba(109, 116, 134, 0.1);
    height: fit-content;
}

.designer-section {
    margin-bottom: 1.2rem;
    padding-bottom: 1.2rem;
    border-bottom: 1px solid #e9ecef;
}

.designer-section:last-of-type {
    border-bottom: none;
    margin-bottom: 0;
}

.designer-section h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: #333;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.designer-section h3 i {
    color: #6d7486;
}

/* Card Type Options */
.card-type-options {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.card-type-option {
    cursor: pointer;
}

.card-type-option input {
    display: none;
}

.card-type-preview {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1.5rem;
    border: 2px solid #e9ecef;
    border-radius: 15px;
    transition: all 0.3s ease;
    background: white;
    position: relative;
}

.card-type-option input:checked + .card-type-preview {
    border-color: #6d7486;
    background: linear-gradient(135deg, #6d7486 0%, #0a0d13 100%);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(109, 116, 134, 0.3);
}

.card-type-preview i {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.card-type-preview span {
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.card-type-preview .price {
    font-size: 1.2rem;
    font-weight: 700;
    color: #6d7486;
    margin-top: 0.5rem;
}

.card-type-option input:checked + .card-type-preview .price {
    color: #ffd700;
}

/* Background Options */
.background-options {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.background-option {
    cursor: pointer;
    text-align: center;
}

.background-option input {
    display: none;
}

.bg-preview {
    width: 100%;
    height: 60px;
    border-radius: 10px;
    border: 2px solid #e9ecef;
    transition: all 0.3s ease;
    margin-bottom: 0.5rem;
}

.background-option input:checked + .bg-preview {
    border-color: #6d7486;
    transform: scale(1.05);
    box-shadow: 0 4px 15px rgba(109, 116, 134, 0.3);
}

.bg-name {
    font-size: 0.8rem;
    font-weight: 500;
    color: #666;
}

.gradient1 {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.gradient2 {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.gradient3 {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

.pattern1 {
    background: linear-gradient(45deg, #2c3e50 25%, transparent 25%), 
                linear-gradient(-45deg, #2c3e50 25%, transparent 25%), 
                linear-gradient(45deg, transparent 75%, #2c3e50 75%), 
                linear-gradient(-45deg, transparent 75%, #2c3e50 75%);
    background-size: 20px 20px;
    background-position: 0 0, 0 10px, 10px -10px, -10px 0px;
}

.solid1 {
    background: #2c3e50;
}

.solid2 {
    background: #ecf0f1;
}

.solid3 {
    background: #e74c3c;
}

.solid4 {
    background: #27ae60;
}

.solid5 {
    background: #f39c12;
}

/* Background Type Selector */
.background-type-selector {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.bg-type-option {
    flex: 1;
    cursor: pointer;
}

.bg-type-option input {
    display: none;
}

.bg-type-preview {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1rem;
    border: 2px solid #e9ecef;
    border-radius: 10px;
    transition: all 0.3s ease;
    background: white;
}

.bg-type-option input:checked + .bg-type-preview {
    border-color: #6d7486;
    background: linear-gradient(135deg, #6d7486 0%, #0a0d13 100%);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(109, 116, 134, 0.3);
}

.bg-type-preview i {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.bg-type-preview span {
    font-weight: 600;
    font-size: 0.9rem;
}

/* Template Options */
.template-options h4,
.upload-options h4 {
    font-size: 1rem;
    margin-bottom: 1rem;
    color: #333;
    font-weight: 600;
}





/* Upload Area */
.upload-area {
    border: 2px dashed #6d7486;
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    background: #f8f9fa;
}

.upload-area:hover {
    border-color: #0a0d13;
    background: #e9ecef;
}

.upload-area.dragover {
    border-color: #27ae60;
    background: #d5f4e6;
}

.upload-content i {
    font-size: 3rem;
    color: #6d7486;
    margin-bottom: 1rem;
}

.upload-content p {
    font-size: 1.1rem;
    color: #333;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.upload-info {
    font-size: 0.9rem;
    color: #666;
}

/* Uploaded Image */
.uploaded-image {
    position: relative;
    margin-top: 1rem;
    border-radius: 10px;
    overflow: hidden;
    border: 2px solid #e9ecef;
}

.uploaded-image img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    display: block;
}

.remove-image {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 30px;
    height: 30px;
    border: none;
    background: rgba(231, 76, 60, 0.9);
    color: white;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.remove-image:hover {
    background: #e74c3c;
    transform: scale(1.1);
}

/* Form Groups */
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

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

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: #333;
}

.form-group input {
    width: 100%;
    padding: 0.8rem;
    border: 2px solid #e9ecef;
    border-radius: 10px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus {
    outline: none;
    border-color: #6d7486;
    box-shadow: 0 0 0 3px rgba(109, 116, 134, 0.1);
}


/* Designer Actions */
.designer-actions {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.btn-primary, .btn-secondary, .btn-outline {
    padding: 0.8rem 1.5rem;
    border: none;
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex: 1;
    justify-content: center;
}

.btn-primary {
    background: linear-gradient(135deg, #6d7486 0%, #0a0d13 100%);
    color: white;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(109, 116, 134, 0.3);
}

.btn-secondary {
    background: #f8f9fa;
    color: #6d7486;
    border: 2px solid #e9ecef;
}

.btn-secondary:hover {
    background: #e9ecef;
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: #6d7486;
    border: 2px solid #6d7486;
}

.btn-outline:hover {
    background: #6d7486;
    color: white;
    transform: translateY(-2px);
}

.btn-checkout {
    background: linear-gradient(135deg, #27ae60 0%, #2ecc71 100%);
    color: white;
    padding: 0.8rem 1.5rem;
    border: none;
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex: 1;
    justify-content: center;
}

.btn-checkout:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(46, 204, 113, 0.3);
}

/* Card Preview */
.card-preview-container {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 15px 35px rgba(109, 116, 134, 0.15);
    border: 2px solid rgba(109, 116, 134, 0.1);
    height: fit-content;
    overflow: hidden; /* içerik taşmasın */
}

/* Right Panel Sections */
.right-panel .designer-section {
    background: white;
    border-radius: 12px;
    padding: 1.2rem;
    box-shadow: 0 8px 20px rgba(109, 116, 134, 0.15);
    border: 2px solid rgba(109, 116, 134, 0.1);
    margin-bottom: 0;
}

.preview-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.preview-header h3 {
    color: #333;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin: 0;
}

.preview-header h3 i {
    color: #6d7486;
}

.preview-controls {
    display: flex;
    gap: 0.5rem;
}

.preview-btn {
    padding: 0.5rem 1rem;
    border: 2px solid #e9ecef;
    background: white;
    color: #666;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.preview-btn.active {
    border-color: #6d7486;
    background: #6d7486;
    color: white;
}

.preview-btn:hover {
    border-color: #6d7486;
    color: #6d7486;
}

.card-preview {
    perspective: 1000px;
    margin-bottom: 2rem;
}

.card-front {
    width: 260px;
    height: 160px;
    margin: 0 auto;
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
}

.card-front:hover {
    transform: rotateY(5deg) rotateX(5deg);
}

.card-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.card-content {
    position: relative;
    z-index: 2;
    padding: 1rem;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    color: white;
}

.card-logo {
    text-align: center;
    margin-bottom: 0.5rem;
}

.card-logo img {
    height: 30px;
    filter: brightness(0) invert(1);
}

.card-info {
    text-align: center;
    margin-bottom: 0.5rem;
    flex-grow: 1;
}

.card-info h4 {
    font-size: 1.1rem;
    margin-bottom: 0.3rem;
    font-weight: 700;
}

.card-info p {
    font-size: 0.8rem;
    margin: 0.2rem 0;
    opacity: 0.9;
}

.card-contact {
    text-align: center;
}

.card-contact p {
    font-size: 0.6rem;
    margin: 0.05rem 0;
    opacity: 0.8;
    line-height: 1.2;
}

/* Card Back */
.card-back {
    width: 260px;
    height: 160px;
    margin: 0 auto;
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
}

.card-back:hover {
    transform: rotateY(-5deg) rotateX(5deg);
}

.back-logo {
    text-align: center;
    margin-bottom: 1rem;
    padding-top: 1rem;
}

.back-logo img {
    height: 40px;
    filter: brightness(0) invert(1);
}

.back-info {
    text-align: center;
    color: white;
}

.back-info h4 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.back-info p {
    font-size: 0.9rem;
    margin-bottom: 1rem;
    opacity: 0.9;
}

.qr-code {
    font-size: 2rem;
    opacity: 0.7;
}


/* Responsive Design */
@media (max-width: 768px) {
    .designer-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .right-panel {
        order: -1;
    }
    
    .card-type-options {
        grid-template-columns: 1fr;
    }
    
    .background-options {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .designer-actions {
        flex-direction: column;
    }
    
    
    .card-front {
        width: 240px;
        height: 140px;
    }
    
    .card-back {
        width: 240px;
        height: 140px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .background-type-selector {
        flex-direction: column;
    }
}

/* --- Responsive Tasarım Düzeni --- */
/* Ana düzen: Masaüstünde yan yana, mobil görünümde dikey */
.responsive-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    align-items: start;
}

/* Sol ve Sağ panellerin esnekliği */
.designer-panel {
    flex: 1 1 45%; /* Sol panel: Minimum %45 yer kapla */
    min-width: 300px; /* Min genişlik */
}

.right-panel {
    min-width: 300px; /* Min genişlik */
    position: sticky; /* Önizlemenin kaydırırken görünür kalması için */
    top: 20px; /* Üstten boşluk */
}

/* Mobil Uyumlu: Ekran 768px'den dar olduğunda dikey düzen */
@media (max-width: 768px) {
    .responsive-layout { grid-template-columns: 1fr; }
    .designer-panel, .right-panel { min-width: unset; }
    .right-panel { position: relative; top: unset; }
}

/* Tip under header */
.designer-tip {
    margin-top: 6px;
    font-size: 0.95rem;
    color: #384047;
}
.designer-tip i { color: #0a0d13; margin-right: 6px; }

/* Dual previews: show horizontal and vertical side-by-side */
.dual-previews {
    display: grid;
    grid-template-columns: repeat(2, max-content);
    justify-content: center; /* ortala */
    align-items: center;
    gap: 16px;
}
@media (max-width: 992px) {
    .dual-previews { grid-template-columns: 1fr; }
}

/* Ensure both preview cards have nice aspect ratios */
.card-preview { width: 100%; }
.card-preview.horizontal .card-front,
.card-preview.horizontal .card-back { aspect-ratio: 85 / 54; }
.card-preview.vertical .card-front,
.card-preview.vertical .card-back { aspect-ratio: 54 / 85; }

.card-preview .card-front,
.card-preview .card-back {
    border-radius: 14px;
    overflow: hidden;
    position: relative;
}

/* Override earlier fixed sizes: enforce orientation explicitly */
.dual-previews .card-preview.horizontal .card-front,
.dual-previews .card-preview.horizontal .card-back {
    width: 240px !important;
    height: 148px !important;
    margin: 0 auto;
}
.dual-previews .card-preview.vertical .card-front,
.dual-previews .card-preview.vertical .card-back {
    width: 148px !important;
    height: 240px !important;
    margin: 0 auto;
}

@media (max-width: 1100px) {
  .dual-previews .card-preview.horizontal .card-front,
  .dual-previews .card-preview.horizontal .card-back { width: 220px !important; height: 136px !important; }
  .dual-previews .card-preview.vertical .card-front,
  .dual-previews .card-preview.vertical .card-back { width: 136px !important; height: 220px !important; }
}
@media (max-width: 900px) {
  .dual-previews { grid-template-columns: 1fr; }
}

/* Form Satırları için mobil uyum */
.form-row {
    display: flex;
    gap: 15px;
}
.form-row .form-group {
    flex: 1; /* Form grupları satırda eşit yayılır */
}
@media (max-width: 500px) {
    .form-row {
        flex-direction: column; /* Çok dar ekranlarda dikey sırala */
    }
}

/* --- Logo Yükleme Stilleri (Özelleştirilmiş) --- */
.logo-meta {
    margin-top: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.status-inline {
    font-weight: bold;
    color: #4CAF50; /* Varsayılan yeşil */
}

.file-type-inline {
    font-size: 0.8em;
    padding: 2px 5px;
    background-color: #eee;
    border-radius: 3px;
}

.warning-inline {
    color: #FF9800; /* Turuncu uyarı */
    font-weight: bold;
    display: none; /* Varsayılan olarak gizli */
}

.uploaded-logo {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    margin-top: 10px;
}

/* Inline SVG Kapsayıcısı */
.inline-svg-container {
    max-width: 100px; /* Önizleme için maksimum genişlik */
    max-height: 50px; /* Önizleme için maksimum yükseklik */
    display: flex;
    align-items: center;
    justify-content: center;
}
.inline-svg-container svg {
    max-width: 100%;
    max-height: 100%;
    height: auto; /* Oranı koru */
    width: auto; /* Oranı koru */
}

/* Products Section */
.products {
    padding: 5rem 0;
    background: #ffffff;
    color: #0a0d13;
    margin-top: 0;
}

.products-header {
    text-align: center;
    margin-bottom: 3rem;
    padding: 2rem 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.products-header h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #6d7486 0%, #0a0d13 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
}

.breadcrumb {
    color: #626262;
    font-size: 1.1rem;
    font-weight: 500;
}

.breadcrumb span {
    color: #6d7486;
    font-weight: 600;
}

.breadcrumb span {
    color: #6d7486;
}

.products-banner {
    background: linear-gradient(135deg, #6d7486, #0a0d13);
    color: #ffffff;
    padding: 3rem 2rem;
    border-radius: 15px;
    margin-bottom: 3rem;
    text-align: center;
}

.banner-content h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: #ffecdf;
}

.banner-content p {
    font-size: 1.2rem;
    opacity: 0.9;
}

.display-controls {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 2rem;
}

.display-layout {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: #626262;
}

.layout-buttons {
    display: flex;
    gap: 0.5rem;
}

.layout-btn {
    background: #f8f9fa;
    border: 1px solid #626262;
    padding: 0.5rem 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 5px;
}

.layout-btn.active {
    background: #6d7486;
    color: #ffffff;
    border-color: #6d7486;
}

.layout-btn:hover {
    background: #6d7486;
    color: #ffffff;
}

.products-filters {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
    background: linear-gradient(135deg, #6d7486 0%, #0a0d13 100%);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    align-items: end;
}

.filter-group {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    min-width: 200px;
    width: 100%;
}

#subcategoryGroup {
    display: none;
}

.filter-group label {
    font-weight: 600;
    color: #ffffff;
    font-size: 1.1rem;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.filter-group select {
    padding: 1rem 1.2rem;
    border: 2px solid rgba(255,255,255,0.2);
    border-radius: 10px;
    background: rgba(255,255,255,0.95);
    color: #0a0d13;
    font-size: 1rem;
    font-weight: 500;
    transition: all 0.3s ease;
    cursor: pointer;
}

.filter-group select:hover {
    border-color: #ffecdf;
    background: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.filter-group select:focus {
    outline: none;
    border-color: #ffecdf;
    box-shadow: 0 0 0 3px rgba(255,236,223,0.3);
}

.search-group {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    min-width: 200px;
    width: 100%;
}

.search-group label {
    font-weight: 600;
    color: #ffffff;
    font-size: 1.1rem;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.search-group input {
    padding: 1rem 1.2rem 1rem 3.5rem;
    border: 2px solid rgba(255,255,255,0.2);
    border-radius: 10px;
    background: rgba(255,255,255,0.95);
    color: #0a0d13;
    font-size: 1rem;
    font-weight: 500;
    transition: all 0.3s ease;
    width: 100%;
}

.search-group input:focus {
    outline: none;
    border-color: #ffecdf;
    background: #ffffff;
    box-shadow: 0 0 0 3px rgba(255,236,223,0.3);
}

.search-group i {
    position: absolute;
    left: 1.2rem;
    top: calc(50% + 0.8rem);
    transform: translateY(-50%);
    color: #6d7486;
    font-size: 1.1rem;
    z-index: 1;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.products-grid.list-view {
    grid-template-columns: 1fr;
}

.products-grid.list-view .product-card {
    display: flex;
    text-align: left;
    padding: 1.5rem;
}

.products-grid.list-view .product-image {
    width: 200px;
    margin-right: 2rem;
    margin-bottom: 0;
}

.products-grid.list-view .product-info {
    flex: 1;
}

.product-card {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 8px 25px rgba(109, 116, 134, 0.15);
    border: 2px solid rgba(109, 116, 134, 0.1);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #6d7486 0%, #0a0d13 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.product-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 20px 50px rgba(109, 116, 134, 0.25);
    border-color: #6d7486;
}

.product-card:hover::before {
    opacity: 1;
}

.product-image {
    margin-bottom: 1.5rem;
    position: relative;
    height: 200px;
    perspective: 1000px;
    overflow: hidden;
    border-radius: 10px;
}

.product-image-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
}

.product-image-main,
.product-image-alt,
.product-video {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 10px;
    transition: all 0.6s ease;
    transform-style: preserve-3d;
    position: absolute;
    top: 0;
    left: 0;
}

.view-indicator {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 5px;
    z-index: 2;
}

.view-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.view-dot.active {
    background: #ffecdf;
    transform: scale(1.2);
}

.view-dot:hover {
    background: rgba(255, 255, 255, 0.8);
    transform: scale(1.1);
}

.view-dot[data-view="center"] {
    width: 12px;
    height: 12px;
    background: rgba(255, 107, 53, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
}

.view-dot[data-view="center"] i {
    font-size: 6px;
    color: white;
}

.view-dot[data-view="center"]:hover {
    background: rgba(255, 107, 53, 1);
    transform: scale(1.2);
}

.view-dot[data-view="center"].active {
    background: #ff6b35;
    transform: scale(1.3);
}

.product-card:hover .product-image-main,
.product-card:hover .product-image-alt,
.product-card:hover .product-video {
    transform: rotateY(15deg) rotateX(5deg);
}

.product-card:hover .product-image::before {
    opacity: 1;
}

.product-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(109, 116, 134, 0.1), rgba(255, 236, 223, 0.1));
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: 10px;
}

.product-info h3 {
    font-size: 1.4rem;
    margin-bottom: 0.8rem;
    color: #0a0d13;
    font-weight: 700;
    line-height: 1.3;
}

.product-code {
    font-size: 0.8rem;
    color: #333;
    background: #f8f9fa;
    padding: 0.3rem 0.6rem;
    border-radius: 15px;
    display: inline-block;
    margin-bottom: 0.8rem;
    font-weight: 600;
    border: 1px solid #dee2e6;
}

.product-card p {
    color: #626262;
    margin-bottom: 1.5rem;
    font-size: 1rem;
    line-height: 1.6;
    font-weight: 500;
}

.product-price {
    font-size: 1.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, #6d7486 0%, #0a0d13 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
}

.product-detail-btn {
    background: linear-gradient(135deg, #6d7486 0%, #0a0d13 100%);
    color: #ffffff;
    padding: 1rem 2rem;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.4s ease;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(109, 116, 134, 0.3);
    width: 100%;
    justify-content: center;
}

.product-detail-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(109, 116, 134, 0.4);
    background: linear-gradient(135deg, #0a0d13 0%, #6d7486 100%);
}

.product-detail-btn i {
    transition: transform 0.3s ease;
}

.product-detail-btn:hover i {
    transform: translateX(5px);
}

.product-actions {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-top: 1rem;
}

.product-customize-btn {
    background: #f8f9fa;
    color: #6d7486;
    padding: 0.75rem 1.5rem;
    text-decoration: none;
    border: 2px solid #6d7486;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.product-customize-btn:hover {
    background: #6d7486;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(109, 116, 134, 0.3);
}

.product-customize-btn i {
    transition: transform 0.3s ease;
}

.product-customize-btn:hover i {
    transform: scale(1.1);
}

/* Forgot Password Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
    animation: fadeIn 0.3s ease;
}

.modal-content {
    background-color: #fff;
    margin: 15% auto;
    padding: 0;
    border-radius: 15px;
    width: 90%;
    max-width: 500px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    animation: slideIn 0.3s ease;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    border-bottom: 1px solid #e9ecef;
}

.modal-header h3 {
    margin: 0;
    color: #0a0d13;
    font-size: 1.5rem;
}

.close-btn {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #6d7486;
    padding: 0.5rem;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.close-btn:hover {
    background: #f8f9fa;
    color: #0a0d13;
}

.modal-body {
    padding: 1.5rem;
}

.modal-body p {
    color: #626262;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.modal-actions {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
    margin-top: 1.5rem;
}

.modal-actions .btn-primary,
.modal-actions .btn-secondary {
    padding: 0.8rem 1.5rem;
    border: none;
    border-radius: 8px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.modal-actions .btn-primary {
    background: linear-gradient(135deg, #6d7486 0%, #0a0d13 100%);
    color: white;
}

.modal-actions .btn-secondary {
    background: transparent;
    color: #6d7486;
    border: 2px solid #6d7486;
}

.modal-actions .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(109, 116, 134, 0.4);
}

.modal-actions .btn-secondary:hover {
    background: #6d7486;
    color: white;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideIn {
    from { 
        opacity: 0;
        transform: translateY(-50px);
    }
    to { 
        opacity: 1;
        transform: translateY(0);
    }
}

/* Mobile App Section */
.mobile-app {
    padding: 5rem 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.app-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.app-text h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: #0a0d13;
}

.app-text p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    color: #626262;
    line-height: 1.6;
}

.app-features {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.feature {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #0a0d13;
    font-weight: 500;
    background: #ffffff;
    padding: 1rem;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    flex: 1;
    min-width: 200px;
}

.feature i {
    color: #6d7486;
    font-size: 1.2rem;
}

.app-download {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.download-btn {
    display: inline-block;
    transition: transform 0.3s ease;
}

.download-btn:hover {
    transform: translateY(-3px);
}

.download-btn img {
    height: 60px;
    width: auto;
}

.app-qr {
    display: flex;
    justify-content: center;
    align-items: center;
}

.qr-container {
    text-align: center;
    background: #ffffff;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.qr-code {
    margin-bottom: 1rem;
}

.qr-code img {
    width: 200px;
    height: 200px;
    border-radius: 10px;
}

.qr-container p {
    color: #626262;
    font-weight: 500;
}

/* Card Activation Section */
.card-activation {
    padding: 5rem 0;
    background: #ffffff;
}

.activation-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.activation-text h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: #0a0d13;
}

.activation-text p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    color: #626262;
    line-height: 1.6;
}

.activation-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-bottom: 2rem;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.step {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 1.5rem 1rem;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    border: 1px solid #e9ecef;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    min-height: 200px;
}

.step:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.step-number {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: #ffecdf;
    color: #0a0d13;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.2rem;
    border: 3px solid #ffffff;
    box-shadow: 0 3px 10px rgba(0,0,0,0.2);
}

.step-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #6d7486, #0a0d13);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 1.2rem;
    margin-bottom: 0.8rem;
    box-shadow: 0 2px 8px rgba(109, 116, 134, 0.3);
}

.step-content h3 {
    color: #0a0d13;
    margin-bottom: 0.6rem;
    font-size: 1rem;
    font-weight: 600;
}

.step-content p {
    color: #626262;
    margin-bottom: 0.8rem;
    font-size: 0.85rem;
    line-height: 1.4;
}

.qr-code {
    margin-top: 0.5rem;
}

.qr-code img {
    width: 70px;
    height: 70px;
    border-radius: 6px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.activation-video {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.video-container {
    position: relative;
}

.video-container video {
    width: 100%;
    height: auto;
    display: block;
}

.video-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0,0,0,0.7);
    color: #ffffff;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.video-overlay:hover {
    background: rgba(109, 116, 134, 0.9);
    transform: translate(-50%, -50%) scale(1.1);
}

/* About Section */
.about {
    padding: 5rem 0;
    background: linear-gradient(180deg, #6d7486, #0a0d13);
    color: #ffffff;
    text-align: center;
}

.about h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
}

.about p {
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.8;
    opacity: 0.9;
}

/* Vision & Mission Section */
.vision-mission {
    padding: 5rem 0;
    background: #ffffff;
}

.vm-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.vision, .mission {
    text-align: center;
    padding: 2rem;
    background: #ffecdf;
    border-radius: 15px;
}

.vision h2, .mission h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: #0a0d13;
}

.vision p, .mission p {
    font-size: 1.1rem;
    color: #0a0d13;
    line-height: 1.8;
}

/* Why TechVizit Section */
.why-techvizit {
    padding: 60px 0;
    background: linear-gradient(180deg, #6d7486, #0a0d13);
    color: #ffffff;
}

.why-techvizit h2 {
    text-align: center;
    font-size: 2.2rem;
    margin-bottom: 2rem;
    background: linear-gradient(135deg, #ffffff 0%, #e9ecef 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.why-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.why-content p {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 1.2rem;
    color: #e9ecef;
}

.intro-text {
    font-size: 1.1rem !important;
    font-weight: 600;
    color: #ffffff !important;
    margin-bottom: 1.5rem !important;
}

.highlight-box {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 1.5rem;
    margin: 2rem 0;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.highlight-box p {
    margin-bottom: 0.8rem;
    font-size: 1rem;
    line-height: 1.6;
}

.highlight-box p:last-child {
    margin-bottom: 0;
}

.conclusion {
    margin-top: 2rem;
    padding: 1.5rem;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.15) 0%, rgba(255, 255, 255, 0.05) 100%);
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.conclusion p {
    font-size: 1.1rem !important;
    font-weight: 700;
    color: #ffffff !important;
    margin: 0 !important;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}



/* Live Chat Widget */
.live-chat-widget {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
    font-family: 'Inter', sans-serif;
}

.chat-toggle {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #6d7486 0%, #0a0d13 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(109, 116, 134, 0.4);
    transition: all 0.3s ease;
    position: relative;
}

.chat-toggle:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 25px rgba(109, 116, 134, 0.6);
}

.chat-toggle i {
    color: white;
    font-size: 24px;
}

.chat-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background: #ff4757;
    color: white;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: bold;
}

.chat-window {
    position: absolute;
    bottom: 80px;
    right: 0;
    width: 350px;
    height: 500px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    display: none;
    flex-direction: column;
    overflow: hidden;
}

.chat-window.active {
    display: flex;
}

.chat-header {
    background: linear-gradient(135deg, #6d7486 0%, #0a0d13 100%);
    color: white;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.chat-header h4 {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
}

.chat-close {
    background: none;
    border: none;
    color: white;
    font-size: 18px;
    cursor: pointer;
    padding: 5px;
    border-radius: 50%;
    transition: background 0.3s ease;
}

.chat-close:hover {
    background: rgba(255, 255, 255, 0.2);
}

.chat-messages {
    flex: 1;
    padding: 20px;
    overflow-y: auto;
    background: #f8f9fa;
}

.message {
    margin-bottom: 15px;
    display: flex;
    flex-direction: column;
}

.message-content {
    padding: 12px 16px;
    border-radius: 18px;
    max-width: 80%;
    word-wrap: break-word;
    font-size: 14px;
    line-height: 1.4;
}

.bot-message .message-content {
    background: #e9ecef;
    color: #333;
    align-self: flex-start;
}

.user-message .message-content {
    background: linear-gradient(135deg, #6d7486 0%, #0a0d13 100%);
    color: white;
    align-self: flex-end;
}

.message-time {
    font-size: 11px;
    color: #666;
    margin-top: 5px;
    align-self: flex-start;
}

.user-message .message-time {
    align-self: flex-end;
}

.chat-input {
    padding: 15px 20px;
    background: white;
    border-top: 1px solid #e9ecef;
    display: flex;
    gap: 10px;
    align-items: center;
}

.chat-input input {
    flex: 1;
    border: 1px solid #ddd;
    border-radius: 25px;
    padding: 10px 15px;
    font-size: 14px;
    outline: none;
    transition: border-color 0.3s ease;
}

.chat-input input:focus {
    border-color: #6d7486;
}

.chat-input button {
    width: 40px;
    height: 40px;
    border: none;
    background: linear-gradient(135deg, #6d7486 0%, #0a0d13 100%);
    color: white;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.chat-input button:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 15px rgba(109, 116, 134, 0.4);
}

/* Contact Section */
.contact {
    padding: 5rem 0;
    background: #ffffff;
}

.contact h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #0a0d13;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    background: #ffecdf;
    border-radius: 10px;
}

.contact-item i {
    font-size: 1.5rem;
    color: #0a0d13;
}

.contact-item h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: #0a0d13;
}

.contact-item p {
    color: #0a0d13;
    opacity: 0.8;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-form input,
.contact-form textarea {
    padding: 1rem;
    border: 1px solid #626262;
    border-radius: 5px;
    font-size: 1rem;
    font-family: inherit;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: #6d7486;
}

/* Footer */
.footer {
    background: #0a0d13;
    color: #ffffff;
    padding: 3rem 0 1rem;
    margin-top: 0;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-bottom: 2rem;
    padding: 0 2rem;
}

.footer-section h4 {
    margin-bottom: 1rem;
    color: #ffecdf;
    font-size: 1.1rem;
    font-weight: 600;
}

.footer-section p {
    color: #ffffff;
    line-height: 1.6;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.footer-section ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: #ffffff;
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 0.9rem;
}

.footer-section ul li a:hover {
    color: #ffecdf;
}

.footer-section i {
    margin-right: 0.5rem;
    color: #ffecdf;
    width: 16px;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    display: inline-block;
    width: 40px;
    height: 40px;
    background: #626262;
    color: #ffffff;
    text-align: center;
    line-height: 40px;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: #ffecdf;
    color: #0a0d13;
    transform: translateY(-3px);
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    padding: 2rem 0 0;
    border-top: 1px solid #626262;
    color: #626262;
    font-size: 0.9rem;
}

.footer-logo {
    height: 30px;
    width: auto;
    object-fit: contain;
}

/* Product Page Styles */
.product-page {
    padding: 6rem 0 4rem;
    background: #ffffff;
    min-height: calc(100vh - 80px);
    margin-top: 80px;
}

.breadcrumb-nav {
    margin-bottom: 2rem;
    color: #626262;
}

.breadcrumb-nav a {
    color: #6d7486;
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb-nav a:hover {
    color: #0a0d13;
}

.breadcrumb-nav span {
    color: #0a0d13;
    font-weight: 600;
}

.product-detail {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.product-gallery {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.main-image-container {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.main-image {
    width: 100%;
    height: 400px;
    object-fit: contain;
    border-radius: 15px;
    transition: transform 0.3s ease;
}

.image-overlay {
    position: absolute;
    top: 10px;
    right: 10px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.main-image-container:hover .image-overlay {
    opacity: 1;
}

.zoom-btn {
    background: rgba(255,255,255,0.9);
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
}

.zoom-btn:hover {
    background: #6d7486;
    color: white;
    transform: scale(1.1);
}

.thumbnail-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.5rem;
}

.thumbnail {
    width: 100%;
    height: 80px;
    object-fit: cover;
    border-radius: 8px;
    cursor: pointer;
    transition: opacity 0.3s ease;
    border: 2px solid transparent;
}

.thumbnail:hover,
.thumbnail.active {
    border-color: #6d7486;
    opacity: 0.8;
}

.product-info h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #0a0d13;
}

.product-info .product-code {
    font-size: 1rem;
    color: #626262;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.product-price {
    font-size: 2rem;
    font-weight: 700;
    color: #6d7486;
    margin-bottom: 1.5rem;
}

.product-features-preview {
    margin-bottom: 2rem;
}

.product-features-preview h3 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: #0a0d13;
}

.features-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.feature-tag {
    background: #ffecdf;
    color: #0a0d13;
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.9rem;
    font-weight: 500;
}

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

.btn-secondary {
    background: transparent;
    color: #6d7486;
    padding: 1rem 2rem;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    border: 2px solid #6d7486;
    cursor: pointer;
}

.btn-secondary:hover {
    background: #6d7486;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.product-description {
    font-size: 1.1rem;
    color: #626262;
    line-height: 1.8;
    margin-bottom: 2rem;
}

.customization-section {
    background: #ffecdf;
    padding: 2rem;
    border-radius: 15px;
    margin-bottom: 2rem;
}

.customization-section h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #0a0d13;
}

.customization-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.option-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.option-group label {
    font-weight: 600;
    color: #0a0d13;
}

.option-group select,
.option-group input {
    padding: 0.8rem;
    border: 1px solid #626262;
    border-radius: 5px;
    font-size: 1rem;
}

.preview-btn {
    background: #6d7486;
    color: #ffffff;
    padding: 1rem 2rem;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    cursor: pointer;
    transition: background 0.3s ease;
}

.preview-btn:hover {
    background: #0a0d13;
}

.product-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 3rem;
}

.feature-section {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 15px;
}

.feature-section h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #0a0d13;
}

.feature-list {
    list-style: none;
}

.feature-list li {
    padding: 0.5rem 0;
    color: #626262;
    border-bottom: 1px solid #e9ecef;
}

.feature-list li:last-child {
    border-bottom: none;
}

.activation-steps {
    background: linear-gradient(180deg, #6d7486, #0a0d13);
    color: #ffffff;
    padding: 3rem;
    border-radius: 15px;
    text-align: center;
}

.activation-steps h3 {
    font-size: 2rem;
    margin-bottom: 2rem;
    color: #ffecdf;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.step {
    text-align: center;
}

.step-number {
    width: 60px;
    height: 60px;
    background: #ffecdf;
    color: #0a0d13;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 1rem;
    border: 3px solid #ffffff;
    box-shadow: 0 3px 10px rgba(0,0,0,0.2);
}

.step h4 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: #ffffff;
}

.step p {
    color: #ffecdf;
    opacity: 0.9;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
    backdrop-filter: blur(5px);
}

.modal-content {
    background-color: #ffffff;
    margin: 5% auto;
    padding: 0;
    border-radius: 15px;
    width: 90%;
    max-width: 400px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
    animation: modalSlideIn 0.3s ease;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 2rem 1rem;
    border-bottom: 1px solid #e9ecef;
}

.modal-header h2 {
    margin: 0;
    color: #0a0d13;
    font-size: 1.5rem;
}

.close {
    color: #626262;
    font-size: 1.5rem;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s ease;
}

.close:hover {
    color: #0a0d13;
}

.modal-form {
    padding: 1.5rem 2rem;
}

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

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: #0a0d13;
    font-weight: 500;
}

.form-group input {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #626262;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus {
    outline: none;
    border-color: #6d7486;
    box-shadow: 0 0 0 3px rgba(109, 116, 134, 0.1);
}

.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    font-size: 0.9rem;
    color: #626262;
}

.checkbox-label input[type="checkbox"] {
    width: auto;
    margin: 0;
}

.terms-link {
    color: #6d7486;
    text-decoration: none;
}

.terms-link:hover {
    text-decoration: underline;
}

.forgot-password {
    color: #6d7486;
    text-decoration: none;
    font-size: 0.9rem;
}

.forgot-password:hover {
    text-decoration: underline;
}

.modal-footer {
    padding: 1rem 2rem 1.5rem;
    text-align: center;
    border-top: 1px solid #e9ecef;
    color: #626262;
}

.modal-footer a {
    color: #6d7486;
    text-decoration: none;
    font-weight: 500;
}

.modal-footer a:hover {
    text-decoration: underline;
}

/* Auth Page Styles */
.auth-page {
    padding: 6rem 0 4rem;
    background: linear-gradient(135deg, #6d7486, #0a0d13);
    min-height: calc(100vh - 80px);
    margin-top: 80px;
    display: flex;
    align-items: center;
}

.auth-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    max-width: 1000px;
    margin: 0 auto;
}

.auth-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 3rem;
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
    width: 100%;
    max-width: 450px;
    margin: 0 auto;
}

.auth-header {
    text-align: center;
    margin-bottom: 2rem;
}

.auth-header h1 {
    color: #0a0d13;
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.auth-header p {
    color: #626262;
    font-size: 1.1rem;
}

.auth-form {
    margin-bottom: 2rem;
}

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

.auth-form .form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: #0a0d13;
    font-weight: 600;
    font-size: 0.95rem;
}

.auth-form .form-group input {
    width: 100%;
    padding: 1rem;
    border: 2px solid #e9ecef;
    border-radius: 10px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: #f8f9fa;
}

.auth-form .form-group input:focus {
    outline: none;
    border-color: #6d7486;
    background: #ffffff;
    box-shadow: 0 0 0 3px rgba(109, 116, 134, 0.1);
}

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

.auth-form .form-row .form-group {
    margin-bottom: 0;
}

.auth-form .form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.auth-form .checkbox-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    font-size: 0.9rem;
    color: #626262;
}

.auth-form .checkbox-label input[type="checkbox"] {
    width: auto;
    margin: 0;
}

.auth-form .forgot-password {
    color: #6d7486;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
}

.auth-form .forgot-password:hover {
    text-decoration: underline;
}

.btn-full {
    width: 100%;
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
}

.auth-footer {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #e9ecef;
}

.auth-footer p {
    color: #626262;
    margin: 0;
}

.auth-footer a {
    color: #6d7486;
    text-decoration: none;
    font-weight: 600;
}

.auth-footer a:hover {
    text-decoration: underline;
}

.auth-info {
    color: #ffffff;
    text-align: center;
    padding-top: 0;
    margin-top: -1rem;
}

.auth-info h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #ffecdf;
}

.auth-info p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    line-height: 1.6;
}

.features-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-top: 3rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: rgba(255,255,255,0.1);
    border-radius: 10px;
    backdrop-filter: blur(10px);
    transition: transform 0.3s ease;
}

.feature-item:hover {
    transform: translateX(10px);
}

.feature-item i {
    font-size: 1.5rem;
    color: #ffecdf;
    width: 30px;
    text-align: center;
}

.feature-item span {
    font-size: 1.1rem;
    font-weight: 500;
}

.btn-login.active,
.btn-register.active {
    background: #6d7486;
    color: #ffffff;
    border-color: #6d7486;
}

/* Profile Page Styles */
.profile-page, .profile-section {
    padding: 2rem 0 2rem;
    background: #ffffff;
    min-height: calc(100vh - 80px);
    margin-top: 80px;
}

.profile-container {
    display: flex;
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.profile-sidebar {
    background: #f8f9fa;
    border-radius: 15px;
    padding: 1.5rem;
    height: fit-content;
    width: 250px;
    flex-shrink: 0;
}

.profile-sidebar h3 {
    color: #0a0d13;
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
}

.sidebar-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sidebar-menu li {
    margin-bottom: 0.5rem;
}

.sidebar-menu a {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    color: #626262;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.sidebar-menu a:hover,
.sidebar-menu a.active {
    background: #6d7486;
    color: #ffffff;
}

.sidebar-menu i {
    width: 16px;
    text-align: center;
}

.profile-content {
    background: #ffffff;
    border-radius: 15px;
    padding: 1.5rem;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    flex: 1;
}

.profile-header {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #e9ecef;
}

.profile-avatar-large {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid #ffecdf;
}

.avatar-container {
    position: relative;
    display: inline-block;
}

.avatar-overlay {
    position: absolute;
    bottom: 0;
    right: 0;
    background: #6d7486;
    border-radius: 50%;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 3px solid #ffffff;
    box-shadow: 0 3px 10px rgba(0,0,0,0.2);
}

.avatar-overlay:hover {
    background: #0a0d13;
    transform: scale(1.1);
}

.avatar-upload-btn {
    background: none;
    border: none;
    color: #ffffff;
    cursor: pointer;
    font-size: 1rem;
    padding: 0;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.avatar-upload-btn:hover {
    color: #ffecdf;
}

/* Address Section Styles */
.address-section-main {
    margin-top: 3rem;
    border-top: 2px solid #f8f9fa;
    padding-top: 2rem;
}

.address-section {
    margin-top: 1.5rem;
}

.no-addresses {
    text-align: center;
    padding: 3rem 2rem;
    color: #626262;
}

.no-addresses i {
    font-size: 4rem;
    color: #e9ecef;
    margin-bottom: 1rem;
}

.no-addresses h3 {
    color: #0a0d13;
    margin-bottom: 0.5rem;
    font-size: 1.5rem;
}

.no-addresses p {
    color: #626262;
    font-size: 1rem;
    line-height: 1.5;
}

.address-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.address-header h3 {
    color: #0a0d13;
    font-size: 1.5rem;
    margin: 0;
}

.btn-secondary {
    background: linear-gradient(180deg, #6d7486, #0a0d13);
    color: #ffffff;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-secondary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(109, 116, 134, 0.3);
}

.address-list {
    display: grid;
    gap: 1rem;
}

.address-card {
    background: #ffffff;
    border: 1px solid #e9ecef;
    border-radius: 12px;
    padding: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.address-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    border-color: #6d7486;
}

.address-info h4 {
    color: #0a0d13;
    font-size: 1.2rem;
    margin: 0 0 0.5rem 0;
    font-weight: 600;
}

.address-info p {
    color: #626262;
    margin: 0.25rem 0;
    line-height: 1.4;
}

.address-actions {
    display: flex;
    gap: 0.5rem;
    flex-shrink: 0;
}

.btn-edit, .btn-delete {
    padding: 0.5rem 1rem;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.btn-edit {
    background: #ffecdf;
    color: #0a0d13;
}

.btn-edit:hover {
    background: #ffd4a3;
    transform: translateY(-1px);
}

.btn-delete {
    background: #ff6b6b;
    color: #ffffff;
}

.btn-delete:hover {
    background: #ff5252;
    transform: translateY(-1px);
}

/* Address Form Modal */
.address-form-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
}

.address-form-modal {
    background: #ffffff;
    border-radius: 12px;
    width: 90%;
    max-width: 600px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.address-form-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    border-bottom: 1px solid #e9ecef;
}

.address-form-header h3 {
    color: #0a0d13;
    margin: 0;
    font-size: 1.5rem;
}

.close-btn {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #626262;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.close-btn:hover {
    background: #f8f9fa;
    color: #0a0d13;
}

.address-form {
    padding: 1.5rem;
}

.address-form .form-group {
    margin-bottom: 1rem;
}

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

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

.address-form label {
    display: block;
    margin-bottom: 0.5rem;
    color: #0a0d13;
    font-weight: 500;
}

.address-form input,
.address-form select {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.address-form input:focus,
.address-form select:focus {
    outline: none;
    border-color: #6d7486;
    box-shadow: 0 0 0 3px rgba(109, 116, 134, 0.1);
}

.form-actions {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid #e9ecef;
}

.btn-cancel {
    background: #f8f9fa;
    color: #626262;
    border: 1px solid #e9ecef;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-cancel:hover {
    background: #e9ecef;
    color: #0a0d13;
}

/* Responsive Design for Address Section */
@media (max-width: 768px) {
    .address-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    
    .address-card {
        flex-direction: column;
        gap: 1rem;
    }
    
    .address-actions {
        justify-content: flex-end;
    }
    
    .address-form .form-row {
        grid-template-columns: 1fr;
    }
    
    .form-actions {
        flex-direction: column;
    }
}

.profile-info h1 {
    color: #0a0d13;
    margin-bottom: 0.5rem;
    font-size: 2rem;
}

.profile-info p {
    color: #626262;
    margin-bottom: 0.5rem;
}

.profile-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
    margin-bottom: 1rem;
}

.stat-card {
    background: #ffecdf;
    padding: 1.5rem;
    border-radius: 10px;
    text-align: center;
}

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: #0a0d13;
    margin-bottom: 0.5rem;
}

.stat-label {
    color: #626262;
    font-size: 0.9rem;
}

.profile-section {
    margin-bottom: 1rem;
}

.profile-section h2 {
    color: #0a0d13;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

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

.form-row .form-group {
    margin-bottom: 0;
}

/* Terms Modal Styles */
.terms-modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
}

.terms-modal-content {
    background-color: #ffffff;
    margin: 2% auto;
    padding: 0;
    border-radius: 15px;
    width: 90%;
    max-width: 800px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: modalSlideIn 0.3s ease-out;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.terms-modal-header {
    background: linear-gradient(135deg, #6d7486, #0a0d13);
    color: #ffffff;
    padding: 2rem;
    border-radius: 15px 15px 0 0;
    position: sticky;
    top: 0;
    z-index: 10;
}

.terms-modal-header h2 {
    margin: 0;
    font-size: 1.8rem;
    font-weight: 600;
}

.terms-modal-header p {
    margin: 0.5rem 0 0 0;
    opacity: 0.9;
    font-size: 0.9rem;
}

.terms-modal-close {
    position: absolute;
    right: 1.5rem;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #ffffff;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 50%;
    transition: background-color 0.3s ease;
}

.terms-modal-close:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

.terms-modal-body {
    padding: 2rem;
    line-height: 1.7;
}

.terms-modal-section {
    margin-bottom: 2rem;
}

.terms-modal-section:last-child {
    margin-bottom: 0;
}

.terms-modal-content-text {
    line-height: 1.8;
}

.terms-modal-content-text p {
    color: #626262;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
    text-align: justify;
}

.terms-modal-content-text p:last-child {
    margin-bottom: 0;
}

/* Disabled Checkbox Styles */
.checkbox-label input[type="checkbox"]:disabled + .checkmark {
    background: #f0f0f0;
    border-color: #cccccc;
    cursor: not-allowed;
}

.checkbox-label input[type="checkbox"]:disabled {
    cursor: not-allowed;
}

.terms-modal-footer {
    padding: 1.5rem 2rem;
    background: #f8f9fa;
    border-radius: 0 0 15px 15px;
    text-align: center;
    border-top: 1px solid #e9ecef;
}

.terms-modal-footer button {
    background: linear-gradient(135deg, #6d7486, #0a0d13);
    color: #ffffff;
    border: none;
    padding: 0.8rem 2rem;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.terms-modal-footer button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(109, 116, 134, 0.3);
}

/* Global Live Chat System */
.global-chat-widget {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
    font-family: 'Inter', sans-serif;
}

.chat-toggle-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, #6d7486, #0a0d13);
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.chat-toggle-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.4);
}

.chat-notification {
    position: absolute;
    top: -5px;
    right: -5px;
    width: 20px;
    height: 20px;
    background: #ff4757;
    border-radius: 50%;
    color: white;
    font-size: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

.global-chat-container {
    position: absolute;
    bottom: 80px;
    right: 0;
    width: 350px;
    max-height: 500px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    transform: translateY(20px);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.global-chat-container.open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
}

.global-chat-header {
    background: linear-gradient(135deg, #6d7486, #0a0d13);
    color: white;
    padding: 15px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.global-chat-header h4 {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
}

.global-chat-status {
    font-size: 12px;
    opacity: 0.9;
    display: flex;
    align-items: center;
    gap: 5px;
}

.global-chat-status.online {
    color: #2ed573;
}

.global-chat-status.offline {
    color: #ff4757;
}

.global-chat-close {
    background: none;
    border: none;
    color: white;
    font-size: 18px;
    cursor: pointer;
    padding: 5px;
    border-radius: 50%;
    transition: background-color 0.3s ease;
}

.global-chat-close:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

.global-chat-messages {
    height: 300px;
    overflow-y: auto;
    padding: 15px;
    background: #f8f9fa;
}

.global-message {
    display: flex;
    margin-bottom: 15px;
    animation: messageSlideIn 0.3s ease-out;
}

.global-message.user-message {
    justify-content: flex-end;
}

.global-message.bot-message {
    justify-content: flex-start;
}

.global-message-content {
    max-width: 80%;
    padding: 10px 15px;
    border-radius: 15px;
    position: relative;
}

.global-message.user-message .global-message-content {
    background: linear-gradient(135deg, #6d7486, #0a0d13);
    color: white;
    border-bottom-right-radius: 5px;
}

.global-message.bot-message .global-message-content {
    background: white;
    color: #333;
    border: 1px solid #e9ecef;
    border-bottom-left-radius: 5px;
}

.global-message-time {
    font-size: 11px;
    opacity: 0.7;
    margin-top: 5px;
}

.global-message-content a {
    color: #6d7486;
    text-decoration: underline;
    font-weight: 500;
}

.global-message-content a:hover {
    color: #0a0d13;
    text-decoration: none;
}

/* Mail Suggestion Styling */
.mail-suggestion-message {
    margin: 15px 0 !important;
}

.mail-suggestion-message .global-message-content {
    background: linear-gradient(135deg, #f0f4ff 0%, #f5f3f0 100%) !important;
    border: 2px solid #6d7486 !important;
    border-left: 4px solid #6d7486;
}

.mail-suggestion-buttons {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 12px;
}

.btn-mail-support,
.btn-call-support {
    padding: 10px 14px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 13px;
    font-weight: 500;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    justify-content: center;
}

.btn-mail-support {
    background: #6d7486;
    color: white;
}

.btn-mail-support:hover {
    background: #3a4454;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(109, 116, 134, 0.3);
}

.btn-call-support {
    background: white;
    color: #6d7486;
    border: 1px solid #6d7486;
}

.btn-call-support:hover {
    background: #6d7486;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(109, 116, 134, 0.3);
}

.global-chat-input {
    padding: 15px;
    background: white;
    border-top: 1px solid #e9ecef;
    display: flex;
    gap: 10px;
}

.global-chat-input input {
    flex: 1;
    padding: 10px 15px;
    border: 1px solid #ddd;
    border-radius: 25px;
    outline: none;
    font-size: 14px;
}

.global-chat-input input:focus {
    border-color: #6d7486;
}

.global-chat-send {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, #6d7486, #0a0d13);
    border: none;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s ease;
}

.global-chat-send:hover {
    transform: scale(1.1);
}

.global-typing-indicator {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 10px 15px;
    background: white;
    border-radius: 15px;
    border: 1px solid #e9ecef;
    margin-bottom: 15px;
    max-width: 80%;
}

.global-typing-dots {
    display: flex;
    gap: 3px;
}

.global-typing-dots span {
    width: 6px;
    height: 6px;
    background: #6d7486;
    border-radius: 50%;
    animation: typing 1.4s infinite;
}

.global-typing-dots span:nth-child(2) {
    animation-delay: 0.2s;
}

.global-typing-dots span:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes typing {
    0%, 60%, 100% { transform: translateY(0); }
    30% { transform: translateY(-10px); }
}

/* Guide Page Styles */
.guide-page {
    padding: 120px 0 60px;
    background: linear-gradient(180deg, #f8f9fa 0%, #ffffff 100%);
    min-height: 100vh;
}

.guide-header {
    text-align: center;
    margin-bottom: 4rem;
}

.guide-header h1 {
    font-size: 2.5rem;
    color: #0a0d13;
    margin-bottom: 1rem;
    font-weight: 700;
}

.guide-header p {
    font-size: 1.1rem;
    color: #626262;
    max-width: 600px;
    margin: 0 auto;
}

.guide-content {
    max-width: 800px;
    margin: 0 auto;
}

.guide-step {
    display: flex;
    align-items: flex-start;
    margin-bottom: 3rem;
    padding: 2rem;
    background: #ffffff;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    border: 1px solid #e9ecef;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.guide-step:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
}

.step-visual {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-right: 2rem;
    flex-shrink: 0;
}

.step-number {
    background: #ffecdf;
    color: #0a0d13;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.3rem;
    margin-bottom: 1rem;
    border: 3px solid #ffffff;
    box-shadow: 0 3px 10px rgba(0,0,0,0.2);
}

.step-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #6d7486, #0a0d13);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 1.5rem;
    box-shadow: 0 3px 10px rgba(109, 116, 134, 0.3);
}

.step-content {
    flex: 1;
}

.step-content h3 {
    color: #0a0d13;
    font-size: 1.4rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.step-content p {
    color: #626262;
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.step-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.step-list li {
    color: #626262;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 0.5rem;
    padding-left: 1.5rem;
    position: relative;
}

.step-list li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #6d7486;
    font-weight: bold;
}

.download-buttons {
    display: flex;
    gap: 1rem;
    margin: 1rem 0;
}

.download-btn-small {
    display: inline-block;
    transition: transform 0.3s ease;
}

.download-btn-small:hover {
    transform: scale(1.05);
}

.download-btn-small img {
    height: 40px;
    border-radius: 8px;
}

.qr-section {
    margin-top: 1.5rem;
    text-align: center;
}

.qr-section p {
    margin-bottom: 1rem;
    font-weight: 600;
    color: #0a0d13;
}

.qr-code {
    display: inline-block;
}

.qr-code img {
    width: 120px;
    height: 120px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.guide-video {
    margin: 4rem 0;
    text-align: center;
}

.guide-video h3 {
    color: #0a0d13;
    font-size: 1.8rem;
    margin-bottom: 2rem;
    font-weight: 600;
}

.video-container {
    max-width: 800px;
    margin: 0 auto;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.video-container video {
    width: 100%;
    height: auto;
    display: block;
}

.support-section {
    background: #ffffff;
    padding: 3rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    border: 1px solid #e9ecef;
    margin-top: 3rem;
}

.support-section h3 {
    color: #0a0d13;
    font-size: 1.6rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.support-section p {
    color: #626262;
    font-size: 1rem;
    margin-bottom: 2rem;
}

.support-buttons {
    display: flex;
    gap: 1rem;
    align-items: stretch;
}

.support-section .support-buttons > a,
.support-section .support-buttons > button {
    flex: 1 1 0;
    min-width: 0;
    height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 12px 24px;
    background: #ffffff;
    color: #6d7486;
    text-decoration: none;
    border-radius: 8px;
    border: 2px solid #6d7486;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background: #6d7486;
    color: #ffffff;
    transform: translateY(-2px);
}

/* WhatsApp Button */
.btn-whatsapp {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 12px 24px;
    background: #25D366;
    color: #ffffff;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-whatsapp:hover {
    background: #128C7E;
    transform: translateY(-2px);
    color: #ffffff;
}

/* Live Chat Button */
.btn-live-chat {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 12px 24px;
    background: #ff6b6b;
    color: #ffffff;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-live-chat:hover {
    background: #ff5252;
    transform: translateY(-2px);
}

/* Live Chat Widget */
.live-chat-widget {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 350px;
    background: #ffffff;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    z-index: 1000;
    display: none;
    overflow: hidden;
    animation: chatSlideIn 0.3s ease;
}

@keyframes chatSlideIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.chat-header {
    background: linear-gradient(135deg, #6d7486, #0a0d13);
    color: #ffffff;
    padding: 1rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.chat-info {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.chat-info i {
    font-size: 1.2rem;
}

.chat-status {
    font-size: 0.8rem;
    padding: 2px 8px;
    border-radius: 12px;
    background: #25D366;
    margin-left: 0.5rem;
}

.chat-status.online {
    background: #25D366;
}

#chatToggle {
    transition: transform 0.3s ease;
}

.chat-body {
    height: 400px;
    display: flex;
    flex-direction: column;
}

.chat-messages {
    flex: 1;
    padding: 1rem;
    overflow-y: auto;
    background: #f8f9fa;
}

.message {
    display: flex;
    margin-bottom: 1rem;
    align-items: flex-start;
}

.message-avatar {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 0.5rem;
    flex-shrink: 0;
}

.user-message .message-avatar {
    background: #6d7486;
    color: #ffffff;
}

.bot-message .message-avatar {
    background: #ffecdf;
    color: #0a0d13;
}

.message-content {
    flex: 1;
    background: #ffffff;
    padding: 0.8rem 1rem;
    border-radius: 15px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.user-message .message-content {
    background: #6d7486;
    color: #ffffff;
}

.message-content p {
    margin: 0 0 0.3rem 0;
    font-size: 0.9rem;
    line-height: 1.4;
}

.message-time {
    font-size: 0.7rem;
    opacity: 0.7;
}

.chat-input {
    display: flex;
    padding: 1rem;
    background: #ffffff;
    border-top: 1px solid #e9ecef;
}

.chat-input input {
    flex: 1;
    padding: 10px 15px;
    border: 1px solid #e9ecef;
    border-radius: 25px;
    outline: none;
    font-size: 0.9rem;
}

.chat-input button {
    background: #6d7486;
    color: #ffffff;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    margin-left: 0.5rem;
    cursor: pointer;
    transition: background 0.3s ease;
}

.chat-input button:hover {
    background: #0a0d13;
}

/* Typing Indicator */
.typing-indicator {
    opacity: 0.8;
}

.typing-dots {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 8px 0;
}

.typing-dots span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #6d7486;
    animation: typing 1.4s infinite ease-in-out;
}

.typing-dots span:nth-child(1) {
    animation-delay: -0.32s;
}

.typing-dots span:nth-child(2) {
    animation-delay: -0.16s;
}

@keyframes typing {
    0%, 80%, 100% {
        transform: scale(0.8);
        opacity: 0.5;
    }
    40% {
        transform: scale(1);
        opacity: 1;
    }
}

/* Chat Status */
.chat-status.offline {
    background: #ff6b6b;
}

/* Message Animations */
.message {
    animation: messageSlideIn 0.3s ease;
}

@keyframes messageSlideIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Product Detail Page Styles */
.product-detail-section {
    padding: 6rem 0 4rem 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    min-height: 80vh;
    margin-top: 0;
}

.product-detail-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
    margin-top: 2rem;
}

.product-images {
    position: sticky;
    top: 2rem;
}

.main-image-container {
    position: relative;
    margin-bottom: 1rem;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.main-image-container:hover {
    transform: scale(1.02);
}

.main-product-image {
    width: 100%;
    height: 400px;
    object-fit: contain;
    background: #ffffff;
    transition: transform 0.3s ease;
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
}

#mainProductVideo {
    width: 100%;
    height: 400px;
    object-fit: contain;
    background: #f0f0f0;
    border: 3px solid red;
    display: block;
}

.image-overlay {
    position: absolute;
    top: 1rem;
    right: 1rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.main-image-container:hover .image-overlay {
    opacity: 1;
}

.zoom-btn {
    background: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.zoom-btn:hover {
    background: #ffecdf;
    transform: scale(1.1);
}

.thumbnail-images {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.thumbnail {
    width: 80px;
    height: 80px;
    object-fit: contain;
    border-radius: 10px;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.3s ease;
    background: #ffffff;
    padding: 0.5rem;
}

.thumbnail:hover {
    border-color: #6d7486;
    transform: scale(1.05);
}

.thumbnail.active {
    border-color: #ffecdf;
    box-shadow: 0 0 0 2px rgba(255, 236, 223, 0.3);
}

.thumbnail-video {
    width: 80px;
    height: 80px;
    border-radius: 10px;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.3s ease;
    background: rgba(255, 107, 53, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.thumbnail-video:hover {
    border-color: #ff6b35;
    transform: scale(1.05);
    background: rgba(255, 107, 53, 0.2);
}

.thumbnail-video.active {
    border-color: #ff6b35;
    box-shadow: 0 0 0 2px rgba(255, 107, 53, 0.3);
    background: rgba(255, 107, 53, 0.3);
}

.thumbnail-video i {
    font-size: 1.5rem;
    color: #ff6b35;
    transition: all 0.3s ease;
}

.thumbnail-video:hover i {
    transform: scale(1.1);
    color: #e55a2b;
}

.product-details {
    background: #ffffff;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.breadcrumb {
    margin-bottom: 1rem;
    font-size: 0.9rem;
    color: #626262;
}

.breadcrumb a {
    color: #6d7486;
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb a:hover {
    color: #0a0d13;
}

.product-details h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    background: linear-gradient(135deg, #6d7486 0%, #0a0d13 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
}

.product-code {
    font-size: 1rem;
    color: #6d7486;
    margin-bottom: 1rem;
    font-weight: 600;
}

.product-rating {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.stars {
    display: flex;
    gap: 0.2rem;
}

.stars i {
    color: #ffc107;
    font-size: 1.2rem;
}

.rating-text {
    color: #626262;
    font-size: 0.9rem;
}

.product-price-container {
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.current-price {
    font-size: 2.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, #6d7486 0%, #0a0d13 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.original-price {
    font-size: 1.5rem;
    color: #626262;
    text-decoration: line-through;
}

.discount-badge {
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a24 100%);
    color: #ffffff;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
}

.product-description {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #626262;
    margin-bottom: 2rem;
}

.product-features {
    margin-bottom: 2rem;
}

.product-features h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: #0a0d13;
    font-weight: 600;
}

.product-features ul {
    list-style: none;
    padding: 0;
}

.product-features li {
    padding: 0.5rem 0;
    color: #626262;
    position: relative;
    padding-left: 1.5rem;
}

.product-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #6d7486;
    font-weight: bold;
}

.product-actions {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.add-to-cart-btn {
    flex: 1;
    min-width: 200px;
}

.wishlist-btn {
    flex: 1;
    min-width: 200px;
}

.product-specs {
    border-top: 1px solid #e9ecef;
    padding-top: 2rem;
}

.product-specs h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: #0a0d13;
    font-weight: 600;
}

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

.spec-item {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem 0;
    border-bottom: 1px solid #f8f9fa;
}

.spec-label {
    font-weight: 600;
    color: #6d7486;
}

.spec-value {
    color: #626262;
}

.related-products {
    padding: 4rem 0;
    background: #ffffff;
}

.related-products h2 {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2.5rem;
    background: linear-gradient(135deg, #6d7486 0%, #0a0d13 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
}

.error-message {
    text-align: center;
    padding: 4rem 2rem;
    background: #ffffff;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    margin: 2rem 0;
}

.error-message i {
    font-size: 4rem;
    color: #ff6b6b;
    margin-bottom: 1rem;
}

.error-message h2 {
    color: #0a0d13;
    margin-bottom: 1rem;
}

.error-message p {
    color: #626262;
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    
    /* Products Filters Mobile */
    .products-filters {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 1.5rem;
    }
    
    .search-group {
        grid-column: span 1;
    }
    
    .products-filters {
        grid-template-columns: 1fr !important;
    }
    
    .filter-group, .search-group {
        min-width: 100%;
        width: 100%;
    }
    
    /* Product Detail Mobile */
    .product-detail-section {
        padding: 4rem 0 2rem 0;
    }
    
    .product-detail-container {
        grid-template-columns: 1fr;
        gap: 2rem;
        margin-top: 1rem;
    }
    
    .product-images {
        position: static;
    }
    
    .main-product-image {
        height: 300px;
    }
    
    .thumbnail-images {
        gap: 0.5rem;
    }
    
    .thumbnail,
    .thumbnail-video {
        width: 60px;
        height: 60px;
    }
    
    .thumbnail-video i {
        font-size: 1.2rem;
    }
    
    .product-details h1 {
        font-size: 2rem;
    }
    
    .current-price {
        font-size: 2rem;
    }
    
    .product-actions {
        flex-direction: column;
    }
    
    .add-to-cart-btn,
    .wishlist-btn {
        min-width: 100%;
    }
    
    .specs-grid {
        grid-template-columns: 1fr;
    }
    
    /* Header Mobile */
    .logo-img {
        height: 40px;
    }
    
    .nav-container {
        padding: 0 1rem;
        grid-template-columns: 1fr auto 1fr;
        gap: 1rem;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: rgba(10, 13, 19, 0.98);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0,0,0,0.05);
        padding: 2rem 0;
        z-index: 1000;
    }

    .nav-menu.active {
        left: 0;
    }

    .hamburger {
        display: flex;
    }

    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
    
    .nav-item {
        margin: 0.5rem 0;
    }
    
    .nav-link {
        font-size: 1.1rem;
        padding: 0.5rem 1rem;
        display: block;
    }
    
    /* Hero Section Mobile */
    .hero-content h1 {
        font-size: 2.5rem;
    }

    .hero-content p {
        font-size: 1.1rem;
    }
    
    /* Products Section Mobile */
    .products-filters {
        flex-direction: column;
        gap: 1rem;
        align-items: stretch;
    }
    
    .filter-group {
        width: 100%;
    }
    
    .filter-group select,
    .filter-group input {
        width: 100%;
    }
    
    .products-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 1.5rem;
    }
    
    .product-card {
        padding: 1rem;
    }
    
    .product-card h3 {
        font-size: 1.1rem;
    }
    
    .product-card .price {
        font-size: 1.2rem;
    }
    
    /* About Section Mobile */
    .about-content {
        flex-direction: column;
        text-align: center;
    }
    
    .about-text {
        margin-bottom: 2rem;
    }
    
    .about-text h2 {
        font-size: 2rem;
    }
    
    .about-text p {
        font-size: 1rem;
    }
    
    .about-features {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    /* Vision Section Mobile */
    .vision-content {
        flex-direction: column;
        text-align: center;
    }
    
    .vision-text {
        margin-bottom: 2rem;
    }
    
    .vision-text h2 {
        font-size: 2rem;
    }
    
    .vision-text p {
        font-size: 1rem;
    }
    
    .vision-stats {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    /* Why TechVizit Section Mobile */
    .why-content {
        flex-direction: column;
        text-align: center;
    }
    
    .why-text {
        margin-bottom: 2rem;
    }
    
    .why-text h2 {
        font-size: 2rem;
    }
    
    .why-text p {
        font-size: 1rem;
    }
    
    .why-features {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    /* Contact Section Mobile */
    .contact-content {
        flex-direction: column;
    }
    
    .contact-info {
        margin-bottom: 2rem;
    }
    
    .contact-info h2 {
        font-size: 2rem;
    }
    
    .contact-form {
        width: 100%;
    }
    
    .form-row {
        flex-direction: column;
    }
    
    .form-row .form-group {
        width: 100%;
        margin-bottom: 1rem;
    }
    
    /* App Activation Section Mobile */
    .app-activation {
        padding: 3rem 0;
    }
    
    .app-content {
        flex-direction: column;
        text-align: center;
    }
    
    .app-text {
        margin-bottom: 2rem;
    }
    
    .app-text h2 {
        font-size: 2rem;
    }
    
    .app-text p {
        font-size: 1rem;
    }
    
    .app-features {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .app-download {
        flex-direction: column;
        gap: 1rem;
    }
    
    .download-btn img {
        height: 50px;
    }
    
    .qr-code img {
        width: 120px;
        height: 120px;
    }
    
    /* Card Activation Section Mobile */
    .card-activation {
        padding: 3rem 0;
    }
    
    .activation-content {
        flex-direction: column;
        text-align: center;
    }
    
    .activation-text {
        margin-bottom: 2rem;
    }
    
    .activation-text h2 {
        font-size: 2rem;
    }
    
    .activation-text p {
        font-size: 1rem;
    }
    
    .activation-steps {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .step {
        padding: 1.5rem 1rem;
    }
    
    .step-number {
        position: static;
        margin: 0 auto 1rem;
    }
    
    .step-icon {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
    
    .step-content h3 {
        font-size: 1rem;
    }
    
    .step-content p {
        font-size: 0.85rem;
    }
    
    .qr-code img {
        width: 60px;
        height: 60px;
    }
    
    .activation-video {
        margin-top: 2rem;
    }
    
    .video-container {
        height: 250px;
    }
    
    /* Profile Page Mobile */
    .profile-page {
        padding: 100px 0 40px;
    }
    
    .profile-container {
        flex-direction: column;
    }
    
    .profile-sidebar {
        width: 100%;
        margin-bottom: 2rem;
    }
    
    .profile-content {
        width: 100%;
    }
    
    .profile-header {
        flex-direction: column;
        text-align: center;
    }
    
    .profile-info {
        margin-top: 1rem;
    }
    
    .profile-form {
        padding: 1.5rem;
    }
    
    .form-row {
        flex-direction: column;
    }
    
    .form-row .form-group {
        width: 100%;
        margin-bottom: 1rem;
    }
    
    /* Address Page Mobile */
    .addresses-page {
        padding: 100px 0 40px;
    }
    
    .address-container {
        flex-direction: column;
    }
    
    .address-sidebar {
        width: 100%;
        margin-bottom: 2rem;
    }
    
    .address-content {
        width: 100%;
    }
    
    .address-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    
    .address-form {
        padding: 1.5rem;
    }
    
    .form-row {
        flex-direction: column;
    }
    
    .form-row .form-group {
        width: 100%;
        margin-bottom: 1rem;
    }
    
    .address-list {
        grid-template-columns: 1fr;
    }
    
    .address-card {
        padding: 1rem;
    }
    
    /* Terms Modal Mobile */
    .terms-modal-content {
        width: 95%;
        margin: 5% auto;
        max-height: 85vh;
    }
    
    .terms-modal-header {
        padding: 1.5rem;
    }
    
    .terms-modal-header h2 {
        font-size: 1.5rem;
    }
    
    .terms-modal-body {
        padding: 1.5rem;
    }
    
    .terms-modal-content-text p {
        font-size: 0.9rem;
        margin-bottom: 1.2rem;
    }
    
    .terms-modal-footer {
        padding: 1rem 1.5rem;
    }
    
    .terms-modal-footer button {
        padding: 0.7rem 1.5rem;
        font-size: 0.9rem;
    }
    
    /* Global Chat Mobile */
    .global-chat-widget {
        bottom: 15px;
        right: 15px;
    }
    
    .chat-toggle-btn {
        width: 50px;
        height: 50px;
        font-size: 20px;
    }
    
    .global-chat-container {
        width: 300px;
        max-height: 400px;
        bottom: 70px;
    }
    
    .global-chat-messages {
        height: 250px;
        padding: 10px;
    }
    
    .global-chat-header {
        padding: 12px 15px;
    }
    
    .global-chat-header h4 {
        font-size: 14px;
    }
    
    .global-chat-input {
        padding: 10px;
    }
    
    .global-chat-input input {
        font-size: 13px;
        padding: 8px 12px;
    }
    
    .global-chat-send {
        width: 35px;
        height: 35px;
    }
    
    /* Auth Page Mobile */
    .auth-page {
        padding: 100px 0 40px;
    }
    
    .auth-container {
        flex-direction: column;
    }
    
    .auth-form {
        width: 100%;
        padding: 2rem 1.5rem;
    }
    
    .auth-info {
        width: 100%;
        padding: 0 1.5rem 2rem;
        margin-top: -0.5rem;
    }
    
    .auth-info h2 {
        font-size: 1.8rem;
    }
    
    .auth-info p {
        font-size: 1rem;
    }
    
    .feature-list {
        grid-template-columns: 1fr;
    }
    
    /* Product Page Mobile */
    .product-page {
        padding: 100px 0 40px;
    }
    
    .product-container {
        flex-direction: column;
    }
    
    .product-images {
        width: 100%;
        margin-bottom: 2rem;
    }
    
    .product-details {
        width: 100%;
    }
    
    .product-details h1 {
        font-size: 1.8rem;
    }
    
    .product-details .price {
        font-size: 1.5rem;
    }
    
    .product-options {
        grid-template-columns: 1fr;
    }
    
    .option-group {
        margin-bottom: 1rem;
    }
    
    .option-buttons {
        flex-wrap: wrap;
    }
    
    .option-btn {
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
    }
    
    /* Guide Page Mobile */
    .guide-page {
        padding: 100px 0 40px;
    }
    
    .guide-header h1 {
        font-size: 2rem;
    }
    
    .guide-step {
        flex-direction: column;
        text-align: center;
        padding: 1.5rem;
    }
    
    .step-visual {
        margin-right: 0;
        margin-bottom: 1.5rem;
    }
    
    .download-buttons {
        justify-content: center;
    }
    
    .support-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    /* Modal Mobile */
    .modal-content {
        width: 95%;
        margin: 10% auto;
    }
    
    .modal-header {
        padding: 1.5rem 1.5rem 1rem;
    }
    
    .contact-form {
        padding: 1.5rem;
    }
    
    .form-actions {
        flex-direction: column;
    }
    
    /* Live Chat Mobile */
    .live-chat-widget {
        width: 90%;
        right: 5%;
        bottom: 10px;
    }
    
    .chat-body {
        height: 300px;
    }
    
    /* Footer Mobile */
    .footer-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        text-align: center;
    }
    
    .footer-section {
        min-width: auto;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
    }
    
    .footer-logo {
        height: 25px;
    }
    
    /* Auth Buttons Mobile */
    .auth-buttons {
        flex-direction: column;
        gap: 0.3rem;
    }
    
    .btn-login,
    .btn-register {
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
        text-align: center;
        min-width: 80px;
    }
    
    .step-icon {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
    
    
    /* Live Chat Mobile */
    .live-chat-widget {
        width: 90%;
        right: 5%;
        bottom: 10px;
    }
    
    .chat-body {
        height: 300px;
    }
    
    /* Footer Mobile */
    .footer-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        text-align: center;
    }
    
    .footer-section {
        min-width: auto;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
    }
    
    .footer-logo {
        height: 25px;
    }
    
    /* Auth Buttons Mobile */
    .auth-buttons {
        flex-direction: column;
        gap: 0.3rem;
    }
    
    .btn-login,
    .btn-register {
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
        text-align: center;
        min-width: 80px;
    }
    
    .step-icon {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
    
    .step-content h3 {
        font-size: 1rem;
    }
    
    .step-content p {
        font-size: 0.85rem;
    }
    
    .qr-code img {
        width: 60px;
        height: 60px;
    }
}

/* Preview Modal Styles */
.preview-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    animation: fadeIn 0.3s ease;
}

.preview-modal-content {
    background: white;
    border-radius: 15px;
    width: 90%;
    max-width: 800px;
    max-height: 90vh;
    overflow-y: auto;
    animation: slideUp 0.3s ease;
}

.preview-modal-header {
    background: linear-gradient(135deg, #6d7486, #0a0d13);
    color: white;
    padding: 20px;
    border-radius: 15px 15px 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.preview-modal-header h3 {
    margin: 0;
    font-size: 1.5rem;
}

.preview-modal-close {
    background: none;
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
    padding: 5px;
    border-radius: 50%;
    transition: background-color 0.3s;
}

.preview-modal-close:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

.preview-modal-body {
    padding: 30px;
    display: flex;
    gap: 30px;
    align-items: center;
}

.preview-card-container {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    perspective: 1000px;
}

.preview-card {
    width: 300px;
    height: 200px;
    position: relative;
    transform-style: preserve-3d;
    transition: transform 0.6s;
    cursor: pointer;
}

.preview-card:hover {
    transform: rotateY(180deg);
}

.preview-card-front,
.preview-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    border-radius: 15px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.preview-card-front {
    background: linear-gradient(135deg, #6d7486, #0a0d13);
    color: white;
}

.preview-card-back {
    background: linear-gradient(135deg, #0a0d13, #6d7486);
    color: white;
    transform: rotateY(180deg);
}

.preview-card.blue .preview-card-front {
    background: linear-gradient(135deg, #3498db, #2980b9);
}

.preview-card.red .preview-card-front {
    background: linear-gradient(135deg, #e74c3c, #c0392b);
}

.preview-card.green .preview-card-front {
    background: linear-gradient(135deg, #27ae60, #229954);
}

.preview-card.black .preview-card-front {
    background: linear-gradient(135deg, #2c3e50, #34495e);
}

.preview-card.large {
    width: 350px;
    height: 230px;
}

.preview-card.small {
    width: 250px;
    height: 170px;
}

.preview-card-logo img {
    width: 40px;
    height: 40px;
    border-radius: 8px;
}

.preview-card-text h4 {
    margin: 10px 0 5px 0;
    font-size: 1.2rem;
    font-weight: 600;
}

.preview-card-text p {
    margin: 0;
    font-size: 0.9rem;
    opacity: 0.9;
}

.preview-card-pattern {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: repeating-linear-gradient(
        45deg,
        transparent,
        transparent 10px,
        rgba(255, 255, 255, 0.1) 10px,
        rgba(255, 255, 255, 0.1) 20px
    );
    border-radius: 15px;
}

.preview-card-info {
    text-align: center;
    margin-top: auto;
}

.preview-card-info p {
    margin: 5px 0;
    font-size: 0.8rem;
    opacity: 0.8;
}

.preview-settings {
    flex: 1;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 10px;
}

.preview-settings h4 {
    margin: 0 0 20px 0;
    color: #333;
    font-size: 1.2rem;
}

.preview-setting-item {
    margin-bottom: 15px;
    padding: 10px;
    background: white;
    border-radius: 8px;
    border-left: 4px solid #6d7486;
}

.preview-setting-item strong {
    color: #6d7486;
}

.preview-modal-footer {
    padding: 20px 30px;
    background: #f8f9fa;
    border-radius: 0 0 15px 15px;
    display: flex;
    justify-content: flex-end;
    gap: 15px;
}

@keyframes cardFlip {
    0% { transform: rotateY(0deg); }
    50% { transform: rotateY(180deg); }
    100% { transform: rotateY(360deg); }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideUp {
    from { 
        opacity: 0;
        transform: translateY(50px);
    }
    to { 
        opacity: 1;
        transform: translateY(0);
    }
}

/* Mobile Preview Modal */
@media (max-width: 768px) {
    .preview-modal-content {
        width: 95%;
        margin: 20px;
    }
    
    .preview-modal-body {
        flex-direction: column;
        padding: 20px;
        gap: 20px;
    }
    
    .preview-card {
        width: 250px;
        height: 160px;
    }
    
    .preview-card.large {
        width: 280px;
        height: 180px;
    }
    
    .preview-card.small {
        width: 220px;
        height: 140px;
    }
    
    .preview-settings {
        width: 100%;
    }
    
    .preview-modal-footer {
        flex-direction: column;
    }
}

/* Nav Actions Styles */
.nav-actions {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-right: 20px;
    flex-wrap: nowrap;
}

.nav-action-btn {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 35px;
    height: 35px;
    background: linear-gradient(135deg, #6d7486, #0a0d13);
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(109, 116, 134, 0.3);
}

.nav-action-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(109, 116, 134, 0.4);
    color: white;
}

.nav-action-btn i {
    font-size: 14px;
}

.action-count {
    position: absolute;
    top: -5px;
    right: -5px;
    background: #e74c3c;
    color: white;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: bold;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

/* Notification Styles */
.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 15px 20px;
    border-radius: 8px;
    color: white;
    font-weight: 500;
    z-index: 10000;
    transform: translateX(400px);
    transition: transform 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.notification.show {
    transform: translateX(0);
}

.notification.success {
    background: linear-gradient(135deg, #27ae60, #229954);
}

.notification.error {
    background: linear-gradient(135deg, #e74c3c, #c0392b);
}

.notification.info {
    background: linear-gradient(135deg, #3498db, #2980b9);
}

/* Mobile Nav Actions */
@media (max-width: 768px) {
    .nav-actions {
        margin-right: 10px;
        gap: 10px;
    }
    
    .nav-action-btn {
        width: 35px;
        height: 35px;
    }
    
    .nav-action-btn i {
        font-size: 14px;
    }
    
    .action-count {
        width: 18px;
        height: 18px;
        font-size: 11px;
    }
}

/* Cart and Wishlist Page Styles */
.cart-section, .wishlist-section {
    padding: 120px 0 80px;
    min-height: 100vh;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.cart-header, .wishlist-header {
    text-align: center;
    margin-bottom: 3rem;
}

.cart-header h1, .wishlist-header h1 {
    font-size: 2.5rem;
    color: #0a0d13;
    margin-bottom: 1rem;
}

.cart-header p, .wishlist-header p {
    font-size: 1.1rem;
    color: #6d7486;
}

.cart-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.cart-items, .wishlist-items {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.empty-cart, .empty-wishlist {
    text-align: center;
    padding: 4rem 2rem;
    color: #6d7486;
}

.empty-cart i, .empty-wishlist i {
    font-size: 4rem;
    margin-bottom: 1rem;
    color: #dee2e6;
}

.empty-cart h3, .empty-wishlist h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #0a0d13;
}

.empty-cart p, .empty-wishlist p {
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.cart-item, .wishlist-item {
    display: grid;
    grid-template-columns: 100px 1fr auto auto auto;
    gap: 1rem;
    align-items: center;
    padding: 1.5rem 0;
    border-bottom: 1px solid #e9ecef;
}

.cart-item:last-child, .wishlist-item:last-child {
    border-bottom: none;
}

.cart-item-image, .wishlist-item-image {
    width: 100px;
    height: 100px;
    border-radius: 10px;
    overflow: hidden;
}

.cart-item-image img, .wishlist-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cart-item-details, .wishlist-item-details {
    padding: 0 1rem;
}

.cart-item-details h3, .wishlist-item-details h3 {
    font-size: 1.2rem;
    color: #0a0d13;
    margin-bottom: 0.5rem;
}

.cart-item-price, .wishlist-item-price {
    font-size: 1.1rem;
    font-weight: 600;
    color: #6d7486;
}

.item-category, .item-code {
    font-size: 0.9rem;
    color: #666;
    margin: 2px 0;
}

.price-section {
    margin: 10px 0;
}

.unit-price, .total-price {
    font-size: 0.9rem;
    margin: 5px 0;
}

.price-value {
    font-weight: 600;
    color: #6d7486;
}

.wishlist-item-category {
    font-size: 0.9rem;
    color: #6c757d;
    margin-bottom: 0.5rem;
}

.cart-item-quantity {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: #f8f9fa;
    border-radius: 25px;
    padding: 0.5rem;
}

.quantity-btn {
    width: 30px;
    height: 30px;
    border: none;
    background: #6d7486;
    color: white;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.quantity-btn:hover {
    background: #0a0d13;
    transform: scale(1.1);
}

.quantity {
    font-weight: 600;
    min-width: 30px;
    text-align: center;
}

.cart-item-total {
    font-size: 1.2rem;
    font-weight: 600;
    color: #0a0d13;
}

.cart-item-actions, .wishlist-item-actions {
    display: flex;
    gap: 0.5rem;
}

.remove-btn {
    width: 40px;
    height: 40px;
    border: none;
    background: #e74c3c;
    color: white;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.remove-btn:hover {
    background: #c0392b;
    transform: scale(1.1);
}

.cart-summary {
    position: sticky;
    top: 120px;
    height: fit-content;
}

.summary-card {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.summary-card h3 {
    font-size: 1.5rem;
    color: #0a0d13;
    margin-bottom: 1.5rem;
    text-align: center;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0;
    border-bottom: 1px solid #e9ecef;
}

.summary-row.total {
    font-size: 1.2rem;
    font-weight: 600;
    color: #0a0d13;
    border-bottom: none;
    border-top: 2px solid #6d7486;
    margin-top: 1rem;
    padding-top: 1rem;
}

.checkout-btn {
    width: 100%;
    padding: 1rem;
    background: linear-gradient(135deg, #6d7486, #0a0d13);
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    margin-top: 1.5rem;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.checkout-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(109, 116, 134, 0.4);
}

/* Mobile Cart and Wishlist */
@media (max-width: 768px) {
    .cart-content {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .cart-item, .wishlist-item {
        grid-template-columns: 80px 1fr;
        gap: 1rem;
        padding: 1rem 0;
    }
    
    .cart-item-image, .wishlist-item-image {
        width: 80px;
        height: 80px;
    }
    
    .cart-item-quantity {
        grid-column: 1 / -1;
        justify-self: start;
        margin-top: 1rem;
    }
    
    .cart-item-total {
        grid-column: 1 / -1;
        text-align: center;
        margin-top: 1rem;
        font-size: 1.3rem;
    }
    
    .cart-item-actions, .wishlist-item-actions {
        grid-column: 1 / -1;
        justify-content: center;
        margin-top: 1rem;
    }
    
    .wishlist-item-actions {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .wishlist-item-actions .btn-primary,
    .wishlist-item-actions .btn-secondary {
        width: 100%;
        justify-content: center;
    }
}

/* Wishlist Button on Product Cards */
.product-card .wishlist-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 30px;
    height: 30px;
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 30;
}

.product-card .wishlist-btn:hover {
    transform: scale(1.2);
}

.product-card .wishlist-btn i {
    font-size: 20px;
    color: rgba(109, 116, 134, 0.7);
    transition: all 0.3s ease;
}

.product-card .wishlist-btn:hover i {
    color: rgba(109, 116, 134, 1);
    transform: scale(1.1);
}

.product-card .wishlist-btn i.fas {
    color: #e74c3c !important;
    animation: heartBeat 0.6s ease-in-out;
}

.product-card .wishlist-btn:hover i.fas {
    color: #c0392b !important;
}

@keyframes heartBeat {
    0% { transform: scale(1); }
    50% { transform: scale(1.3); }
    100% { transform: scale(1); }
}

/* Mobile Wishlist Button */
@media (max-width: 768px) {
    .product-card .wishlist-btn {
        width: 28px;
        height: 28px;
        top: 12px;
        right: 12px;
    }
    
    .product-card .wishlist-btn i {
        font-size: 18px;
    }
}

/* Environmental Impact Section */
.environmental-impact {
    padding: 60px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    position: relative;
    overflow: hidden;
}

.environmental-impact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="%236d7486" opacity="0.1"/><circle cx="75" cy="75" r="1" fill="%236d7486" opacity="0.1"/><circle cx="50" cy="10" r="0.5" fill="%236d7486" opacity="0.1"/><circle cx="10" cy="60" r="0.5" fill="%236d7486" opacity="0.1"/><circle cx="90" cy="40" r="0.5" fill="%236d7486" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

.env-header {
    text-align: center;
    margin-bottom: 40px;
    position: relative;
    z-index: 2;
}

.env-subtitle {
    display: inline-block;
    background: linear-gradient(135deg, #6d7486 0%, #0a0d13 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 15px;
}

.env-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 15px;
    line-height: 1.2;
}

.env-header p {
    font-size: 1rem;
    color: #6d7486;
    max-width: 500px;
    margin: 0 auto;
    line-height: 1.5;
}

.env-content {
    position: relative;
    z-index: 2;
}

.env-features {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.env-feature {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 20px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(109, 116, 134, 0.1);
    transition: all 0.3s ease;
    border: 2px solid transparent;
    min-width: 120px;
}

.env-feature:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(109, 116, 134, 0.2);
    border-color: #6d7486;
}

.env-feature i {
    font-size: 2rem;
    color: #6d7486;
    transition: all 0.3s ease;
}

.env-feature:hover i {
    color: #0a0d13;
    transform: scale(1.1);
}

.env-feature span {
    font-size: 0.9rem;
    font-weight: 600;
    color: #333;
}

.env-calculator {
    display: flex;
    justify-content: center;
    margin-bottom: 40px;
}

.calculator-card {
    background: white;
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 15px 35px rgba(109, 116, 134, 0.15);
    border: 2px solid rgba(109, 116, 134, 0.1);
    max-width: 450px;
    width: 100%;
    position: relative;
    overflow: hidden;
}

.calculator-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, #6d7486 0%, #0a0d13 100%);
}

.card-header {
    text-align: center;
    margin-bottom: 25px;
}

.card-header h3 {
    font-size: 1.3rem;
    color: #333;
    margin-bottom: 15px;
    font-weight: 600;
}

.card-display {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 10px;
}

.card-number {
    font-size: 3rem;
    font-weight: 700;
    color: #6d7486;
    line-height: 1;
}

.card-text {
    font-size: 1.2rem;
    color: #6d7486;
    font-weight: 500;
}

.slider-container {
    margin-bottom: 30px;
    position: relative;
}

.card-slider {
    width: 100%;
    height: 8px;
    border-radius: 4px;
    background: #e9ecef;
    outline: none;
    -webkit-appearance: none;
    appearance: none;
    cursor: pointer;
}

.card-slider:disabled {
    cursor: not-allowed;
    opacity: 1;
}

.card-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: linear-gradient(135deg, #6d7486 0%, #0a0d13 100%);
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(109, 116, 134, 0.3);
    transition: all 0.3s ease;
}

.card-slider:disabled::-webkit-slider-thumb {
    cursor: not-allowed;
}

.card-slider::-webkit-slider-thumb:hover {
    transform: scale(1.2);
    box-shadow: 0 6px 20px rgba(109, 116, 134, 0.4);
}

.card-slider:disabled::-webkit-slider-thumb:hover {
    transform: none;
    box-shadow: 0 4px 15px rgba(109, 116, 134, 0.3);
}

.card-slider::-moz-range-thumb {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: linear-gradient(135deg, #6d7486 0%, #0a0d13 100%);
    cursor: pointer;
    border: none;
    box-shadow: 0 4px 15px rgba(109, 116, 134, 0.3);
}

.card-slider:disabled::-moz-range-thumb {
    cursor: not-allowed;
}

.slider-labels {
    display: flex;
    justify-content: space-between;
    margin-top: 10px;
    font-size: 0.9rem;
    color: #6d7486;
    font-weight: 500;
}

.env-metrics {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
    gap: 15px;
}

.metric-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.metric-item:hover {
    background: #e9ecef;
    transform: translateY(-2px);
}

.metric-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, #6d7486 0%, #0a0d13 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.metric-icon i {
    font-size: 1.2rem;
    color: white;
}

.metric-content {
    flex: 1;
}

.metric-value {
    font-size: 1.4rem;
    font-weight: 700;
    color: #333;
    line-height: 1;
    margin-bottom: 3px;
}

.metric-label {
    font-size: 0.8rem;
    color: #6d7486;
    font-weight: 500;
}

.env-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 20px;
    max-width: 700px;
    margin: 0 auto;
}

.stat-card {
    background: linear-gradient(135deg, #6d7486 0%, #0a0d13 100%);
    color: white;
    padding: 25px 20px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 10px 25px rgba(109, 116, 134, 0.3);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent 30%, rgba(255,255,255,0.1) 50%, transparent 70%);
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}

.stat-card:hover::before {
    transform: translateX(100%);
}

.stat-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px rgba(109, 116, 134, 0.4);
}

.stat-number {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 8px;
    line-height: 1;
}

.stat-label {
    font-size: 0.9rem;
    font-weight: 500;
    opacity: 0.9;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes countUp {
    from {
        opacity: 0;
        transform: scale(0.5);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.env-feature {
    animation: fadeInUp 0.6s ease forwards;
}

.env-feature:nth-child(1) { animation-delay: 0.1s; }
.env-feature:nth-child(2) { animation-delay: 0.2s; }
.env-feature:nth-child(3) { animation-delay: 0.3s; }

.calculator-card {
    animation: fadeInUp 0.8s ease forwards;
}

.stat-card {
    animation: fadeInUp 1s ease forwards;
}

.stat-card:nth-child(1) { animation-delay: 0.1s; }
.stat-card:nth-child(2) { animation-delay: 0.2s; }
.stat-card:nth-child(3) { animation-delay: 0.3s; }

/* Responsive Design */
@media (max-width: 768px) {
    .environmental-impact {
        padding: 40px 0;
    }
    
    .env-header h2 {
        font-size: 2rem;
    }
    
    .env-features {
        gap: 15px;
    }
    
    .env-feature {
        padding: 15px;
        min-width: 100px;
    }
    
    .calculator-card {
        padding: 25px 20px;
    }
    
    .card-number {
        font-size: 2.5rem;
    }
    
    .env-metrics {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .env-stats {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .stat-number {
        font-size: 1.8rem;
    }
}

/* Why TechVizit Responsive */
@media (max-width: 768px) {
    .why-techvizit {
        padding: 40px 0;
    }
    
    .why-techvizit h2 {
        font-size: 1.8rem;
        margin-bottom: 1.5rem;
    }
    
    .why-content {
        max-width: 100%;
        padding: 0 20px;
    }
    
    .why-content p {
        font-size: 0.9rem;
        line-height: 1.5;
        margin-bottom: 1rem;
    }
    
    .intro-text {
        font-size: 1rem !important;
        margin-bottom: 1.2rem !important;
    }
    
    .highlight-box {
        padding: 1.2rem;
        margin: 1.5rem 0;
    }
    
    .highlight-box p {
        font-size: 0.9rem;
        line-height: 1.5;
        margin-bottom: 0.6rem;
    }
    
    .conclusion {
        margin-top: 1.5rem;
        padding: 1.2rem;
    }
    
    .conclusion p {
        font-size: 1rem !important;
    }
}

/* Custom Card Designer Color Classes */
/* Solids */
.color-preview.solid-7ffff0 { background: #7FFFF0; }
.color-preview.solid-aa9aff { background: #AA9AFF; }
.color-preview.solid-ffffac { background: #FFFFAC; }
.color-preview.solid-ffade5 { background: #ffade5; }
.color-preview.solid-ffc9b5 { background: #ffc9b5; }
.color-preview.solid-bbffb0 { background: #bbffb0; }
.color-preview.solid-e4e4e4 { background: #e4e4e4; }
.color-preview.solid-000000 { background: #000000; }
.color-preview.solid-ffffff { background: #ffffff; }
/* Gradients */
.color-preview.grad-7ffff0 { background: linear-gradient(0deg, #888888, #ffffff); }
.color-preview.grad-aa9aff { background: linear-gradient(180deg, #b2f1ff, #5555b7, #03102f); }
.color-preview.grad-ffffac { background: linear-gradient(90deg, #cdffd8, #94b9ff); }
.color-preview.grad-ffade5 { background: linear-gradient(90deg, #f3b0f2, #fdf5b9); }
.color-preview.grad-ffc9b5 { background: linear-gradient(45deg, #6ae70e, #08fded, #0072ed); }
.color-preview.grad-bbffb0 { background: linear-gradient(90deg, #94b9ff, #e894ff); }
.color-preview.grad-e4e4e4 { background: linear-gradient(180deg, #6d7486, #0a0d13); }
.color-preview.grad-000000 { background: linear-gradient(180deg, #450050, #e753fe); }
.color-preview.grad-ffffff { background: linear-gradient(45deg, #ff1d9d, #ffefd2); }
