/* Fonts */
@font-face {
    font-family: 'UNCAGE';
    src: url('../fonts/UNCAGE-Regular.woff2') format('woff2'),
         url('../fonts/UNCAGE-Regular.woff') format('woff'),
         url('../fonts/UNCAGE-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'UNCAGE';
    src: url('../fonts/UNCAGE-Medium.woff2') format('woff2'),
         url('../fonts/UNCAGE-Medium.woff') format('woff'),
         url('../fonts/UNCAGE-Medium.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'UNCAGE';
    src: url('../fonts/UNCAGE-Bold.woff2') format('woff2'),
         url('../fonts/UNCAGE-Bold.woff') format('woff'),
         url('../fonts/UNCAGE-Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

/* Decorative Figures */
.decorative-figure {
    position: absolute;
    z-index: 0;
    opacity: 0.7;
    transition: all 0.5s ease;
    pointer-events: none;
}

.decorative-figure:hover {
    transform: scale(1.1) rotate(5deg);
    opacity: 0.9;
}

@keyframes float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-15px) rotate(2deg); }
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

/* Position specific figures */
.figure-1 {
    width: 80px;
    top: 15%;
    left: 5%;
    animation: float 8s ease-in-out infinite;
}

.figure-2 {
    width: 60px;
    bottom: 20%;
    right: 8%;
    animation: pulse 6s ease-in-out infinite;
}

.figure-3 {
    width: 70px;
    top: 40%;
    right: 5%;
    animation: float 7s ease-in-out infinite reverse;
}

.figure-4 {
    width: 50px;
    bottom: 30%;
    left: 10%;
    animation: pulse 5s ease-in-out infinite 1s;
}

/* Hero Section Figure */
.hero .figure-5 {
    width: 100px;
    bottom: -50px;
    right: 15%;
    animation: float 9s ease-in-out infinite 0.5s;
}

/* Features Section Figure */
.features .figure-6 {
    width: 80px;
    top: 20%;
    left: 15%;
    animation: pulse 7s ease-in-out infinite 0.3s;
}

/* Problem Section Figure */
.problem .figure-7 {
    width: 70px;
    bottom: 10%;
    right: 20%;
    animation: float 8s ease-in-out infinite 0.7s;
}

/* Solution Section Figure */
.solution .figure-8 {
    width: 90px;
    top: 15%;
    right: 10%;
    animation: pulse 6s ease-in-out infinite 0.4s;
}

/* Base Styles */
body {
    font-family: 'UNCAGE', sans-serif;
}

/* Problem Section */
.problem {
    background-color: #f9f9f9;
    padding: 80px 0;
}

.problem__content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    font-size: 1.1rem;
    line-height: 1.8;
}

.problem__stats {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    margin: 40px 0;
    gap: 20px;
}

.stat {
    background: white;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    text-align: center;
    flex: 1;
    min-width: 200px;
    transition: transform 0.3s ease;
}

.stat:hover {
    transform: translateY(-5px);
}

.stat__number {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 10px;
    line-height: 1.2;
}

.stat__label {
    font-size: 0.95rem;
    color: #666;
}

/* What is Section */
.what-is {
    padding: 80px 0;
    background-color: white;
}

.what-is__content {
    display: flex;
    align-items: center;
    gap: 50px;
    margin-top: 40px;
}

.what-is__text {
    flex: 1;
    font-size: 1.2rem;
    line-height: 1.8;
}

.what-is__text strong {
    color: var(--secondary);
    font-weight: 600;
}

.what-is__image {
    flex: 1;
    background: #f5f7fa;
    border-radius: 12px;
    min-height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
    font-size: 1.1rem;
}

/* Value Section */
.value {
    background-color: #f9f9f9;
    padding: 80px 0;
}

.value__content {
    max-width: 800px;
    margin: 0 auto;
}

.value__content > p {
    font-size: 1.1rem;
    margin-bottom: 30px;
    line-height: 1.8;
}

.value__list {
    list-style: none;
    padding: 0;
    margin: 40px 0 0;
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.value__item {
    display: flex;
    align-items: center;
    background: white;
    padding: 25px 30px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.value__item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.value__icon {
    flex: 0 0 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 25px;
    background: rgba(74, 47, 31, 0.05);
    border-radius: 20px;
    transition: all 0.3s ease;
}

.value__item:hover .value__icon {
    background: rgba(74, 47, 31, 0.1);
    transform: scale(1.1);
}

.value__figure {
    width: 50px;
    height: 50px;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.value__item:hover .value__figure {
    transform: rotate(5deg) scale(1.1);
}

.value__text {
    flex: 1;
}

.value__text span {
    font-size: 1.15rem;
    font-weight: 500;
    color: #333;
    position: relative;
    padding-left: 20px;
    line-height: 1.5;
}


/* Responsive Styles */
@media (max-width: 768px) {
    .problem__stats {
        flex-direction: column;
        align-items: center;
    }
    
    .stat {
        width: 100%;
        max-width: 300px;
        margin-bottom: 15px;
    }
    
    .what-is__content {
        flex-direction: column;
    }
    
    .what-is__text,
    .what-is__image {
        width: 100%;
    }
    
    .what-is__image {
        min-height: 250px;
        margin-top: 20px;
    }
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    font-size: 16px;
    line-height: 1.6;
    color: var(--text);
    background-color: var(--light);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    line-height: 1.2;
    margin-bottom: 1rem;
    color: var(--primary);
}

a {
    color: var(--secondary);
    text-decoration: none;
    transition: var(--transition);
}

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

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
}

.section {
    padding: 100px 0;
    position: relative;
}

.section__title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
}

.section__title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: var(--secondary);
}

.section__subtitle {
    display: block;
    font-size: 1.1rem;
    color: var(--secondary);
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 600;
}

:root {
    --primary: #4A2F1F;
    --secondary: #B64B0B;
    --accent: #F1E2D0;
    --dark: #191847;
    --light: #FFFFFF;
    --text: #4A2F1F;
    --text-light: #7A6B5F;
    --font-main: 'Montserrat', sans-serif;
    --font-display: 'UNCAGE', sans-serif;
    --container-width: 1200px;
    --border-radius: 8px;
    --transition: all 0.3s ease;
}

@font-face {
    font-family: 'UNCAGE';
    src: url('../fonts/UNCAGE.woff2') format('woff2'),
         url('../fonts/UNCAGE.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 30px;
    background-color: var(--secondary);
    color: white;
    border: 2px solid var(--secondary);
    border-radius: 50px;
    font-family: var(--font-main);
    font-weight: 600;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    text-align: center;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background-color: var(--primary);
    transition: var(--transition);
    z-index: -1;
}

.btn:hover {
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(182, 75, 11, 0.2);
}

.btn:hover::before {
    width: 100%;
}

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

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

.btn i {
    margin-left: 8px;
    transition: var(--transition);
}

.btn:hover i {
    transform: translateX(5px);
}

.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
    padding: 15px 0;
}

.header.scrolled {
    padding: 10px 0;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.header__inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.logo {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
}

.logo__image {
    height: 2.5rem;
    width: auto;
    display: block;
}

/* Remove the old logo icon styles since we're using an image now */

.nav {
    display: flex;
    gap: 30px;
}

.nav__link {
    color: var(--text);
    font-weight: 500;
    padding: 5px 0;
    position: relative;
    transition: var(--transition);
}

.nav__link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--secondary);
    transition: var(--transition);
}

.nav__link:hover,
.nav__link.active {
    color: var(--secondary);
}

.nav__link:hover::after,
.nav__link.active::after {
    width: 100%;
}

.nav__cta {
    background-color: var(--secondary);
    color: white !important;
    padding: 10px 24px !important;
    border-radius: 50px;
    margin-left: 20px;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 2px solid transparent;
    box-shadow: 0 4px 15px rgba(182, 75, 11, 0.3);
    position: relative;
    overflow: hidden;
}

.nav__cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background-color: var(--primary);
    transition: width 0.3s ease;
    z-index: 0;
}

.nav__cta span {
    position: relative;
    z-index: 1;
}

.nav__cta i {
    position: relative;
    z-index: 1;
    transition: transform 0.3s ease;
}

.nav__cta:hover {
    background-color: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(182, 75, 11, 0.4);
}

.nav__cta:hover i {
    transform: translateX(4px);
}

.nav__cta:hover::before {
    width: 100%;
}

.nav__cta::after {
    display: none;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--primary);
    cursor: pointer;
    z-index: 1001;
}

@media (max-width: 992px) {
    .menu-toggle {
        display: block;
    }
    
    .nav {
        position: fixed;
        top: 0;
        right: -300px;
        width: 300px;
        height: 100vh;
        background-color: white;
        flex-direction: column;
        padding: 100px 30px 30px;
        box-shadow: -5px 0 20px rgba(0, 0, 0, 0.1);
        transition: var(--transition);
        z-index: 1000;
    }
    
    .nav.active {
        right: 0;
    }
    
    .nav__link {
        padding: 10px 0;
        font-size: 1.1rem;
    }
    
    .nav__cta {
        margin-left: 0;
        margin-top: 10px;
        text-align: center;
    }
}

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding: 80px 0;
    background-color: #4A2F1F;
    background-image: url('../img/gryaz.png');
    background-size: cover;
    background-position: center;
    text-align: center;
    color: #F1E2D0;
}

.hero .container {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 0 20px;
}

.hero__content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.hero__logo {
    max-width: 200px;
    margin: 0 auto 30px;
    display: block;
}

.hero__title {
    font-family: 'UNCAGE', sans-serif;
    font-weight: 900;
    font-size: 4rem;
    margin: 0 0 20px;
    line-height: 1.1;
    color: #F1E2D0;
}

.hero__subtitle {
    font-family: 'UNCAGE', sans-serif;
    font-size: 2rem;
    margin: 0 auto;
    font-weight: 500;
    max-width: 800px;
    color: #F1E2D0;
    line-height: 1.4;
}

/* Hero title and subtitle styles are defined above with UNCAGE font */

.hero__buttons {
    display: flex;
    gap: 15px;
    margin-top: 2rem;
}

.hero__image {
    max-width: 600px;
    border-radius: var(--border-radius);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 1;
}

.footer {
    background-color: var(--primary);
    color: var(--light);
    padding: 80px 0 40px;
    position: relative;
    margin-top: 20px;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--secondary), var(--accent));
}

.footer .container {
    position: relative;
    z-index: 1;
}

.footer__content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
    text-align: center;
}

.footer__logo {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--light);
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.footer__logo::before {
    content: 'K';
    color: var(--secondary);
    font-size: 3rem;
    line-height: 1;
}

.footer__info {
    max-width: 800px;
    margin: 0 auto;
}

.footer__links {
    margin: 15px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.footer__link {
    color: var(--accent);
    text-decoration: none;
    font-size: 0.95rem;
    transition: var(--transition);
    margin: 0;
    white-space: nowrap;
    display: inline-block;
    margin: 5px 0;
}

.footer__link:hover {
    color: var(--light);
    text-decoration: underline;
}

.footer__info p {
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
    line-height: 1.6;
    white-space: nowrap;
}

.footer__info a {
    color: var(--accent);
    text-decoration: none;
    transition: var(--transition);
}

.footer__info a:hover {
    color: var(--light);
    text-decoration: underline;
}

.foundation {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    margin-top: 30px;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.foundation__image {
    height: 50px;
    width: auto;
    filter: brightness(0) invert(1);
    opacity: 0.9;
    transition: var(--transition);
}

.foundation p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    max-width: 500px;
    margin: 0 auto;
}

.footer__bottom {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.85rem;
}

@media (max-width: 1200px) {
    
    .hero__title {
        font-size: 3rem;
    }
    
    .hero__image {
        max-width: 500px;
    }
}

@media (max-width: 992px) {
    .hero {
        text-align: center;
        padding: 100px 0 60px;
    }
    
    .hero .container {
        flex-direction: column;
        text-align: center;
    }
    
    .foundation {
        justify-content: center;
        text-align: left;
    }
}

@media (max-width: 480px) {
    .hero__title {
        font-size: 2.5rem;
    }
    
    .hero__subtitle {
        font-size: 1.1rem;
    }
    
    .btn {
        padding: 10px 25px;
        font-size: 0.9rem;
    }
}
