/**
 * Turkotag Premium Refinements
 * Removes WordPress feel - adds custom, refined look
 */

/* ========================================
   ANTI-WORDPRESS: Container Refinements
   - Asymmetric widths
   - More generous spacing
   - Less predictable layouts
   ======================================== */

/* Override generic WordPress containers */
.container-premium {
    width: 100%;
    max-width: 1140px;
    margin-inline: auto;
    padding-inline: clamp(1.5rem, 5vw, 4rem);
}

/* Narrow content for better readability */
.container-content {
    max-width: 780px;
    margin: 0 auto;
}

/* Full-bleed sections */
.full-bleed {
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    padding-inline: clamp(2rem, 8vw, 6rem);
}

/* ========================================
   REFINED TYPOGRAPHY
   - Stronger visual hierarchy
   - Better letter spacing
   - Professional line heights
   ======================================== */

/* Display headings - hero/section titles */
.display-heading {
    font-family: var(--font-heading);
    font-size: clamp(2.75rem, 7vw, 4.5rem);
    font-weight: 600;
    line-height: 1.08;
    letter-spacing: -0.035em;
    color: var(--text-primary);
}

/* Section headings */
.section-heading {
    font-family: var(--font-heading);
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 500;
    line-height: 1.15;
    letter-spacing: -0.025em;
    color: var(--text-primary);
}

/* Subheadings */
.subheading {
    font-size: clamp(1rem, 2vw, 1.25rem);
    font-weight: 400;
    line-height: 1.6;
    color: var(--text-secondary);
    letter-spacing: -0.01em;
}

/* Body text - refined */
.body-refined {
    font-size: 1.0625rem;
    line-height: 1.75;
    color: var(--text-secondary);
    letter-spacing: -0.008em;
}

/* Eyebrow/label text */
.eyebrow {
    font-size: 0.8125rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--accent-gold);
}

/* ========================================
   PREMIUM SECTIONS
   - More vertical breathing room
   - Asymmetric layouts
   - Visual interest
   ======================================== */

/* Override standard section padding */
.section-premium {
    padding-block: clamp(5rem, 12vh, 9rem);
}

.section-hero {
    padding-block: clamp(6rem, 15vh, 12rem);
}

.section-compact {
    padding-block: clamp(3rem, 6vh, 5rem);
}

/* Visual separator between sections */
.section-divider {
    height: 1px;
    background: linear-gradient(90deg,
            transparent 0%,
            var(--border-subtle) 20%,
            var(--border-subtle) 80%,
            transparent 100%);
    max-width: 600px;
    margin: 0 auto;
}

/* ========================================
   REFINED CARDS
   - Subtle, sophisticated styling
   - Less obvious borders
   - Better shadows
   ======================================== */

.card-refined {
    background: var(--bg-card);
    border-radius: 1.25rem;
    border: 1px solid rgba(255, 255, 255, 0.04);
    box-shadow:
        0 1px 2px rgba(0, 0, 0, 0.06),
        0 4px 16px rgba(0, 0, 0, 0.08);
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.card-refined:hover {
    border-color: rgba(255, 255, 255, 0.08);
    box-shadow:
        0 4px 8px rgba(0, 0, 0, 0.1),
        0 16px 48px rgba(0, 0, 0, 0.16);
    transform: translateY(-4px);
}

/* Elevated card style */
.card-elevated {
    background: linear-gradient(180deg,
            rgba(255, 255, 255, 0.04) 0%,
            rgba(255, 255, 255, 0.01) 100%);
    border-radius: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.06);
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.03) inset,
        0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

/* ========================================
   PREMIUM BUTTONS
   - More refined gradients
   - Better sizing
   - Subtle interactions
   ======================================== */

.btn-premium {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.625rem;
    height: 3.25rem;
    padding: 0 2rem;
    font-family: var(--font-body);
    font-size: 0.9375rem;
    font-weight: 500;
    letter-spacing: -0.01em;
    border: none;
    border-radius: 0.75rem;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    text-decoration: none;
}

.btn-premium-primary {
    background: linear-gradient(180deg,
            var(--accent-gold-light) 0%,
            var(--accent-gold) 100%);
    color: var(--bg-primary);
    box-shadow:
        0 1px 2px rgba(0, 0, 0, 0.1),
        0 4px 12px rgba(212, 168, 83, 0.25),
        0 0 0 1px rgba(255, 255, 255, 0.1) inset;
}

.btn-premium-primary:hover {
    transform: translateY(-1px);
    box-shadow:
        0 2px 4px rgba(0, 0, 0, 0.12),
        0 8px 24px rgba(212, 168, 83, 0.35),
        0 0 0 1px rgba(255, 255, 255, 0.15) inset;
    color: var(--bg-primary);
}

.btn-premium-secondary {
    background: rgba(255, 255, 255, 0.06);
    color: var(--text-primary);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-premium-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.15);
    color: var(--text-primary);
}

/* ========================================
   REFINED HEADER
   - Less "themy"
   - More app-like
   ======================================== */

.header-refined {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    height: 4.25rem;
    display: flex;
    align-items: center;
    background: rgba(10, 14, 26, 0.75);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.header-refined .logo-text {
    font-family: var(--font-heading);
    font-size: 1.375rem;
    font-weight: 600;
    letter-spacing: -0.025em;
    color: var(--text-primary);
}

.header-refined nav a {
    font-size: 0.9375rem;
    font-weight: 450;
    color: var(--text-secondary);
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    transition: all 0.2s ease;
}

.header-refined nav a:hover,
.header-refined nav a.active {
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.06);
}

/* ========================================
   REFINED FOOTER
   - Cleaner layout
   - Less cluttered
   ======================================== */

.footer-refined {
    background: var(--bg-secondary);
    border-top: 1px solid rgba(255, 255, 255, 0.04);
    padding-block: clamp(4rem, 8vh, 6rem) clamp(2rem, 4vh, 3rem);
}

.footer-refined .footer-grid {
    display: grid;
    grid-template-columns: 2fr repeat(3, 1fr);
    gap: clamp(2rem, 5vw, 4rem);
}

.footer-refined h4 {
    font-size: 0.8125rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-muted);
    margin-bottom: 1.25rem;
}

.footer-refined a {
    font-size: 0.9375rem;
    color: var(--text-secondary);
    transition: color 0.2s;
}

.footer-refined a:hover {
    color: var(--text-primary);
}

.footer-copyright {
    margin-top: clamp(2rem, 4vh, 3rem);
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.04);
    font-size: 0.875rem;
    color: var(--text-muted);
}

/* ========================================
   FORM REFINEMENTS
   ======================================== */

.input-refined {
    height: 3.25rem;
    padding: 0 1.25rem;
    font-size: 0.9375rem;
    font-family: var(--font-body);
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 0.75rem;
    outline: none;
    transition: all 0.2s ease;
}

.input-refined::placeholder {
    color: var(--text-muted);
}

.input-refined:focus {
    background: rgba(255, 255, 255, 0.06);
    border-color: var(--accent-gold);
    box-shadow: 0 0 0 3px rgba(212, 168, 83, 0.12);
}

/* ========================================
   LIGHT MODE REFINEMENTS
   ======================================== */

[data-theme="light"] .card-refined {
    background: #ffffff;
    border-color: rgba(0, 0, 0, 0.06);
    box-shadow:
        0 1px 2px rgba(0, 0, 0, 0.04),
        0 4px 16px rgba(0, 0, 0, 0.04);
}

[data-theme="light"] .header-refined {
    background: rgba(255, 255, 255, 0.85);
    border-bottom-color: rgba(0, 0, 0, 0.06);
}

[data-theme="light"] .input-refined {
    background: rgba(0, 0, 0, 0.02);
    border-color: rgba(0, 0, 0, 0.1);
}

[data-theme="light"] .footer-refined {
    background: #f8f9fa;
    border-top-color: rgba(0, 0, 0, 0.05);
}

/* ========================================
   RESPONSIVE REFINEMENTS
   ======================================== */

@media (max-width: 1024px) {
    .footer-refined .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .footer-refined .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .btn-premium {
        height: 3rem;
        padding: 0 1.5rem;
        font-size: 0.875rem;
    }
}

/* ========================================
   APP CARDS - PREMIUM VERSION
   Less "WordPress card grid" feel
   ======================================== */

.app-card-premium {
    display: flex;
    flex-direction: column;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 1.25rem;
    padding: 1.75rem;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.app-card-premium:hover {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(212, 168, 83, 0.15);
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.app-card-premium .app-icon {
    width: 72px;
    height: 72px;
    border-radius: 1rem;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.app-card-premium .app-name {
    font-family: var(--font-heading);
    font-size: 1.125rem;
    font-weight: 500;
    letter-spacing: -0.015em;
    margin: 0;
}

.app-card-premium .app-tagline {
    font-size: 0.9375rem;
    color: var(--text-muted);
    line-height: 1.5;
}

/* ========================================
   TRUST/FEATURE GRID - REFINED
   ======================================== */

.feature-grid-refined {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: clamp(1.5rem, 3vw, 2.5rem);
}

.feature-item-refined {
    display: flex;
    gap: 1.25rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 1rem;
    border: 1px solid transparent;
    transition: all 0.3s ease;
}

.feature-item-refined:hover {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 255, 255, 0.06);
}

.feature-item-refined .icon-wrap {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(212, 168, 83, 0.1);
    border-radius: 0.75rem;
    color: var(--accent-gold);
    flex-shrink: 0;
}

.feature-item-refined h3 {
    font-size: 1rem;
    font-weight: 500;
    margin: 0 0 0.375rem;
    letter-spacing: -0.01em;
}

.feature-item-refined p {
    font-size: 0.9375rem;
    color: var(--text-muted);
    margin: 0;
    line-height: 1.55;
}