/* Custom Styles for Elegant Light Theme */
body {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 50%, #f1f5f9 100%);
    color: #1e293b;
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    animation: subtleShift 30s ease-in-out infinite;
}

@keyframes subtleShift {

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

    50% {
        background-position: 100% 50%;
    }
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding-left: 1rem;
    padding-right: 1rem;
}

.hero-inner {
    display: flex;
    flex-direction: column;
    gap: 4rem;
    padding: 5rem 0 8rem;
}

@media (min-width: 1024px) {
    .hero-inner {
        flex-direction: row;
        align-items: center;
    }
}

.hero-title {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.1;
    background: linear-gradient(45deg, #3b1e1e, #f63b3b, #f16363);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: elegantGlow 4s ease-in-out infinite alternate;
}

@keyframes elegantGlow {
    from {
        filter: drop-shadow(0 0 8px rgba(246, 59, 59, 0.3));
    }

    to {
        filter: drop-shadow(0 0 16px rgba(239, 68, 68, 0.5));
    }
}

@media (min-width: 768px) {
    .hero-title {
        font-size: 4.5rem;
    }
}

.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 2rem;
    min-height: 350px;
}

.glow {
    position: absolute;
    width: 80%;
    height: 80%;
    background: radial-gradient(circle at center, rgba(185, 28, 28, 0.4) 0%, transparent 70%);
    border-radius: 50%;
    filter: blur(80px);
    z-index: 0;
    animation: pulseGlow 5s ease-in-out infinite;
}

.mockup {
    position: relative;
    width: 100%;
    max-width: 600px;
    height: 400px;
    background-color: #ffffff;
    border-radius: 2rem;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15), 0 0 0 1px rgba(0, 0, 0, 0.05);
    border: 2px solid rgba(255, 56, 56, 0.2);
    z-index: 1;
    overflow: hidden;
}

.mockup .bar {
    height: 2rem;
    background-color: #f8fafc;
    border-bottom: 1px solid #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 1rem;
}

.mockup .bar::before {
    content: '';
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: #ef4444;
    /* Red */
    margin-right: 4px;
}

.mockup .bar::after {
    content: '';
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: #fbbf24;
    /* Yellow */
    margin-left: 4px;
}

.dashboard-content {
    padding: 1.5rem;
    background-color: #ffffff;
    height: calc(100% - 2rem);
    overflow-y: auto;
}

.mockup .grid-skeleton::before {
    content: '';
    height: 12px;
    background-color: #b91c1c;
    border-radius: 4px;
    width: 60%;
}

.mockup .grid-skeleton>div {
    height: 8px;
    background-color: #374151;
    border-radius: 2px;
}

.mockup .grid-skeleton>div:nth-child(even) {
    width: 70%;
}

.mockup .grid-skeleton>div:nth-child(odd) {
    width: 95%;
}

.search-input {
    width: 100%;
    background-color: #ffffff;
    border: 1px solid #e2e8f0;
    padding: 0.75rem 1rem;
    border-radius: 0.75rem;
    color: #1e293b;
    transition: all 0.2s;
    height: 48px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.search-input:focus {
    border-color: #ff3838;
    box-shadow: 0 0 0 3px rgba(255, 56, 56, 0.1), 0 1px 3px rgba(0, 0, 0, 0.1);
    outline: none;
}

.search-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    max-width: 400px;
}

.search-wrapper .kbd {
    position: absolute;
    right: 0.75rem;
    padding: 0.125rem 0.375rem;
    background-color: #f1f5f9;
    color: #64748b;
    border-radius: 0.375rem;
    font-size: 0.75rem;
    font-family: monospace;
    border: 1px solid #e2e8f0;
}

.chip {
    padding: 0.5rem 1rem;
    border-radius: 9999px;
    cursor: pointer;
    background-color: #374151;
    color: #d1d5db;
    font-weight: 500;
    transition: all 0.2s;
    white-space: nowrap;
}

.chip:hover {
    background-color: #4b5563;
}

.chip.is-active {
    background-color: #b91c1c;
    color: white;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.2), 0 2px 4px -2px rgba(0, 0, 0, 0.2);
}

.templates-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.template-card {
    background-color: #ffffff;
    border-radius: 1rem;
    padding: 1.5rem;
    border: 1px solid #e2e8f0;
    transition: all 0.3s;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.template-card:hover {
    border-color: #ff3838;
    transform: translateY(-4px);
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.template-card {
    transition: all 0.3s ease;
}

.collections-grid,
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.collection-card,
.price-card {
    background-color: #ffffff;
    border-radius: 1rem;
    padding: 2rem;
    border: 1px solid #e2e8f0;
    text-align: center;
    transition: all 0.3s;
    position: relative;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.price-card.popular {
    border-color: #10b981;
    box-shadow: 0 0 25px rgba(16, 185, 129, 0.15);
}

.price-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.15);
}

.ribbon {
    position: absolute;
    top: -12px;
    right: 16px;
    background-color: #ef4444;
    /* Red */
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 0.5rem;
    font-size: 0.875rem;
    font-weight: 600;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.features-list {
    text-align: left;
    margin-top: 1rem;
    margin-bottom: 1.5rem;
    list-style: none;
    padding: 0;
}

.features-list li {
    padding: 0.5rem 0;
    border-bottom: 1px dashed #374151;
    display: flex;
    align-items: center;
}

.features-list li::before {
    content: '✅';
    margin-right: 0.5rem;
}

details summary {
    cursor: pointer;
    padding: 1rem 0;
    border-bottom: 1px solid #374151;
    font-weight: 600;
    list-style: none;
    position: relative;
}

details summary::after {
    content: '+';
    position: absolute;
    right: 0;
    font-size: 1.5rem;
    line-height: 1;
    transition: transform 0.2s;
}

details[open] summary::after {
    content: '−';
    transform: rotate(180deg);
}

details>p {
    padding: 0.5rem 0 1rem 0;
    color: #a1a1aa;
}

.button {
    padding: 0.75rem 1.5rem;
    border-radius: 0.75rem;
    font-weight: 600;
    transition: all 0.2s;
    text-align: center;
    cursor: pointer;
    border: none;
}

.button-primary {
    background: linear-gradient(135deg, #ff3838 0%, #8a0000 100%);
    color: white;
    box-shadow: 0 4px 14px rgba(255, 56, 56, 0.3);
    position: relative;
    overflow: hidden;
}

.button-primary::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;
}

.button-primary:hover:not(:disabled)::before {
    left: 100%;
}

.button-primary:hover:not(:disabled) {
    background: linear-gradient(135deg, #8a0000 0%, #ff3838 100%);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(255, 56, 56, 0.4);
}

.button-ghost {
    background-color: transparent;
    color: #b91c1c;
    border: 2px solid #b91c1c;
}

.button-ghost:hover {
    background-color: rgba(185, 28, 28, 0.1);
}

.button-light {
    background-color: #374151;
    color: #f3f4f6;
}

.button-light:hover {
    background-color: #4b5563;
}

.button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Select/Label Styling */
.select {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: #d1d5db;
}

.select select {
    background-color: #1f2937;
    border: 1px solid #4b5563;
    border-radius: 0.5rem;
    padding: 0.5rem 1rem;
    color: white;
    appearance: none;
    /* Hide default arrow */
    cursor: pointer;
}

.chips {
    display: flex;
    gap: 10px;
    /* öğeler arası boşluk */
    padding: 10px;
    overflow-x: auto;
    /* yatay kaydırma */
    scroll-behavior: smooth;
    /* kaydırma animasyonu */
    -webkit-overflow-scrolling: touch;
    /* mobilde yumuşak kaydırma */
}

.chips::-webkit-scrollbar {
    height: 6px;
    /* scrollbar yüksekliği */
}

.chips::-webkit-scrollbar-track {
    background: #374151;
    /* arka plan */
    border-radius: 3px;
}

.chips::-webkit-scrollbar-thumb {
    background-color: #6b7280;
    /* kaydırma çubuğu rengi */
    border-radius: 3px;
}

.chips::-webkit-scrollbar-thumb:hover {
    background-color: #9ca3af;
    /* hover rengi */
}

/* Fade-in animations */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

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

/* Staggered animations */
.fade-in.delay-1 {
    transition-delay: 0.1s;
}

.fade-in.delay-2 {
    transition-delay: 0.2s;
}

.fade-in.delay-3 {
    transition-delay: 0.3s;
}

.fade-in.delay-4 {
    transition-delay: 0.4s;
}

.fade-in.delay-5 {
    transition-delay: 0.5s;
}

/* Enhanced gradients */
.hero-gradient {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.card-gradient {
    background: linear-gradient(135deg, #1f2937 0%, #374151 100%);
}

/* Improved shadows */
.shadow-glow {
    box-shadow: 0 0 20px rgba(185, 28, 28, 0.3);
}

.shadow-glow-hover:hover {
    box-shadow: 0 0 30px rgba(185, 28, 28, 0.5);
    transform: translateY(-5px);
}

/* Elegant background pattern */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        radial-gradient(circle at 20% 80%, rgba(255, 56, 56, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(138, 0, 0, 0.06) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(185, 28, 28, 0.05) 0%, transparent 50%);
    pointer-events: none;
    z-index: -1;
}

/* Enhanced button effects */
.button-enhanced {
    position: relative;
    overflow: hidden;
}

.button-enhanced::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

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

/* Logo scrolling animation */
@keyframes scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-25%);
    }
}

.animate-scroll {
    animation: scroll 30s linear infinite;
}

.animate-scroll:hover {
    animation-play-state: paused;
}

/* Profile Page Light Theme */
.profile-page {
    background: #ffffff;
    color: #1e293b;
}

/* Custom Classes for Profile */
.bg-card-bg {
    background-color: #f8fafc;
}

.text-muted-text {
    color: #64748b;
}

.text-primary {
    color: #ff3838;
}

.text-secondary {
    color: #10b981;
}