/* 
   Aurumzeit Design System
   Premium Watch Affiliate Theme
*/

/* Base Styles (Scoped via Classes as requested) */
.az-ui-body {
    margin: 0;
    padding: 0;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    background-color: #ffffff;
    color: #121212;
    line-height: 1.6;
    overflow-x: hidden;
}

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

/* Typography */
.az-ui-h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 24px;
    color: #1a2a44;
    letter-spacing: -0.02em;
}

.az-ui-h2 {
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 700;
    margin-bottom: 20px;
    color: #1a2a44;
    letter-spacing: -0.01em;
}

.az-ui-h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 16px;
    color: #c5a059;
}

.az-ui-p {
    font-size: 1.125rem;
    margin-bottom: 20px;
    color: #4a5568;
}

.az-ui-a {
    color: #c5a059;
    text-decoration: none;
    transition: color 0.3s ease;
}

.az-ui-a:hover {
    color: #1a2a44;
}

/* Header */
.az-ui-header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid #edf2f7;
    padding: 15px 0;
}

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

.az-ui-logo {
    font-size: 1.5rem;
    font-weight: 900;
    color: #1a2a44;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.az-ui-nav-ul {
    list-style: none;
    display: flex;
    gap: 30px;
    margin: 0;
    padding: 0;
}

.az-ui-nav-li {
    display: inline-block;
}

.az-ui-nav-link {
    font-weight: 600;
    font-size: 0.9rem;
    color: #1a2a44;
    text-transform: uppercase;
}

/* Disclosure Bar */
.az-ui-disclosure {
    background: #f7fafc;
    padding: 10px 0;
    text-align: center;
    font-size: 0.8rem;
    color: #718096;
    border-bottom: 1px solid #edf2f7;
}

/* Buttons */
.az-ui-btn {
    display: inline-block;
    padding: 16px 32px;
    background-color: #1a2a44;
    color: #ffffff;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 4px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    cursor: pointer;
    text-align: center;
}

.az-ui-btn:hover {
    background-color: #c5a059;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(197, 160, 89, 0.2);
}

.az-ui-btn-outline {
    background-color: transparent;
    border: 2px solid #1a2a44;
    color: #1a2a44;
}

.az-ui-btn-outline:hover {
    background-color: #1a2a44;
    color: #ffffff;
}

/* Sections */
.az-ui-section {
    padding: 80px 0;
}

.az-ui-hero {
    padding: 100px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e2e8f0 100%);
    display: flex;
    align-items: center;
}

.az-ui-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

/* Cards */
.az-ui-card {
    background: #ffffff;
    border-radius: 12px;
    padding: 40px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.05);
    border: 1px solid #edf2f7;
    transition: transform 0.3s ease;
}

.az-ui-card:hover {
    transform: translateY(-5px);
}

/* Images */
.az-ui-img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    display: block;
}

.az-ui-hero-img {
    border-radius: 20px;
    box-shadow: 0 30px 60px rgba(0,0,0,0.1);
}

/* Footer */
.az-ui-footer {
    background: #1a2a44;
    color: #ffffff;
    padding: 60px 0 30px 0;
}

.az-ui-footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.az-ui-footer-title {
    color: #c5a059;
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.az-ui-footer-link {
    color: #a0aec0;
    display: block;
    margin-bottom: 12px;
    font-size: 0.95rem;
}

.az-ui-footer-link:hover {
    color: #ffffff;
}

.az-ui-footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 30px;
    text-align: center;
    font-size: 0.85rem;
    color: #718096;
}

/* Content Layouts */
.az-ui-content-wrapper {
    max-width: 800px;
    margin: 0 auto;
}

.az-ui-table-container {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin: 30px 0;
}

.az-ui-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 500px; /* Ensures readability on small screens */
}

.az-ui-th {
    background: #1a2a44;
    color: #ffffff;
    text-align: left;
    padding: 15px;
    font-weight: 600;
}

.az-ui-td {
    padding: 15px;
    border-bottom: 1px solid #edf2f7;
}

.az-ui-tr:nth-child(even) {
    background: #f7fafc;
}

/* Contact Form */
.az-ui-form-group {
    margin-bottom: 20px;
}

.az-ui-label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    color: #1a2a44;
}

.az-ui-input {
    width: 100%;
    padding: 12px;
    border: 1px solid #cbd5e0;
    border-radius: 4px;
    font-family: inherit;
    font-size: 1rem;
}

.az-ui-textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #cbd5e0;
    border-radius: 4px;
    font-family: inherit;
    font-size: 1rem;
    min-height: 150px;
}

/* Responsive */
/* Responsive Enhancements */
@media (max-width: 1024px) {
    .az-ui-container {
        padding: 0 30px;
    }
}

@media (max-width: 768px) {
    .az-ui-h1 {
        font-size: 2.25rem;
    }
    
    .az-ui-h2 {
        font-size: 1.75rem;
    }

    .az-ui-section {
        padding: 50px 0;
    }

    .az-ui-hero {
        padding: 60px 0;
        text-align: center;
    }

    .az-ui-grid {
        grid-template-columns: 1fr !important; /* Force single column on mobile */
        gap: 40px;
    }

    .az-ui-header-inner {
        flex-direction: column;
        gap: 20px;
    }

    .az-ui-nav-ul {
        gap: 15px;
        flex-wrap: wrap;
        justify-content: center;
    }

    .az-ui-btn-group {
        flex-direction: column;
        width: 100%;
    }

    .az-ui-btn {
        width: 100%;
        box-sizing: border-box;
    }

    .az-ui-footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .az-ui-footer-col {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 480px) {
    .az-ui-container {
        padding: 0 20px;
    }

    .az-ui-logo {
        font-size: 1.25rem;
    }

    .az-ui-nav-link {
        font-size: 0.8rem;
    }
}
