:root {
    --primary: #729cff;
    --primary-light: #292ecd;
    --secondary: #292ecd;
    --dark: #171929;
    --darker: #181926;
    --light: #e8f0ff;
    --gray: #dbdbdb;
    --success: #00b894;
    --warning: #fdcb6e;
    --danger: #d63031;
    --info: #0984e3;
    --max-content-width: 1200px;
    --status-bar-color: #181926;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Montserrat", "Roboto", sans-serif;
}

html {
    scroll-behavior: smooth;
    background: linear-gradient(135deg, #181926, #131421);
}

body {
    background: linear-gradient(135deg, #181926, #131421);
    background-attachment: fixed;
    color: var(--light);
    overflow-x: hidden;
    line-height: 1.6;
}

.container {
    width: 100%;
    max-width: var(--max-content-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Styles */
.header {
    position: fixed;
    top: 15px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 1200px;
    padding: 15px 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: rgba(24, 25, 38, 0.7);
    z-index: 1000;
    backdrop-filter: blur(12px) saturate(180%);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.header.scrolled {
    /* padding: 10px 2%; */
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

.logo {
    height: 50px;
    transition: all 0.3s ease;
}

.logo img {
    height: 100%;
    width: auto;
}

.nav-links {
    display: flex;
    gap: 25px;
}

.nav-links a {
    color: var(--light);
    text-decoration: none;
    font-weight: 500;
    font-size: 15px;
    position: relative;
    transition: all 0.3s ease;
}

.nav-links a::after {
    content: "";
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width 0.3s ease;
}

.nav-links a:hover {
    color: var(--primary);
}

.nav-links a:hover::after {
    width: 100%;
}

.header-buttons {
    display: flex;
    gap: 15px;
    align-items: center;
}

.btn {
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease, transform 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 15px;
    text-decoration: none;
    border: none;
    outline: none;
}

.btn:hover {
    transform: translateY(-3px) scale(1.02);
}

.btn:active {
    transform: translateY(1px);
}

.btn-outline {
    background: transparent;
    color: var(--primary);
    border: 1px solid var(--primary);
}

.btn-outline:hover {
    background: rgba(103, 140, 248, 0.1);
}

.btn-primary {
    background: var(--primary);
    color: white;
}

.btn-primary:hover {
    background: var(--primary-light);
    box-shadow: 0 5px 15px rgba(103, 140, 248, 0.3);
}

/* Mobile Menu Styles */
.mobile-menu-btn {
    display: none;
    background: transparent;
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
    z-index: 1001;
    padding: 8px;
    margin: -8px;
}

.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    z-index: 998;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

.mobile-menu {
    position: fixed;
    top: 110px;
    left: 5%;
    width: 90%;
    background: var(--dark);
    padding: 15px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    z-index: 999;
    transform: translateY(-150%);
    opacity: 0;
    transition: all 0.4s ease;
    display: flex;
    flex-direction: column;
    gap: 8px;
    max-height: calc(100vh - 80px);
    overflow-y: auto;
    border-radius: 25px;
}

.mobile-menu.active {
    transform: translateY(0);
    opacity: 1;
}

.mobile-menu > a {
    color: var(--light);
    text-decoration: none;
    padding: 15px 20px;
    border-radius: 8px;
    transition: all 0.3s ease;
    display: block;
    background: rgba(255, 255, 255, 0.05);
    border-left: 3px solid transparent;
    font-size: 16px;
}

.mobile-menu > a:hover {
    background: rgba(255, 255, 255, 0.1);
    border-left-color: var(--primary);
    transform: translateX(5px);
}

.mobile-buttons {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 10px;
    padding-top: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 50px;
}

.mobile-buttons .btn {
    width: 100%;
    justify-content: center;
    padding: 12px;
    font-size: 15px;
    text-align: center;
}

.mobile-buttons .btn-outline {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--primary);
    color: var(--primary);
}

.mobile-buttons .btn-primary {
    background: var(--primary);
    color: white;
    border: 1px solid var(--primary);
}

.mobile-buttons .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Hero Section */
.hero {
    /* height: 92vh;
    min-height: calc(100vh - 80px);
    position: inherit;
    overflow: hidden;
    display: flex;
    align-items: center;
    padding: 0 5%;
    margin-top: 60px; */
    padding: 100px 5% 60px;
    margin-top: 60px;
    display: flex;
    align-items: center;
    min-height: auto;
    height: auto;
}

.hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* background: linear-gradient(to right, rgba(24, 25, 38, 0.8), rgba(24, 25, 38, 0.5)); */
    z-index: 0;
}

.hero-video {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 120%;
    object-fit: cover;
    object-position: center;
    z-index: 0;
    opacity: 0.2;
}

.hero-content {
    max-width: 800px;
    z-index: 1;
    position: relative;
}

.hero h1 {
    font-size: clamp(32px, 5vw, 48px);
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
    background: linear-gradient(to right, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: #fff;
}

.hero p {
    font-size: clamp(16px, 2.5vw, 18px);
    color: var(--light);
    margin-bottom: 30px;
    line-height: 1.6;
    opacity: 0.9;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.hero-inner {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 40px;
    position: relative;
    z-index: 2;
    padding: 5vw 5vw;
    min-height: 100%;
}

.hero-content {
    flex: 1;
    max-width: 55%;
}

.miya-output {
    flex: 0 0 350px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(8px);
    border-radius: 16px;
    padding: 20px;
    color: #fff;
    font-family: "Inter", sans-serif;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    max-height: 300px;
    overflow-y: auto;
}

.miya-header {
    font-weight: bold;
    margin-bottom: 10px;
    color: #aab4ff;
    font-size: 18px;
}

.miya-body {
    font-size: 15px;
    line-height: 1.6;
}

/* Sections Common Styles */
.section {
    padding: 100px 0;
    position: relative;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
    padding: 0 20px;
}

.section-title h2 {
    font-size: clamp(28px, 4vw, 36px);
    font-weight: 700;
    margin-bottom: 15px;
    background: linear-gradient(to right, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: #ffffff;
}

.section-title p {
    color: var(--gray);
    font-size: clamp(16px, 2vw, 18px);
    max-width: 700px;
    margin: 0 auto;
}

/* Features Section */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    padding: 0 0px;
}

.feature-card {
    background: var(--dark);
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    z-index: 1;
    min-height: 100%;
    display: flex;
    flex-direction: column;
}

.feature-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(to bottom, var(--primary), var(--secondary));
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.feature-card:hover::before {
    width: 100%;
    opacity: 0.1;
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: white;
    font-size: 24px;
}

.feature-card h3 {
    font-size: 22px;
    margin-bottom: 15px;
    color: white;
}

.feature-card p {
    color: var(--gray);
    line-height: 1.6;
    margin-bottom: 20px;
    flex-grow: 1;
}

.feature-link {
    color: var(--primary);
    text-decoration: none;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.feature-link:hover {
    color: var(--primary-light);
    gap: 12px;
}

/* About Section */
.about {
    position: relative;
    padding: 100px 0;
}

.about::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.05;
    z-index: 0;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.about-image {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.about-image img {
    width: 100%;
    height: auto;
    display: block;
}

.about-image::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(103, 140, 248, 0), rgba(0, 206, 201, 0));
}

.about-text h2 {
    font-size: clamp(28px, 4vw, 36px);
    margin-bottom: 20px;
    background: linear-gradient(to right, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: #fff;
}

.about-text p {
    color: var(--light);
    margin-bottom: 20px;
    line-height: 1.6;
    opacity: 0.9;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 15px;
    margin-top: 30px;
}

.stat-item {
    text-align: center;
    padding: 15px;
    background: rgb(23 25 40);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.stat-item:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-5px);
}

.stat-value {
    font-size: 28px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 5px;
}

.stat-label {
    color: var(--gray);
    font-size: 14px;
}

/* Pricing Section */
.pricing-section {
    padding: 80px 0;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin-top: 40px;
    padding: 0 0px;
}

.pricing-card {
    background: var(--dark);
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    z-index: 1;
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    flex-direction: column;
}

.pricing-card.popular {
    border: 1px solid var(--primary);
    transform: translateY(-5px);
    box-shadow: 0px 3px 4px rgba(103, 140, 248, 0.5);
}

.pricing-card.popular::before {
    content: "Популярный";
    position: absolute;
    top: 25px;
    right: -30px;
    background: var(--primary);
    color: white;
    padding: 5px 30px;
    transform: rotate(45deg);
    font-size: 12px;
    font-weight: 600;
}

.pricing-header {
    margin-bottom: 20px;
}

.pricing-name {
    font-size: 20px;
    color: white;
    margin-bottom: 10px;
}

.pricing-price {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 5px;
    background: linear-gradient(to right, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.pricing-period {
    color: var(--gray);
    font-size: 14px;
}

.pricing-features {
    margin: 25px 0;
    flex-grow: 1;
}

.pricing-features li {
    margin-bottom: 10px;
    color: var(--light);
    display: flex;
    align-items: center;
    gap: 8px;
}

.pricing-features li i {
    color: var(--success);
    font-size: 14px;
}

.pricing-btn {
    width: 100%;
    justify-content: center;
    padding: 12px;
    font-weight: 600;
}

/* News Section */
.news-section {
    padding: 10px 0;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin-top: 40px;
    padding: 0 0px;
}

.news-card {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.news-image {
    height: 180px;
    background-size: cover;
    background-position: center;
}

.news-content {
    padding: 20px;
}

.news-date {
    color: var(--gray);
    font-size: 12px;
    margin-bottom: 10px;
}

.news-title {
    font-size: 18px;
    color: white;
    margin-bottom: 12px;
    line-height: 1.4;
}

.news-excerpt {
    color: var(--gray);
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 15px;
}

.news-more {
    color: var(--primary);
    text-decoration: none;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.news-more:hover {
    color: var(--primary-light);
    gap: 12px;
}

.news-btn {
    margin-top: 30px;
    text-align: center;
}

/* Partners Section */
.partners-section {
    padding: 50px 0;
}

.partners-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.partner-benefits {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.partner-benefit {
    display: flex;
    gap: 15px;
}

.partner-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 20px;
    flex-shrink: 0;
}

.partner-text h3 {
    font-size: 20px;
    margin-bottom: 8px;
    color: white;
}

.partner-text p {
    color: var(--gray);
    line-height: 1.6;
}

.partner-image {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.partner-image img {
    width: 100%;
    height: auto;
    display: block;
}

.partner-cta {
    margin-top: 30px;
    text-align: center;
}

/* API Section */
.api {
    padding: 80px 0;
}

.api-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.api-code {
    background: #1e1f2b;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
}

.api-code::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(to bottom, var(--primary), var(--secondary));
}

.code-header {
    display: flex;
    gap: 8px;
    margin-bottom: 15px;
}

.code-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.code-dot.red {
    background: #ff5f56;
}

.code-dot.yellow {
    background: #ffbd2e;
}

.code-dot.green {
    background: #27c93f;
}

pre {
    color: var(--light);
    font-family: "Roboto Mono", monospace;
    line-height: 1.5;
    overflow-x: auto;
    font-size: 14px;
    white-space: pre-wrap;
    word-wrap: break-word;
}

.api-features {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.api-feature {
    display: flex;
    gap: 15px;
}

.api-feature-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 20px;
    flex-shrink: 0;
}

.api-feature-text h3 {
    font-size: 20px;
    margin-bottom: 8px;
    color: white;
}

.api-feature-text p {
    color: var(--gray);
    line-height: 1.6;
}

/* CTA Section */
.cta {
    padding: 80px 0;
    text-align: center;
    position: relative;
}

.cta::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(24, 25, 38, 0.9), rgba(33, 35, 45, 0.9));
}

.cta-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.cta h2 {
    font-size: clamp(28px, 4vw, 36px);
    margin-bottom: 20px;
    color: white;
}

.cta p {
    color: var(--gray);
    font-size: clamp(16px, 2vw, 18px);
    margin-bottom: 30px;
}

.back-btn {
    position: fixed;
    bottom: 14px;
    right: 14px;
    width: 45px;
    height: 45px;
    border: none;
    background: rgba(44, 44, 100, 0.98);
    color: #a6bfe7;
    font-size: 22px;
    border-radius: 50%;
    box-shadow: 0 2px 14px 2px #02062113;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 30;
    cursor: pointer;
    transition: background 0.12s, color 0.13s;
}

.back-btn:hover {
    background: #232469;
    color: #8dd5ff;
}
/* Footer */
.footer {
    background: #151621;
    padding: 60px 0 25px;
    z-index: 1;
    position: relative;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
    padding: 0 20px;
    max-width: var(--max-content-width);
    margin-left: auto;
    margin-right: auto;
}

.footer-logo {
    margin-bottom: 15px;
}

.footer-logo img {
    height: 40px;
}

.footer-about p {
    color: var(--gray);
    line-height: 1.6;
    margin-bottom: 15px;
}

.social-links {
    display: flex;
    gap: 12px;
}

.social-link {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--light);
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-link:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-3px);
}

.footer-links h3 {
    color: white;
    font-size: 18px;
    margin-bottom: 15px;
    position: relative;
    padding-bottom: 8px;
}

.footer-links h3::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--primary);
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: var(--gray);
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: var(--primary);
    padding-left: 5px;
}

.footer-contact p {
    color: var(--gray);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-contact i {
    color: var(--primary);
}

.footer-contact a {
    color: var(--gray);
    text-decoration: none;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 25px;
    text-align: center;
    color: var(--gray);
    font-size: 14px;
    max-width: var(--max-content-width);
    margin: 0 auto;
    padding-left: 20px;
    padding-right: 20px;
}

.footer-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
}

/* Animations */
@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-10px);
    }

    100% {
        transform: translateY(0px);
    }
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(103, 140, 248, 0.4);
    }

    70% {
        box-shadow: 0 0 0 12px rgba(103, 140, 248, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(103, 140, 248, 0);
    }
}

.floating {
    animation: float 6s ease-in-out infinite;
}

.pulse {
    animation: pulse 2s infinite;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: var(--darker);
}

::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 4px;
}

/* ::-webkit-scrollbar-thumb:hover {
    background: var(--primary-light);
} */

/* Main Element */
#main {
    position: fixed;
    width: 100vw;
    height: 120vh;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
    pointer-events: none;
}
#fs-10 {
    font-size: 16px;
}
/* Responsive Styles */
@media (max-width: 1200px) {
    .hero h1 {
        font-size: 42px;
    }
}

@media (max-width: 992px) {
    .hero h1 {
        font-size: 36px;
    }
    .hero-inner {
        flex-direction: column;
        align-items: flex-start;
        top: 150px;
    }

    .hero-content {
        max-width: 100%;
    }

    .miya-output {
        width: 100%;
        margin-top: 30px;
    }

    .about-content,
    .api-content,
    .partners-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .about-image {
        order: -1;
    }

    .partner-image {
        margin-top: 30px;
    }

    .api-code {
        margin-bottom: 30px;
    }
    .mobile-menu-btn {
        display: block;
    }
    .nav-links,
    .header-buttons {
        display: none;
    }
}

@media (max-width: 768px) {
    .hero-inner {
        flex-direction: column;
        align-items: stretch;
        top: 50px;
    }
    .miya-output {
        display: none !important;
    }
    #fs-10 {
        font-size: 10px;
    }
    .mobile-menu {
        top: 80px;
        left: 2.5%;
        width: 95%;
    }

    .header {
        width: 95%;
        border-radius: 14px;
        padding: 10px 15px;
        top: 10px;
    }

    .logo {
        height: 40px;
    }

    .hero {
        min-height: calc(100vh - 80px);
        margin-top: 80px;
        height: 92vh;
        min-height: calc(100vh - 80px);
        position: inherit;
        overflow: hidden;
        display: flex;
        align-items: center;
        padding: 0 5%;
        margin-top: 60px;
    }

    .hero h1 {
        font-size: 28px;
        margin-bottom: 15px;
    }

    .hero p {
        font-size: 16px;
        margin-bottom: 25px;
    }

    .hero-buttons {
        flex-direction: row;
        align-items: flex-start;
        gap: 15px;
        padding: 1px;
    }

    .hero-buttons .btn {
        width: auto;
        min-width: 200px;
        padding: 12px 25px;
        justify-content: center;
    }

    .section {
        padding: 60px 0;
    }

    #features.section {
        padding-top: 100px;
    }

    .section-title h2 {
        font-size: 30px;
    }

    .about-stats {
        grid-template-columns: 1fr 1fr;
    }

    .pricing-grid,
    .news-grid {
        grid-template-columns: 1fr;
    }

    .header.scrolled {
        padding: 10px 5%;
    }

    body {
        overflow-x: hidden;
        touch-action: pan-y;
    }

    .container,
    .section,
    .hero-content,
    .features-grid,
    .pricing-grid,
    .news-grid {
        overflow: hidden;
    }

    .hero-video {
        width: 100%;
        height: auto;
        min-height: 100%;
    }
}

@media (max-width: 576px) {
    .hero-inner {
        top: 30px;
    }
    .hero h1 {
        font-size: 22px;
    }

    .section-title h2 {
        font-size: 20px;
    }

    .about-stats {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        text-align: center;
    }

    .footer-contact {
        text-align: center;
    }

    .footer-contact p {
        justify-content: center;
    }

    .footer-links h3::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .footer-links a:hover {
        padding-left: 0;
        transform: translateX(5px);
    }

    .social-links {
        justify-content: center;
    }

    .mobile-menu {
        top: 80px;
        max-height: calc(100vh - 60px);
    }
    .back-btn {
        width: 45px !important;
        height: 45px !important;
        right: 2vw;
        bottom: 2vw;
    }
}

@media (max-width: 400px) {
    .hero-buttons .btn {
        width: 100%;
    }

    .pricing-card {
        padding: 20px 15px;
    }
}
