/* ═══════════════════════════════════════════════════════════════════════════
   MUTABAKATAI - Coming Soon Page
   Based on project design system: Corporate Cyan, Clean & Minimal
   ═══════════════════════════════════════════════════════════════════════════ */

/* CSS Variables */
:root {
    --primary: hsl(193, 88%, 40%);
    --primary-light: hsl(193, 88%, 55%);
    --primary-dark: hsl(193, 88%, 30%);
    --foreground: hsl(222, 47%, 11%);
    --muted: hsl(220, 9%, 46%);
    --border: hsl(220, 13%, 91%);
    --background: hsl(0, 0%, 100%);
    --accent: hsl(190, 80%, 96%);
}

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

/* Accessibility */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

/* Skip to main content */
.skip-to-main {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--primary);
    color: white;
    padding: 8px;
    z-index: 100;
}

.skip-to-main:focus {
    top: 0;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    color: var(--foreground);
    background: var(--background);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow-x: hidden;
}

/* Background Effects */
.bg-grid {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        linear-gradient(to right, hsl(220, 13%, 96%) 1px, transparent 1px),
        linear-gradient(to bottom, hsl(220, 13%, 96%) 1px, transparent 1px);
    background-size: 40px 40px;
    z-index: -2;
}

.bg-gradient-blur {
    position: fixed;
    top: 20%;
    right: 10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, hsla(193, 88%, 40%, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    filter: blur(80px);
    z-index: -1;
    /* Mobilde animasyon kapalı */
    animation: float 20s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0); }
    33% { transform: translate(30px, -30px); }
    66% { transform: translate(-30px, 30px); }
}

/* Container */
.container {
    max-width: 900px;
    width: 100%;
    padding: 40px 24px;
    text-align: center;
}

/* Logo */
.logo-container {
    margin-bottom: 60px;
    animation: fadeInDown 0.8s ease;
}

.logo {
    height: 60px;
    width: auto;
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.05));
}

/* Main Content */
.main-content {
    animation: fadeInUp 0.8s ease 0.2s both;
}

/* Badge */
.badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    background: linear-gradient(135deg, hsla(193, 88%, 40%, 0.08) 0%, hsla(190, 80%, 96%, 0.5) 100%);
    border: 1px solid hsla(193, 88%, 40%, 0.2);
    border-radius: 100px;
    font-size: 14px;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 32px;
    backdrop-filter: blur(10px);
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: var(--primary);
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.6; transform: scale(1.2); }
}

/* Hero */
.hero-title {
    font-size: 64px;
    font-weight: 800;
    line-height: 1.1;
    color: var(--foreground);
    margin-bottom: 24px;
    letter-spacing: -0.02em;
}

.gradient-text {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: 20px;
    line-height: 1.6;
    color: var(--muted);
    max-width: 600px;
    margin: 0 auto 48px;
}

/* Waitlist Form */
.waitlist-form {
    display: flex;
    gap: 12px;
    max-width: 500px;
    margin: 0 auto 80px;
    padding: 8px;
    background: white;
    border: 1px solid var(--border);
    border-radius: 16px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
}

.waitlist-form:focus-within {
    border-color: var(--primary);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08), 0 0 0 4px hsla(193, 88%, 40%, 0.1);
}

.email-input {
    flex: 1;
    padding: 16px 20px;
    border: none;
    outline: none;
    font-size: 16px;
    font-family: inherit;
    background: transparent;
    color: var(--foreground);
}

.email-input::placeholder {
    color: var(--muted);
}

.submit-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 16px 28px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 14px hsla(193, 88%, 40%, 0.3);
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px hsla(193, 88%, 40%, 0.4);
}

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

.btn-icon {
    transition: transform 0.3s ease;
}

.submit-btn:hover .btn-icon {
    transform: translateY(2px);
}

/* Success State */
.waitlist-form.success {
    background: linear-gradient(135deg, hsla(142, 71%, 45%, 0.1) 0%, hsla(142, 71%, 45%, 0.05) 100%);
    border-color: hsl(142, 71%, 45%);
}

.waitlist-form.success .submit-btn {
    background: hsl(142, 71%, 45%);
    box-shadow: 0 4px 14px hsla(142, 71%, 45%, 0.3);
}

/* Features Section */
.features-section {
    margin-top: 60px;
}

.features-header {
    font-size: 11px;
    font-weight: 600;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 16px;
}

/* Features Grid */
.features {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    max-width: 800px;
    margin: 0 auto;
}

.feature-item {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 24px 16px 16px;
    background: white;
    border: 1px solid var(--border);
    border-radius: 16px;
    transition: all 0.3s ease;
    animation: fadeInUp 0.6s ease both;
    cursor: pointer;
}

.feature-item:nth-child(1) { animation-delay: 0.3s; }
.feature-item:nth-child(2) { animation-delay: 0.35s; }
.feature-item:nth-child(3) { animation-delay: 0.4s; }
.feature-item:nth-child(4) { animation-delay: 0.45s; }
.feature-item:nth-child(5) { animation-delay: 0.5s; }
.feature-item:nth-child(6) { animation-delay: 0.55s; }
.feature-item:nth-child(7) { animation-delay: 0.6s; }
.feature-item:nth-child(8) { animation-delay: 0.65s; }

.feature-item:hover {
    transform: translateY(-4px);
    border-color: var(--primary);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
}

.feature-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, hsla(193, 88%, 40%, 0.1) 0%, hsla(190, 80%, 96%, 0.5) 100%);
    border-radius: 12px;
    color: var(--primary);
    transition: all 0.3s ease;
}

.feature-item:hover .feature-icon {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: white;
    transform: scale(1.1);
}

.feature-title {
    font-size: 14px;
    font-weight: 600;
    color: var(--foreground);
    text-align: center;
    line-height: 1.4;
}

.feature-hint {
    font-size: 12px;
    font-weight: 500;
    color: var(--primary);
    text-align: center;
    opacity: 0;
    transform: translateY(-4px);
    transition: all 0.3s ease;
}

.feature-item:hover .feature-hint {
    opacity: 1;
    transform: translateY(0);
}

/* Modal */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    pointer-events: none;
    transition: background 0.3s ease;
}

.modal-overlay.active {
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    pointer-events: all;
}

.modal-content {
    background: white;
    border-radius: 20px;
    padding: 32px;
    max-width: 480px;
    width: 90%;
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.15);
    transform: translateY(30px) scale(0.95);
    opacity: 0;
    transition: all 0.3s ease;
}

.modal-overlay.active .modal-content {
    transform: translateY(0) scale(1);
    opacity: 1;
}

.modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
}

.modal-header h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--foreground);
}

.modal-close {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border: none;
    background: var(--accent);
    border-radius: 10px;
    cursor: pointer;
    color: var(--muted);
    transition: all 0.2s ease;
}

.modal-close:hover {
    background: hsl(0, 84%, 95%);
    color: hsl(0, 84%, 60%);
}

.modal-text {
    font-size: 16px;
    line-height: 1.7;
    color: var(--muted);
}

/* Footer */
.footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 80px;
    padding-top: 32px;
    border-top: 1px solid var(--border);
    font-size: 14px;
    color: var(--muted);
    animation: fadeIn 0.8s ease 0.4s both;
}

.social-links {
    display: flex;
    gap: 16px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    color: var(--muted);
    background: var(--accent);
    border-radius: 8px;
    transition: all 0.2s ease;
}

.social-links a:hover {
    color: var(--primary);
    background: white;
    border: 1px solid var(--border);
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

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

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

/* Performance */
* {
    -webkit-font-smoothing: antialiased;
}

/* Reduce Motion */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
}

/* Responsive */
@media (max-width: 1024px) {
    .features {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .bg-grid {
        display: none;
    }

    .bg-gradient-blur {
        animation: none;
        width: 300px;
        height: 300px;
        filter: blur(60px);
    }

    .logo {
        height: 48px;
    }

    .logo-container {
        margin-bottom: 40px;
    }

    .hero-title {
        font-size: 40px;
    }

    .hero-description {
        font-size: 17px;
        margin-bottom: 36px;
    }

    .waitlist-form {
        margin-bottom: 60px;
    }

    .features-section {
        margin-top: 0;
    }

    .features {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .feature-item {
        padding: 20px 12px 14px;
        gap: 10px;
    }

    .feature-icon {
        width: 42px;
        height: 42px;
    }

    .feature-hint {
        opacity: 1;
        transform: translateY(0);
    }

    .waitlist-form {
        flex-direction: column;
    }

    .submit-btn {
        width: 100%;
        justify-content: center;
    }

    .footer {
        flex-direction: column;
        gap: 16px;
        text-align: center;
        margin-top: 60px;
    }

    .modal-content {
        padding: 24px;
        margin: 16px;
        border-radius: 16px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 24px 16px;
    }

    .hero-title {
        font-size: 32px;
    }

    .features {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }

    .feature-item {
        padding: 16px 10px 12px;
        gap: 8px;
        border-radius: 12px;
    }

    .feature-icon {
        width: 38px;
        height: 38px;
        border-radius: 10px;
    }

    .feature-title {
        font-size: 12px;
    }

    .feature-hint {
        font-size: 10px;
    }
}
