/* Base Styles */
:root {
    --primary: #722F37;
    --secondary: #F39C12;
    --accent: #FCF4DD;
    --bg-light: #FFFFFF;
    --bg-dark: #333333;
    --text-dark: #333333;
    --text-light: #FFFFFF;
    --box-shadow: 0 5px 20px rgba(114, 47, 55, 0.15);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Lato', sans-serif;
    color: var(--text-dark);
    line-height: 1.7;
    background-color: var(--bg-light);
    overflow-x: hidden;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Nunito', sans-serif;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 1rem;
}

a {
    text-decoration: none;
    color: var(--primary);
    transition: all 0.3s ease;
}

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

p {
    margin-bottom: 1.5rem;
}

/* Button Styles */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 50px;
    font-family: 'Nunito', sans-serif;
    font-weight: 700;
    font-size: 1rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: var(--box-shadow);
}

.btn-primary {
    background: linear-gradient(45deg, var(--primary) 0%, var(--secondary) 100%);
    color: var(--text-light);
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.btn-primary:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: linear-gradient(45deg, var(--secondary) 0%, var(--primary) 100%);
    transition: all 0.5s ease;
    z-index: -1;
}

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

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

.btn-secondary:hover {
    background: var(--primary);
    color: var(--text-light);
}

.btn:active {
    transform: scale(0.98);
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.section-header h2:after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: -10px;
    width: 80px;
    height: 4px;
    transform: translateX(-50%);
    background: linear-gradient(to right, var(--primary), var(--secondary));
}

.section-header p {
    max-width: 700px;
    margin: 0 auto;
    color: var(--text-dark);
    font-size: 1.1rem;
    margin-top: 1.5rem;
}

/* Header & Navigation */
.header {
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 15px 0;
}

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

.logo {
    flex: 0 0 auto;
}

.hamburger {
    display: none;
    cursor: pointer;
}

.bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    transition: all 0.3s ease-in-out;
    background-color: var(--primary);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-link {
    font-family: 'Nunito', sans-serif;
    font-weight: 700;
    font-size: 1rem;
    color: var(--text-dark);
    position: relative;
}

.nav-link:after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -5px;
    width: 0;
    height: 2px;
    background: linear-gradient(to right, var(--primary), var(--secondary));
    transition: width 0.3s ease;
}

.nav-link:hover:after {
    width: 100%;
}

/* Hero Section */
.hero {
    padding: 80px 0;
    background-color: var(--bg-light);
    position: relative;
    overflow: hidden;
}

.hero .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.hero-content {
    flex: 0 0 55%;
}

.hero h1 {
    font-size: 3rem;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: var(--primary);
}

.hero p {
    font-size: 1.1rem;
    margin-bottom: 2.5rem;
    color: var(--text-dark);
}

.hero-image {
    flex: 0 0 45%;
    position: relative;
    min-height: 400px;
}

.blur-circle {
    position: absolute;
    border-radius: 50%;
    filter: blur(40px);
}

.blur-circle.one {
    width: 250px;
    height: 250px;
    background-color: var(--primary);
    opacity: 0.1;
    top: -50px;
    right: 0;
}

.blur-circle.two {
    width: 200px;
    height: 200px;
    background-color: var(--secondary);
    opacity: 0.1;
    bottom: -50px;
    left: 30px;
}

.hero-illustration {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

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

/* How It Works Section */
.how-it-works {
    padding: 100px 0;
    background-color: #FAFAFA;
}

.steps-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-top: 50px;
}

.step {
    flex: 0 0 calc(33.333% - 40px);
    background-color: var(--bg-light);
    box-shadow: var(--box-shadow);
    border-radius: 16px;
    padding: 30px;
    position: relative;
    text-align: center;
    min-height: 250px;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: transform 0.3s ease;
}

.step:hover {
    transform: translateY(-10px);
}

.step-number {
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 40px;
    background: linear-gradient(45deg, var(--primary), var(--secondary));
    color: var(--text-light);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: 700;
    font-family: 'Nunito', sans-serif;
    font-size: 1.2rem;
}

.step-content {
    margin-top: 20px;
    margin-bottom: 20px;
}

.step h3 {
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.step-icon {
    margin-top: auto;
}

.step-arrow {
    display: none;
}

.cta-center {
    text-align: center;
    margin-top: 50px;
}

/* Features Section */
.features {
    padding: 100px 0;
    background: linear-gradient(135deg, rgba(252, 244, 221, 0.3) 0%, rgba(255, 255, 255, 1) 100%);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.feature {
    background-color: var(--bg-light);
    border-radius: 16px;
    padding: 30px;
    text-align: center;
    box-shadow: var(--box-shadow);
    transition: all 0.3s ease;
    border-top: 4px solid transparent;
}

.feature:hover {
    border-top: 4px solid var(--secondary);
    transform: translateY(-10px);
}

.feature-icon {
    margin: 0 auto 20px;
}

.feature h3 {
    margin-bottom: 15px;
    font-size: 1.3rem;
}

/* About Section */
.about {
    padding: 100px 0;
    background: var(--bg-light);
    position: relative;
    overflow: hidden;
}

.about .container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 50px;
}

.about-content {
    flex: 0 0 55%;
}

.about-content h2 {
    font-size: 2.5rem;
    margin-bottom: 30px;
    position: relative;
}

.about-content h2:after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -10px;
    width: 80px;
    height: 4px;
    background: linear-gradient(to right, var(--primary), var(--secondary));
}

.about-content p {
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.about-content .btn {
    margin-top: 20px;
}

.about-decoration {
    flex: 0 0 35%;
    position: relative;
    min-height: 300px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.decoration-element {
    position: absolute;
    border-radius: 50%;
    filter: blur(30px);
}

.decoration-element.one {
    width: 200px;
    height: 200px;
    background-color: var(--primary);
    opacity: 0.1;
    top: -50px;
    left: 0;
}

.decoration-element.two {
    width: 150px;
    height: 150px;
    background-color: var(--secondary);
    opacity: 0.1;
    bottom: -30px;
    right: 0;
}

/* Footer */
.footer {
    padding: 60px 0 30px;
    background-color: #FAF0E6;
    color: var(--text-dark);
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo {
    flex: 0 0 280px;
}

.footer-brand-icon {
    margin-top: 20px;
}

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

.footer-column h4 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-column h4:after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 3px;
    background: linear-gradient(to right, var(--primary), var(--secondary));
}

.footer-column ul {
    list-style: none;
}

.footer-column ul li {
    margin-bottom: 10px;
}

.footer-column a {
    color: var(--text-dark);
    transition: all 0.3s ease;
}

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

.copyright {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.copyright p {
    margin-bottom: 10px;
    font-size: 0.9rem;
}

/* Media Queries */
@media (max-width: 992px) {
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .step {
        flex: 0 0 calc(50% - 40px);
    }
    
    .about-content, .about-decoration {
        flex: 0 0 100%;
    }
    
    .about-decoration {
        order: -1;
        margin-bottom: 30px;
    }
}

@media (max-width: 768px) {
    .hamburger {
        display: block;
    }
    
    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }
    
    .hamburger.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    
    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        gap: 0;
        flex-direction: column;
        background-color: var(--bg-light);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
        padding: 20px 0;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-link {
        padding: 15px 0;
    }
    
    .hero .container {
        flex-direction: column;
        text-align: center;
    }
    
    .hero-content {
        flex: 0 0 100%;
    }
    
    .hero-btns {
        justify-content: center;
    }
    
    .hero-image {
        flex: 0 0 100%;
        margin-top: 40px;
    }
    
    .steps-container {
        flex-direction: column;
    }
    
    .step {
        flex: 0 0 100%;
        max-width: 400px;
        margin: 0 auto;
    }
    
    .step-arrow {
        display: block;
        transform: rotate(90deg);
        margin: 20px 0;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 0 auto;
    }
    
    .about-content, .about-decoration {
        text-align: center;
    }
    
    .about-content h2:after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-logo {
        margin: 0 auto;
    }
    
    .footer-links {
        width: 100%;
        justify-content: center;
    }
    
    .footer-column h4:after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .footer-column ul {
        text-align: center;
    }
}

@media (max-width: 576px) {
    .hero h1 {
        font-size: 2rem;
    }
    
    .section-header h2 {
        font-size: 1.8rem;
    }
    
    .btn {
        width: 100%;
        margin-bottom: 10px;
    }
    
    .hero-btns {
        flex-direction: column;
    }
}
