/* temel ayarlar */
html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', system-ui, sans-serif;
}

/* gradient metin */
.gradient-text {
    background: linear-gradient(135deg, #0EA5E9 0%, #F0C330 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* yüzen badge animasyonları */
@keyframes floatA {

    0%,
    100% {
        transform: translateY(0px) rotate(-1deg);
    }

    50% {
        transform: translateY(-12px) rotate(1deg);
    }
}

@keyframes floatB {

    0%,
    100% {
        transform: translateY(0px) rotate(1deg);
    }

    50% {
        transform: translateY(-9px) rotate(-1deg);
    }
}

@keyframes floatC {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-14px);
    }
}

.float-a {
    animation: floatA 4s ease-in-out infinite;
}

.float-b {
    animation: floatB 3.6s ease-in-out infinite 0.7s;
}

.float-c {
    animation: floatC 5s ease-in-out infinite 1.4s;
}

.float-d {
    animation: floatA 4.5s ease-in-out infinite 0.4s;
}

/* feature card hover efekti */
.feature-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease, border-color 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 24px 48px rgba(14, 165, 233, 0.18);
    background-color: #0EA5E9 !important;
    border-color: transparent !important;
}

.feature-card:hover h3 {
    color: #ffffff !important;
}

.feature-card:hover p {
    color: rgba(255, 255, 255, 0.7) !important;
}

.feature-card:hover .text-slate-500,
.feature-card:hover .text-slate-400 {
    color: rgba(255, 255, 255, 0.7) !important;
}

.feature-card:hover [class*="bg-brand/10"] {
    background-color: rgba(255, 255, 255, 0.15) !important;
}

/* Use-case card (hotspot page) */
.use-case-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease, border-color 0.3s ease;
}

.use-case-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 24px 48px rgba(14, 165, 233, 0.18);
    background-color: #0EA5E9 !important;
    border-color: transparent !important;
}

.use-case-card:hover h3 {
    color: #ffffff !important;
}

.use-case-card:hover p {
    color: rgba(255, 255, 255, 0.7) !important;
}

/* telefon ekranındaki görsel
   object-position ile konumu ayarla: "X% Y%" veya "Xpx Ypx"
   örn: "50% 0%" = en üst, "50% 30%" = biraz aşağı */
.phone-screen-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% 0%;
}

/* FAQ accordion */
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-answer.open {
    max-height: 320px;
}

.faq-icon {
    transition: transform 0.35s ease;
}

.faq-icon.open {
    transform: rotate(180deg);
}

/* scrollbar gizle */
.no-scrollbar::-webkit-scrollbar {
    display: none;
}

.no-scrollbar {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

/* scrollbar stili */
::-webkit-scrollbar {
    width: 5px;
}

::-webkit-scrollbar-track {
    background: #f8fafc;
}

::-webkit-scrollbar-thumb {
    background: #059669;
    border-radius: 4px;
}

/* scroll reveal */
.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* wifi sinyal animasyonu */
@keyframes wifiPulse {
    0% {
        transform: scale(1);
        opacity: 0.6;
    }

    100% {
        transform: scale(2.2);
        opacity: 0;
    }
}

.wifi-pulse {
    animation: wifiPulse 2s ease-out infinite;
}

.wifi-pulse-2 {
    animation: wifiPulse 2s ease-out infinite 0.7s;
}