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

:root {
    --primary-color: #FF6B35;
    --primary-dark: #FF4500;
    --secondary-color: #00D9FF;
    --accent-color: #FF1744;
    --text-dark: #0A0A0A;
    --text-light: #4A4A4A;
    --background-light: #F5F5F5;
    --white: #ffffff;
    --border-color: #E0E0E0;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.15);
}

html {
    scroll-behavior: auto; /* Disable native smooth scroll for custom implementation */
    height: 100%;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--white);
    min-height: 100%;
    display: flex;
    flex-direction: column;
}

/* Main content wrapper to push footer down */
body > section:not(.modal) {
    flex: 1;
}

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

/* Header Styles */
.header {
    background-color: var(--white);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo {
    display: inline-block;
    transition: transform 0.3s ease;
    margin-left: 16px; /* increased left margin */
    text-decoration: none;
}

.logo img {
    height: 40px;
    width: auto;
    display: block;
}

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

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    margin-right: 16px; /* increased right margin */
}

.nav-menu a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: color 0.3s;
}

.nav-menu a:hover {
    color: var(--primary-color);
    transition: color 0.3s ease;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background-color: var(--text-dark);
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #00D9FF 0%, #FF6B35 50%, #FF1744 100%);
    color: var(--white);
    min-height: 100vh;
    padding: 8rem 2rem;
    text-align: left;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.hero-title {
    font-size: 6rem;
    font-weight: 900;
    margin-bottom: 1rem;
    line-height: 1.1;
    letter-spacing: -0.02em;
    animation: slideInLeft 1s ease-out;
    opacity: 0;
    animation-fill-mode: forwards;
    animation-delay: 0.2s;
    color: var(--white);
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.hero-subtitle {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    opacity: 0.95;
    font-weight: 600;
    animation: slideInLeft 1s ease-out;
    opacity: 0;
    animation-fill-mode: forwards;
    animation-delay: 0.4s;
    color: var(--white);
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

@media (max-width: 768px) {
    .hero {
        min-height: 100vh;
        padding: 6rem 1.5rem;
        padding-top: 10rem;
    }
    
    .hero-title {
        font-size: 3.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.5rem;
    }
    
    .hero .btn {
        font-size: 1.1rem;
        padding: 0.875rem 2rem;
    }
}

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

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    color: var(--white);
    border: none;
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--accent-color) 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 107, 53, 0.4);
}

.btn-large {
    width: 100%;
    padding: 1rem;
    font-size: 1.1rem;
}

/* Section Styles */
section {
    padding: 5rem 0;
}

section > .container {
    max-width: 1400px;
}

.intro-text {
    background: var(--white);
    padding: 2.5rem 0 0;
    margin-bottom: 0;
}

.intro-text .section-title {
    text-align: left;
}

.intro-text .section-subtitle {
    text-align: left;
    margin-bottom: 0;
}

.intro-text {
    padding-left: 200px;
    padding-right: 200px;
}

.intro-text .container {
    max-width: 900px;
}

@media (max-width: 1024px) {
    .intro-text {
        padding-left: 60px;
        padding-right: 60px;
    }
}

@media (max-width: 768px) {
    .intro-text {
        padding-left: 20px;
        padding-right: 20px;
    }
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.section-subtitle {
    text-align: center;
    color: var(--text-light);
    font-size: 1.1rem;
    margin-bottom: 3rem;
}

/* Standard Features Section */
.standard-features {
    background: linear-gradient(135deg, rgba(0, 217, 255, 0.05) 0%, rgba(255, 107, 53, 0.05) 100%);
}

.advanced-feature-group {
    margin-bottom: 1.5rem;
    padding: 1.5rem;
    background: var(--white);
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.advanced-feature-group:hover {
    box-shadow: 0 8px 20px rgba(255, 23, 68, 0.2);
    border-color: rgba(255, 23, 68, 0.3);
    transform: translateY(-2px);
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 1rem;
    cursor: pointer;
}

.checkbox-text {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.checkbox-text strong {
    font-size: 1.125rem;
    color: var(--text-dark);
    font-weight: 700;
}

.feature-description {
    font-size: 0.9rem;
    color: var(--text-light);
    line-height: 1.5;
}

.nested-input {
    margin-top: 1rem;
    padding: 1rem;
    margin-left: -1.5rem;
    margin-right: -1.5rem;
    background: var(--background-light);
    border-radius: 0 0 8px 8px;
    animation: slideDown 0.3s ease-out;
    width: calc(100% + 3rem);
}

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

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

.glass-input {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.3s;
    background: var(--white);
    color: var(--text-dark);
}

.glass-input:focus {
    outline: none;
    border-color: var(--accent-color);
}

.glass-input::placeholder {
    color: #666666;
    opacity: 1;
}

.glass-input::-webkit-input-placeholder {
    color: #666666;
}

.glass-input::-moz-placeholder {
    color: #666666;
    opacity: 1;
}

.glass-input:-ms-input-placeholder {
    color: #666666;
}

input.feature-checkbox[type="checkbox"] {
    width: 24px;
    height: 24px;
    cursor: pointer;
    accent-color: var(--accent-color);
    flex-shrink: 0;
}

/* Radio Group */
.radio-group {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.radio-label {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 6px;
    transition: background-color 0.3s;
}

.radio-label:hover {
    background-color: rgba(255, 23, 68, 0.05);
}

.radio-label input[type="radio"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
    accent-color: var(--accent-color);
}

.radio-label span {
    font-weight: 500;
    color: var(--text-dark);
}

@media (max-width: 768px) {
    .advanced-feature-group {
        padding: 1.25rem;
    }
    
    .checkbox-text strong {
        font-size: 1rem;
    }
    
    .feature-description {
        font-size: 0.85rem;
    }
}

/* Pricing Content Section */
.pricing-content {
    padding: 2rem 200px 5rem;
}

@media (max-width: 1024px) {
    .pricing-content {
        padding: 3rem 60px 5rem;
    }
}

@media (max-width: 768px) {
    .pricing-content {
        padding: 5rem 20px;
    }
}

/* Pricing Top Cards */
.pricing-top-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 4rem;
    align-items: stretch; /* make both columns equal height */
}

.pricing-card {
    background: var(--white);
    border-radius: 12px;
    padding: 2rem;
    box-shadow: var(--shadow);
    border: 2px solid var(--border-color);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.pricing-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--border-color);
}

.pricing-card-header h3 {
    font-size: 1.5rem;
    color: var(--text-dark);
}

.pricing-amount-wrap {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.old-price {
    text-decoration: line-through;
    font-size: 2.5rem; /* match .pricing-amount size */
    font-weight: 700;   /* match .pricing-amount weight */
    color: var(--text-light);
}

.price-badge {
    background: none;
    color: var(--text-dark);
    font-weight: 600;
    font-size: 0.9rem;
    padding: 0;
    line-height: 1; /* tighten lines around the break */
    text-align: center;
}

.pricing-amount {
    font-size: 2.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--primary-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.pricing-features-list {
    list-style: none;
    padding: 0;
    margin: 0;
    padding-left: 3rem;
}

.pricing-features-list li {
    padding: 0.5rem 0;
    color: var(--text-light);
    position: relative;
    padding-left: 1.5rem;
}

.pricing-features-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--accent-color);
    font-weight: 700;
}

/* Hosting Cards */
.hosting-cards {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    height: 100%; /* fill column height */
    justify-content: space-between; /* distribute three cards to match left column */
}

.hosting-card {
    background: var(--white);
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: var(--shadow);
    border: 2px solid var(--border-color);
    transition: all 0.3s ease;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    justify-content: center;
    flex: 1; /* allow stretching to fill column evenly */
}

.hosting-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.hosting-label {
    display: flex;
    align-items: center;
    gap: 1rem;
    cursor: pointer;
}

.hosting-checkbox,
.hosting-radio {
    width: 24px;
    height: 24px;
    cursor: pointer;
    accent-color: var(--primary-color);
    flex-shrink: 0;
}

.hosting-content {
    flex: 1; /* ensure content area stretches */
}

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

.hosting-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-dark);
}

.hosting-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.hosting-price small {
    font-size: 0.875rem;
    color: var(--text-light);
}

.hosting-description {
    color: var(--text-light);
    font-size: 0.9rem;
    margin: 0;
}

/* Selected hosting card */
.hosting-card.selected {
    border-color: var(--primary-color);
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.05) 0%, rgba(255, 23, 68, 0.05) 100%);
}

/* Optional Features Section */
.optional-features-section {
    margin-bottom: 3rem;
}

.optional-feature-item {
    padding: 1.5rem;
    background: var(--background-light);
    border-radius: 8px;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    gap: 0;
    position: relative;
}

.optional-feature-item:not(.selected) {
    background: rgba(245, 245, 245, 0.6);
}

.optional-feature-item:not(.selected)::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 8px;
    pointer-events: none;
}

.optional-feature-item .optional-feature-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}

.optional-feature-item .nested-input {
    cursor: default;
    pointer-events: auto;
}

.optional-feature-item .nested-input input,
.optional-feature-item .nested-input textarea,
.optional-feature-item .nested-input select {
    cursor: text;
    pointer-events: auto;
}

.optional-feature-item.selected {
    background: var(--white);
    border: 2px solid var(--primary-color);
    opacity: 1;
    box-shadow: 0 4px 12px rgba(255, 107, 53, 0.2);
    padding-bottom: 1rem;
}

.optional-feature-left {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex: 1;
}

.optional-feature-checkbox {
    width: 24px;
    height: 24px;
    cursor: pointer;
    accent-color: var(--primary-color);
}

.optional-feature-info {
    flex: 1;
}

.optional-feature-name {
    font-weight: 700;
    color: var(--text-dark);
    font-size: 1.125rem;
    position: relative;
    z-index: 1;
}

.optional-feature-description {
    color: var(--text-dark);
    font-size: 0.9rem;
    margin-top: 0.25rem;
    position: relative;
    z-index: 1;
}

.optional-feature-pricing-factors {
    color: var(--text-dark);
    font-size: 0.85rem;
    margin-top: 0.5rem;
    padding-top: 0.5rem;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 1;
}

.optional-feature-pricing-factors strong {
    font-weight: 600;
}

.optional-feature-item:not(.selected) .optional-feature-name,
.optional-feature-item:not(.selected) .optional-feature-description {
    color: var(--text-dark) !important;
}

.optional-feature-item:not(.selected) .optional-feature-price {
    position: relative;
    z-index: 1;
}

.optional-feature-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    min-width: 100px;
    text-align: right;
}

@media (max-width: 768px) {
    .optional-feature-item {
        padding: 1rem;
    }
    
    .optional-feature-item .optional-feature-content {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }
    
    .optional-feature-price {
        text-align: left;
        width: 100%;
    }
    
    .nested-input {
        margin-left: -1rem;
        margin-right: -1rem;
        width: calc(100% + 2rem);
        padding: 0.75rem;
    }
    
    .optional-feature-item.selected {
        padding-bottom: 0.5rem;
    }
}

/* Pricing Summary */
.pricing-summary {
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--primary-color) 100%);
    padding: 2.5rem;
    border-radius: 12px;
    margin-top: 3rem;
}

.pricing-summary-content {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 1.25rem;
}

.total-display {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.total-label {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--white);
}

.total-amount {
    font-size: 3rem;
    font-weight: 900;
    color: var(--white);
}

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

.pricing-summary-content .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

/* Live quote list under total */
.quote-live {
    width: 100%;
}

.quote-live .quote-itemized-list {
    width: 100%;
}

.quote-live .quote-itemized-list li {
    padding-left: 0;
}

@media (max-width: 968px) {
    .pricing-top-cards {
        grid-template-columns: 1fr;
        display: flex;
        flex-direction: column;
    }
    
    /* Remove grid-column on mobile */
    .pricing-top-cards [style*="grid-column"] {
        grid-column: auto !important;
        order: 2;
    }
    
    /* Pricing card comes first */
    .pricing-top-cards > .pricing-card {
        order: 1;
    }
    
    .pricing-summary-content {
        flex-direction: column;
        text-align: center;
    }
}

/* Quote Submission Modal */
.quote-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10001;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

/* Floating running total at bottom-right */
.floating-total {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 1100;
    background: rgba(10, 10, 10, 0.9);
    color: #fff;
    padding: 0.75rem 1rem;
    border-radius: 999px;
    font-weight: 800;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    backdrop-filter: blur(2px);
}

@media (max-width: 768px) {
    .floating-total {
        right: 12px;
        bottom: 12px;
        padding: 0.5rem 0.75rem;
        font-size: 0.95rem;
    }
}

.quote-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}

.quote-modal-container {
    position: relative;
    background: var(--white);
    border-radius: 20px;
    max-width: 600px;
    width: 100%;
    max-height: 90vh;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: modalSlideIn 0.3s ease-out;
}

.quote-modal-header {
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--primary-color) 100%);
    color: var(--white);
    padding: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.quote-modal-header h2 {
    margin: 0;
    font-size: 2rem;
    font-weight: 700;
}

.quote-modal-close {
    background: none;
    border: none;
    font-size: 2.5rem;
    color: var(--white);
    cursor: pointer;
    padding: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background-color 0.3s;
    line-height: 1;
}

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

.quote-modal-content {
    padding: 2rem;
    max-height: 60vh;
    overflow-y: auto;
    min-height: 200px;
}

.quote-itemized-content {
    margin-bottom: 2rem;
}

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

.quote-itemized-list li {
    display: flex;
    justify-content: space-between;
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.35);
    font-size: 1rem;
}

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


/* Improve contrast of live quote inside pricing summary */
.pricing-summary .quote-itemized-list .item-name { color: #ffffff; font-weight: 600; }
.pricing-summary .quote-itemized-list .item-price { color: #ffffff; font-weight: 700; }

.quote-itemized-list .item-price {
    color: var(--primary-color);
    font-weight: 700;
}

.quote-total {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 2px solid var(--primary-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.quote-total-label {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark);
}

.quote-total-amount {
    font-size: 2rem;
    font-weight: 900;
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--primary-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.quote-modal-footer {
    padding: 2rem;
    border-top: 1px solid var(--border-color);
    background: var(--background-light);
}

.quote-success-message {
    text-align: center;
    padding: 2rem;
}

.quote-success-message h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.quote-success-message p {
    color: var(--text-light);
    line-height: 1.6;
}

@media (max-width: 768px) {
    .quote-modal-container {
        max-width: 95%;
    }
    
    .quote-modal-header h2 {
        font-size: 1.5rem;
    }
    
    .quote-total-label {
        font-size: 1.25rem;
    }
    
    .quote-total-amount {
        font-size: 1.5rem;
    }
}

/* Pricing, Features, and Contact Page Hero - Different Size and Color */
.pricing-hero,
.features-hero,
.contact-hero {
    background: #000000;
    min-height: 25vh;
    padding: 3rem 2rem;
    position: relative;
    overflow: hidden;
}

.features-checklist-container {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
}

.features-checklist {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.features-checklist li {
    padding: 1.5rem 1rem;
    background: var(--white);
    border-radius: 8px;
    font-size: 1rem;
    color: var(--text-dark);
    box-shadow: var(--shadow);
    position: relative;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 0.75rem;
    text-align: left;
}

.features-checklist li::before {
    content: "✓";
    font-size: 1.75rem;
    color: var(--accent-color);
    font-weight: 900;
    line-height: 1;
    flex-shrink: 0;
}

.features-checklist li:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(255, 23, 68, 0.3);
}

@media (max-width: 768px) {
    .features-checklist {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }
    
    .features-checklist li {
        padding: 1.25rem 0.875rem;
        font-size: 0.95rem;
    }
    
    .features-checklist li::before {
        font-size: 1.5rem;
    }
}

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

.portfolio-item {
    background-color: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform 0.3s, box-shadow 0.3s;
}

.feature-card {
    background-color: var(--white);
    border-radius: 15px;
    padding: 2rem;
    box-shadow: var(--shadow);
    transition: transform 0.3s, box-shadow 0.3s;
    text-align: center;
}

.feature-card .feature-icon {
    font-size: 3rem;
    color: var(--secondary-color);
    margin-bottom: 1rem;
    font-weight: bold;
}

.feature-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

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

.portfolio-item:hover,
.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(255, 107, 53, 0.2);
}

.portfolio-item:hover {
    border: 2px solid transparent;
    border-image: linear-gradient(135deg, var(--secondary-color), var(--primary-color)) 1;
}

.portfolio-image {
    width: 100%;
    height: 250px;
    overflow: hidden;
}

.placeholder-image {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #00D9FF 0%, #FF6B35 50%, #FF1744 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Varied solid colors for each portfolio card */
.portfolio-item:nth-child(1) .placeholder-image {
    background: #00D9FF; /* Cyan */
}

.portfolio-item:nth-child(2) .placeholder-image {
    background: #FF6B35; /* Orange */
}

.portfolio-item:nth-child(3) .placeholder-image {
    background: #FF1744; /* Red */
}

.portfolio-item:nth-child(4) .placeholder-image {
    background: #00CED1; /* Dark cyan */
}

.portfolio-item:nth-child(5) .placeholder-image {
    background: #FF8C42; /* Light orange */
}

.portfolio-item:nth-child(6) .placeholder-image {
    background: #FF4569; /* Pink-red */
}

.placeholder-image i {
    font-size: 4rem;
    color: var(--white);
    opacity: 0.8;
}

.portfolio-content {
    padding: 1.5rem;
}

.portfolio-content h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.portfolio-content p {
    color: var(--text-light);
}

/* Contact Section */
.contact {
    background-color: var(--white);
}

.contact-wrapper {
    display: flex;
    justify-content: center;
    width: 100%;
}

.contact-form-container {
    display: flex;
    justify-content: center;
    width: 100%;
}

.contact-form-container .contact-form {
    max-width: 600px;
    width: 100%;
}

.contact-form {
    background-color: var(--background-light);
    padding: 2rem;
    border-radius: 10px;
}

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

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

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.3s;
    background: var(--white);
    color: var(--text-dark);
}

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

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #666666;
    opacity: 1;
}

.form-group input::-webkit-input-placeholder,
.form-group textarea::-webkit-input-placeholder {
    color: #666666;
}

.form-group input::-moz-placeholder,
.form-group textarea::-moz-placeholder {
    color: #666666;
    opacity: 1;
}

.form-group input:-ms-input-placeholder,
.form-group textarea:-ms-input-placeholder {
    color: #666666;
}

.form-group textarea {
    resize: vertical;
}

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

.checkbox-group input[type="checkbox"] {
    width: auto;
    cursor: pointer;
}

.checkbox-group label {
    margin: 0;
    font-weight: 500;
    cursor: pointer;
}

.form-message {
    margin-top: 1rem;
    padding: 1rem;
    border-radius: 6px;
    text-align: center;
    font-weight: 500;
    display: none;
}

.form-message.success {
    display: block;
    background-color: #d1fae5;
    color: #065f46;
}

.form-message.error {
    display: block;
    background-color: #fee2e2;
    color: #991b1b;
}

/* Contact Info */
.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.info-item {
    display: flex;
    gap: 1rem;
}

.info-item i {
    font-size: 1.5rem;
    color: var(--primary-color);
    width: 30px;
}

.info-item h3 {
    font-size: 1rem;
    margin-bottom: 0.25rem;
    color: var(--text-dark);
}

.info-item p {
    color: var(--text-light);
}

/* Footer */
.footer {
    background-color: var(--text-dark);
    color: var(--white);
    padding: 3rem 0 1rem;
    margin-top: auto;
    width: 100%;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
    }
}

.footer-logo {
    max-width: 200px;
    height: auto;
    margin-bottom: 1rem;
    display: block;
    transition: opacity 0.3s;
}

.footer-brand a {
    display: inline-block;
}

.footer-brand a:hover .footer-logo {
    opacity: 0.8;
}

.footer-brand {
    text-align: center;
}

.footer-brand .footer-logo {
    margin-left: auto;
    margin-right: auto;
}

@media (max-width: 768px) {
    .footer-logo {
        max-width: 150px;
    }
}

.footer-section h3 {
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--primary-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-section h4 {
    margin-bottom: 1rem;
    text-align: center;
}

.footer-links {
    text-align: center;
}

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

.footer-section ul {
    list-style: none;
    text-align: center;
}

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

.footer-section a {
    color: var(--white);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-section a:hover {
    color: var(--secondary-color);
    transition: color 0.3s ease;
}

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

.social-links a {
    display: inline-block;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s;
}

.social-links a:hover {
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--primary-color) 100%);
    transform: scale(1.1);
    transition: all 0.3s ease;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.7);
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: var(--white);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: var(--shadow);
        padding: 2rem 0;
    }

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

    .nav-toggle {
        display: flex;
    }

    .nav-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .nav-toggle.active span:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .nav-toggle.active span:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .section-title {
        font-size: 2rem;
    }

    .contact-wrapper {
        display: flex;
        justify-content: center;
    }
    
    .contact-form-container {
        display: flex;
        justify-content: center;
    }
    
    .contact-form-container .contact-form {
        max-width: 100%;
    }

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

@media (max-width: 480px) {
    .hero {
        min-height: 100vh;
        padding: 5rem 1rem;
        padding-top: 9rem;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.25rem;
    }

    .section-title {
        font-size: 1.75rem;
    }

    .contact-form {
        padding: 1.5rem;
    }
}

/* ========================================
   EFFECT ISOLATION SYSTEM
   ======================================== */

/* This section keeps all future effects contained */

/* Principle 1: Effect Container Isolation */
.effect-container {
    /* Creates a new stacking context */
    isolation: isolate;
    /* Contains layout, style, paint, and size calculations */
    contain: layout style paint size;
    /* Prevents overflow from affecting parent */
    overflow: hidden;
}

/* Principle 2: Effect Wrapper - Use this for any new effect */
.effect-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    /* Creates isolated rendering context */
    transform: translateZ(0);
    /* Will-change hints browser for optimization */
    will-change: transform;
}

/* Principle 3: Scoped Animation Container */
.anim-scope {
    /* All animations within this container stay contained */
    position: relative;
    isolation: isolate;
    contain: layout style paint;
}

/* Principle 4: Effect Namespace Prefixes */
/* When adding new effects, use these prefixes to prevent conflicts */

/* Example for parallax effects */
.effect-parallax {
    position: relative;
    isolation: isolate;
    contain: layout style paint;
}

.effect-parallax-layer {
    /* Parallax layers stay within their container */
    position: absolute;
    width: 100%;
    height: 100%;
    will-change: transform;
}

/* Example for particle effects */
.effect-particles {
    position: relative;
    isolation: isolate;
    contain: layout style paint;
    overflow: hidden;
}

.effect-particle {
    position: absolute;
    pointer-events: none;
}

/* Example for text effects */
.effect-text {
    display: inline-block;
    /* Keeps effects from affecting surrounding text */
}

/* Example for hover effects */
.effect-hover {
    position: relative;
    isolation: isolate;
    contain: layout style paint;
}

/* Example for scroll effects */
.effect-scroll {
    position: relative;
    isolation: isolate;
    contain: layout style paint;
}

/* Principle 5: Z-index Management Layer */
/* Keep z-index values organized and predictable */
.effect-layer-1 { z-index: 1; }
.effect-layer-2 { z-index: 2; }
.effect-layer-3 { z-index: 3; }
.effect-layer-4 { z-index: 4; }
.effect-layer-5 { z-index: 5; }

/* Maximum z-index for floating effects (header is 1000) */
.effect-floating { z-index: 999; }

/* Principle 6: Override Protection */
/* Prevents effect styles from leaking */
.effect-protected {
    /* Reset any inherited transforms that might interfere */
    transform: none;
    /* Prevent opacity inheritance from effects */
    opacity: 1;
    /* Prevent filter bleedthrough */
    filter: none;
    /* Keep pointer events normal */
    pointer-events: auto;
}

/* ========================================
   END EFFECT ISOLATION SYSTEM
   ======================================== */

/* Multi-Step Form Modal Styles */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}

.modal-container {
    position: relative;
    z-index: 10001;
    background: var(--white);
    border-radius: 20px;
    max-width: 800px;
    width: 100%;
    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) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem;
    border-bottom: 1px solid var(--border-color);
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--primary-color) 100%);
    color: var(--white);
    border-radius: 20px 20px 0 0;
}

.modal-header h2 {
    font-size: 2rem;
    font-weight: 700;
    margin: 0;
}

.modal-close {
    background: none;
    border: none;
    font-size: 2.5rem;
    color: var(--white);
    cursor: pointer;
    padding: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background-color 0.3s;
}

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

/* Product Modal Styles */
.product-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    animation: fadeIn 0.3s ease-out;
}

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

.product-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.product-modal-container {
    position: relative;
    z-index: 10001;
    background: var(--white);
    border-radius: 20px;
    max-width: 1000px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
    animation: modalSlideIn 0.3s ease-out;
    position: relative;
}

.product-modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgba(0, 0, 0, 0.6);
    border: none;
    font-size: 1.5rem;
    color: var(--white);
    cursor: pointer;
    padding: 0.75rem;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s;
    z-index: 10002;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.product-modal-close:hover {
    background: rgba(0, 0, 0, 0.8);
    transform: scale(1.1);
}

.product-modal-content {
    padding: 2rem;
}

.product-modal-content .product-card {
    box-shadow: none;
    border-radius: 0;
    display: block;
}

.product-modal-content .product-image-gallery,
.product-modal-content .product-image {
    max-width: 100%;
    margin: 0 auto 2rem;
}

.product-modal-content .product-image-gallery {
    max-width: 600px;
}

.product-modal-content .product-image img {
    width: 100%;
    height: auto;
    max-height: 500px;
    object-fit: contain;
}

.product-modal-content .product-info {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.product-modal-content .product-name {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.product-modal-content .product-price {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.product-modal-content .product-materials {
    margin-bottom: 1.5rem;
    text-align: left;
}

.product-modal-content .product-variants {
    margin-bottom: 1.5rem;
    justify-content: center;
}

.product-modal-content .add-to-cart-btn {
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
    padding: 1rem 2rem;
    font-size: 1.125rem;
}

@media (max-width: 768px) {
    .product-modal-container {
        max-width: 95%;
        max-height: 95vh;
    }
    
    .product-modal-content {
        padding: 1.5rem;
    }
    
    .product-modal-close {
        top: 0.5rem;
        right: 0.5rem;
        width: 36px;
        height: 36px;
        font-size: 1.25rem;
    }
    
    .product-modal-content .product-name {
        font-size: 1.5rem;
    }
}

/* Progress Indicator */
.form-progress {
    padding: 2rem;
    background: var(--background-light);
}

.progress-steps {
    display: flex;
    justify-content: space-between;
    position: relative;
}

.progress-steps::before {
    content: '';
    position: absolute;
    top: 20px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--border-color);
    z-index: 1;
}

.progress-step {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.step-number {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--background-light);
    border: 3px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: var(--text-light);
    transition: all 0.3s ease;
}

.step-label {
    font-size: 0.875rem;
    color: var(--text-light);
    font-weight: 500;
}

.progress-step.active .step-number {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--white);
}

.progress-step.active .step-label {
    color: var(--primary-color);
}

/* Form Steps */
.multi-step-form {
    padding: 2rem;
}

.form-step {
    display: none;
    animation: fadeIn 0.3s ease-in-out;
}

.form-step.active {
    display: block;
}

.form-step h3 {
    font-size: 1.75rem;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

.section-note {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
}

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

@media (max-width: 768px) {
    .form-row {
        grid-template-columns: 1fr;
    }
}

/* Features List */
.features-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.feature-checkbox {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: var(--background-light);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.feature-checkbox:hover {
    background: rgba(255, 107, 53, 0.1);
    transform: translateX(5px);
}

.feature-checkbox input[type="checkbox"] {
    width: 20px;
    height: 20px;
    cursor: pointer;
    accent-color: var(--primary-color);
}

.feature-checkbox span {
    font-weight: 500;
}

/* Navigation Buttons */
.form-navigation {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding-top: 2rem;
    margin-top: 2rem;
    border-top: 1px solid var(--border-color);
}

.btn-secondary {
    background: var(--background-light);
    color: var(--text-dark);
    border: 2px solid var(--border-color);
}

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

.form-status {
    margin-top: 1rem;
    padding: 1rem;
    border-radius: 8px;
    text-align: center;
    font-weight: 500;
    display: none;
}

.form-status.success {
    display: block;
    background: #d1fae5;
    color: #065f46;
}

.form-status.error {
    display: block;
    background: #fee2e2;
    color: #991b1b;
}


/* Canvas Proximity Mask Effect */
.effect-canvas-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    isolation: isolate;
    contain: layout style paint size;
    overflow: hidden;
    pointer-events: none;
    /* Hardware acceleration */
    transform: translateZ(0);
    will-change: contents;
}

.effect-canvas-wrapper .effect-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: block;
    /* Hardware acceleration for canvas */
    transform: translateZ(0);
    image-rendering: optimizeQuality;
}

.effect-canvas-wrapper.active {
    pointer-events: auto;
}

/* Keep hero content above canvas */
.hero .container {
    position: relative;
    z-index: 2;
}

/* Hero Animation Keyframes */
@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

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

/* Animate the Get Started button */
.hero .btn {
    animation: slideInLeft 1s ease-out;
    opacity: 0;
    animation-fill-mode: forwards;
    animation-delay: 0.6s;
    transition: all 0.3s ease;
    font-size: 1.25rem;
    padding: 1rem 3rem;
    font-weight: 700;
}

/* Optional: Add content overlay effect */
.hero-content-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

/* Pricing Tour Overlay */
.tour-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    pointer-events: auto;
}

.tour-highlight {
    position: absolute;
    border: 4px solid var(--primary-color);
    border-radius: 12px;
    background: rgba(255, 107, 53, 0.15);
    box-shadow: 0 0 0 9999px rgba(0, 0, 0, 0.7), 0 0 40px rgba(255, 107, 53, 0.6), inset 0 0 20px rgba(255, 107, 53, 0.2);
    pointer-events: none;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 10001;
}

.tour-tooltip {
    position: absolute;
    background: var(--white);
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
    padding: 2rem;
    max-width: 400px;
    z-index: 10002;
    animation: tourTooltipSlideIn 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.tour-content {
    text-align: center;
}

.tour-text {
    font-size: 1.1rem;
    color: var(--text-dark);
    line-height: 1.6;
    margin-bottom: 1.5rem;
    font-weight: 500;
}

.tour-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.tour-actions .btn {
    min-width: 100px;
}

/* Highlighted element during tour */
.tour-target-highlight {
    position: relative;
    z-index: 9999 !important;
}

@media (max-width: 768px) {
    .tour-tooltip {
        max-width: 90%;
        left: 5% !important;
        right: 5% !important;
        top: auto !important;
        bottom: 20px !important;
        transform: none !important;
    }
    
    .tour-text {
        font-size: 1rem;
    }
}

/* ============================================
   SHOP STYLES
   ============================================ */

/* Shop Hero */
.shop-hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    padding: 4rem 0;
    text-align: center;
    color: var(--white);
}

.shop-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.shop-subtitle {
    font-size: 1.25rem;
    opacity: 0.95;
}

/* Shop Section */
.shop-section {
    padding: 3rem 0;
    min-height: 60vh;
    position: relative;
}

/* Cart Toggle Button (Desktop) */
.cart-toggle {
    position: fixed;
    top: 80px;
    right: 20px;
    background: var(--primary-color);
    color: var(--white);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: var(--shadow-lg);
    z-index: 999;
    transition: transform 0.3s ease, background 0.3s ease;
}

.cart-toggle:hover {
    transform: scale(1.1);
    background: var(--primary-dark);
}

.cart-toggle i {
    font-size: 1.5rem;
}

.cart-count {
    position: absolute;
    top: -5px;
    right: -5px;
    background: var(--accent-color);
    color: var(--white);
    border-radius: 50%;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 700;
}

/* Products Grid */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

/* Product Card */
.product-card {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.product-image {
    width: 100%;
    height: 300px;
    background: var(--background-light);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-info {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.product-name {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.product-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.product-card .add-to-cart-btn {
    margin-top: auto;
    width: 100%;
}

/* Empty State */
.shop-empty-state {
    text-align: center;
    padding: 4rem 2rem;
    color: var(--text-dark);
    display: none; /* Hidden by default, shown when no products */
}

.shop-empty-state h2 {
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.shop-empty-state p {
    color: var(--text-light);
    line-height: 1.8;
}

/* Cart Sidebar */
.cart-sidebar {
    position: fixed;
    top: 0;
    right: -400px;
    width: 400px;
    height: 100vh;
    background: var(--white);
    box-shadow: -4px 0 20px rgba(0, 0, 0, 0.15);
    z-index: 10000;
    transition: right 0.3s ease;
    display: flex;
    flex-direction: column;
}

.cart-sidebar.active {
    right: 0;
}

.cart-header {
    padding: 1.5rem;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cart-header h2 {
    font-size: 1.5rem;
    color: var(--text-dark);
}

.cart-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--text-dark);
    cursor: pointer;
    padding: 0.5rem;
    transition: color 0.3s ease;
}

.cart-close:hover {
    color: var(--primary-color);
}

.cart-items {
    flex: 1;
    overflow-y: auto;
    padding: 1rem;
}

.cart-empty {
    text-align: center;
    padding: 3rem 1rem;
    color: var(--text-light);
}

/* Cart Item */
.cart-item {
    display: flex;
    gap: 1rem;
    padding: 1rem;
    border-bottom: 1px solid var(--border-color);
    background: var(--white);
}

.cart-item-image {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 8px;
    background: var(--background-light);
}

.cart-item-info {
    flex: 1;
}

.cart-item-name {
    font-weight: 600;
    margin-bottom: 0.25rem;
    color: var(--text-dark);
}

.cart-item-price {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.cart-item-quantity {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.quantity-btn {
    background: var(--background-light);
    border: 1px solid var(--border-color);
    width: 30px;
    height: 30px;
    border-radius: 4px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease;
}

.quantity-btn:hover {
    background: var(--border-color);
}

.quantity-input {
    width: 50px;
    text-align: center;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    padding: 0.25rem;
}

.cart-item-remove {
    background: none;
    border: none;
    color: var(--accent-color);
    cursor: pointer;
    padding: 0.5rem;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.cart-item-remove:hover {
    color: var(--primary-dark);
}

.cart-footer {
    padding: 1.5rem;
    border-top: 1px solid var(--border-color);
    background: var(--background-light);
}

.cart-total {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.cart-checkout-btn {
    width: 100%;
}

.cart-checkout-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.cart-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 9999;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.cart-overlay.active {
    opacity: 1;
    pointer-events: all;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .shop-title {
        font-size: 2rem;
    }

    .shop-subtitle {
        font-size: 1rem;
    }

    .products-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
        gap: 1.5rem;
    }

    .cart-sidebar {
        width: 100%;
        right: -100%;
    }

    .cart-toggle {
        top: 70px;
        right: 15px;
        width: 50px;
        height: 50px;
    }
}

/* Checkout Modal */
.checkout-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10001;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.checkout-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 10000;
    display: none;
}

.checkout-modal-content {
    background: var(--white);
    border-radius: 12px;
    max-width: 600px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: var(--shadow-lg);
    z-index: 10002;
    position: relative;
}

.checkout-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    background: var(--white);
    z-index: 1;
}

.checkout-header h2 {
    margin: 0;
    color: var(--text-dark);
    font-size: 1.5rem;
}

.checkout-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--text-light);
    cursor: pointer;
    padding: 0.5rem;
    line-height: 1;
    transition: color 0.3s;
}

.checkout-close:hover {
    color: var(--primary-color);
}

.checkout-section {
    padding: 1.5rem;
}

.checkout-section h3 {
    margin: 0 0 1.5rem 0;
    color: var(--text-dark);
    font-size: 1.25rem;
}

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

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

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: #000000;
    font-weight: 600;
    font-size: 0.9rem;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.3s;
    background: var(--white);
    color: #000000;
}

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

.checkout-actions {
    padding: 1.5rem;
    border-top: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.checkout-message {
    padding: 1rem;
    border-radius: 6px;
    font-size: 0.9rem;
}

.checkout-message.success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.checkout-message.error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Promo code message styling */
#promo-message,
#promo-message-modal,
#promo-message-contact {
    color: #000000;
    font-weight: 500;
    min-height: 1.5rem;
    display: block;
}

#promo-message.success,
#promo-message-modal.success,
#promo-message-contact.success {
    color: #006400;
    background-color: #e6f7e6;
    padding: 0.5rem;
    border-radius: 4px;
    font-weight: 600;
}

#promo-message.error,
#promo-message-modal.error,
#promo-message-contact.error {
    color: #cc0000;
    background-color: #ffe6e6;
    padding: 0.5rem;
    border-radius: 4px;
    font-weight: 600;
}

.checkout-actions .btn {
    width: 100%;
}

/* Product Variant Selectors - Enhanced Styling */
.product-variants {
    margin: 1.25rem 0;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 1rem;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.variant-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    position: relative;
}

.variant-group label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-dark);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.variant-group label::before {
    content: '●';
    font-size: 0.6rem;
    color: var(--primary-color);
    opacity: 0.7;
}

.variant-select {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    color: var(--text-dark);
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23333' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 12px;
    padding-right: 2.5rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.variant-select:hover {
    border-color: var(--primary-color);
    background: linear-gradient(135deg, #ffffff 0%, #fff5f0 100%);
    box-shadow: 0 4px 12px rgba(255, 107, 53, 0.15);
    transform: translateY(-1px);
}

.variant-select:focus {
    outline: none;
    border-color: var(--primary-color);
    background: linear-gradient(135deg, #ffffff 0%, #fff5f0 100%);
    box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.2), 0 4px 12px rgba(255, 107, 53, 0.15);
    transform: translateY(-1px);
}

.variant-select:active {
    transform: translateY(0);
}

.variant-select option {
    padding: 0.75rem;
    background: #ffffff;
    color: var(--text-dark);
    font-weight: 500;
}

.variant-select:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    background: linear-gradient(135deg, #f5f5f5 0%, #e9e9e9 100%);
    border-color: #ddd;
    box-shadow: none;
}

.variant-select:disabled:hover {
    transform: none;
    border-color: #ddd;
    box-shadow: none;
}

.variant-selection-message {
    font-size: 0.85rem;
    min-height: 1.2rem;
    transition: all 0.3s ease;
    padding: 0.5rem 0.75rem;
    border-radius: 6px;
    font-weight: 500;
    margin-top: 0.25rem;
}

.add-to-cart-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    background: var(--text-light);
    transform: none !important;
    box-shadow: none !important;
}

/* Product Image Gallery */
.product-image-gallery {
    position: relative;
    margin-bottom: 1rem;
}

.product-image-main {
    position: relative;
    width: 100%;
    aspect-ratio: 1;
    overflow: hidden;
    border-radius: 8px;
    background: var(--background-light);
}

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

.image-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.9);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--text-dark);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    z-index: 2;
    opacity: 0;
}

.product-image-main:hover .image-nav-btn {
    opacity: 1;
}

.image-nav-btn:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-50%) scale(1.1);
}

.image-nav-prev {
    left: 10px;
}

.image-nav-next {
    right: 10px;
}

.image-indicator {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    z-index: 2;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.product-image-main:hover .image-indicator {
    opacity: 1;
}

.product-image-thumbnails {
    display: flex;
    gap: 0.5rem;
    margin-top: 0.75rem;
    justify-content: center;
    flex-wrap: wrap;
}

.thumbnail-image {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 6px;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.3s ease;
    opacity: 0.7;
}

.thumbnail-image:hover {
    opacity: 1;
    border-color: var(--primary-color);
    transform: scale(1.05);
}

.thumbnail-image.active {
    opacity: 1;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(255, 107, 53, 0.3);
}

/* Product Materials Description */
.product-materials {
    font-size: 0.85rem;
    color: var(--text-light);
    line-height: 1.5;
    margin: 0.75rem 0;
    padding: 0.75rem;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.02) 100%);
    border-radius: 8px;
    font-style: italic;
    opacity: 0.9;
}

.checkout-actions .btn-secondary {
    background: var(--background-light);
    color: var(--text-dark);
}

.checkout-actions .btn-secondary:hover {
    background: var(--border-color);
}

@media (max-width: 768px) {
    .checkout-modal-content {
        max-width: 100%;
        max-height: 95vh;
    }

    .checkout-header h2 {
        font-size: 1.25rem;
    }

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