/* ============================================
   ParkWeb Themes - Complete Stylesheet
   ============================================ */

/* --- Reset & Base --- */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 16px;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

a {
    text-decoration: none;
    transition: color 0.2s ease;
}

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

/* --- Container --- */
.container {
    max-width: 600px;
    width: 100%;
    padding: 20px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 100vh;
    justify-content: center;
}

/* --- Logo --- */
.logo {
    max-width: 400px;
    max-height: 150px;
    display: block;
    margin: 0 auto 24px;
    object-fit: contain;
}

/* --- Divider --- */
.divider {
    width: 60px;
    height: 3px;
    background: #e2e8f0;
    border-radius: 2px;
    margin: 20px auto;
}

/* --- Powered By --- */
.powered-by,
.powered-by-dark,
.powered-by-corp {
    margin-top: 40px;
    text-align: center;
}

.alastyr-logo {
    max-height: 30px;
    opacity: 0.6;
    transition: opacity 0.3s ease;
}

.alastyr-logo:hover {
    opacity: 1;
}

/* --- CTA Button --- */
.cta-button {
    display: inline-block;
    padding: 12px 32px;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

/* --- Hosting CTA Section --- */
.hosting-cta {
    border: 2px dashed #cbd5e1;
    border-radius: 12px;
    padding: 24px;
    margin-top: 28px;
    text-align: center;
}

.cta-text {
    font-size: 0.95rem;
    margin-bottom: 16px;
    color: #475569;
}

/* ============================================
   THEME: Light (.theme-light)
   ============================================ */
.theme-light {
    background: #f8fafc;
    color: #1e293b;
}

.card {
    background: #ffffff;
    border-radius: 16px;
    padding: 40px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.07), 0 2px 4px -2px rgba(0, 0, 0, 0.05);
    text-align: center;
    width: 100%;
}

.company-name {
    font-size: 2rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 8px;
}

.coming-soon-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #475569;
    margin-bottom: 20px;
}

.custom-message {
    font-size: 1rem;
    color: #64748b;
    margin-bottom: 24px;
    line-height: 1.7;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 20px;
}

.contact-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 0.95rem;
    color: #475569;
}

.contact-item a {
    color: #2563eb;
}

.contact-item a:hover {
    color: #1d4ed8;
}

.contact-icon {
    font-size: 1.1rem;
}

.theme-light .cta-button {
    background: #2563eb;
    color: #ffffff;
}

.theme-light .cta-button:hover {
    background: #1d4ed8;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

/* ============================================
   THEME: Dark (.theme-dark)
   ============================================ */
.theme-dark {
    background: linear-gradient(135deg, #0f0c29 0%, #302b63 50%, #24243e 100%);
    color: #e2e8f0;
    min-height: 100vh;
}

.card-dark {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 40px;
    text-align: center;
    width: 100%;
}

.company-name-dark {
    font-size: 2rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 16px;
}

.coming-soon-big {
    font-size: 2.5rem;
    font-weight: 800;
    letter-spacing: 6px;
    color: #ffffff;
    margin-bottom: 16px;
    text-shadow: 0 0 30px rgba(139, 92, 246, 0.5);
}

.glow-line {
    width: 120px;
    height: 3px;
    margin: 0 auto 24px;
    border-radius: 2px;
    background: linear-gradient(90deg, #8b5cf6, #06b6d4, #8b5cf6);
    background-size: 200% 100%;
    animation: glowShift 3s ease infinite;
}

@keyframes glowShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.custom-message-dark {
    font-size: 1rem;
    color: #cbd5e1;
    margin-bottom: 24px;
    line-height: 1.7;
}

.contact-info-dark {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 20px;
}

.contact-item-dark {
    font-size: 0.95rem;
    color: #94a3b8;
}

.contact-item-dark span {
    color: #cbd5e1;
    font-weight: 600;
}

.contact-item-dark a {
    color: #818cf8;
}

.contact-item-dark a:hover {
    color: #a5b4fc;
}

.theme-dark .cta-button {
    background: linear-gradient(135deg, #8b5cf6, #06b6d4);
    color: #ffffff;
}

.theme-dark .cta-button:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 20px rgba(139, 92, 246, 0.4);
}

/* ============================================
   THEME: Corporate (.theme-corporate)
   ============================================ */
.theme-corporate {
    background: linear-gradient(180deg, #eff6ff 0%, #ffffff 100%);
    color: #1e293b;
}

.card-corporate {
    background: #ffffff;
    border-radius: 16px;
    padding: 40px;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.08), 0 4px 6px -4px rgba(0, 0, 0, 0.04);
    border-top: 4px solid #2563eb;
    text-align: center;
    width: 100%;
}

.company-name-corp {
    font-size: 2rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 12px;
}

.coming-soon-corp {
    font-size: 1.35rem;
    font-weight: 600;
    color: #2563eb;
    margin-bottom: 20px;
}

.custom-message-corp {
    font-size: 1rem;
    color: #64748b;
    margin-bottom: 24px;
    line-height: 1.7;
}

.contact-info-corp {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 16px;
    margin-bottom: 8px;
}

.contact-item-corp {
    font-size: 0.95rem;
    color: #475569;
}

.contact-item-corp a {
    color: #2563eb;
}

.contact-item-corp a:hover {
    color: #1d4ed8;
}

.theme-corporate .hosting-cta {
    border-color: #bfdbfe;
    background: #f0f7ff;
}

.theme-corporate .cta-button {
    background: #2563eb;
    color: #ffffff;
}

.theme-corporate .cta-button:hover {
    background: #1d4ed8;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

/* ============================================
   THEME: Sale (.theme-sale)
   ============================================ */
.theme-sale {
    background: #f8fafc;
    color: #1e293b;
}

.card-sale {
    background: #ffffff;
    border-radius: 16px;
    padding: 40px;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.08), 0 4px 6px -4px rgba(0, 0, 0, 0.04);
    text-align: center;
    width: 100%;
}

.sale-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 8px;
}

.sale-domain {
    font-size: 2rem;
    font-weight: 800;
    color: #2563eb;
    margin-bottom: 16px;
    word-break: break-all;
}

.sale-description {
    font-size: 1rem;
    color: #64748b;
    margin-bottom: 24px;
    line-height: 1.7;
}

/* --- Offer Form --- */
.offer-form-container {
    background: #f8fafc;
    border-radius: 12px;
    padding: 28px;
    margin-top: 24px;
    text-align: left;
}

.offer-form-container h3 {
    font-size: 1.15rem;
    font-weight: 600;
    color: #0f172a;
    margin-bottom: 20px;
    text-align: center;
}

.form-errors {
    background: #fef2f2;
    border: 1px solid #fecaca;
    border-radius: 8px;
    padding: 12px 16px;
    margin-bottom: 16px;
}

.form-errors p {
    color: #dc2626;
    font-size: 0.875rem;
    margin-bottom: 4px;
}

.form-errors p:last-child {
    margin-bottom: 0;
}

.offer-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.form-group label {
    font-size: 0.875rem;
    font-weight: 500;
    color: #374151;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-size: 0.95rem;
    font-family: inherit;
    color: #1e293b;
    background: #ffffff;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

.form-group textarea {
    resize: vertical;
    min-height: 80px;
}

.submit-btn {
    display: inline-block;
    width: 100%;
    padding: 12px 24px;
    background: #16a34a;
    color: #ffffff;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    transition: all 0.3s ease;
}

.submit-btn:hover {
    background: #15803d;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(22, 163, 74, 0.3);
}

.submit-btn:active {
    transform: translateY(0);
}

.theme-sale .cta-button {
    background: #2563eb;
    color: #ffffff;
}

.theme-sale .cta-button:hover {
    background: #1d4ed8;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

/* ============================================
   Focus States (Accessibility)
   ============================================ */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
    outline: 2px solid #2563eb;
    outline-offset: 2px;
}

/* ============================================
   Responsive
   ============================================ */
@media (max-width: 640px) {
    .container {
        padding: 16px;
    }

    .card,
    .card-dark,
    .card-corporate,
    .card-sale {
        padding: 28px 20px;
    }

    .company-name,
    .company-name-dark,
    .company-name-corp {
        font-size: 1.5rem;
    }

    .coming-soon-big {
        font-size: 1.75rem;
        letter-spacing: 4px;
    }

    .sale-domain {
        font-size: 1.5rem;
    }

    .logo {
        max-width: 280px;
        max-height: 100px;
    }

    .offer-form-container {
        padding: 20px 16px;
    }

    .hosting-cta {
        padding: 20px 16px;
    }
}

/* ============================================
   Print
   ============================================ */
@media print {
    body {
        background: #ffffff !important;
        color: #000000 !important;
    }

    .card,
    .card-dark,
    .card-corporate,
    .card-sale {
        box-shadow: none !important;
        border: 1px solid #e5e7eb !important;
        background: #ffffff !important;
        color: #000000 !important;
    }

    .powered-by,
    .powered-by-dark,
    .powered-by-corp {
        display: none;
    }

    .cta-button,
    .submit-btn {
        border: 1px solid #000000;
        color: #000000 !important;
        background: transparent !important;
    }

    .glow-line {
        animation: none;
        background: #000000;
    }

    a {
        color: #000000 !important;
    }

    a::after {
        content: " (" attr(href) ")";
        font-size: 0.8rem;
    }
}

/* ============ Countdown Timer (tum coming-soon temalari icin) ============ */
.parkdns-countdown {
    margin: 24px auto;
    text-align: center;
    max-width: 480px;
}
.parkdns-countdown .countdown-label {
    font-size: 0.95rem;
    color: rgba(0,0,0,0.55);
    text-transform: uppercase;
    letter-spacing: 0.12em;
    margin-bottom: 12px;
    font-weight: 500;
}
.parkdns-countdown .countdown-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
}
.parkdns-countdown .countdown-cell {
    background: rgba(0,0,0,0.04);
    border: 1px solid rgba(0,0,0,0.08);
    border-radius: 14px;
    padding: 14px 8px;
    backdrop-filter: blur(4px);
}
.parkdns-countdown .countdown-value {
    font-size: clamp(1.6rem, 5vw, 2.4rem);
    font-weight: 700;
    line-height: 1;
    font-variant-numeric: tabular-nums;
    color: inherit;
}
.parkdns-countdown .countdown-unit {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-top: 6px;
    color: rgba(0,0,0,0.55);
    font-weight: 500;
}
.parkdns-countdown .countdown-target {
    margin-top: 12px;
    font-size: 0.85rem;
    color: rgba(0,0,0,0.55);
}
.parkdns-countdown .countdown-finished {
    font-size: 1.4rem;
    font-weight: 700;
    padding: 16px;
    background: rgba(16, 185, 129, 0.15);
    border-radius: 12px;
    color: #047857;
}

/* Dark tema override (coming-soon-2) */
.theme-dark .parkdns-countdown .countdown-label,
.theme-dark .parkdns-countdown .countdown-unit,
.theme-dark .parkdns-countdown .countdown-target { color: rgba(255,255,255,0.7); }
.theme-dark .parkdns-countdown .countdown-cell {
    background: rgba(255,255,255,0.08);
    border-color: rgba(255,255,255,0.12);
}

/* Mobile */
@media (max-width: 480px) {
    .parkdns-countdown .countdown-grid { gap: 6px; }
    .parkdns-countdown .countdown-cell { padding: 10px 4px; border-radius: 10px; }
}

/* ============================================================
   DOMAIN FOR SALE - Modern Profesyonel Tasarim
   ============================================================ */
body.theme-sale {
    margin: 0;
    min-height: 100vh;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Inter, sans-serif;
    background:
        radial-gradient(at 80% 0%, rgba(99, 102, 241, 0.18) 0px, transparent 50%),
        radial-gradient(at 0% 50%, rgba(168, 85, 247, 0.15) 0px, transparent 50%),
        radial-gradient(at 80% 100%, rgba(59, 130, 246, 0.15) 0px, transparent 50%),
        linear-gradient(180deg, #0f172a 0%, #1e293b 100%);
    color: #f1f5f9;
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
}
.sale-wrapper {
    max-width: 1100px;
    margin: 0 auto;
    padding: 40px 24px 80px;
}

.sale-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 40px;
    gap: 16px;
    flex-wrap: wrap;
}
.sale-topbar .sale-brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: rgba(255,255,255,0.55);
    font-size: 13px;
}
.sale-topbar .sale-brand img { height: 22px; opacity: 0.7; }
.sale-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(16, 185, 129, 0.16);
    color: #6ee7b7;
    border: 1px solid rgba(16, 185, 129, 0.35);
    padding: 6px 14px;
    border-radius: 9999px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.02em;
}
.sale-badge::before {
    content: '';
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #10b981;
    box-shadow: 0 0 12px rgba(16, 185, 129, 0.8);
}

.sale-layout {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 48px;
    align-items: start;
}
@media (max-width: 880px) {
    .sale-layout { grid-template-columns: 1fr; gap: 32px; }
}

/* Sol Hero */
.sale-hero h1 {
    font-size: clamp(2.4rem, 7vw, 4.5rem);
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -0.025em;
    margin: 0 0 18px;
    background: linear-gradient(180deg, #ffffff 0%, #cbd5e1 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    word-break: break-word;
}
.sale-hero .sale-tagline {
    font-size: 1.2rem;
    color: rgba(255,255,255,0.7);
    font-weight: 400;
    margin: 0 0 28px;
    max-width: 560px;
}
.sale-hero .sale-tagline strong { color: #fff; font-weight: 600; }

.sale-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
    margin-bottom: 28px;
}
.sale-stat {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 16px;
    padding: 18px;
    backdrop-filter: blur(8px);
}
.sale-stat .sale-stat-label {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: rgba(255,255,255,0.55);
    margin-bottom: 8px;
}
.sale-stat .sale-stat-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
}
.sale-stat.sale-stat-highlight {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.22), rgba(168, 85, 247, 0.22));
    border-color: rgba(168, 85, 247, 0.35);
}
.sale-stat.sale-stat-highlight .sale-stat-value {
    background: linear-gradient(90deg, #a5b4fc, #e9d5ff);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.sale-features {
    list-style: none;
    padding: 0;
    margin: 28px 0 0;
    display: grid;
    gap: 12px;
}
.sale-features li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    color: rgba(255,255,255,0.78);
    font-size: 14.5px;
}
.sale-features li::before {
    content: '\f00c';
    font-family: FontAwesome;
    color: #6ee7b7;
    font-size: 11px;
    width: 22px;
    height: 22px;
    background: rgba(16, 185, 129, 0.18);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 2px;
}

.sale-message {
    background: rgba(255,255,255,0.05);
    border-left: 3px solid rgba(168, 85, 247, 0.5);
    padding: 16px 18px;
    border-radius: 0 12px 12px 0;
    color: rgba(255,255,255,0.85);
    margin: 24px 0 0;
    font-size: 14.5px;
    white-space: pre-wrap;
}

/* Sag form */
.sale-form-card {
    background: linear-gradient(180deg, rgba(255,255,255,0.06) 0%, rgba(255,255,255,0.03) 100%);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 20px;
    padding: 30px;
    backdrop-filter: blur(12px);
    box-shadow: 0 25px 50px -12px rgba(0,0,0,0.4);
}
.sale-form-card h3 {
    margin: 0 0 6px;
    font-size: 1.4rem;
    font-weight: 700;
    color: #fff;
}
.sale-form-card .sale-form-sub {
    font-size: 13.5px;
    color: rgba(255,255,255,0.6);
    margin: 0 0 22px;
}

.sale-form .sale-field { margin-bottom: 16px; }
.sale-form label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: rgba(255,255,255,0.85);
    margin-bottom: 6px;
}
.sale-form label .required { color: #f87171; }
.sale-form input[type="text"],
.sale-form input[type="email"],
.sale-form input[type="tel"],
.sale-form textarea {
    width: 100%;
    background: rgba(0,0,0,0.25);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 10px;
    padding: 12px 14px;
    color: #fff;
    font-size: 14.5px;
    transition: border-color 0.15s, box-shadow 0.15s, background 0.15s;
    box-sizing: border-box;
    font-family: inherit;
}
.sale-form input::placeholder, .sale-form textarea::placeholder {
    color: rgba(255,255,255,0.35);
}
.sale-form input:focus, .sale-form textarea:focus {
    outline: none;
    background: rgba(0,0,0,0.4);
    border-color: rgba(168, 85, 247, 0.6);
    box-shadow: 0 0 0 4px rgba(168, 85, 247, 0.15);
}
.sale-form textarea { resize: vertical; min-height: 90px; }

.sale-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}
@media (max-width: 480px) {
    .sale-form-row { grid-template-columns: 1fr; }
}

.sale-submit-btn {
    width: 100%;
    padding: 14px 22px;
    background: linear-gradient(90deg, #6366f1 0%, #a855f7 100%);
    border: 0;
    border-radius: 10px;
    color: #fff;
    font-weight: 700;
    font-size: 15px;
    cursor: pointer;
    transition: transform 0.15s, box-shadow 0.15s;
    margin-top: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}
.sale-submit-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 25px -8px rgba(168, 85, 247, 0.6);
}
.sale-submit-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}
.sale-submit-btn.is-loading {
    color: transparent;
    position: relative;
}
.sale-submit-btn.is-loading::after {
    content: '';
    position: absolute;
    top: 50%; left: 50%;
    width: 18px; height: 18px;
    margin: -9px 0 0 -9px;
    border: 2px solid rgba(255,255,255,0.5);
    border-top-color: #fff;
    border-radius: 50%;
    animation: spin 0.6s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

.sale-form-status {
    margin-top: 12px;
    padding: 10px 12px;
    border-radius: 8px;
    font-size: 13px;
    background: rgba(0,0,0,0.2);
    color: rgba(255,255,255,0.65);
    display: flex;
    align-items: center;
    gap: 8px;
}
.sale-form-status.ok { background: rgba(16, 185, 129, 0.15); color: #6ee7b7; }
.sale-form-status.err { background: rgba(239, 68, 68, 0.15); color: #fca5a5; }

.sale-form-errors {
    background: rgba(239, 68, 68, 0.12);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #fca5a5;
    padding: 12px 14px;
    border-radius: 10px;
    margin-bottom: 16px;
    font-size: 13px;
}
.sale-form-errors p { margin: 0; }
.sale-form-errors p + p { margin-top: 4px; }

.sale-footer {
    text-align: center;
    margin-top: 56px;
    color: rgba(255,255,255,0.4);
    font-size: 12.5px;
}
.sale-footer a { color: rgba(255,255,255,0.6); text-decoration: none; }
.sale-footer a:hover { color: #fff; }
.sale-footer .sale-logo-row {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.sale-footer img { height: 18px; opacity: 0.6; }

@media print {
    body.theme-sale { background: #fff !important; color: #000 !important; }
    .sale-form-card, .sale-stat, .sale-message { background: #fff; border-color: #ddd; color: #000; }
}
