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

:root {
    
    --primary-color: #F3464E;
    --dark-color: #1E1E1E;
    --text-color: #585858;
    --white-color: #FFFFFF;
    --light-bg-color: #FFFFFF;
    --hero-bg-color: #FDEEEC;
    --border-color: #EAEAEA;

    --font-family: 'Poppins', sans-serif;

  
    --container-width: 1180px;
    --container-padding: 1.5rem; 
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    color: var(--text-color);
    background-color: var(--light-bg-color);
    font-size: 16px;
    line-height: 1.7;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3 { color: var(--dark-color); line-height: 1.3; }
h1 { font-weight: 800; }
h2, h3 { font-weight: 700; }


.container {
    max-width: var(--container-width);
    margin-left: auto;
    margin-right: auto;
    padding-left: var(--container-padding);
    padding-right: var(--container-padding);
}

.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    text-align: center;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white-color);
    border-color: var(--primary-color);
}
.btn-primary:hover {
    background-color: #d12c34;
    border-color: #d12c34;
}

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

.highlight {
    color: var(--primary-color);
}


.header {
    background-color: var(--hero-bg-color); 
    padding: 18px 0;
    position: relative;
    z-index: 100;
}
.header-container { display: flex; justify-content: space-between; align-items: center; }
.logo img { height: 32px; }
.nav-desktop, .header-cta-desktop { display: none; }
.nav-toggle { background: none; border: none; cursor: pointer; color: var(--dark-color); }
.nav-mobile { position: fixed; top: 0; right: -100%; width: 80%; max-width: 320px; height: 100vh;
             background-color: var(--white-color); box-shadow: -4px 0 15px rgba(0,0,0,0.1); z-index: 101; padding: 60px 24px 24px; display: flex; flex-direction: column; transition: right 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94); }
.nav-mobile.is-open { right: 0; }
.nav-close { position: absolute; top: 20px; right: 24px; background: none; border: none; cursor: pointer; font-size: 1.5rem; color: var(--dark-color); }
.nav-mobile nav ul li { margin-bottom: 24px; }
.nav-mobile nav ul li a { font-size: 1.1rem; font-weight: 600; color: var(--dark-color); }
.nav-mobile .btn-primary { margin-top: auto; text-align: center; width: 100%; padding: 14px 24px; }


.hero {
    background-color: var(--hero-bg-color);
    padding: 32px 0 60px;
    text-align: center;
}

.hero-content h1 {
    font-size: 2.8rem; 
    letter-spacing: -1px;
}
.hero-content h1 .highlight {
    position: relative;
    display: inline-block;
}
.wavy-underline {
    position: absolute;
    bottom: -12px;
    left: 0;
    width: 100%;
    height: 18px;
}

.hero-content p {
    margin: 32px 0;
    font-size: 1rem;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.hero-actions {
    display: flex;
    flex-direction: column;
    gap: 16px;
    align-items: center;
}

.hero-image-wrapper {
    margin-top: 48px;
    position: relative;
}
.hero-image {
    max-width: 80%;
    margin: 0 auto;
}

.hero-stats {
    margin-top: -30px;
}

.stat-card {
    background: var(--white-color);
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    padding: 16px;
}

.rating-card {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    width: 180px;
    margin: 0 auto;
}
.rating-value { font-size: 2rem; font-weight: 700; color: var(--dark-color); line-height: 1; }
.stars { display: flex; gap: 2px; }
.stars img { width: 18px; }
.rating-label { font-size: 0.875rem; color: var(--text-color); }

.created-card {
    display: none; 
}


.features {
    padding: 80px 0;
    background-color: var(--light-bg-color);
}

.section-header {
    text-align: center;
    margin-bottom: 48px;
}
.section-header h2 {
    font-size: 2rem; 
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
}

.features-grid {
    display: grid;
    gap: 24px;
}

.feature-item {
    text-align: center;
    background: var(--white-color);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 32px 24px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.feature-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08);
}
.feature-item img {
    height: 120px;
    margin: 0 auto;
}
.feature-item h3 {
    font-size: 1.25rem; 
    margin-top: 24px;
    margin-bottom: 12px;
}
.feature-item p {
    font-size: 1rem; 
}


@media (min-width: 768px) {
    .hero-actions { flex-direction: row; justify-content: center; }
    .hero-image { max-width: 450px; }
    .features-grid { grid-template-columns: repeat(2, 1fr); }
    .section-header h2 { font-size: 2.25rem; }
}


@media (min-width: 1024px) {
   
    .header { background-color: transparent; position: absolute; width: 100%; }
    .nav-toggle, .nav-mobile { display: none; }
    .nav-desktop, .header-cta-desktop { display: block; }
    .nav-desktop ul { display: flex; align-items: center; gap: 40px; }
    .nav-desktop ul li a { font-weight: 500; transition: color 0.3s ease; color: var(--dark-color);}
    .nav-desktop ul li a:hover { color: var(--primary-color); }
    
   
    .hero { text-align: left; padding: 160px 0 100px; }
    .hero-container { display: flex; align-items: center; gap: 60px; }
    .hero-content { flex: 0 0 52%; }
    .hero-image-wrapper { flex: 1; margin-top: 0; }
    .hero-content h1 { font-size: 4rem; /* 64px */ }
    .hero-content p { margin-left: 0; max-width: 100%; font-size: 1.125rem; }
    .hero-actions { justify-content: flex-start; }
    .wavy-underline { height: 22px; bottom: -18px; }
    
    .hero-image { max-width: 100%; }
    .hero-stats { position: absolute; bottom: 20px; left: -40px; }
    .rating-card { width: 220px; padding: 20px; }
    .created-card {
        display: flex;
        align-items: center;
        gap: 12px;
        position: absolute;
        right: -30px;
        bottom: 50px;
        padding: 12px 20px;
    }
    .created-card img { height: 40px; }
    .created-card p { font-weight: 600; color: var(--dark-color); line-height: 1.2; }
    .created-card span { font-size: 1.5rem; font-weight: 700; display: block; }
    

    .features { padding: 120px 0; }
    .section-header h2 { font-size: 2.75rem; }
    .section-header { margin-bottom: 60px; }
    .features-grid { grid-template-columns: repeat(4, 1fr); gap: 30px; }
}