/* Park Domain Components CSS - Minimal Custom Styles */

:root {
    --primary-color: #2563eb;
    --primary-dark: #1e40af;
    --success-color: #10b981;
    --danger-color: #ef4444;
    --warning-color: #f59e0b;
    --text-primary: #f8fafc;
    --text-secondary: #cbd5e1;
    --text-muted: #94a3b8;
    --gradient-primary: linear-gradient(135deg, #2563eb 0%, #1e40af 100%);
    --gradient-shine: linear-gradient(120deg, transparent 30%, rgba(255, 255, 255, 0.05) 50%, transparent 70%);
}

/* Smooth scroll behavior */
html {
    scroll-behavior: smooth;
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Background patterns - Tailwind ile yapılamayan */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 25% 25%, rgba(37, 99, 235, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 75% 75%, rgba(30, 58, 138, 0.08) 0%, transparent 50%);
    pointer-events: none;
    z-index: 1;
}

body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
    background-size: 50px 50px;
    pointer-events: none;
    z-index: 1;
}

/* KURUMSAL DOMAIN NAME STYLING - ENHANCED */
.domain-name {
    background: linear-gradient(135deg, #f8fafc 0%, #cbd5e1 50%, #f8fafc 100%);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientShift 4s ease-in-out infinite;
    letter-spacing: -0.03em;
    font-weight: 900;
    text-transform: lowercase;
    position: relative;
    display: inline-block;
    padding: 0.5rem 0;
}

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

/* Domain name underline effect - REFINED */
.domain-name::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 3px;
    background: linear-gradient(90deg, transparent, #2563eb, #1e40af, #2563eb, transparent);
    background-size: 200% 100%;
    border-radius: 2px;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0.8;
    animation: underlineFlow 3s linear infinite;
}

@keyframes underlineFlow {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

.domain-name:hover::after {
    width: 160px;
    opacity: 1;
    box-shadow: 0 2px 20px rgba(37, 99, 235, 0.4);
}

/* KURUMSAL FEATURE ITEM STYLING - PREMIUM */
.feature-item {
    position: relative;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 12px;
    backdrop-filter: blur(10px);
}

.feature-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 2px;
    height: 100%;
    background: linear-gradient(to bottom, transparent, #2563eb, transparent);
    transform: scaleY(0);
    transform-origin: center;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.feature-item:hover {
    transform: translateX(4px);
    background: rgba(37, 99, 235, 0.05);
    border-color: rgba(37, 99, 235, 0.2);
}

.feature-item:hover::before {
    transform: scaleY(1);
}

/* Feature Icon Kurumsal Polish */
.feature-icon {
    backdrop-filter: blur(10px);
    border: 1px solid rgba(37, 99, 235, 0.2);
}

/* KURUMSAL SECTION TITLES */
.section-title {
    position: relative;
    padding-left: 20px;
}

.section-title::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 24px;
    background: var(--gradient-primary);
    border-radius: 2px;
}

/* KURUMSAL CORPORATE HEADER - REFINED */
.corporate-header {
    position: relative;
    padding: 4rem 2rem;
    background: radial-gradient(ellipse at top, rgba(37, 99, 235, 0.05) 0%, transparent 60%);
    border-radius: 0 0 3rem 3rem;
    margin-bottom: 3rem;
}

.corporate-header::after {
    content: '';
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, transparent, #2563eb, #1e40af, #2563eb, transparent);
    border-radius: 2px;
    box-shadow: 0 2px 10px rgba(37, 99, 235, 0.3);
}

/* Domain Subtitle Enhancement */
.domain-subtitle {
    opacity: 0.9;
    line-height: 1.8;
    font-weight: 300;
}

/* KURUMSAL TAKEN EXTENSIONS */
.taken-extensions-corporate {
    position: relative;
}

.taken-extensions-corporate::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--gradient-primary);
    opacity: 0.05;
    border-radius: inherit;
    pointer-events: none;
}

/* Button shine effect */
.submit-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.6s ease;
}

.submit-button:hover::before {
    left: 100%;
}

.submit-button:hover svg {
    transform: translateX(6px) rotate(45deg);
}

/* Loading spinner */
.spinner {
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-top-color: white;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Scroll animations */
.scroll-fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.scroll-fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.scroll-scale-in {
    opacity: 0;
    transform: scale(0.9);
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.scroll-scale-in.visible {
    opacity: 1;
    transform: scale(1);
}

/* Stagger delays */
.stagger-delay-1 { transition-delay: 0.1s; }
.stagger-delay-2 { transition-delay: 0.2s; }
.stagger-delay-3 { transition-delay: 0.3s; }
.stagger-delay-4 { transition-delay: 0.4s; }

/* Entry animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.content-wrapper {
    animation: fadeInUp 1s cubic-bezier(0.4, 0, 0.2, 1);
}

.left-content {
    animation: slideInLeft 1s cubic-bezier(0.4, 0, 0.2, 1) 0.2s both;
}

.offer-card {
    animation: slideInRight 1s cubic-bezier(0.4, 0, 0.2, 1) 0.4s both;
}

/* Toast animations */
@keyframes toastSlideIn {
    from {
        transform: translateX(400px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.toast-notification {
    animation: toastSlideIn 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.toast-notification.toast-hide {
    animation: toastSlideOut 0.5s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

@keyframes toastSlideOut {
    from {
        transform: translateX(0);
        opacity: 1;
    }
    to {
        transform: translateX(400px);
        opacity: 0;
    }
}

.toast-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 3px;
    background: var(--gradient-primary);
    animation: toastProgress 5s linear forwards;
}

@keyframes toastProgress {
    from {
        width: 100%;
    }
    to {
        width: 0%;
    }
}

/* Premium card mouse tracking */
.premium-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(600px circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(102, 126, 234, 0.06), transparent 40%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.premium-card:hover::after {
    opacity: 1;
}

.premium-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--gradient-primary);
    transform: translateX(-100%);
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.premium-card:hover::before {
    transform: translateX(0);
}

/* Specific page styles */
.sold-page .sold-status-badge {
    background: linear-gradient(135deg, #10b981 0%, #059669 50%, #047857 100%);
    box-shadow: 0 20px 40px rgba(16, 185, 129, 0.4), 0 8px 16px rgba(16, 185, 129, 0.2);
}

.transfer-page .auth-textarea {
    font-family: 'SF Mono', 'Monaco', 'Consolas', monospace;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

/* Missing gradient utilities */
.bg-gradient-radial-multi {
    background: radial-gradient(circle at 25% 25%, rgba(59, 130, 246, 0.08) 0%, transparent 50%),
                radial-gradient(circle at 75% 75%, rgba(30, 58, 138, 0.08) 0%, transparent 50%);
}

/* Additional animations for transfer pages */
@keyframes otpShine {
    0% { left: -100%; }
    50% { left: 100%; }
    100% { left: 100%; }
}

@keyframes manageShine {
    0% { left: -100%; }
    50% { left: 100%; }
    100% { left: 100%; }
}

@keyframes soldShine {
    0% { left: -100%; }
    50% { left: 100%; }
    100% { left: 100%; }
}

/* Sold page specific styles */
.sold-page .sold-status-badge {
    animation: fadeInUp 1s cubic-bezier(0.4, 0, 0.2, 1);
}

.sold-page .info-card {
    animation: slideInLeft 1s cubic-bezier(0.4, 0, 0.2, 1) 0.2s both;
}

.sold-page .transfer-card {
    animation: slideInRight 1s cubic-bezier(0.4, 0, 0.2, 1) 0.4s both;
}

@keyframes float {
    0%, 100% { 
        transform: translateY(0px) translateX(0px); 
        opacity: 0.6; 
    }
    33% { 
        transform: translateY(-10px) translateX(5px); 
        opacity: 1; 
    }
    66% { 
        transform: translateY(5px) translateX(-3px); 
        opacity: 0.8; 
    }
}

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

/* KURUMSAL OFFER CARD REFINEMENT - PREMIUM */
.offer-card {
    position: relative;
    transform: translateZ(0);
    will-change: transform;
}

.offer-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #2563eb 0%, #1e40af 50%, #2563eb 100%);
    background-size: 200% 100%;
    animation: shimmer 3s linear infinite;
    opacity: 0.8;
}

@keyframes shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

.offer-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top right, rgba(37, 99, 235, 0.1) 0%, transparent 70%);
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.offer-card:hover::after {
    opacity: 1;
}

/* KURUMSAL MAIN CONTENT SPACING */
.corporate-main-content {
    position: relative;
    padding-top: 2rem;
}

.corporate-main-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 200px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
}

/* KURUMSAL FEATURE ICON REFINEMENT */
.feature-icon {
    position: relative;
    transition: all 0.3s ease;
}

.feature-icon::after {
    content: '';
    position: absolute;
    inset: -2px;
    background: var(--gradient-primary);
    border-radius: inherit;
    opacity: 0;
    z-index: -1;
    transition: opacity 0.3s ease;
}

.feature-item:hover .feature-icon::after {
    opacity: 0.2;
}

/* KURUMSAL PREMIUM CARDS LAYOUT */
.premium-card {
    border-left: 4px solid transparent;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.premium-card:hover {
    border-left-color: var(--primary-color);
    transform: translateX(4px);
}

/* KURUMSAL PREMIUM VALUE SECTION */
.premium-value-section {
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.95) 0%, rgba(30, 41, 59, 0.95) 100%);
    position: relative;
}

.premium-value-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(37, 99, 235, 0.3), transparent);
}

/* Enhanced Premium Cards */
.premium-card {
    backdrop-filter: blur(20px);
    background: rgba(30, 41, 59, 0.5);
    border: 1px solid rgba(71, 85, 105, 0.3);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.premium-card:hover {
    transform: translateY(-8px);
    background: rgba(37, 99, 235, 0.05);
    border-color: rgba(37, 99, 235, 0.3);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

/* Responsive optimizations - COMPREHENSIVE */
@media (max-width: 1280px) {
    .content-wrapper {
        max-width: 1024px;
    }
}

@media (max-width: 1024px) {
    .corporate-header {
        padding: 3rem 1.5rem;
    }
    
    .domain-name {
        font-size: clamp(2.5rem, 6vw, 4rem);
    }
}

@media (max-width: 768px) {
    .domain-name {
        font-size: clamp(2rem, 8vw, 3rem);
        letter-spacing: -0.02em;
    }
    
    .corporate-header {
        padding: 2.5rem 1rem;
        margin-bottom: 2rem;
    }
    
    .toast-notification {
        min-width: 280px;
        right: 1rem;
        top: 1rem;
        font-size: 0.875rem;
    }
    
    .corporate-main-content {
        gap: 2rem;
    }
    
    .section-title {
        font-size: 1.25rem;
        margin-bottom: 1rem;
        padding-bottom: 0.75rem;
    }
    
    .feature-item {
        padding: 0.875rem;
    }
    
    .feature-icon {
        width: 36px;
        height: 36px;
    }
    
    .feature-title {
        font-size: 0.813rem;
    }
    
    .offer-card {
        padding: 1.5rem;
    }
    
    .premium-card {
        padding: 1.5rem;
    }
    
    .sticky {
        position: relative !important;
        top: 0 !important;
    }
}

@media (max-width: 640px) {
    .domain-name::after {
        width: 80px;
        height: 2px;
    }
    
    .taken-extensions-corporate {
        padding: 0.75rem 1rem;
        width: 100%;
        justify-content: center;
    }
    
    .taken-extension {
        font-size: 0.625rem;
    }
}

/* High DPI Screens */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    body::after {
        background-size: 25px 25px;
    }
}
