@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

:root {
    --primary-color: #017fe4;
    --primary-dark: #0066b8;
    --accent-color: #d24872;
    --text-dark: #030107;
    --text-light: #6c757d;
    --bg-light: #f8f9fa;
    --bg-gradient: linear-gradient(135deg, #017fe4 0%, #0066b8 100%);
    --white: #ffffff;
    --shadow: 0 10px 40px rgba(1, 127, 228, 0.15);
    --shadow-sm: 0 4px 15px rgba(0, 0, 0, 0.08);
    --border-radius: 16px;
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-dark);
    background-color: var(--white);
    overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 1rem;
}

h1 { font-size: 3.5rem; }
h2 { font-size: 2.75rem; }
h3 { font-size: 1.75rem; }
h4 { font-size: 1.25rem; }

p {
    margin-bottom: 1rem;
    color: var(--text-light);
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--primary-dark);
}

/* Container */
.container {
    max-width: 1190px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Buttons */
.btn-primary-custom {
    background: var(--bg-gradient);
    color: var(--white) !important;
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
}

.btn-primary-custom:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow);
    color: var(--white);
}

.btn-secondary-custom {
    background: var(--white);
    color: var(--primary-color);
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    border: 2px solid var(--primary-color);
    cursor: pointer;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
}

.btn-secondary-custom:hover {
    background: var(--primary-color);
    color: var(--white);
}

/* Header/Navbar */
.navbar-custom {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
    padding: 15px 0;
    transition: var(--transition);
}

.navbar-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.navbar-brand-custom {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary-color) !important;
}

.navbar-brand-custom img {
    height: 40px;
}

.navbar-nav-custom {
    display: flex;
    align-items: center;
    gap: 35px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-link-custom {
    font-weight: 500;
    color: var(--text-dark) !important;
    padding: 8px 0;
    position: relative;
}

.nav-link-custom::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: var(--transition);
}

.nav-link-custom:hover::after,
.nav-link-custom.active::after {
    width: 100%;
}

.nav-link-custom:hover {
    color: var(--primary-color) !important;
}

.navbar-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 10px;
    background: none;
    border: none;
}

.navbar-toggle span {
    width: 25px;
    height: 3px;
    background: var(--text-dark);
    border-radius: 2px;
    transition: var(--transition);
}

/* Hero Section */
.hero {
    padding: 160px 0 100px;
    background: linear-gradient(180deg, #f0f7ff 0%, #ffffff 100%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 70%;
    height: 150%;
    background: radial-gradient(circle, rgba(1, 127, 228, 0.08) 0%, transparent 70%);
    pointer-events: none;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-text h1 {
    font-size: 3.2rem;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

.hero-text h1 span {
    color: var(--primary-color);
}

.hero-text p {
    font-size: 1.15rem;
    margin-bottom: 2rem;
    max-width: 520px;
}

.hero-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 2rem;
}

.badge-custom {
    background: var(--white);
    padding: 10px 20px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-dark);
    box-shadow: var(--shadow-sm);
    display: flex;
    align-items: center;
    gap: 8px;
}

.badge-custom i {
    color: var(--primary-color);
}

.hero-image {
    position: relative;
}

.hero-image img {
    width: 100%;
    max-width: 550px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

/* Section Styles */
section {
    padding: 100px 0;
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px;
}

.section-header h2 {
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.section-header p {
    font-size: 1.1rem;
}

.section-tag {
    display: inline-block;
    background: rgba(1, 127, 228, 0.1);
    color: var(--primary-color);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

/* Features Section */
.features {
    background: var(--bg-light);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.feature-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: var(--border-radius);
    text-align: center;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow);
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: rgba(1, 127, 228, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 2rem;
    color: var(--primary-color);
}

.feature-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

.feature-card p {
    font-size: 0.95rem;
}

/* How It Works */
.how-it-works-item {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    margin-bottom: 80px;
}

.how-it-works-item:nth-child(even) {
    direction: rtl;
}

.how-it-works-item:nth-child(even) > * {
    direction: ltr;
}

.how-it-works-item:last-child {
    margin-bottom: 0;
}

.how-it-works-content {
    padding: 20px 0;
}

.how-it-works-content .step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: var(--bg-gradient);
    color: var(--white);
    border-radius: 50%;
    font-weight: 700;
    font-size: 1.25rem;
    margin-bottom: 20px;
}

.how-it-works-content h3 {
    font-size: 1.75rem;
    margin-bottom: 1rem;
}

.how-it-works-content p {
    font-size: 1.05rem;
    line-height: 1.8;
}

.how-it-works-image img {
    width: 100%;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
}

/* About Section */
.about {
    background: linear-gradient(180deg, #ffffff 0%, #f0f7ff 100%);
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.about-card {
    background: var(--white);
    padding: 40px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
}

.about-card h3 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 12px;
}

.about-card h3 i {
    font-size: 1.5rem;
}

.about-card p {
    font-size: 1.05rem;
    line-height: 1.8;
}

.values-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.values-list li {
    padding: 12px 0;
    padding-left: 35px;
    position: relative;
    border-bottom: 1px solid #eee;
    color: var(--text-light);
}

.values-list li:last-child {
    border-bottom: none;
}

.values-list li::before {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    color: var(--primary-color);
}

/* Team Section */
.team {
    background: var(--bg-light);
    text-align: center;
}

.team-description {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.1rem;
    line-height: 1.9;
}

/* Pricing Section */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    max-width: 900px;
    margin: 0 auto;
}

.pricing-card {
    background: var(--white);
    padding: 50px 40px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.pricing-card.featured {
    border: 2px solid var(--primary-color);
}

.pricing-card.featured::before {
    content: 'Popüler';
    position: absolute;
    top: 20px;
    right: -30px;
    background: var(--accent-color);
    color: var(--white);
    padding: 5px 40px;
    font-size: 0.85rem;
    font-weight: 600;
    transform: rotate(45deg);
}

.pricing-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow);
}

.pricing-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.pricing-card .price {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
}

.pricing-card .price span {
    font-size: 1rem;
    font-weight: 400;
    color: var(--text-light);
}

.pricing-features {
    list-style: none;
    padding: 0;
    margin-bottom: 2rem;
    text-align: left;
}

.pricing-features li {
    padding: 12px 0;
    padding-left: 30px;
    position: relative;
    color: var(--text-light);
    border-bottom: 1px solid #f0f0f0;
}

.pricing-features li:last-child {
    border-bottom: none;
}

.pricing-features li::before {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    color: var(--primary-color);
}

/* Contact Section */
.contact {
    background: var(--bg-gradient);
    color: var(--white);
    text-align: center;
}

.contact h2 {
    color: var(--white);
}

.contact p {
    color: rgba(255, 255, 255, 0.9);
}

.contact-info {
    display: flex;
    justify-content: center;
    gap: 60px;
    margin-top: 40px;
    flex-wrap: wrap;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 15px;
}

.contact-item i {
    font-size: 1.5rem;
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-item span {
    font-size: 1.05rem;
}

/* Footer */
.footer {
    background: #0a1628;
    color: var(--white);
    padding: 60px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-brand {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--white) !important;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-brand img {
    height: 35px;
}

.footer-description {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    line-height: 1.8;
    max-width: 300px;
}

.footer h4 {
    color: var(--white);
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--white);
    padding-left: 5px;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--primary-color);
    transform: translateY(-3px);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
    text-align: center;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
}

/* App Store Buttons */
.app-buttons {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.app-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--white);
    color: var(--text-dark) !important;
    padding: 10px 20px;
    border-radius: 10px;
    font-size: 0.85rem;
    transition: var(--transition);
}

.app-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
    color: var(--text-dark);
}

.app-btn i {
    font-size: 1.5rem;
}

.app-btn-text {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.app-btn .small {
    font-size: 0.7rem;
    color: var(--text-light);
}

.app-btn .large {
    font-weight: 600;
}

/* Responsive Design */
@media (max-width: 992px) {
    h1 { font-size: 2.5rem; }
    h2 { font-size: 2rem; }

    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-text p {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-badges {
        justify-content: center;
    }

    .hero-image {
        order: -1;
    }

    .hero-image img {
        max-width: 400px;
        margin: 0 auto;
        display: block;
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .how-it-works-item {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .how-it-works-item:nth-child(even) {
        direction: ltr;
    }

    .about-grid {
        grid-template-columns: 1fr;
    }

    .pricing-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    section {
        padding: 70px 0;
    }

    .navbar-nav-custom {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        padding: 30px;
        gap: 20px;
        box-shadow: var(--shadow-sm);
        transform: translateY(-150%);
        opacity: 0;
        transition: var(--transition);
    }

    .navbar-nav-custom.active {
        transform: translateY(0);
        opacity: 1;
    }

    .navbar-toggle {
        display: flex;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .contact-info {
        flex-direction: column;
        gap: 25px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-description {
        margin: 0 auto;
    }

    .social-links {
        justify-content: center;
    }

    .app-buttons {
        justify-content: center;
        flex-wrap: wrap;
    }

    h1 { font-size: 2rem; }
    h2 { font-size: 1.75rem; }

    .hero {
        padding: 120px 0 60px;
    }

    .hero-text h1 {
        font-size: 2rem;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fadeInUp {
    animation: fadeInUp 0.6s ease-out forwards;
}

/* Scroll Reveal */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Placeholder Image */
.placeholder-img {
    background: linear-gradient(135deg, #e8f4fd 0%, #d0e8f9 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 3rem;
    min-height: 300px;
    border-radius: var(--border-radius);
}

/* Login Dropdown */
.login-dropdown {
    position: relative;
}

.login-btn {
    cursor: pointer;
}

.login-btn i {
    font-size: 0.75rem;
    transition: var(--transition);
}

.login-btn.active i {
    transform: rotate(180deg);
}

.login-menu {
    position: absolute;
    top: calc(100% + 15px);
    right: 0;
    background: var(--white);
    border-radius: var(--border-radius);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    padding: 10px;
    min-width: 280px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: var(--transition);
    z-index: 1001;
}

.login-menu::before {
    content: '';
    position: absolute;
    top: -8px;
    right: 30px;
    width: 16px;
    height: 16px;
    background: var(--white);
    transform: rotate(45deg);
    box-shadow: -2px -2px 5px rgba(0, 0, 0, 0.05);
}

.login-menu.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.login-option {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px 20px;
    border-radius: 12px;
    color: var(--text-dark) !important;
    transition: var(--transition);
}

.login-option:hover {
    background: var(--bg-light);
    color: var(--primary-color) !important;
}

.login-option i {
    font-size: 1.5rem;
    color: var(--primary-color);
    width: 45px;
    height: 45px;
    background: rgba(1, 127, 228, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.login-option div {
    display: flex;
    flex-direction: column;
}

.login-title {
    font-weight: 600;
    font-size: 1rem;
    color: var(--text-dark);
}

.login-desc {
    font-size: 0.85rem;
    color: var(--text-light);
}

.login-option:first-child {
    margin-bottom: 5px;
}

/* Mobile login dropdown */
@media (max-width: 768px) {
    .login-menu {
        position: static;
        box-shadow: none;
        padding: 10px 0;
        min-width: 100%;
        opacity: 1;
        visibility: visible;
        transform: none;
        display: none;
        background: var(--bg-light);
        border-radius: 12px;
        margin-top: 10px;
    }

    .login-menu::before {
        display: none;
    }

    .login-menu.active {
        display: block;
    }

    .login-dropdown {
        width: 100%;
    }

    .login-btn {
        width: 100%;
        justify-content: center;
    }
}