/* ==========================================================================
   Aethelgard Luxury Watch Landing Page Stylesheet
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Design System & CSS Variables
   -------------------------------------------------------------------------- */
:root {
    /* Color Palette */
    --color-bg: #070709;
    --color-bg-elevated: #111115;
    --color-bg-glass: rgba(17, 17, 21, 0.75);
    
    --color-primary: #d4af37; /* Gold Metallic */
    --color-primary-light: #f3e5ab; /* Soft Champagne */
    --color-primary-dark: #aa8412;
    
    --color-text-main: #f4f4f6;
    --color-text-muted: #a1a1aa;
    --color-border: rgba(212, 175, 55, 0.15);
    --color-border-hover: rgba(212, 175, 55, 0.4);
    
    /* Gradients */
    --gradient-gold: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-light) 100%);
    --gradient-dark-radial: radial-gradient(circle at 50% 50%, #15151c 0%, var(--color-bg) 100%);
    
    /* Fonts */
    --font-serif: 'Playfair Display', Georgia, serif;
    --font-sans: 'Outfit', 'Inter', system-ui, -apple-system, sans-serif;
    
    /* Transitions */
    --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-fast: all 0.2s ease;
    
    /* Layout */
    --container-max-width: 1200px;
    --header-height: 80px;
}

/* --------------------------------------------------------------------------
   2. Reset & Global Styles
   -------------------------------------------------------------------------- */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    background-color: var(--color-bg);
    color: var(--color-text-main);
    overflow-x: hidden;
}

body {
    font-family: var(--font-sans);
    line-height: 1.6;
    background: var(--gradient-dark-radial);
    min-height: 100vh;
    overflow-x: hidden;
}

.container {
    width: 100%;
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 1.5rem;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

/* --------------------------------------------------------------------------
   3. Typography & Section Headers
   -------------------------------------------------------------------------- */
h1, h2, h3, h4 {
    font-family: var(--font-serif);
    font-weight: 600;
    letter-spacing: -0.01em;
}

p {
    color: var(--color-text-muted);
    font-weight: 300;
}

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

.section-tag {
    font-family: var(--font-sans);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--color-primary);
    font-weight: 600;
    display: block;
    margin-bottom: 0.75rem;
}

.section-title {
    font-size: 2.75rem;
    margin-bottom: 1rem;
    background: linear-gradient(to right, #ffffff, #e4e4e7);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section-subtitle {
    max-width: 600px;
    margin: 0 auto;
    font-size: 1.1rem;
}

/* --------------------------------------------------------------------------
   4. Buttons & UI Elements
   -------------------------------------------------------------------------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.85rem 2rem;
    font-family: var(--font-sans);
    font-size: 0.95rem;
    font-weight: 500;
    border-radius: 4px;
    border: none;
    cursor: pointer;
    transition: var(--transition-smooth);
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.btn-primary {
    background: var(--gradient-gold);
    color: #000;
    box-shadow: 0 4px 20px rgba(212, 175, 55, 0.2);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(212, 175, 55, 0.4);
}

.btn-secondary {
    background: transparent;
    color: var(--color-text-main);
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--color-primary);
    transform: translateY(-2px);
}

.btn-buy {
    background: rgba(255, 255, 255, 0.03);
    color: var(--color-primary-light);
    border: 1px solid var(--color-border);
}

.btn-buy:hover {
    background: var(--gradient-gold);
    color: #000;
    border-color: transparent;
    transform: translateY(-2px);
}

.btn-block {
    width: 100%;
}

/* --------------------------------------------------------------------------
   5. Header / Navbar
   -------------------------------------------------------------------------- */
#main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    display: flex;
    align-items: center;
    z-index: 100;
    transition: var(--transition-smooth);
    border-bottom: 1px solid transparent;
}

#main-header.scrolled {
    height: 70px;
    background: var(--color-bg-glass);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 0.25em;
    color: var(--color-text-main);
    transition: var(--transition-fast);
}

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

.nav-menu ul {
    display: flex;
    list-style: none;
    gap: 2.5rem;
}

.nav-link {
    font-family: var(--font-sans);
    font-size: 0.85rem;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--color-text-muted);
    transition: var(--transition-fast);
    position: relative;
    padding: 0.5rem 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background-color: var(--color-primary);
    transition: var(--transition-fast);
}

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

.nav-link:hover::after {
    width: 100%;
}

.cart-toggle-btn {
    background: transparent;
    border: none;
    color: var(--color-text-main);
    cursor: pointer;
    position: relative;
    padding: 0.5rem;
    transition: var(--transition-fast);
}

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

.cart-count {
    position: absolute;
    top: -2px;
    right: -2px;
    background: var(--color-primary);
    color: #000;
    font-family: var(--font-sans);
    font-size: 0.7rem;
    font-weight: 700;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* --------------------------------------------------------------------------
   6. Hero Section
   -------------------------------------------------------------------------- */
.hero {
    position: relative;
    padding-top: calc(var(--header-height) + 4rem);
    padding-bottom: 6rem;
    min-height: 90vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-glow {
    position: absolute;
    top: 20%;
    right: 10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.05) 0%, transparent 70%);
    pointer-events: none;
}

.hero-container {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 4rem;
    align-items: center;
}

.hero-content {
    z-index: 2;
}

.hero-badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    border: 1px solid var(--color-border);
    background: rgba(212, 175, 55, 0.03);
    color: var(--color-primary-light);
    font-size: 0.8rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 2rem;
    border-radius: 50px;
}

.hero-title {
    font-size: 4.5rem;
    line-height: 1.05;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #ffffff 30%, #a1a1aa 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    max-width: 520px;
}

.hero-actions {
    display: flex;
    gap: 1.5rem;
}

.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.image-wrapper {
    position: relative;
    border-radius: 50%;
    padding: 1rem;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.1) 0%, transparent 70%);
}

.hero-img {
    width: 420px;
    height: 420px;
    object-fit: cover;
    border-radius: 12px;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.6));
    animation: floatWatch 6s ease-in-out infinite;
}

.floating-badge {
    position: absolute;
    bottom: 10%;
    left: -5%;
    background: var(--color-bg-glass);
    border: 1px solid var(--color-border);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 1rem;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 1rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    animation: floatingBadgeMove 4s ease-in-out infinite alternate;
}

.badge-icon {
    background: rgba(212, 175, 55, 0.1);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.badge-title {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--color-text-main);
}

.badge-desc {
    font-size: 0.75rem;
    color: var(--color-text-muted);
}

/* Animations */
@keyframes floatWatch {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

@keyframes floatingBadgeMove {
    0% { transform: translateY(0) translateX(0); }
    100% { transform: translateY(-10px) translateX(5px); }
}

/* --------------------------------------------------------------------------
   7. Features Section
   -------------------------------------------------------------------------- */
.features {
    padding: 8rem 0;
    border-top: 1px solid rgba(255,255,255,0.05);
}

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

.feature-card {
    background: var(--color-bg-elevated);
    border: 1px solid rgba(255, 255, 255, 0.03);
    padding: 3rem 2rem;
    border-radius: 6px;
    transition: var(--transition-smooth);
}

.feature-card:hover {
    border-color: var(--color-border-hover);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.03);
}

.feature-icon {
    color: var(--color-primary);
    margin-bottom: 1.5rem;
}

.feature-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--color-text-main);
}

.feature-card p {
    font-size: 0.95rem;
}

/* --------------------------------------------------------------------------
   8. Collection Section (Products)
   -------------------------------------------------------------------------- */
.collection {
    padding: 8rem 0;
    background: rgba(17, 17, 21, 0.3);
}

.collection-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
}

.product-card {
    background: var(--color-bg-elevated);
    border: 1px solid rgba(255, 255, 255, 0.03);
    border-radius: 8px;
    overflow: hidden;
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-8px);
    border-color: var(--color-border-hover);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.product-card.featured {
    border: 1px solid var(--color-border);
    transform: scale(1.03);
    box-shadow: 0 15px 35px rgba(212, 175, 55, 0.05);
}

.product-card.featured:hover {
    transform: scale(1.03) translateY(-8px);
    border-color: var(--color-primary);
}

.product-img-container {
    position: relative;
    overflow: hidden;
    aspect-ratio: 1;
    background: #000;
}

.product-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
}

.product-card:hover .product-img {
    transform: scale(1.08);
}

.product-badge {
    position: absolute;
    top: 1.25rem;
    left: 1.25rem;
    font-family: var(--font-sans);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 0.4rem 0.8rem;
    border-radius: 4px;
    background: #000;
    color: var(--color-text-main);
    border: 1px solid rgba(255,255,255,0.2);
}

.product-badge.accent {
    background: var(--gradient-gold);
    color: #000;
    border: none;
}

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

.product-name {
    font-size: 1.6rem;
    margin-bottom: 0.75rem;
}

.product-desc {
    font-size: 0.9rem;
    margin-bottom: 1.75rem;
    flex-grow: 1;
}

.product-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.75rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 1.25rem;
}

.product-spec {
    font-size: 0.85rem;
    color: var(--color-text-muted);
}

.product-price {
    font-family: var(--font-sans);
    font-weight: 600;
    font-size: 1.35rem;
    color: var(--color-primary-light);
}

/* --------------------------------------------------------------------------
   9. Craftsmanship Section
   -------------------------------------------------------------------------- */
.craftsmanship {
    padding: 8rem 0;
}

.craftsmanship-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    align-items: center;
}

.craft-visual {
    position: relative;
}

.craft-img-stack {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
}

.craft-img {
    border-radius: 8px;
    width: 100%;
    height: 480px;
    object-fit: cover;
}

.craft-content .section-title {
    text-align: left;
    margin-bottom: 1.5rem;
}

.craft-content p {
    font-size: 1.1rem;
    margin-bottom: 3rem;
}

.timeline-bullets {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.bullet-item {
    display: flex;
    gap: 1.5rem;
}

.bullet-num {
    font-family: var(--font-sans);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--color-primary);
    border: 1px solid var(--color-border);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    background: rgba(212, 175, 55, 0.03);
}

.bullet-text h4 {
    font-size: 1.2rem;
    margin-bottom: 0.35rem;
    color: var(--color-text-main);
}

.bullet-text p {
    font-size: 0.95rem;
    margin-bottom: 0;
}

/* --------------------------------------------------------------------------
   10. Testimonials
   -------------------------------------------------------------------------- */
.testimonials {
    padding: 8rem 0;
    background: rgba(17, 17, 21, 0.2);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
}

.testimonial-card {
    background: var(--color-bg-elevated);
    border: 1px solid rgba(255, 255, 255, 0.02);
    padding: 3rem;
    border-radius: 6px;
    position: relative;
}

.stars {
    color: var(--color-primary);
    letter-spacing: 0.1em;
    margin-bottom: 1.5rem;
}

.quote {
    font-family: var(--font-serif);
    font-style: italic;
    font-size: 1.15rem;
    line-height: 1.7;
    margin-bottom: 2rem;
    color: var(--color-text-main);
}

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

.user-avatar-placeholder {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: rgba(212, 175, 55, 0.1);
    color: var(--color-primary-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.9rem;
    font-family: var(--font-sans);
}

.user-name {
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--color-text-main);
}

.user-role {
    font-size: 0.8rem;
    color: var(--color-text-muted);
}

/* --------------------------------------------------------------------------
   11. Cart Drawer (Shopping Experience)
   -------------------------------------------------------------------------- */
.cart-drawer {
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    z-index: 200;
    pointer-events: none;
    display: flex;
    justify-content: flex-end;
}

.cart-drawer.open {
    pointer-events: auto;
}

.cart-drawer-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    opacity: 0;
    transition: opacity 0.5s ease;
}

.cart-drawer.open .cart-drawer-overlay {
    opacity: 1;
}

.cart-drawer-content {
    position: relative;
    width: 100%;
    max-width: 500px;
    height: 100%;
    background: var(--color-bg-elevated);
    box-shadow: -10px 0 40px rgba(0,0,0,0.5);
    display: flex;
    flex-direction: column;
    transform: translateX(100%);
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    border-left: 1px solid rgba(255,255,255,0.05);
}

.cart-drawer.open .cart-drawer-content {
    transform: translateX(0);
}

.cart-drawer-header {
    padding: 1.5rem 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cart-drawer-header h3 {
    font-size: 1.4rem;
}

.cart-close-btn {
    background: transparent;
    border: none;
    color: var(--color-text-muted);
    cursor: pointer;
    transition: var(--transition-fast);
    padding: 0.5rem;
}

.cart-close-btn:hover {
    color: var(--color-text-main);
    transform: rotate(90deg);
}

.cart-drawer-body {
    padding: 2rem;
    overflow-y: auto;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

/* Selected Product Item styling */
.selected-product-item {
    display: flex;
    gap: 1.5rem;
    align-items: center;
    background: rgba(255, 255, 255, 0.02);
    padding: 1rem;
    border-radius: 6px;
    border: 1px solid rgba(255,255,255,0.03);
}

.cart-item-img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 4px;
    border: 1px solid rgba(255,255,255,0.05);
}

.cart-item-details {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.cart-item-title {
    font-size: 1.15rem;
    margin-bottom: 0.25rem;
}

.cart-item-desc {
    font-size: 0.8rem;
    color: var(--color-text-muted);
    margin-bottom: 0.5rem;
}

.cart-item-price {
    font-family: var(--font-sans);
    font-weight: 600;
    color: var(--color-primary-light);
}

.cart-divider {
    height: 1px;
    background: rgba(255, 255, 255, 0.05);
    width: 100%;
}

/* Customizations */
.cart-customizations h4 {
    font-family: var(--font-sans);
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1.25rem;
    color: var(--color-text-main);
}

.custom-group {
    margin-bottom: 1.75rem;
}

.custom-label {
    display: block;
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 0.75rem;
    color: var(--color-text-muted);
}

/* Options Grid / Radio Tiles */
.options-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.75rem;
}

.option-tile {
    display: flex;
    position: relative;
    cursor: pointer;
}

.option-tile input {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.tile-content {
    width: 100%;
    padding: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
    background: rgba(255,255,255,0.01);
    border-radius: 6px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition-fast);
}

.option-tile:hover .tile-content {
    border-color: rgba(212, 175, 55, 0.2);
    background: rgba(255,255,255,0.02);
}

.option-tile input:checked + .tile-content {
    border-color: var(--color-primary);
    background: rgba(212, 175, 55, 0.03);
}

.tile-title {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--color-text-main);
}

.tile-price {
    font-size: 0.85rem;
    color: var(--color-primary-light);
    font-weight: 600;
}

/* Laser input */
.form-input {
    width: 100%;
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 4px;
    padding: 0.85rem 1rem;
    color: var(--color-text-main);
    font-family: var(--font-sans);
    font-size: 0.9rem;
    transition: var(--transition-fast);
}

.form-input:focus {
    outline: none;
    border-color: var(--color-primary);
    background: rgba(255,255,255,0.04);
}

.input-tip {
    font-size: 0.75rem;
    color: var(--color-text-muted);
    display: block;
    margin-top: 0.5rem;
}

/* Custom Checkbox */
.checkbox-container {
    display: flex;
    position: relative;
    cursor: pointer;
    padding-left: 2.25rem;
    user-select: none;
}

.checkbox-container input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.checkmark {
    position: absolute;
    top: 3px;
    left: 0;
    height: 20px;
    width: 20px;
    background-color: rgba(255,255,255,0.02);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    transition: var(--transition-fast);
}

.checkbox-container:hover input ~ .checkmark {
    border-color: rgba(212, 175, 55, 0.3);
}

.checkbox-container input:checked ~ .checkmark {
    background-color: var(--color-primary);
    border-color: transparent;
}

.checkmark:after {
    content: "";
    position: absolute;
    display: none;
}

.checkbox-container input:checked ~ .checkmark:after {
    display: block;
}

.checkbox-container .checkmark:after {
    left: 7px;
    top: 3px;
    width: 5px;
    height: 10px;
    border: solid #000;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.checkbox-label {
    display: flex;
    flex-direction: column;
}

.checkbox-label strong {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--color-text-main);
    margin-bottom: 0.15rem;
}

.checkbox-desc {
    font-size: 0.8rem;
    color: var(--color-text-muted);
    line-height: 1.4;
}

/* Drawer Footer */
.cart-drawer-footer {
    padding: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    background: rgba(0,0,0,0.2);
}

.price-breakdown {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.breakdown-row {
    display: flex;
    justify-content: space-between;
    font-size: 0.9rem;
    color: var(--color-text-muted);
}

.breakdown-row.total {
    color: var(--color-text-main);
    font-size: 1.2rem;
    font-weight: 600;
}

.final-total {
    font-family: var(--font-sans);
    color: var(--color-primary);
}

.secure-checkout-text {
    font-size: 0.75rem;
    text-align: center;
    margin-top: 1rem;
    color: var(--color-text-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
}

/* --------------------------------------------------------------------------
   12. Success Modal
   -------------------------------------------------------------------------- */
.success-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 300;
    display: none;
    align-items: center;
    justify-content: center;
}

.success-modal.open {
    display: flex;
}

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

.modal-content {
    position: relative;
    width: 90%;
    max-width: 500px;
    background: var(--color-bg-elevated);
    border: 1px solid var(--color-border);
    padding: 3rem 2.5rem;
    border-radius: 12px;
    text-align: center;
    z-index: 10;
    box-shadow: 0 30px 60px rgba(0,0,0,0.6);
    transform: scale(0.9);
    opacity: 0;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s ease;
}

.success-modal.open .modal-content {
    transform: scale(1);
    opacity: 1;
}

.success-icon-wrapper {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: rgba(212, 175, 55, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
    border: 1px solid rgba(212, 175, 55, 0.2);
}

.modal-content h2 {
    font-size: 2.2rem;
    margin-bottom: 1rem;
    color: var(--color-text-main);
}

.modal-content p {
    font-size: 1rem;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.order-summary-box {
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 6px;
    padding: 1.25rem 1.5rem;
    margin-bottom: 2rem;
    text-align: left;
}

.summary-line {
    display: flex;
    justify-content: space-between;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    color: var(--color-text-muted);
}

.summary-line:last-child {
    margin-bottom: 0;
    padding-top: 0.5rem;
    border-top: 1px solid rgba(255,255,255,0.05);
}

.summary-line strong {
    color: var(--color-text-main);
}

.gold-text {
    color: var(--color-primary) !important;
    font-family: var(--font-sans);
}

/* --------------------------------------------------------------------------
   13. Footer
   -------------------------------------------------------------------------- */
footer {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    background: #040405;
    padding: 5rem 0 3rem;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-brand {
    max-width: 320px;
}

.footer-brand .logo {
    margin-bottom: 1.25rem;
}

.footer-brand p {
    font-size: 0.9rem;
}

.footer-links {
    display: flex;
    gap: 5rem;
}

.footer-links h4 {
    font-family: var(--font-sans);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-text-main);
    margin-bottom: 1.5rem;
}

.footer-links ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-links a {
    font-size: 0.9rem;
    color: var(--color-text-muted);
    transition: var(--transition-fast);
}

.footer-links a:hover {
    color: var(--color-primary);
}

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

.footer-bottom p {
    font-size: 0.8rem;
}

/* --------------------------------------------------------------------------
   14. Responsiveness / Media Queries
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
    .hero-title {
        font-size: 3.5rem;
    }
    .hero-container {
        gap: 2rem;
    }
    .hero-img {
        width: 340px;
        height: 340px;
    }
    .collection-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
    .product-card.featured {
        transform: scale(1);
    }
    .product-card.featured:hover {
        transform: translateY(-8px);
    }
    .craftsmanship-container {
        grid-template-columns: 1fr;
        gap: 4rem;
    }
    .craft-img {
        height: 380px;
    }
    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    html {
        font-size: 15px;
    }
    .header-container {
        padding: 0 1.5rem;
    }
    .nav-menu {
        display: none; /* Mobile nav could be built, keeping simple for elegance */
    }
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 3rem;
    }
    .hero-subtitle {
        margin-left: auto;
        margin-right: auto;
    }
    .hero-actions {
        justify-content: center;
    }
    .floating-badge {
        left: 50%;
        transform: translateX(-50%);
        bottom: -20px;
        animation: none;
    }
    .collection-grid {
        grid-template-columns: 1fr;
        max-width: 450px;
        margin: 0 auto;
    }
    .footer-container {
        flex-direction: column;
        gap: 3rem;
    }
    .footer-links {
        flex-direction: column;
        gap: 2rem;
    }
}

/* --------------------------------------------------------------------------
   15. Scroll Reveal & Base Animation Utilities
   -------------------------------------------------------------------------- */
.animate-fade-in {
    opacity: 0;
    animation: fadeIn 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.animate-slide-up {
    opacity: 0;
    transform: translateY(30px);
    animation: slideUp 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.animate-slide-up-delay {
    opacity: 0;
    transform: translateY(30px);
    animation: slideUp 1.2s cubic-bezier(0.16, 1, 0.3, 1) 0.2s forwards;
}

.animate-slide-up-delay-2 {
    opacity: 0;
    transform: translateY(30px);
    animation: slideUp 1.2s cubic-bezier(0.16, 1, 0.3, 1) 0.4s forwards;
}

.animate-scale-up {
    opacity: 0;
    transform: scale(0.9);
    animation: scaleUp 1.4s cubic-bezier(0.16, 1, 0.3, 1) 0.2s forwards;
}

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

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

@keyframes scaleUp {
    to {
        opacity: 1;
        transform: scale(1);
    }
}
