@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

:root {
    --primary: #ce1b1d;
    --primary-hover: #b01719;
    --secondary: #163B68;
    --dark: #0f172a;
    --light: #f8fafc;
    --white: #ffffff;
    --text-main: #1e293b;
    --text-muted: #64748b;
    --border: #e2e8f0;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --radius: 12px;
    --container: 1200px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    color: var(--text-main);
    background: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 24px;
}

/* Navbar - Tacir Inspired (Clean & Professional) */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 90px;
    display: flex;
    align-items: center;
    z-index: 1000;
    background: var(--white);
    transition: var(--transition);
    border-bottom: 1px solid transparent;
}

.navbar.scrolled {
    height: 75px;
    box-shadow: var(--shadow);
    border-color: var(--border);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    font-size: 24px;
    font-weight: 800;
    color: var(--secondary);
}

.logo-box {
    width: 44px;
    height: 44px;
    background: var(--primary);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 22px;
}

.logo span span {
    color: var(--primary);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 40px;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-main);
    font-weight: 600;
    font-size: 15px;
    transition: var(--transition);
}

.nav-links a:hover {
    color: var(--primary);
}

.nav-actions {
    display: flex;
    gap: 15px;
    align-items: center;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    border-radius: 10px;
    font-weight: 700;
    text-decoration: none;
    transition: var(--transition);
    cursor: pointer;
    font-size: 15px;
    border: none;
}

.btn-outline {
    background: transparent;
    color: var(--secondary);
    border: 2px solid var(--border);
}

.btn-outline:hover {
    border-color: var(--secondary);
    background: var(--light);
}

.btn-primary {
    background: var(--primary);
    color: var(--white);
    box-shadow: 0 4px 14px rgba(206, 27, 29, 0.25);
}

.btn-primary:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
}

/* Mobile Menu */
.mobile-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 28px;
    cursor: pointer;
    color: var(--secondary);
}

/* Hero Section */
.hero {
    padding: 180px 0 100px;
    background: radial-gradient(circle at top right, rgba(206, 27, 29, 0.03), transparent),
        radial-gradient(circle at bottom left, rgba(22, 59, 104, 0.03), transparent);
}

.hero-content {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 60px;
    align-items: center;
}

.hero-text h1 {
    font-size: 64px;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 25px;
    color: var(--secondary);
    letter-spacing: -2px;
}

.hero-text h1 span {
    color: var(--primary);
}

.hero-text p {
    font-size: 20px;
    color: var(--text-muted);
    margin-bottom: 40px;
    max-width: 540px;
}

.hero-btns {
    display: flex;
    gap: 20px;
}

.hero-visual {
    position: relative;
}

.hero-image {
    width: 100%;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    border: 8px solid var(--white);
    transform: perspective(1000px) rotateY(-5deg);
}

/* Modules Grid */
.section-header {
    text-align: center;
    margin-bottom: 70px;
}

.section-header h2 {
    font-size: 42px;
    font-weight: 800;
    color: var(--secondary);
    margin-bottom: 15px;
}

.section-header p {
    color: var(--text-muted);
    font-size: 18px;
    max-width: 600px;
    margin: 0 auto;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    padding: 60px 0;
}

.feature-card {
    background: var(--white);
    padding: 50px 40px;
    border-radius: 24px;
    border: 1px solid var(--border);
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
}

.f-icon {
    width: 64px;
    height: 64px;
    background: rgba(206, 27, 29, 0.05);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 28px;
    margin-bottom: 25px;
}

.feature-card h3 {
    font-size: 24px;
    margin-bottom: 15px;
    color: var(--secondary);
}

.feature-card p {
    color: var(--text-muted);
    font-size: 16px;
    margin-bottom: 20px;
}

/* Stats */
.stats-section {
    background: var(--secondary);
    color: var(--white);
    padding: 80px 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    text-align: center;
}

.stat-item h4 {
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 5px;
    color: var(--primary);
}

.stat-item p {
    font-size: 16px;
    opacity: 0.8;
}

/* Pricing Section */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    padding: 60px 0;
}

.pricing-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 24px;
    padding: 50px 40px;
    text-align: center;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.pricing-card.popular {
    border-color: var(--primary);
    transform: scale(1.05);
    box-shadow: var(--shadow-lg);
}

.popular-badge {
    position: absolute;
    top: 20px;
    right: -35px;
    background: var(--primary);
    color: var(--white);
    padding: 8px 40px;
    transform: rotate(45deg);
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
}

.price {
    font-size: 54px;
    font-weight: 800;
    color: var(--secondary);
    margin: 20px 0;
}

.price span {
    font-size: 18px;
    color: var(--text-muted);
    font-weight: 600;
}

.pricing-features {
    list-style: none;
    margin: 30px 0;
    text-align: left;
}

.pricing-features li {
    margin-bottom: 15px;
    color: var(--text-main);
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 15px;
}

.pricing-features i {
    color: #10b981;
}

/* FAQ Section */
.faq-grid {
    max-width: 800px;
    margin: 0 auto;
    padding: 40px 0;
}

.faq-item {
    border-bottom: 1px solid var(--border);
}

.faq-header {
    padding: 25px 0;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 700;
    font-size: 18px;
    color: var(--secondary);
}

.faq-content {
    max-height: 0;
    overflow: hidden;
    transition: var(--transition);
    color: var(--text-muted);
    padding-bottom: 0;
}

.faq-item.active .faq-content {
    max-height: 500px;
    padding-bottom: 25px;
}

.faq-item.active .faq-header i {
    transform: rotate(180deg);
    color: var(--primary);
}

/* Contact Specific */
.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 60px;
    padding: 80px 0;
}

.contact-info-list {
    list-style: none;
    margin-top: 30px;
}

.contact-info-list li {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 30px;
}

.contact-icon {
    width: 60px;
    height: 60px;
    background: var(--light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 24px;
}

.contact-text h4 {
    font-size: 18px;
    color: var(--secondary);
    margin-bottom: 5px;
}

.contact-text p {
    color: var(--text-muted);
}

.contact-form {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 24px;
    padding: 40px;
    box-shadow: var(--shadow);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 10px;
    font-weight: 600;
    font-size: 14px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 14px 20px;
    border: 1px solid var(--border);
    border-radius: 10px;
    outline: none;
    font-family: inherit;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(206, 27, 29, 0.05);
}

/* Sectors Layout */
.sector-card {
    position: relative;
    height: 350px;
    border-radius: 20px;
    overflow: hidden;
    cursor: pointer;
}

.sector-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.sector-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 40px;
    background: linear-gradient(to top, rgba(15, 23, 42, 0.9), transparent);
    color: var(--white);
}

.sector-card:hover .sector-img {
    transform: scale(1.1);
}

.sector-overlay h3 {
    font-size: 24px;
    margin-bottom: 10px;
}

/* Documentation Layout */
.docs-container {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 40px;
    padding: 60px 0;
}

.docs-sidebar {
    position: sticky;
    top: 100px;
    height: fit-content;
    background: var(--white);
    padding: 30px;
    border-radius: 20px;
    border: 1px solid var(--border);
}

.docs-nav {
    list-style: none;
}

.docs-nav-group {
    margin-bottom: 25px;
}

.docs-nav-group h5 {
    font-size: 14px;
    text-transform: uppercase;
    color: var(--text-muted);
    letter-spacing: 1px;
    margin-bottom: 15px;
}

.docs-nav li a {
    display: block;
    padding: 10px 0;
    color: var(--text-main);
    font-weight: 600;
    transition: var(--transition);
}

.docs-nav li a:hover,
.docs-nav li a.active {
    color: var(--primary);
    padding-left: 5px;
}

.docs-content {
    background: var(--white);
    padding: 60px;
    border-radius: 24px;
    border: 1px solid var(--border);
}

.docs-section {
    margin-bottom: 80px;
}

.docs-subtitle {
    color: var(--primary);
    font-size: 14px;
    font-weight: 800;
    text-transform: uppercase;
    margin-bottom: 10px;
    display: block;
}

.docs-content h2 {
    font-size: 32px;
    margin-bottom: 25px;
    color: var(--secondary);
}

.docs-content p {
    line-height: 1.8;
    margin-bottom: 20px;
    color: var(--text-muted);
}

.tip-box {
    background: #f0fdf4;
    border-left: 4px solid #10b981;
    padding: 20px 25px;
    margin: 30px 0;
    border-radius: 0 12px 12px 0;
}

.tip-box h6 {
    color: #166534;
    margin-bottom: 5px;
    font-size: 16px;
}

.feature-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-top: 20px;
}

.feature-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 15px;
    color: var(--text-main);
}

.feature-list i {
    color: var(--primary);
}

@media (max-width: 992px) {
    .docs-container {
        grid-template-columns: 1fr;
    }

    .docs-sidebar {
        display: none;
    }
}

/* Sub-pages Styles */
.page-title {
    padding: 140px 0 60px;
    background: var(--light);
    text-align: center;
}

.page-title h1 {
    font-size: 48px;
    color: var(--secondary);
    letter-spacing: -1px;
}

.legal-body {
    padding: 80px 0;
    max-width: 800px;
    margin: 0 auto;
}

.legal-body h2 {
    margin: 40px 0 20px;
    font-size: 28px;
    color: var(--secondary);
}

.legal-body p {
    margin-bottom: 20px;
    font-size: 18px;
    color: var(--text-main);
    line-height: 1.8;
}

/* Footer */
.footer {
    background: var(--dark);
    color: var(--white);
    padding: 80px 0 40px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
}

.footer-logo {
    font-size: 24px;
    font-weight: 800;
    margin-bottom: 20px;
    display: block;
    text-decoration: none;
    color: white;
}

@media (max-width: 992px) {
    .app-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .download-options {
        justify-content: center;
    }

    .app-visual {
        justify-content: center;
    }
}

.footer-logo span {
    color: var(--primary);
}

.footer h4 {
    font-size: 18px;
    margin-bottom: 25px;
    font-weight: 700;
    color: var(--primary);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: #94a3b8;
    text-decoration: none;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--white);
    padding-left: 5px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
    text-align: center;
    color: #64748b;
    font-size: 14px;
}

/* Responsive */
@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-text h1 {
        font-size: 48px;
    }

    .hero-btns {
        justify-content: center;
    }

    .hero-visual {
        display: none;
    }

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

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .navbar {
        height: 75px;
    }

    .nav-links,
    .nav-actions {
        display: none;
    }

    .mobile-toggle {
        display: block;
    }

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

    .stats-grid {
        grid-template-columns: 1fr 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .nav-links.active {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--white);
        padding: 40px;
        gap: 25px;
        box-shadow: var(--shadow-lg);
        border-top: 1px solid var(--border);
    }
}

/* App Download Section */
.app-download-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    color: white;
    overflow: hidden;
}

.app-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.app-content h2 {
    font-size: 42px;
    margin-bottom: 20px;
    line-height: 1.2;
}

.app-content p {
    font-size: 18px;
    color: #94a3b8;
    margin-bottom: 40px;
}

.download-options {
    display: flex;
    gap: 20px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.download-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 15px 25px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    gap: 15px;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
}

.download-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-5px);
    border-color: var(--primary);
}

.download-btn i {
    font-size: 30px;
}

.btn-text span {
    display: block;
    font-size: 12px;
    color: #94a3b8;
}

.btn-text strong {
    font-size: 18px;
}

.app-visual {
    display: flex;
    justify-content: flex-end;
}

.qr-box {
    background: white;
    padding: 15px;
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    width: fit-content;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.qr-image {
    width: 140px;
    height: 140px;
    object-fit: contain;
    border-radius: 8px;
}

.qr-box p {
    color: #0f172a;
    font-weight: 700;
    margin: 0;
    font-size: 14px;
}

.ios-soon {
    opacity: 0.6;
    cursor: default;
    position: relative;
}

.ios-soon::after {
    content: "TEZLİKLƏ";
    position: absolute;
    top: -10px;
    right: -10px;
    background: var(--primary);
    font-size: 10px;
    padding: 4px 8px;
    border-radius: 8px;
    font-weight: bold;
    color: white;
}

@media (max-width: 992px) {
    .app-visual {
        display: none;
    }
}