/* ========================================
   BariyerPro - Landing Page CSS
   Modern kurumsal kimlik tasarımı
   ======================================== */

:root {
    --primary-color: #1cc88a;
    --secondary-color: #4e73df;
    --success-color: #1cc88a;
    --warning-color: #f59e0b;
    --danger-color: #ef4444;
    --dark-blue: #0a1929;
    --medium-blue: #1a2332;
    --light-blue: #0f1623;
    --white: #ffffff;
    --text-primary: #ffffff;
    --text-secondary: rgba(255, 255, 255, 0.7);
    --border-color: rgba(255, 255, 255, 0.1);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #0a1929 0%, #1a2332 50%, #0f1623 100%);
    color: var(--text-primary);
    overflow-x: hidden;
    position: relative;
    min-height: 100vh;
}

/* ========================================
   Animated Background
   ======================================== */
.background-shapes {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: linear-gradient(135deg, #0a1929 0%, #1a2332 50%, #0f1623 100%);
    overflow: hidden;
}

.background-shapes::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        repeating-linear-gradient(90deg, transparent, transparent 49px, rgba(26, 198, 138, 0.03) 49px, rgba(26, 198, 138, 0.03) 50px),
        repeating-linear-gradient(0deg, transparent, transparent 49px, rgba(26, 198, 138, 0.03) 49px, rgba(26, 198, 138, 0.03) 50px);
    animation: gridMove 20s linear infinite;
}

@keyframes gridMove {
    0% { transform: translate(0, 0); }
    100% { transform: translate(50px, 50px); }
}

/* Wave animations */
.shape {
    position: absolute;
    opacity: 0.15;
}

.shape-1 {
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, #1cc88a, transparent);
    top: 30%;
    left: -100%;
    animation: accessWave1 8s ease-in-out infinite;
}

.shape-2 {
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, #4e73df, transparent);
    top: 50%;
    left: -100%;
    animation: accessWave2 10s ease-in-out infinite 2s;
}

.shape-3 {
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, #1cc88a, transparent);
    top: 70%;
    left: -100%;
    animation: accessWave3 12s ease-in-out infinite 4s;
}

@keyframes accessWave1 {
    0%, 100% { left: -100%; opacity: 0; }
    10% { opacity: 0.15; }
    50% { left: 0%; opacity: 0.15; }
    90% { opacity: 0; }
    100% { left: 100%; opacity: 0; }
}

@keyframes accessWave2 {
    0%, 100% { left: -100%; opacity: 0; }
    10% { opacity: 0.2; }
    50% { left: 0%; opacity: 0.2; }
    90% { opacity: 0; }
    100% { left: 100%; opacity: 0; }
}

@keyframes accessWave3 {
    0%, 100% { left: -100%; opacity: 0; }
    10% { opacity: 0.15; }
    50% { left: 0%; opacity: 0.15; }
    90% { opacity: 0; }
    100% { left: 100%; opacity: 0; }
}

/* ========================================
   Navbar
   ======================================== */
.landing-navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 1.5rem 0;
    background: transparent;
    transition: var(--transition);
}

.landing-navbar.scrolled {
    background: rgba(30, 40, 60, 0.95);
    backdrop-filter: blur(20px);
    padding: 1rem 0;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.navbar-brand {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--white) !important;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: var(--transition);
}

.navbar-brand i {
    font-size: 1.75rem;
    color: var(--primary-color);
}

.navbar-brand:hover {
    transform: translateY(-2px);
}

.nav-link {
    color: rgba(255, 255, 255, 0.8) !important;
    font-weight: 500;
    padding: 0.5rem 1rem !important;
    transition: var(--transition);
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    transition: var(--transition);
}

.nav-link:hover {
    color: var(--white) !important;
}

.nav-link:hover::after {
    width: 80%;
}

.btn-login-nav {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: var(--white);
    padding: 0.625rem 1.5rem;
    border-radius: 12px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(28, 200, 138, 0.3);
    text-decoration: none;
}

.btn-login-nav:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(28, 200, 138, 0.5);
    color: var(--white);
}

/* ========================================
   Hero Section
   ======================================== */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8rem 2rem 4rem;
    position: relative;
}

.hero-content {
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.hero-title {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    background: linear-gradient(135deg, #ffffff 0%, #e0e0e0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    line-height: 1.8;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-hero-primary {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: var(--white);
    padding: 1rem 2.5rem;
    border-radius: 14px;
    font-weight: 600;
    font-size: 1.125rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    transition: var(--transition);
    box-shadow: 0 8px 25px rgba(28, 200, 138, 0.4);
    text-decoration: none;
}

.btn-hero-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(28, 200, 138, 0.6);
    color: var(--white);
}

.btn-hero-secondary {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    color: var(--white);
    padding: 1rem 2.5rem;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    font-weight: 600;
    font-size: 1.125rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    transition: var(--transition);
    text-decoration: none;
}

.btn-hero-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--primary-color);
    transform: translateY(-3px);
    color: var(--white);
}

/* ========================================
   Section Common Styles
   ======================================== */
.features-section,
.why-section {
    padding: 6rem 2rem;
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--white);
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--text-secondary);
}

/* ========================================
   Features Section
   ======================================== */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.feature-card {
    background: rgba(30, 40, 60, 0.95);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 2.5rem 2rem;
    border-radius: 20px;
    transition: var(--transition);
    opacity: 0;
}

.feature-card.fade-in-up {
    animation: fadeInUp 0.6s ease-out forwards;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 35px rgba(28, 200, 138, 0.3);
    border-color: rgba(28, 200, 138, 0.3);
}

.feature-icon {
    width: 70px;
    height: 70px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.feature-icon-green {
    background: linear-gradient(135deg, rgba(28, 200, 138, 0.15) 0%, rgba(28, 200, 138, 0.25) 100%);
    color: var(--primary-color);
}

.feature-icon-blue {
    background: linear-gradient(135deg, rgba(78, 115, 223, 0.15) 0%, rgba(78, 115, 223, 0.25) 100%);
    color: var(--secondary-color);
}

.feature-icon-orange {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.15) 0%, rgba(245, 158, 11, 0.25) 100%);
    color: var(--warning-color);
}

.feature-icon-purple {
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.15) 0%, rgba(168, 85, 247, 0.25) 100%);
    color: #a855f7;
}

.feature-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--white);
}

.feature-description {
    font-size: 0.9375rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ========================================
   Why Us Section
   ======================================== */
.why-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
}

.why-card {
    text-align: center;
    padding: 2rem;
    opacity: 0;
}

.why-card.fade-in-up {
    animation: fadeInUp 0.6s ease-out forwards;
}

.why-icon {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    margin: 0 auto 1.5rem;
    transition: var(--transition);
    box-shadow: 0 8px 25px rgba(28, 200, 138, 0.3);
}

.why-card:hover .why-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 12px 35px rgba(28, 200, 138, 0.5);
}

.why-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--white);
}

.why-description {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ========================================
   CTA Section
   ======================================== */
.cta-section {
    padding: 6rem 2rem;
    position: relative;
    background: linear-gradient(135deg, rgba(28, 200, 138, 0.05) 0%, rgba(78, 115, 223, 0.05) 100%);
}

.cta-content {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
    padding: 3rem 2rem;
}

.cta-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--white);
}

.cta-description {
    font-size: 1.125rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.btn-cta {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: var(--white);
    padding: 1rem 3rem;
    border-radius: 14px;
    font-weight: 600;
    font-size: 1.125rem;
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    transition: var(--transition);
    box-shadow: 0 8px 25px rgba(28, 200, 138, 0.4);
    text-decoration: none;
}

.btn-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(28, 200, 138, 0.6);
    color: var(--white);
}

/* ========================================
   Footer
   ======================================== */
.landing-footer {
    background: rgba(10, 25, 41, 0.95);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 2rem;
    text-align: center;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-brand {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--white);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-brand i {
    color: var(--primary-color);
}

.footer-text {
    color: var(--text-secondary);
    font-size: 0.875rem;
}

/* ========================================
   Animations
   ======================================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ========================================
   Responsive Design
   ======================================== */

/* Tablet */
@media (min-width: 768px) and (max-width: 1199px) {
    .hero-title {
        font-size: 3rem;
    }

    .hero-subtitle {
        font-size: 1.125rem;
    }

    .feature-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .why-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .features-section,
    .why-section {
        padding: 4rem 2rem;
    }
}

/* Mobile */
@media (max-width: 767px) {
    .navbar-brand {
        font-size: 1.25rem;
    }

    .navbar-brand i {
        font-size: 1.5rem;
    }

    .btn-login-nav {
        padding: 0.5rem 1rem;
        font-size: 0.875rem;
    }

    .hero-section {
        padding: 6rem 1rem 3rem;
        min-height: auto;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 2rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .btn-hero-primary,
    .btn-hero-secondary {
        justify-content: center;
        padding: 0.875rem 1.5rem;
        font-size: 1rem;
    }

    .features-section,
    .why-section {
        padding: 3rem 1rem;
    }

    .section-header {
        margin-bottom: 2.5rem;
    }

    .section-title {
        font-size: 1.75rem;
    }

    .section-subtitle {
        font-size: 1rem;
    }

    .feature-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .feature-card {
        padding: 2rem 1.5rem;
    }

    .why-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .cta-section {
        padding: 3rem 1rem;
    }

    .cta-title {
        font-size: 1.75rem;
    }

    .cta-description {
        font-size: 1rem;
    }

    .btn-cta {
        padding: 0.875rem 2rem;
        font-size: 1rem;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
    }

    .nav-link {
        padding: 0.75rem 1rem !important;
    }
}

/* Extra small devices */
@media (max-width: 375px) {
    .hero-title {
        font-size: 1.75rem;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .cta-title {
        font-size: 1.5rem;
    }
}
