/* Logo */
.logo {
    font-size: 28px;
    font-weight: 900;
    color: var(--primary-color);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
}
.logo i {
    font-size: 32px;
    animation: spin 3s linear infinite;
}
/* Header */
header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    z-index: 1000;
    padding: 15px 0;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}
/* Nav menu */
.nav-menu {
    display: flex;
    flex-wrap: nowrap; /* Explicitly prevent wrapping (already default, but reinforced) */
    list-style: none;
    gap: clamp(5px, 1vw, 10px); /* Dynamically reduce gap: min 5px, ideal 1vw (viewport-based), max 10px */
    margin: 0;
    overflow-x: auto; /* Add horizontal scroll if absolutely necessary (as a fallback), but aim to avoid with spacing adjustments */
    scrollbar-width: none; /* Hide scrollbar for cleaner look (Firefox) */
}
.nav-menu::-webkit-scrollbar {
    display: none; /* Hide scrollbar (Chrome/Safari) */
}
.nav-menu li a {
    color: #333333;
    text-decoration: none;
    font-weight: 500;
    padding: clamp(8px, 1vw, 10px) clamp(10px, 1.5vw, 15px); /* Dynamically reduce padding: smaller on narrow desktops */
    border-radius: 25px;
    transition: all 0.3s ease;
    position: relative;
    white-space: nowrap; /* Prevent text wrapping within buttons */
}
.nav-menu li a:hover {
    color: var(--primary-color);
    transform: scale(1.05);
}
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: none; /* Remove max-width to allow full viewport extension; alternatively, set to clamp(1200px, 100%, 1600px) for controlled growth */
    margin: 0 auto;
    padding: 0 20px;
}
/* Mobile menu */
.mobile-menu {
    display: none;
    font-size: 24px;
    cursor: pointer;
    color: var(--primary-color);
}
.mobile-nav {
    position: fixed;
    top: 0;
    right: 0;
    width: 300px;
    height: 100vh;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    padding: 80px 30px 30px;
    transform: translateX(100%);
    transition: transform 0.4s ease-in-out;
    z-index: 999;
    display: none;
}
.mobile-nav.active {
    right: 0;
    transform: translateX(0);
}
.mobile-nav ul {
    list-style: none;
}
.mobile-nav ul li {
    margin-bottom: 20px;
}
.mobile-nav ul li a {
    color: #333333;
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: 500;
    display: block;
    padding: 15px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    transition: color 0.3s ease;
}
.mobile-nav ul li a:hover {
    color: var(--primary-color);
}
.mobile-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.5);
    z-index: 998;
}
.mobile-overlay.active {
    display: block;
}
/* Footer */
footer {
    background: white;
    padding: 60px 20px 30px;
    text-align: center;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    margin-top: auto; /* Flex ile alta itmek için */
}
.footer-content {
    max-width: 1200px;
    margin: 0 auto;
}
.footer-links {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}
.footer-links a {
    color: #333333;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}
.footer-links a:hover {
    color: var(--primary-color);
    transform: scale(1.10);
    transition: all 0.3s ease;
}
.social-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 30px;
}
.social-links a {
    width: 50px;
    height: 50px;
    background: linear-gradient(45deg, #0C6CFE, #0090E7);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}
.social-links a:hover {
    transform: scale(1.1);
}
.copyright {
    opacity: 0.7;
    font-size: 0.9rem;
}
/* Features section */
.features {
    padding: 100px 20px;
    max-width: 1200px;
    margin: 0 auto;
    background: white;
}
.section-title {
    text-align: center;
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 60px;
    background: linear-gradient(45deg, #0C6CFE, #0090E7);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: fadeIn 1s ease-out;
}
.section-outro {
    margin-top: 40px;
    text-align: center;
    font-size: 2rem;
    font-weight: 700;
    background: linear-gradient(45deg, var(--primary-color), #0090E7);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: fadeIn 1s ease-out;
}
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-top: 60px;
}
/* Feature Card */
.feature-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between; /* Başlık, açıklama ve buton arası mesafe */
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    opacity: 0;
    transform: translateY(50px);
    animation: cardAppear 0.5s ease-out forwards;
}
.feature-card p {
    flex-grow: 1; /* Açıklama alanını büyütüp butonu aşağı iter */
    margin-bottom: 20px;
}
.feature-card .cta-link {
    margin-top: auto; /* Buton her zaman kartın altında */
    display: inline-block;
    padding: 10px 25px;
    background: linear-gradient(45deg, var(--primary-color), #0090E7);
    color: white;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 500;
    transition: all 0.3s ease;
}
/* Feature card hover */
.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(12, 108, 254, 0.2);
}
/* Hero section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    background: linear-gradient(135deg, #FFFFFF 0%, #F0F4F8 50%, #E0EAF4 100%);
    overflow: hidden;
}
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(0,0,0,0.05)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    animation: float 20s ease-in-out infinite;
}
.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 0 20px;
    animation: fadeInScale 1.5s ease-out;
}
.hero h1 {
    font-size: 4rem;
    font-weight: 900;
    margin-bottom: 20px;
    background: linear-gradient(45deg, var(--primary-color), #0090E7);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: slideInUp 1s ease-out;
}
.hero p {
    font-size: 1.4rem;
    margin-bottom: 30px;
    opacity: 0.9;
    animation: slideInUp 1s ease-out 0.3s both;
}
/* Stats section */
.stats {
    background: #F0F4F8;
    padding: 80px 20px;
    text-align: center;
}
.stats-container {
    max-width: 1000px;
    margin: 0 auto;
}
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-top: 50px;
}
.stat-item {
    padding: 20px;
    opacity: 0;
    transform: translateY(50px);
    animation: cardAppear 0.5s ease-out forwards;
}
.stat-item:nth-child(1) {
    animation-delay: 0.1s;
}
.stat-item:nth-child(2) {
    animation-delay: 0.2s;
}
.stat-item:nth-child(3) {
    animation-delay: 0.3s;
}
.stat-item:nth-child(4) {
    animation-delay: 0.4s;
}
.stat-number {
    font-size: 3.5rem;
    font-weight: 900;
    color: var(--primary-color);
    display: block;
    margin-bottom: 10px;
}
.stat-label {
    font-size: 1.2rem;
    opacity: 0.8;
}
/* CTA button */
.cta-button {
    display: inline-block;
    padding: 15px 40px;
    background: linear-gradient(45deg, var(--primary-color), #0090E7);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(12, 108, 254, 0.3);
    animation: slideInUp 1s ease-out 0.6s both;
    position: relative;
    overflow: hidden;
}
.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, #0090E7, var(--primary-color));
    transition: left 0.3s ease;
}
.cta-button:hover::before {
    left: 0;
}
.cta-button span {
    position: relative;
    z-index: 1;
}
.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(12, 108, 254, 0.4);
}
/* Keyframes */
@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}
@keyframes float {
    0%,
    100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
}
@keyframes fadeInScale {
    0% {
        opacity: 0;
        transform: scale(0.9);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}
@keyframes slideInUp {
    0% {
        opacity: 0;
        transform: translateY(60px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}
@keyframes fadeIn {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}
@keyframes cardAppear {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
@keyframes bounce {
    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}
@keyframes float-random {
    0% {
        transform: translateY(0px) rotate(0deg);
    }
    25% {
        transform: translateY(-20px) rotate(90deg);
    }
    50% {
        transform: translateY(-10px) rotate(180deg);
    }
    75% {
        transform: translateY(-30px) rotate(270deg);
    }
    100% {
        transform: translateY(0px) rotate(360deg);
    }
}
/* Animations */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}
.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}
/* Floating elements */
.floating-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
}
.floating-element {
    position: absolute;
    opacity: 0.1;
    animation: float-random 15s linear infinite;
}
.floating-element:nth-child(1) {
    top: 20%;
    left: 10%;
    font-size: 2rem;
    animation-delay: 0s;
}
.floating-element:nth-child(2) {
    top: 60%;
    right: 15%;
    font-size: 1.5rem;
    animation-delay: 5s;
}
.floating-element:nth-child(3) {
    bottom: 30%;
    left: 20%;
    font-size: 2.5rem;
    animation-delay: 10s;
}
@media (max-width: 768px) {
    .nav-menu {
        display: none; /* Desktop menüyü gizle, hamburger kullan */
    }
    .mobile-menu {
        display: block; /* Hamburger menüyü göster */
    }
    .hero h1 {
        font-size: 2.5rem; /* Başlık küçült */
    }
    .hero p {
        font-size: 1.2rem;
    }
    .features-grid {
        grid-template-columns: 1fr; /* Kartları alt alta */
    }
    .feature-card {
        padding: 20px;
    }
    .stats-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    }
    .stat-number {
        font-size: 2.5rem;
    }
    .footer-links {
        flex-direction: column;
        gap: 15px;
    }
    .mobile-nav {
        display: block;
    }
}
@media (max-width: 576px) {
    .logo {
        font-size: 20px;
    }
    .hero h1 {
        font-size: 2rem;
    }
    .hero p {
        font-size: 1rem;
    }
    .cta-button {
        padding: 12px 30px;
        font-size: 1rem;
    }
    .section-title {
        font-size: 2rem;
    }
    .feature-icon {
        font-size: 3rem;
    }
    .feature-card h3 {
        font-size: 1.5rem;
    }
    .feature-card p {
        font-size: 1rem;
    }
}
@media (min-width: 769px) {
    .features-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}