@font-face {
    font-family: 'Gilroy';
    src: url('assets/fonts/Gilroy/Gilroy-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'Gilroy';
    src: url('assets/fonts/Gilroy/Gilroy-Medium.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
}

@font-face {
    font-family: 'Gilroy';
    src: url('assets/fonts/Gilroy/Gilroy-Semibold.ttf') format('truetype');
    font-weight: 600;
    font-style: normal;
}

@font-face {
    font-family: 'Gilroy';
    src: url('assets/fonts/Gilroy/Gilroy-Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
}

@font-face {
    font-family: 'Gilroy';
    src: url('assets/fonts/Gilroy/Gilroy-Heavy.ttf') format('truetype');
    font-weight: 900;
    font-style: normal;
}

:root {
    color-scheme: light;
    --bg-dark: #ffffff;
    --text-main: #000000;
    --primary: #20c2ea;
    --primary-glow: rgba(32, 194, 234, 0.4);
    --glass: rgba(0, 0, 0, 0.03);
    --glass-border: rgba(0, 0, 0, 0.08);
    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --font-main: 'Gilroy', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: var(--font-main);
}

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* Global Background */
body {
    background: #ffffff;
    min-height: 100vh;
}

/* Background Decorations */
.background-decorations {
    display: none;
}

.background-decorations .img {
    position: absolute;
    width: 200vw;
    height: 200vh;
    top: -50vh;
    left: -50vw;
    object-fit: cover;
    opacity: 0.9;
    filter: blur(60px);
    animation: slowRotate 30s linear infinite;
}

@keyframes slowRotate {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.background-decorations .ellipse,
.background-decorations .ellipse-2,
.background-decorations .ellipse-3 {
    position: absolute;
    width: 100%;
    opacity: 0.4;
    mix-blend-mode: screen;
}

/* Main Desktop Container */
.desktop {
    position: relative;
    max-width: 1440px;
    margin: 0 auto;
}

/* Glass Utility */
.glass {
    background: var(--glass);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 32px;
    /* сәл төменірек – дем алады */
    left: 50%;
    transform: translateX(-50%);
    width: 94%;
    /* бұрын 90% */
    max-width: 1320px;
    /* бұрын 1200px */
    height: 76px;
    /* бұрын 64px */
    border-radius: 100px !important;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 40px;
    /* бұрын 32px */
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    z-index: 1000;
    border: 1px solid rgba(0, 0, 0, 0.05);
}


.logo-white {
    height: 22px;
}

.logo-mobile {
    display: none;
    height: 28px;
}

.nav-menu {
    display: flex;
    gap: 40px;
}

.nav-menu a {
    color: #000000;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    transition: var(--transition);
    letter-spacing: 0.2px;
}

.nav-menu a:hover {
    color: var(--primary);
    transform: translateY(-1px);
}

.view {
    padding: 12px 28px;
    background: #000000;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 100px !important;
    text-decoration: none;
    color: #ffffff;
    font-size: 16px;
    font-weight: 500;
    transition: var(--transition);
}

.view:hover {
    background: #333;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* Hero Floating Badge */
.frame {
    position: fixed;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(0, 0, 0, 0.1);
    padding: 14px 24px;
    border-radius: 100px !important;
    color: #000000;
    text-decoration: none;
    z-index: 1001;
    transition: opacity 0.4s ease, transform 0.4s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    font-size: 18px;
    font-weight: 300;
    letter-spacing: 0.2px;
}

.frame.hidden {
    opacity: 0;
    pointer-events: none;
    transform: translate(-50%, 40px);
}

.language {
    position: fixed;
    top: 50%;
    right: 24px;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 8px;
    background: rgba(255, 255, 255, 0.05);
    padding: 6px;
    border-radius: 100px !important;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 1001;
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.8s;
}

.language.fade-out {
    opacity: 0;
    pointer-events: none;
    visibility: hidden;
}

.language button {
    background: transparent;
    border: none;
    color: rgba(0, 0, 0, 0.5);
    padding: 10px;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    cursor: pointer;
    font-weight: 700;
    font-size: 11px;
    transition: var(--transition);
}

.language button:hover {
    color: #000000;
}

.language button.active {
    background: rgba(0, 0, 0, 0.05);
    color: #000000;
}

/* Hero Content */
.AI {
    margin: 220px 0 32px 120px;
    font-size: 64px;
    line-height: 0.9;
    font-weight: 700;
    max-width: 800px;
}

.AI .span {
    color: var(--primary);
    background: linear-gradient(90deg, #000000, #333333);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.p {
    margin-left: 120px;
    font-size: 28px;
    max-width: 500px;
    line-height: 1.2;
    margin-bottom: 40px;
    color: #000000;
    font-weight: 400;
    letter-spacing: 0.1px;
}

.text-wrapper-9 {
    margin-left: 120px;
    font-size: 16px;
    color: #000000;
    font-weight: 500;
}

.hero-bracelet {
    position: absolute;
    top: 0px;
    right: 120px;
    width: 420px;
    z-index: 2;
}

.hero-bracelet img {
    width: 100%;
    filter: drop-shadow(0 0 30px rgba(32, 194, 234, 0.2));
}

/* Sections Common */
section {
    padding: 200px 120px;
    position: relative;
    max-width: 1440px;
    margin: 0 auto;
}

h2 {
    font-size: 64px;
    margin-bottom: 24px;
    line-height: 1.2;
    font-weight: 700;
}

/* Insight Section */
.insight-section {
    padding-top: 250px;
}

.insight-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 60px;
    gap: 40px;
}

.insight-content {
    max-width: 600px;
    text-align: left;
}

.text-wrapper-13 {
    font-size: 30px;
    color: #000000;
    max-width: 500px;
    margin-bottom: 24px;
}

.SAUYT-AI {
    font-size: 30px;
    color: #000000;
    max-width: 600px;
    margin-bottom: 40px;
}

.insight-cards {
    display: flex;
    gap: 24px;
}

.frame-2,
.frame-3 {
    flex: 1;
    height: 180px;
    background: #f5f5f7;
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 32px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

.frame-2:hover,
.frame-3:hover {
    background: #fff;
    border-color: rgba(32, 194, 234, 0.5);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.frame-2 img,
.frame-3 img {
    height: 48px;
    margin-bottom: 16px;
}

.frame-2 h3,
.frame-3 h3 {
    font-size: 18px;
    font-weight: 600;
}

/* How it Works */
.text-wrapper-16 {
    text-align: center;
}

.work-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 100px;
}

.frame-4,
.frame-9,
.frame-10 {
    background: #f5f5f7;
    backdrop-filter: blur(10px);
    border-radius: 24px;
    padding: 40px;
    text-align: center;
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

.frame-4:hover,
.frame-9:hover,
.frame-10:hover {
    background: #ffffff;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.work-grid img {
    height: 80px;
    margin-bottom: 32px;
}

.work-grid h3 {
    font-size: 26px;
    margin-bottom: 16px;
    font-weight: 600;
}

.work-grid p {
    font-size: 20px;
    color: #444;
    line-height: 1.6;
}

/* Value Section */
.benefits-container {
    display: flex;
    gap: 24px;
    margin-top: 40px;
}

.benefit-large {
    flex: 1.2;
    background: #f5f5f7;
    backdrop-filter: blur(20px);
    border-radius: 24px;
    padding: 48px;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.benefit-large h3 {
    font-size: 30px;
    margin-bottom: 20px;
    color: #000000;
}

.benefit-large p {
    font-size: 20px;
    color: #000000;
    line-height: 1.2;
    margin-bottom: 24px;
}

.benefit-list {
    list-style: none;
}

.benefit-list li {
    font-size: 18px;
    color: #333;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
}

.benefit-list li::before {
    content: "✓";
    margin-right: 12px;
    color: var(--primary);
}

.benefits-small-grid {
    flex: 1;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 16px;
}

.benefit-small {
    background: #f5f5f7;
    border-radius: 20px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.icon-box {
    font-size: 24px;
    margin-bottom: 16px;
}

.benefit-small h3 {
    font-size: 20px;
    margin-bottom: 8px;
    font-weight: 600;
    color: #000000;
}

.benefit-small p {
    font-size: 16px;
    color: #333;
    line-height: 1.4;
}

.value-footer {
    margin-top: 40px;
    text-align: center;
}

.more-link {
    color: var(--primary);
    text-decoration: none;
    font-size: 30px;
    font-weight: 600;
    color: #000000;
}

/* AI Features */
.ai-features {
    padding-bottom: 180px;
}

.ai-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 80px;
    margin-bottom: 80px;
}

.ai-logo-container {
    position: relative;
    width: 240px;
    height: 240px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ai-img {
    width: 150%;
    transform: translate(40px, -50px);
    filter: drop-shadow(0 0 40px rgba(32, 194, 234, 0.4));
}

.ai-label {
    position: absolute;
    font-size: 60px;
    font-weight: 800;
    background: linear-gradient(180deg, #2aa7e8 0%, #1bcbe4 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.ai-text {
    text-align: right;
}

.ai-text h2 {
    font-size: 60px;
    margin-bottom: 20px;
}

.ai-desc {
    font-size: 24px;
    color: #000000;
    max-width: 600px;
    line-height: 1.2;
    margin-bottom: 60px;
    margin-left: auto;
}

.text-wrapper-39 {
    text-align: center;
    font-size: 30px;
    font-weight: 600;
    color: #000000;
    margin-bottom: 60px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* Default Hidden Mobile Showcase - REPLACED WITH DESKTOP GRID */
.mobile-ai-showcase {
    display: flex;
    justify-content: center;
    gap: 24px;
    /* Reduced gap slightly to fit better */
    margin-top: 60px;
    padding: 0 20px;
    flex-wrap: nowrap;
    /* Force single line */
}

.mobile-card {
    background: #f5f5f7;
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 20px;
    padding: 24px;
    backdrop-filter: blur(10px);
    transition: all 0.4s ease;
    width: 280px;
    /* Fixed width for desktop */
}

.mobile-card:hover {
    transform: translateY(-10px);
    background: #fff;
    border-color: rgba(32, 194, 234, 0.4);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.mobile-card img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.3));
}

.iphone-showcase {
    display: none;
    /* Hide old iPhones on Desktop too */
    justify-content: center;
    align-items: center;
    gap: -120px;
    margin-top: 80px;
    perspective: 1000px;
}

.iphone-card {
    position: relative;
    z-index: 1;
}

.iphone-card img {
    height: 400px;
    filter: drop-shadow(0 30px 60px rgba(0, 0, 0, 0.5));
}

.iphone-card.left {
    transform: translateX(60px) rotateY(15deg) rotateZ(-3deg) scale(1.1);
    z-index: 1;
}

.iphone-card.left img {
    height: 460px;
}

.iphone-card.center {
    z-index: 3;
    transform: scale(1.1);
}

.iphone-card.center img {
    height: 460px;
}

.iphone-card.right {
    transform: translateX(-60px) rotateY(-15deg) rotateZ(3deg);
    z-index: 1;
}

/* Signup Section */
.join-section {
    padding: 120px 120px;
}

.join-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 200px;
}

.join-info {
    flex: 1;
}

.text-wrapper-41 {
    font-size: 64px;
    line-height: 1.1;
    font-weight: 700;
    margin-bottom: 24px;
}

.text-wrapper-32 {
    font-size: 28px;
    color: #000000;
    max-width: 500px;
    margin-bottom: 40px;
}

.app-links {
    margin-top: 40px;
}

.text-wrapper-10 {
    font-size: 18px;
    color: #000000;
    margin-bottom: 24px;
    text-transform: uppercase;
    font-weight: 400;
}

.join-mockup {
    flex: 1;
    display: flex;
    justify-content: flex-end;
}

.mockup-img {
    height: 600px;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.4));
}

.signup-container {
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
    scroll-margin-top: 140px;
}

.SAUYT {
    font-size: 64px;
    font-weight: 700;
    margin-bottom: 24px;
    line-height: 1.1;
}

.text-wrapper-33 {
    font-size: 24px;
    color: #000000;
    margin-bottom: 60px;
}

.signup-form {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.form-inputs {
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-width: 500px;
    margin: 0 auto;
    width: 100%;
}

.glass-input {
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.1);
    padding: 18px 30px;
    border-radius: 40px;
    color: #000000;
    font-size: 16px;
    text-align: center;
    outline: none;
    transition: var(--transition);
    backdrop-filter: blur(10px);
}

.glass-input::placeholder {
    color: rgba(0, 0, 0, 0.5);
}

.glass-input:focus {
    background: rgba(32, 194, 234, 0.2);
    border-color: #20c2ea;
}

.form-title {
    font-size: 18px;
    color: #000000;
    margin: 20px 0 10px;
}

.goal-selection {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    margin-bottom: 20px;
}

.goal-chip {
    background: rgba(0, 0, 0, 0.03);
    /* Default glass state */
    padding: 12px 28px;
    border-radius: 40px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    cursor: pointer;
    font-size: 15px;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: rgba(0, 0, 0, 0.6);
}

.goal-chip input {
    display: none;
    /* Hide the actual checkbox */
}

.goal-chip:hover {
    background: rgba(0, 0, 0, 0.05);
    border-color: rgba(0, 0, 0, 0.2);
}

.goal-chip:has(input:checked) {
    background: #20c2ea;
    /* Blue background */
    border-color: #20c2ea;
    color: #ffffff;
    box-shadow: 0 0 20px rgba(32, 194, 234, 0.4);
    /* Blue glow */
    font-weight: 600;
}

.submit-btn-pill {
    background: #000000;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: #fff;
    border: 1px solid rgba(0, 0, 0, 0.1);
    padding: 18px 60px;
    border-radius: 40px;
    font-weight: 700;
    font-size: 16px;
    cursor: pointer;
    margin: 40px auto 0;
    width: fit-content;
    transition: var(--transition);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.submit-btn-pill:hover {
    transform: translateY(-3px);
    background: #333;
    border-color: rgba(0, 0, 0, 0.2);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.signup-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}



.form-title {
    font-size: 14px;
    color: #000000;
    margin-top: 10px;
}

.goal-selection {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin-bottom: 10px;
}

/* Redundant goal-chip styles removed */

.submit-btn {
    background: #000000;
    color: #fff;
    border: none;
    padding: 18px;
    border-radius: 16px;
    font-weight: 700;
    font-size: 15px;
    cursor: pointer;
    margin-top: 20px;
    transition: var(--transition);
    letter-spacing: 0.5px;
}

.submit-btn:hover {
    background: var(--primary);
    transform: scale(1.02);
}

/* Footer */
.footer-section {
    background: #f8f8f8;
    padding: 60px 120px 40px;
    border-radius: 60px 60px 0 0;
    margin-top: 100px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    backdrop-filter: blur(20px);
}

.footer-top {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
}

.logo-white-2 {
    height: 20px;
}

.text-wrapper-53 {
    font-size: 18px;
    color: #000000;
}

.text-wrapper-56 {
    font-size: 18px;
    color: #000000;
}

.line {
    border: none;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin: 60px 0 24px;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    color: rgba(0, 0, 0, 0.5);
}

.footer-links {
    display: flex;
    gap: 24px;
}

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

.footer-links a:hover {
    color: #000;
}

/* Button & Links */
.store-btn {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 24px;
    text-decoration: none;
    color: #000000;
}

.store-icon {
    height: 32px;
}

.store-text span {
    font-size: 14px;
    display: block;
    font-weight: 600;
}

.store-text strong {
    font-size: 20px;
}

.links-row {
    display: flex;
    gap: 20px;
    justify-content: flex-start;
    margin-bottom: 40px;
}

.element-3d {
    position: absolute;
    bottom: 200px;
    right: 0;
    height: 500px;
    pointer-events: none;
}

/* ============================
   ENHANCED GLASS SYSTEM (v2.0)
   ============================ */

.navbar,
.frame,
.language,
.frame-2,
.frame-3,
.frame-4,
.frame-9,
.frame-10,
.benefit-large,
.benefit-small,
.store-btn,
.footer-section {
    /* Фонды сәл қараңғылау, бірақ мөлдір */
    background: rgba(255, 255, 255, 0.8) !important;

    /* Шыны эффектісі */
    backdrop-filter: blur(20px) saturate(160%) !important;
    -webkit-backdrop-filter: blur(20px) saturate(160%) !important;

    /* Жиектегі жарық (Border Highlight) */
    border: 1px solid rgba(0, 0, 0, 0.05) !important;

    /* Ішкі жарық (Inner Glow) - осы шынайылық береді */
    box-shadow:
        0 8px 32px 0 rgba(0, 0, 0, 0.05),
        inset 0 0 0 1px rgba(255, 255, 255, 0.5) !important;

    border-radius: 24px;
}

/* Ховер эффект: "Жарқырау" (Neon Glow) */
.frame-2:hover,
.frame-3:hover,
.frame-4:hover,
.frame-9:hover,
.frame-10:hover,
.benefit-large:hover,
.benefit-small:hover,
.store-btn:hover {
    transform: translateY(-6px);
    background: #ffffff !important;
    border-color: rgba(32, 194, 234, 0.4) !important;
    /* Неон түсті жиек */
    box-shadow:
        0 20px 60px rgba(0, 0, 0, 0.05),
        0 0 20px rgba(32, 194, 234, 0.1),
        /* Сыртқы неон жарқылы */
        inset 0 0 12px rgba(255, 255, 255, 0.5) !important;
}

/* Ерекше "Glass" батырмалар үшін (Submit Button) */
.submit-btn {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white !important;
    transition: var(--transition);
}

.submit-btn:hover {
    background: #ffffff;
    color: #000 !important;
    box-shadow: 0 0 30px rgba(255, 255, 255, 0.3);
}

/* Mobile Menu */
.hamburger-menu {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1002;
    padding: 10px;
}

.hamburger-menu span {
    display: block;
    width: 24px;
    height: 2px;
    background-color: #000000;
    transition: 0.3s;
}

.hamburger-menu.active span:nth-child(1) {
    transform: translateY(4px) rotate(45deg);
}

.hamburger-menu.active span:nth-child(2) {
    transform: translateY(-4px) rotate(-45deg);
}

.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(255, 255, 255, 0.95);
    /* Light transparent */
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-menu.active {
    opacity: 1;
    visibility: visible;
}

.close-mobile-menu {
    position: absolute;
    top: 24px;
    right: 24px;
    background: rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.1);
    color: #000;
    font-size: 28px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
    transition: var(--transition);
}

.close-mobile-menu:hover {
    background: rgba(0, 0, 0, 0.1);
    transform: rotate(90deg);
}

.mobile-nav-links {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    width: 100%;
    padding: 0 40px;
}

.mobile-nav-link {
    font-size: 18px;
    /* Smaller font */
    color: #000;
    text-decoration: none;
    font-weight: 500;
    background: rgba(0, 0, 0, 0.03);
    /* Block style */
    border: 1px solid rgba(0, 0, 0, 0.05);
    padding: 16px;
    border-radius: 20px;
    width: 100%;
    text-align: center;
    transition: var(--transition);
    backdrop-filter: blur(10px);
}

.mobile-nav-link:hover {
    background: rgba(0, 0, 0, 0.05);
    transform: translateY(-2px);
    border-color: rgba(0, 0, 0, 0.1);
}

.mobile-nav-btn {
    background: #000;
    color: #fff;
    font-weight: 700;
    margin-top: 10px;
    border-color: #000;
}

.mobile-nav-btn:hover {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
}

/* ============================
   ADAPTIVE / RESPONSIVE DESIGN
   ============================ */

/* Планшеттер үшін (1024px-ден төмен) */
@media (max-width: 1024px) {
    section {
        padding: 100px 40px;
    }

    .AI {
        margin: 150px 0 32px 40px;
        font-size: 48px;
    }

    .p,
    .text-wrapper-9 {
        margin-left: 40px;
    }

    .hero-bracelet {
        right: 40px;
        width: 350px;
    }
}

/* Смартфондар үшін (768px-ден төмен) */
@media (max-width: 768px) {

    html,
    body {
        width: 100%;
        min-height: 100vh;
        /* мазмұнға қарай созылады */
        margin: 0;
        padding: 0;
        overflow-x: hidden;
        background-color: #ffffff !important;

        background-image: none !important;
    }



    section {
        padding: 80px 24px !important;
        width: 100%;
        box-sizing: border-box;
    }

    /* Hero elements padding ensure they don't touch edges */
    .AI,
    .p,
    .text-wrapper-9 {
        padding: 0 24px !important;
        box-sizing: border-box;
    }

    /* Navbar */
    .navbar {
        width: 90% !important;
        padding: 0 15px !important;
        height: 56px !important;
        top: 10px !important;
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    .nav-menu,
    .view {
        display: none !important;
    }

    .hamburger-menu {
        display: flex !important;
    }

    .language {
        bottom: 100px;
        right: 20px;
        flex-direction: column;
        padding: 4px;
        border-radius: 20px;
        top: auto;
        transform: translateY(0);
        overflow: hidden;
        height: 52px;
        /* Standard height for one button + padding */
        transition: height 0.3s ease;
    }

    .language.expanded {
        height: 160px;
        /* Approximate height for 3 buttons + gaps */
    }

    .language button {
        padding: 10px;
        width: 44px;
        height: 44px;
        display: none;
        /* Hide all by default on mobile */
        align-items: center;
        justify-content: center;
        font-size: 11px;
    }

    .language button.active,
    .language.expanded button {
        display: flex;
        /* Show active one always, or all when expanded */
    }

    .logo-white {
        display: block !important;
        height: 16px !important;
        margin-left: 10px !important;
    }

    .logo-mobile {
        display: none !important;
    }


    /* Floating Early Access Badge */
    .frame {
        width: auto !important;
        padding: 10px 20px !important;
        font-size: 14px !important;
        white-space: nowrap !important;
        bottom: 50px !important;
        /* Moved up */
    }

    /* Hero Section */
    .AI {
        margin: 160px 0 20px 0 !important;
        font-size: 32px !important;
        line-height: 1.2 !important;
        text-align: left !important;
        max-width: 100% !important;
    }

    .p {
        margin: 0 0 20px 0 !important;
        font-size: 20px !important;
        text-align: left !important;
        max-width: 100% !important;
        line-height: 1.2 !important;
        color: #000000 !important;
    }

    .text-wrapper-9 {
        text-align: left !important;
        color: #000000 !important;
        opacity: 1 !important;
        margin: 0 0 40px 0 !important;
        display: block !important;
    }

    .hero-bracelet {
        position: relative !important;
        top: 20px !important;
        right: auto !important;
        left: auto !important;
        width: 100% !important;
        max-width: 250px !important;
        margin: 0 auto !important;
        display: block !important;
    }

    /* Insight Section */
    .insight-section {
        padding-top: 60px !important;
    }

    .insight-top,
    .join-top,
    .ai-header {
        flex-direction: column !important;
        text-align: center !important;
        gap: 20px !important;
    }

    h2 {
        font-size: 32px !important;
        text-align: center !important;
    }

    .text-wrapper-13,
    .SAUYT-AI {
        font-size: 20px !important;
        line-height: 1.5 !important;
    }

    .text-wrapper-39 {
        font-size: 20px !important;
        margin-bottom: 30px !important;
        line-height: 1.4 !important;
        /* Added for better spacing on mobile */
    }

    .insight-cards {
        display: flex !important;
        flex-direction: column !important;
        gap: 24px !important;
        padding: 0 !important;
    }

    /* How It Works - Horizontal Scroll */
    .work-section {
        overflow: hidden !important;
    }

    .work-grid {
        display: flex !important;
        flex-direction: column !important;
        gap: 24px !important;
        margin: 40px 0 0 0 !important;
        padding: 0 !important;
        overflow: visible !important;
    }

    .work-grid::-webkit-scrollbar {
        display: none;
    }

    .frame-4,
    .frame-9,
    .frame-10 {
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .frame-2 {
        width: 100% !important;
        padding: 24px !important;
        border-radius: 24px !important;
    }

    /* AI Section */
    .ai-img {
        width: 100% !important;
        max-width: 200px !important;
        transform: none !important;
        margin: 0 auto !important;
        display: block !important;
        position: static !important;
    }

    .ai-text {
        text-align: center !important;
        max-width: 100% !important;
    }

    /* Hide Desktop Showcase on Mobile */
    .iphone-showcase {
        display: none !important;
    }

    /* Show Mobile Showcase */
    /* Show Mobile Showcase - Horizontal Scroll */
    .mobile-ai-showcase {
        display: flex !important;
        flex-direction: row !important;
        gap: 16px !important;
        margin: 40px -24px 0 -24px !important;
        padding: 0 24px 40px !important;
        overflow-x: auto !important;
        -webkit-overflow-scrolling: touch;
        scroll-snap-type: x mandatory;
    }

    .mobile-ai-showcase::-webkit-scrollbar {
        display: none;
    }

    .mobile-card {
        background: rgba(255, 255, 255, 0.05);
        border: 1px solid rgba(255, 255, 255, 0.1);
        border-radius: 20px;
        padding: 12px;
        /* Frame around the image */
        display: flex;
        justify-content: center;
        align-items: center;
        backdrop-filter: blur(10px);
        width: 55vw !important;
        /* Fixed width */
        min-width: 55vw !important;
        flex-shrink: 0 !important;
        scroll-snap-align: center;
    }

    .mobile-card img {
        width: 100% !important;
        height: auto !important;
        max-height: 400px;
        /* Prevent too tall images */
        object-fit: contain;
        border-radius: 12px;
        filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.3));
    }

    /* Value Section - Scrollable */
    .benefits-container {
        display: flex !important;
        flex-direction: column !important;
        gap: 24px !important;
        margin: 40px 0 0 0 !important;
        padding: 0 !important;
        overflow: visible !important;
    }

    .benefits-container::-webkit-scrollbar {
        display: none;
    }

    .benefit-large,
    .benefits-small-grid {
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .benefit-large {
        padding: 32px 24px !important;
    }

    .benefits-small-grid {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 12px !important;
    }

    .benefit-small {
        padding: 16px !important;
    }

    .benefit-small h3 {
        font-size: 16px !important;
        margin-bottom: 6px !important;
    }

    .benefit-small p {
        font-size: 13px !important;
        line-height: 1.4 !important;
    }

    .icon-box {
        font-size: 20px !important;
        margin-bottom: 12px !important;
    }

    .more-link {
        font-size: 20px !important;
    }

    /* Signup Form */
    .signup-container {
        padding: 0 !important;
    }

    .text-wrapper-41 {
        font-size: 32px !important;
        font-weight: 600 !important;
        /* Reduced from 800 */
        line-height: 1.2 !important;
        text-align: center;
        margin-bottom: 20px !important;
        color: #000000 !important;
    }

    .SAUYT {
        font-size: 32px !important;
        text-align: center;
        color: #000000 !important;
    }

    .text-wrapper-33 {
        font-size: 16px !important;
        margin-bottom: 32px !important;
        text-align: center;
        color: #000000 !important;
    }

    .form-inputs {
        width: 100% !important;
        max-width: 100% !important;
        margin-bottom: 16px;
    }

    .glass-input {
        padding: 16px 20px !important;
        font-size: 15px !important;
    }

    .links-row {
        flex-direction: column !important;
        align-items: center !important;
        gap: 12px !important;
    }

    .store-btn {
        width: 100% !important;
        justify-content: center !important;
        padding: 16px;
    }

    /* Mobile Mockup Image Fix */
    .join-mockup {
        width: 100% !important;
        display: flex !important;
        justify-content: center !important;
        margin-top: 30px !important;
    }

    .mockup-img {
        width: 80% !important;
        max-width: 280px !important;
        /* Smaller size */
        height: auto !important;
        filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.3)) !important;
        margin-left: 60px !important;
        /* Shift to right */
    }

    /* Footer */
    .footer-section {
        padding: 40px 24px 24px !important;
        /* Reduced padding */
        margin-top: 40px !important;
    }

    .footer-top,
    .footer-bottom {
        flex-direction: column !important;
        text-align: center !important;
        align-items: center !important;
        /* Added centering */
        gap: 16px !important;
        /* Reduced gap */
    }

    .line {
        margin: 30px 0 20px !important;
        /* Reduced margin */
    }

    .footer-links {
        justify-content: center !important;
    }

    .text-wrapper-53,
    .text-wrapper-56 {
        font-size: 14px !important;
        /* Reduced from 18px */
        line-height: 1.4 !important;
        opacity: 0.7;
    }

    /* Modal */
    .modal-content {
        padding: 32px 20px !important;
        width: 90% !important;
    }
}

/* Modal Styling (Desktop + Mobile) */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(8px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    padding: 20px;
}

.modal-overlay.active {
    display: flex;
}

/* Legal Modal Styles */
.legal-modal {
    max-width: 600px !important;
    width: 90%;
    text-align: left !important;
    align-items: flex-start !important;
}

.legal-text {
    max-height: 60vh;
    overflow-y: auto;
    margin: 20px 0;
    padding-right: 10px;
    font-size: 14px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.8);
}

.legal-text h3 {
    color: #fff;
    margin-top: 20px;
    margin-bottom: 10px;
    font-size: 18px;
}

.legal-text p {
    margin-bottom: 10px;
}

/* Scrollbar for legal text */
.legal-text::-webkit-scrollbar {
    width: 6px;
}

.legal-text::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 3px;
}

.legal-text::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
}

.modal-content {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 60px 40px;
    border-radius: 40px;
    max-width: 500px;
    width: 100%;
    text-align: center;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(20px);
}

.modal-icon {
    font-size: 64px;
    margin-bottom: 24px;
}

.modal-content h2 {
    font-size: 32px;
    margin-bottom: 16px;
    color: #fff;
}

.modal-content p {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    margin-bottom: 32px;
}

.whatsapp-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    background: #25d366;
    color: #fff;
    text-decoration: none;
    padding: 16px 32px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 16px;
    transition: 0.3s;
    margin: 0 auto 20px;
    width: fit-content;
}

.whatsapp-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(37, 211, 102, 0.3);
}

.close-modal {
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    font-size: 14px;
    text-decoration: underline;
    display: block;
    margin: 0 auto;
}

.close-modal:hover {
    color: #fff;
}

/* New Hero Styles (Photo Match) */

.hero-center-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding-top: 180px;
    /* Reduced top padding to move content up */
    padding-bottom: 100px;
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 10;
}

.hero-title-centered {
    font-size: 64px;
    font-weight: 700;
    line-height: 1.1;
    color: #000000;
    margin-bottom: 32px;
    text-shadow: none;
}

.hero-desc-centered {
    font-size: 24px;
    line-height: 1.4;
    color: rgba(0, 0, 0, 0.8);
    margin-bottom: 60px;
    max-width: 800px;
    font-weight: 400;
}

/* Progress Widget */
.progress-widget {
    background: #f5f5f7 !important;
    backdrop-filter: blur(20px) !important;
    border: 1px solid rgba(0, 0, 0, 0.05) !important;
    border-radius: 100px !important;
    /* Pill shape */
    padding: 24px 40px;
    width: 100%;
    max-width: 600px;
    margin-bottom: 40px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3) !important;
}

.progress-info {
    display: flex;
    justify-content: space-between;
    color: #000000;
    font-size: 18px;
    margin-bottom: 16px;
    font-weight: 500;
}

.progress-bar-track {
    width: 100%;
    height: 12px;
    background: rgba(0, 0, 0, 0.05);
    border-radius: 10px;
    overflow: hidden;
    position: relative;
}

.progress-bar-fill {
    width: 15%;
    /* 1500/10000 */
    height: 100%;
    background: var(--primary);
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(32, 194, 234, 0.3);
}

.centered-subtitle {
    margin-left: 0 !important;
    /* Override previous style */
    text-align: center;
    color: rgba(0, 0, 0, 0.6);
    font-size: 16px;
    letter-spacing: 1px;
    margin-top: 10px;
}

/* Background update for Hero feeling - Blue Glow */
body {
    background: #ffffff !important;
    background-image: none !important;
}

/* Navbar Update - Constrained Pill */
.navbar {
    background: rgba(255, 255, 255, 0.8) !important;
    /* Darker background */
    backdrop-filter: blur(20px) !important;
    border: 1px solid rgba(0, 0, 0, 0.05) !important;
    height: 70px !important;
    top: 24px !important;
    max-width: 900px;
    /* Constrained width like photo */
    width: 90%;
}

.nav-menu a {
    font-weight: 400;
    opacity: 0.9;
}

.view {
    background: #000000 !important;
    border-color: rgba(0, 0, 0, 0.1) !important;
    padding: 10px 24px;
    font-size: 15px;
}

/* Mobile Tweaks */
@media (max-width: 768px) {
    .hero-center-container {
        padding-top: 140px;
        padding-bottom: 20px;
    }

    .hero-title-centered {
        font-size: 36px;
        padding: 0 20px;
    }

    .hero-desc-centered {
        font-size: 18px;
        padding: 0 20px;
    }

    .progress-widget {
        padding: 20px;
        width: 90%;
        border-radius: 20px !important;
        margin-top: 50px !important;
        /* More rounded rect on mobile */
    }

    .progress-info {
        font-size: 14px;
        flex-direction: column;
        align-items: center;
        gap: 8px;
    }

    .navbar {
        max-width: 90% !important;
        /* Full width on mobile */
        top: 10px !important;
    }
}

/* New Section 2 Styles (What is SAUYT) */

.insight-section {
    padding-top: 100px !important;
}

.centered-title {
    text-align: center;
    font-size: 64px;
    font-weight: 700;
    margin-bottom: 80px;
    color: #ffffff;
}

.insight-container {
    display: flex;
    align-items: flex-start;
    /* Changed from center to align top */
    gap: 60px;
    max-width: 1200px;
    margin: 0 auto;
}

.insight-text-col {
    flex: 1;
}

.insight-desc {
    font-size: 28px;
    /* High legibility */
    line-height: 1.4;
    color: #000;
    margin-bottom: 32px;
    font-weight: 300;
}

.insight-list {
    list-style: none;
    padding: 0;
}

.insight-list li {
    font-size: 20px;
    line-height: 1.6;
    color: rgba(0, 0, 0, 0.8);
    margin-bottom: 16px;
    position: relative;
    padding-left: 0;
}

.insight-media-col {
    flex: 1.2;
    /* Slightly wider for the visual */
}

.media-placeholder {
    width: 100%;
    height: 360px;
    object-fit: cover;
    border-radius: 20px !important;
    backdrop-filter: blur(10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

/* Mobile Adjustments for Section 2 */
@media (max-width: 1024px) {
    .insight-container {
        flex-direction: column;
        gap: 40px;
    }

    .centered-title {
        font-size: 48px;
        margin-bottom: 40px;
    }

    .insight-desc {
        font-size: 20px;
    }

    .media-placeholder {
        height: 250px;
    }
}

@media (max-width: 768px) {
    .centered-title {
        font-size: 32px;
    }
}

/* Privilege Section (New) */

.privilege-card {
    background: #f5f5f7 !important;
    backdrop-filter: blur(20px) !important;
    border-radius: 20px !important;
    padding: 40px 32px;
    text-align: center;
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    height: 100%;
}

.privilege-card:hover {
    transform: translateY(-6px);
    background: #ffffff !important;
    border-color: rgba(32, 194, 234, 0.4) !important;
    box-shadow:
        0 20px 60px rgba(0, 0, 0, 0.05),
        0 0 20px rgba(32, 194, 234, 0.1),
        inset 0 0 12px rgba(255, 255, 255, 0.5) !important;
}

.privilege-icon-circle {
    width: 64px;
    height: 64px;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    /* Force center horizontally */
}

.privilege-icon-circle img {
    display: block;
    /* Remove inline baseline spacing */
    width: 28px;
    height: 28px;
    filter: brightness(0);
    transform: translateY(3px);
    /* Black icon */
}



/* Specific icon coloring tweak if needed, but filter above handles it generally for white icons */

.privilege-card h3 {
    font-size: 20px;
    font-weight: 700;
    color: #000000;
    margin-bottom: 16px;
    min-height: 50px;
    /* Align titles */
    display: flex;
    align-items: center;
    justify-content: center;
}

.price-block {
    margin-bottom: 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 60px;
    /* Align price blocks */
}

.price-main {
    font-size: 32px;
    font-weight: 700;
    color: #000000;
}

.price-old {
    font-size: 18px;
    text-decoration: line-through;
    color: rgba(0, 0, 0, 0.4);
    margin-top: 4px;
}

.price-highlight {
    font-size: 18px;
    font-weight: 700;
    color: #000000;
    /* Black text */
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.privilege-desc {
    font-size: 15px;
    color: rgba(0, 0, 0, 0.7);
    line-height: 1.5;
    max-width: 280px;
    margin: 0 auto;
}

.empty-block {
    min-height: 60px;
    /* Spacer for cards without price */
}

@media (max-width: 768px) {
    .privilege-card {
        padding: 32px 24px;
        min-height: auto;
    }

    .privilege-card h3 {
        min-height: auto;
        margin-bottom: 12px;
    }

    .price-block {
        min-height: auto;
    }

    .empty-block {
        display: none;
    }
}

/* New Hero Layout Styles */
.new-hero-layout {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    text-align: center;
    padding-top: 190px;
    min-height: 100vh;
    position: relative;
    z-index: 10;
}

.hero-logo-container {
    margin-bottom: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.hero-logo-img {
    height: 48px;
    width: auto;
    margin-bottom: 16px;
}

.hero-title-new {
    font-size: 32px;
    font-weight: 500;
    color: #000000;
    margin: 0;
    letter-spacing: 0.5px;
}

.hero-image-container {
    margin-top: 20px;
    width: 100%;
    max-width: 800px;
    display: flex;
    justify-content: center;
    position: relative;
}

.hero-hand-img {
    width: 100%;
    height: auto;
    object-fit: contain;
    /* Add a subtle drop shadow if needed, or glow */
    filter: drop-shadow(0 20px 50px rgba(0, 0, 0, 0.5));
}

@media (max-width: 768px) {
    .new-hero-layout {
        padding-top: 120px;
        min-height: auto;
        /* Remove full height constraint on mobile */
        padding-bottom: 40px;
    }

    .hero-title-new {
        font-size: 24px;
    }

    .hero-hand-img {
        max-width: 90%;
    }
}