/* 
   WatchesMarketDubai.com - Custom Luxury Theme
   Designed for domain acquisition marketing.
   Clean, premium, responsive styling with smooth micro-interactions.
*/

:root {
    --bg-color: #0F1115;
    --primary-gold: #C8A45D;
    --primary-gold-rgb: 200, 164, 93;
    --gold-light: #E3C78F;
    --white: #FFFFFF;
    --white-rgb: 255, 255, 255;
    --text-muted: #B5B5B5;
    --card-bg: #1A1C22;
    --card-bg-rgb: 26, 28, 34;
    --border-color: rgba(255, 255, 255, 0.08);
    --border-color-hover: rgba(200, 164, 93, 0.25);
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Inter', sans-serif;
    --transition-smooth: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-quick: all 0.25s ease;
    --header-height: 80px;
    --border-radius: 12px;
    --container-max-width: 1200px;
}

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

html {
    scroll-behavior: smooth;
    background-color: var(--bg-color);
    color: var(--white);
    font-family: var(--font-body);
    -webkit-font-smoothing: antialiased;
}

body {
    background-color: var(--bg-color);
    overflow-x: hidden;
    line-height: 1.6;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 500;
    letter-spacing: -0.01em;
    color: var(--white);
}

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

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition-quick);
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: var(--bg-color);
}
::-webkit-scrollbar-thumb {
    background: rgba(200, 164, 93, 0.3);
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--primary-gold);
}

/* Utility Classes */
.container {
    width: 100%;
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 24px;
}

.gold-text {
    color: var(--primary-gold);
}

.gold-gradient-text {
    background: linear-gradient(135deg, var(--primary-gold) 0%, var(--gold-light) 50%, var(--primary-gold) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.text-left {
    text-align: left !important;
}

.hidden {
    display: none !important;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    padding: 16px 36px;
    border-radius: 6px;
    border: 1px solid transparent;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-gold) 0%, var(--gold-light) 100%);
    color: #000000;
    box-shadow: 0 4px 15px rgba(200, 164, 93, 0.2);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(200, 164, 93, 0.4);
    background: linear-gradient(135deg, var(--gold-light) 0%, var(--primary-gold) 100%);
}

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

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

.btn-sm {
    padding: 10px 20px;
    font-size: 0.8rem;
}

.btn-block {
    display: flex;
    width: 100%;
}

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

.main-header.scrolled {
    background: rgba(15, 17, 21, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color);
    height: 70px;
}

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

.logo {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--white);
    letter-spacing: -0.02em;
}

.logo .domain-ext {
    font-weight: 300;
    color: var(--text-muted);
}

.nav-links {
    display: flex;
    gap: 32px;
}

.nav-link {
    font-family: var(--font-body);
    font-size: 0.9rem;
    color: var(--text-muted);
    font-weight: 400;
    position: relative;
    padding: 8px 0;
}

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

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

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

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

/* Menu Toggle (Mobile Hamburger) */
.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 24px;
    height: 18px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 110;
}

.menu-toggle .bar {
    width: 100%;
    height: 2px;
    background-color: var(--white);
    transition: var(--transition-quick);
}

/* Mobile Nav Drawer */
.mobile-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 300px;
    height: 100vh;
    background-color: #121418;
    z-index: 99;
    padding: 100px 32px 32px 32px;
    display: flex;
    flex-direction: column;
    gap: 24px;
    box-shadow: -10px 0 30px rgba(0,0,0,0.5);
    transition: var(--transition-smooth);
}

.mobile-nav.open {
    right: 0;
}

.mobile-nav-link {
    font-family: var(--font-body);
    font-size: 1.1rem;
    font-weight: 400;
    color: var(--text-muted);
}

.mobile-nav-link:hover {
    color: var(--primary-gold);
}

/* Hero Section */
.hero-section {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding-top: var(--header-height);
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transform: scale(1.05);
    z-index: 1;
}

.hero-container {
    position: relative;
    z-index: 2;
    text-align: center;
}

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

.tagline {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--primary-gold);
    margin-bottom: 24px;
    font-weight: 500;
}

.hero-title {
    font-size: 4rem;
    line-height: 1.15;
    margin-bottom: 24px;
}

.hero-subtitle {
    font-size: 1.25rem;
    max-width: 600px;
    margin: 0 auto 40px auto;
    font-weight: 300;
}

.hero-ctas {
    display: flex;
    justify-content: center;
    gap: 20px;
}

/* Domain Highlight Card */
.highlight-section {
    position: relative;
    padding: 0;
    margin-top: -80px;
    z-index: 5;
}

.domain-card-wrapper {
    max-width: 900px;
    margin: 0 auto;
}

.domain-card {
    position: relative;
    background: rgba(26, 28, 34, 0.7);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 48px 24px;
    text-align: center;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    overflow: hidden;
}

.card-glow {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(200, 164, 93, 0.08) 0%, transparent 60%);
    pointer-events: none;
}

.domain-main-text {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    font-weight: 600;
    color: var(--white);
    letter-spacing: -0.02em;
    margin-bottom: 8px;
    text-shadow: 0 4px 12px rgba(0,0,0,0.5);
}

.domain-sub-text {
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--primary-gold);
    font-weight: 500;
    margin-bottom: 40px;
}

.badges-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px 24px;
    max-width: 700px;
    margin: 0 auto;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    border-radius: 30px;
    font-size: 0.9rem;
    font-weight: 400;
    color: var(--white);
    transition: var(--transition-quick);
}

.badge:hover {
    border-color: var(--primary-gold);
    background: rgba(200, 164, 93, 0.05);
}

.badge-icon {
    width: 16px;
    height: 16px;
    color: var(--primary-gold);
}

/* Sections Base Styling */
section {
    padding: 120px 0;
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 64px auto;
}

.section-tag {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--primary-gold);
    margin-bottom: 16px;
    display: inline-block;
    font-weight: 600;
}

.section-title {
    font-size: 2.8rem;
    line-height: 1.2;
    margin-bottom: 20px;
}

.section-description {
    font-size: 1.1rem;
    font-weight: 300;
}

/* Why This Domain (Features Grid) */
.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.feature-card {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 40px 32px;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.feature-card:hover {
    transform: translateY(-8px);
    border-color: var(--border-color-hover);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3);
}

.feature-icon-box {
    width: 60px;
    height: 60px;
    border-radius: 10px;
    background: rgba(200, 164, 93, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 28px;
    color: var(--primary-gold);
    transition: var(--transition-smooth);
}

.feature-card:hover .feature-icon-box {
    background: var(--primary-gold);
    color: #000000;
}

.feature-icon {
    width: 28px;
    height: 28px;
}

.feature-title {
    font-size: 1.35rem;
    margin-bottom: 16px;
}

.feature-desc {
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Use Cases Section */
.use-cases-section {
    background-color: #0a0b0d;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.cases-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.case-card {
    background: rgba(26, 28, 34, 0.5);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 36px;
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
}

.case-card:hover {
    transform: scale(1.02);
    border-color: var(--border-color-hover);
    background: var(--card-bg);
}

.case-icon-wrapper {
    color: var(--primary-gold);
    margin-bottom: 24px;
}

.case-icon {
    width: 32px;
    height: 32px;
}

.case-card h4 {
    font-size: 1.25rem;
    margin-bottom: 12px;
}

.case-card p {
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Why Dubai Section */
.dubai-section {
    position: relative;
    overflow: hidden;
}

.dubai-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    z-index: 1;
}

.dubai-content-box {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 60px;
}

.dubai-text-column {
    flex: 1;
}

.dubai-p {
    font-size: 1.1rem;
    font-weight: 300;
    margin-bottom: 24px;
}

.dubai-image-column {
    flex: 1;
}

.dubai-inner-image {
    width: 100%;
    aspect-ratio: 4/3;
    background-size: cover;
    background-position: center;
    border-radius: var(--border-radius);
    border: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
}

.inner-glow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(15,17,21,0.6), transparent);
}

/* Domain Benefits Section */
.benefits-section {
    background-color: #0a0b0d;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.benefits-layout {
    display: flex;
    gap: 64px;
}

.benefits-left-col {
    flex: 1;
}

.benefits-image-container {
    width: 100%;
    height: 380px;
    background-size: cover;
    background-position: center;
    border-radius: var(--border-radius);
    border: 1px solid var(--border-color);
    margin-top: 40px;
}

.benefits-right-col {
    flex: 1.2;
}

.benefits-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.benefits-list li {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.check-box {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(200, 164, 93, 0.1);
    border: 1px solid var(--primary-gold);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 2px;
}

.check-icon {
    width: 12px;
    height: 12px;
    color: var(--primary-gold);
}

.benefit-content h5 {
    font-size: 1.15rem;
    margin-bottom: 6px;
}

.benefit-content p {
    font-size: 0.95rem;
}

/* Call To Action (Final Section) */
.final-cta-section {
    position: relative;
    text-align: center;
    overflow: hidden;
    padding: 140px 0;
}

.cta-backdrop-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(200, 164, 93, 0.06) 0%, transparent 70%);
    z-index: 1;
}

.cta-inner {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
}

.cta-headline {
    font-size: 3.2rem;
    line-height: 1.2;
    margin-bottom: 24px;
}

.cta-text {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto 48px auto;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 24px;
}

/* Footer Styling */
.footer {
    background-color: #07080a;
    padding: 80px 0 40px 0;
    border-top: 1px solid var(--border-color);
}

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

.footer-logo {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 12px;
}

.footer-logo .domain-ext {
    font-weight: 300;
    color: var(--text-muted);
}

.footer-tagline {
    font-size: 0.95rem;
    color: var(--primary-gold);
    letter-spacing: 0.05em;
    margin-bottom: 40px;
}

.footer-separator {
    width: 100%;
    height: 1px;
    background-color: var(--border-color);
    margin-bottom: 40px;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.copyright {
    font-size: 0.9rem;
}

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

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

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

/* Modals */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(7, 8, 10, 0.85);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    z-index: 1000;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-overlay.open {
    opacity: 1;
    visibility: visible;
}

.modal-dialog {
    width: 100%;
    max-width: 520px;
    padding: 16px;
    transform: translateY(40px) scale(0.96);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-overlay.open .modal-dialog {
    transform: translateY(0) scale(1);
}

.modal-content {
    background-color: #16181e;
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 40px;
    position: relative;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.6);
}

.modal-close {
    position: absolute;
    top: 24px;
    right: 24px;
    background: transparent;
    border: none;
    cursor: pointer;
    color: var(--text-muted);
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-quick);
}

.modal-close:hover {
    color: var(--white);
    transform: rotate(90deg);
}

.modal-title {
    font-size: 1.8rem;
    margin-bottom: 12px;
}

.modal-subtitle {
    font-size: 0.95rem;
    margin-bottom: 32px;
}

/* Forms */
.modal-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
    position: relative;
}

.form-label {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-muted);
    font-weight: 500;
}

.form-input {
    width: 100%;
    background-color: #101115;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    padding: 14px 16px;
    color: var(--white);
    font-family: var(--font-body);
    font-size: 0.95rem;
    transition: var(--transition-quick);
}

.form-input::placeholder {
    color: #555555;
}

.form-input:focus {
    outline: none;
    border-color: var(--primary-gold);
    box-shadow: 0 0 0 3px rgba(200, 164, 93, 0.1);
}

.form-textarea {
    resize: none;
    height: 110px;
}

.input-currency-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.input-currency-symbol {
    position: absolute;
    left: 16px;
    color: var(--text-muted);
    font-size: 0.95rem;
    pointer-events: none;
}

.input-currency-wrapper .form-input {
    padding-left: 32px;
}

/* Form Validation States */
.form-error {
    font-size: 0.8rem;
    color: #e55353;
    display: none;
    margin-top: 4px;
}

.form-group.has-error .form-input {
    border-color: #e55353;
}

.form-group.has-error .form-error {
    display: block;
}

/* Modal Success State */
.modal-success-state {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px 0 0 0;
}

.success-icon-wrapper {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: rgba(200, 164, 93, 0.15);
    border: 1px solid var(--primary-gold);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 28px;
    color: var(--primary-gold);
}

.success-icon {
    width: 36px;
    height: 36px;
}

.success-title {
    font-size: 1.8rem;
    margin-bottom: 16px;
}

.success-message {
    font-size: 1rem;
    margin-bottom: 40px;
}

/* Scroll Animation classes */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.fade-in-up.active {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive Breakpoints */

/* Tablets & Small Desktops (1024px) */
@media (max-width: 1024px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }

    .cases-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }

    .dubai-content-box {
        flex-direction: column;
        gap: 48px;
    }

    .benefits-layout {
        flex-direction: column;
        gap: 48px;
    }

    .benefits-image-container {
        height: 300px;
        margin-top: 24px;
    }

    .hero-title {
        font-size: 3.2rem;
    }
}

/* Mobile Devices (768px) */
@media (max-width: 768px) {
    :root {
        --header-height: 70px;
    }

    .nav-links {
        display: none;
    }

    .menu-toggle {
        display: flex;
    }

    /* Change state of menu toggler button when mobile nav opens */
    .menu-toggle.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

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

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

    .hero-section {
        padding-top: 100px;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .hero-ctas {
        flex-direction: column;
        width: 100%;
        max-width: 320px;
        margin: 0 auto;
        gap: 12px;
    }

    .btn {
        width: 100%;
        padding: 14px 28px;
    }

    .domain-main-text {
        font-size: 2.2rem;
    }

    .domain-sub-text {
        font-size: 0.95rem;
        margin-bottom: 28px;
    }

    .badges-grid {
        gap: 10px;
    }

    .badge {
        font-size: 0.8rem;
        padding: 8px 16px;
    }

    section {
        padding: 80px 0;
    }

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

    .features-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .cases-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .cta-headline {
        font-size: 2.2rem;
    }

    .cta-buttons {
        flex-direction: column;
        width: 100%;
        max-width: 320px;
        margin: 0 auto;
        gap: 12px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 16px;
    }
}
