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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #ffffff;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Background Gradients */
.bg-gradient {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #000000 100%);
    min-height: 100vh;
}

/* Header Styles */
.header {
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(251, 191, 36, 0.2);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 32px 0;
}

.brand {
    display: flex;
    align-items: center;
    gap: 16px;
}

.brand-icon {
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    padding: 12px;
    border-radius: 12px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
}

.brand-icon.small {
    padding: 8px;
    border-radius: 8px;
}

.crown-icon {
    width: 40px;
    height: 40px;
    color: #000000;
}

.brand-icon.small .crown-icon {
    width: 24px;
    height: 24px;
}

.brand-title {
    font-size: 32px;
    font-weight: 700;
    background: linear-gradient(135deg, #fbbf24 0%, #fef3c7 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: 2px;
}

.brand-subtitle {
    color: #d1d5db;
    font-size: 14px;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-top: -4px;
}

.header-features {
    display: flex;
    gap: 32px;
}

.feature {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #d1d5db;
}

.feature-icon {
    width: 20px;
    height: 20px;
    color: #fbbf24;
}

.feature span {
    font-size: 14px;
}

/* Hero Section */
.hero {
    position: relative;
    padding: 80px 0;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(251, 191, 36, 0.05) 0%, transparent 100%);
}

.hero-content {
    text-align: center;
    position: relative;
    z-index: 10;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(251, 191, 36, 0.1);
    border: 1px solid rgba(251, 191, 36, 0.2);
    border-radius: 50px;
    padding: 8px 24px;
    margin-bottom: 32px;
}

.badge-icon {
    width: 16px;
    height: 16px;
    color: #fbbf24;
}

.hero-badge span {
    color: #fbbf24;
    font-size: 14px;
    font-weight: 500;
}

.hero-title {
    font-size: clamp(48px, 8vw, 112px);
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 24px;
    line-height: 1.1;
}

.hero-title-accent {
    display: block;
    background: linear-gradient(135deg, #fbbf24 0%, #fef3c7 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-description {
    font-size: 20px;
    color: #d1d5db;
    margin-bottom: 48px;
    max-width: 768px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 64px;
    flex-wrap: wrap;
    color: #9ca3af;
}

.stat {
    text-align: center;
}

.stat-number {
    font-size: 32px;
    font-weight: 700;
    color: #ffffff;
}

.stat-label {
    font-size: 14px;
}

/* Main Content */
.main-content {
    padding: 80px 0;
}

.customization-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 400px;
    gap: 32px;
}

/* Cards */
.watch-display-card,
.customization-card,
.price-card {
    background: linear-gradient(135deg, rgba(55, 65, 81, 0.5) 0%, rgba(17, 24, 39, 0.5) 100%);
    backdrop-filter: blur(20px);
    border-radius: 24px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(55, 65, 81, 0.5);
    padding: 32px;
}

.price-card {
    position: sticky;
    top: 32px;
}

.card-header {
    text-align: center;
    margin-bottom: 24px;
}

.card-title {
    font-size: 24px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 8px;
}

.card-subtitle {
    color: #9ca3af;
}

/* Watch Display */
.watch-display {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 32px;
}

.watch-container {
    position: relative;
}

.watch-strap {
    width: 80px;
    height: 384px;
    border-radius: 50px;
    position: absolute;
    top: -48px;
    left: 50%;
    transform: translateX(-50%);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
    transition: all 0.5s ease;
}

.watch-case {
    width: 320px;
    height: 320px;
    border-radius: 50%;
    padding: 24px;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.4);
    border: 4px solid;
    position: relative;
    transition: all 0.5s ease;
}

.watch-face {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    position: relative;
    overflow: hidden;
    transition: all 0.5s ease;
    border: 4px solid rgba(255, 255, 255, 0.3);
    box-shadow: inset 0 0 30px rgba(0, 0, 0, 0.3);
}

.watch-markers {
    position: absolute;
    inset: 0;
}

.marker {
    position: absolute;
    transform: translate(-50%, -50%);
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.marker.roman {
    font-size: 18px;
}

.marker.arabic {
    font-size: 18px;
}

.marker.indices {
    width: 6px;
    height: 24px;
    border-radius: 3px;
}

.marker.indices.major {
    width: 6px;
    height: 24px;
}

.marker.indices.minor {
    width: 4px;
    height: 16px;
}

.marker.diamonds {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    box-shadow: 0 0 8px rgba(255, 255, 255, 0.8);
    filter: brightness(1.5);
}

.marker.dots {
    border-radius: 50%;
}

.marker.dots.major {
    width: 10px;
    height: 10px;
    box-shadow: 0 0 4px currentColor;
}

.marker.dots.minor {
    width: 6px;
    height: 6px;
}

.marker.lines {
    border-radius: 2px;
}

.marker.lines.major {
    width: 4px;
    height: 20px;
}

.marker.lines.minor {
    width: 2px;
    height: 12px;
}

.watch-hands {
    position: absolute;
    inset: 0;
}

.watch-hand {
    position: absolute;
    top: 50%;
    left: 50%;
    transform-origin: bottom center;
    border-radius: 50px;
    box-shadow: 0 0 8px currentColor;
    transition: all 0.7s ease;
}

.hour-hand {
    width: 4px;
    height: 80px;
    transform: translate(-50%, -100%) rotate(45deg);
}

.minute-hand {
    width: 3px;
    height: 110px;
    transform: translate(-50%, -100%) rotate(120deg);
}

.second-hand {
    width: 1px;
    height: 120px;
    background-color: #ef4444 !important;
    transform: translate(-50%, -100%) rotate(270deg);
    box-shadow: 0 0 6px #ef4444;
}

.center-dot {
    position: absolute;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 30;
    box-shadow: 0 0 10px currentColor;
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.crown {
    position: absolute;
    width: 24px;
    height: 32px;
    border-radius: 12px 0 0 12px;
    right: -12px;
    top: 50%;
    transform: translateY(-50%);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    border: 2px solid rgba(255, 255, 255, 0.1);
}

.watch-details {
    text-align: center;
    margin-top: 32px;
}

.watch-title {
    font-size: 32px;
    font-weight: 700;
    background: linear-gradient(135deg, #fbbf24 0%, #fef3c7 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 12px;
}

.watch-specs {
    color: #d1d5db;
    margin-bottom: 8px;
}

.watch-features {
    display: flex;
    justify-content: center;
    gap: 16px;
    font-size: 12px;
    color: #9ca3af;
    flex-wrap: wrap;
}

/* Tabs */
.tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 24px;
}

.tab {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 12px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 1px solid #4b5563;
    background: rgba(55, 65, 81, 0.5);
    color: #d1d5db;
    cursor: pointer;
}

.tab:hover {
    background: rgba(75, 85, 99, 0.5);
    color: #ffffff;
}

.tab.active {
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    color: #000000;
    box-shadow: 0 10px 25px rgba(251, 191, 36, 0.3);
}

.tab-icon {
    width: 16px;
    height: 16px;
}

/* Options Grid */
.options-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 16px;
}

.option {
    padding: 24px;
    border-radius: 16px;
    border: 2px solid #4b5563;
    transition: all 0.3s ease;
    background: rgba(31, 41, 55, 0.3);
    backdrop-filter: blur(10px);
    cursor: pointer;
    text-align: center;
}

.option:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
    border-color: #6b7280;
}

.option.selected {
    border-color: #fbbf24;
    box-shadow: 0 10px 25px rgba(251, 191, 36, 0.2);
    background: linear-gradient(135deg, rgba(251, 191, 36, 0.1) 0%, rgba(245, 158, 11, 0.05) 100%);
}

.option-preview {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    margin: 0 auto 16px;
    border: 2px solid #4b5563;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.option:hover .option-preview {
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
}

.option-name {
    font-size: 14px;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 4px;
}

.option-material {
    font-size: 12px;
    color: #9ca3af;
    margin-bottom: 4px;
}

.option-price {
    font-size: 12px;
    font-weight: 500;
    color: #fbbf24;
}

/* Price Display */
.price-breakdown {
    margin-bottom: 32px;
}

.price-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid rgba(55, 65, 81, 0.5);
    font-size: 14px;
}

.price-item-name {
    color: #d1d5db;
}

.price-item-value {
    font-weight: 600;
    color: #fbbf24;
}

.price-total {
    background: linear-gradient(135deg, rgba(251, 191, 36, 0.1) 0%, rgba(245, 158, 11, 0.1) 100%);
    border: 1px solid rgba(251, 191, 36, 0.2);
    border-radius: 16px;
    padding: 24px;
    margin-bottom: 32px;
}

.price-total-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.price-total-label {
    font-size: 24px;
    font-weight: 700;
    color: #ffffff;
}

.price-total-value {
    font-size: 32px;
    font-weight: 700;
    background: linear-gradient(135deg, #fbbf24 0%, #fef3c7 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.price-note {
    font-size: 12px;
    color: #9ca3af;
    margin-top: 8px;
}

.action-buttons {
    margin-bottom: 32px;
}

.btn-primary {
    width: 100%;
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    color: #000000;
    padding: 16px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 18px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 10px 25px rgba(251, 191, 36, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 12px;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    box-shadow: 0 15px 35px rgba(251, 191, 36, 0.5);
    transform: scale(1.02);
}

.secondary-buttons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.btn-secondary {
    background: rgba(55, 65, 81, 0.5);
    color: #d1d5db;
    padding: 12px;
    border-radius: 12px;
    font-weight: 600;
    border: 1px solid #4b5563;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-secondary:hover {
    background: rgba(75, 85, 99, 0.5);
    color: #ffffff;
}

.btn-icon {
    width: 16px;
    height: 16px;
}

.guarantees {
    margin-bottom: 24px;
}

.guarantee {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
    font-size: 12px;
    color: #9ca3af;
}

.guarantee-icon {
    width: 16px;
    height: 16px;
    color: #fbbf24;
}

.delivery-info {
    padding-top: 24px;
    border-top: 1px solid rgba(55, 65, 81, 0.5);
    text-align: center;
}

.delivery-info p {
    font-size: 12px;
    color: #6b7280;
    margin-bottom: 4px;
}

/* Footer */
.footer {
    background: #000000;
    border-top: 1px solid #374151;
    padding: 64px 0;
}

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

.footer-brand .brand-title {
    font-size: 24px;
}

.footer-description {
    color: #9ca3af;
    margin: 24px 0;
    line-height: 1.7;
}

.footer-features {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
}

.footer-feature {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #6b7280;
}

.footer-title {
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 24px;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: #9ca3af;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #fbbf24;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 32px;
    border-top: 1px solid #374151;
    flex-wrap: wrap;
    gap: 16px;
}

.footer-copyright {
    color: #6b7280;
    font-size: 14px;
}

.footer-legal {
    display: flex;
    gap: 32px;
}

.footer-legal a {
    color: #6b7280;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

.footer-legal a:hover {
    color: #fbbf24;
}

/* LOGIN MODAL UPGRADE */
.login-modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 999;
}

/* Glass Card */
.login-box {
  background: linear-gradient(135deg, rgba(31,41,55,0.9), rgba(17,24,39,0.95));
  border: 1px solid rgba(251,191,36,0.2);
  border-radius: 20px;
  padding: 40px;
  width: 380px;
  text-align: center;
  box-shadow: 0 25px 60px rgba(0,0,0,0.7);
  animation: fadeInScale 0.3s ease;
}

/* Title */
.login-box h2 {
  color: #fbbf24;
  margin-bottom: 24px;
  font-size: 26px;
  font-weight: 700;
}

/* Inputs */
.login-box input {
  width: 100%;
  padding: 12px 14px;
  margin-bottom: 16px;
  border-radius: 10px;
  border: 1px solid #4b5563;
  background: rgba(0,0,0,0.4);
  color: #fff;
  font-size: 14px;
  outline: none;
  transition: 0.3s;
}

.login-box input:focus {
  border-color: #fbbf24;
  box-shadow: 0 0 10px rgba(251,191,36,0.3);
}

/* Buttons container */
.login-actions {
  display: flex;
  gap: 12px;
  margin-top: 10px;
}

/* Login button (primary) */
.login-box button:first-child {
  flex: 1;
  background: linear-gradient(135deg, #fbbf24, #f59e0b);
  border: none;
  padding: 12px;
  border-radius: 10px;
  font-weight: 700;
  color: #000;
  cursor: pointer;
  transition: 0.3s;
}

.login-box button:first-child:hover {
  transform: scale(1.03);
  box-shadow: 0 10px 20px rgba(251,191,36,0.4);
}

/* Cancel button */
.login-box button:last-child {
  flex: 1;
  background: rgba(55,65,81,0.6);
  border: 1px solid #4b5563;
  color: #ddd;
  padding: 12px;
  border-radius: 10px;
  cursor: pointer;
  transition: 0.3s;
}

.login-box button:last-child:hover {
  background: rgba(75,85,99,0.7);
  color: #fff;
}

/* Animation */
@keyframes fadeInScale {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.auth-message {
  font-size: 13px;
  color: #f87171;
  margin-bottom: 10px;
}

.register-link {
  margin-top: 15px;
  font-size: 13px;
  color: #9ca3af;
}

.register-link span {
  color: #fbbf24;
  cursor: pointer;
}

.hidden {
  display: none !important;
}
/* Responsive Design */
@media (max-width: 1200px) {
    .customization-grid {
        grid-template-columns: 1fr 1fr;
        gap: 24px;
    }
    
    .price-section {
        grid-column: 1 / -1;
    }
}

@media (max-width: 768px) {
    .header-features {
        display: none;
    }
    
    .hero-stats {
        gap: 32px;
    }
    
    .customization-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .watch-case {
        width: 280px;
        height: 280px;
    }
    
    .tabs {
        justify-content: center;
    }
    
    .tab {
        flex: 1;
        min-width: 0;
        justify-content: center;
    }
    
    .tab span {
        display: none;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }
    
    .watch-display-card,
    .customization-card,
    .price-card {
        padding: 24px;
    }
    
    .options-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}