/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
    color: #222222;
    background-color: #FFFFFF;
}

body h2{
  line-height: 1;
}

.container {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 2rem;
}

 
/* Hero Section */
.hero {
    padding: 6rem 0;
    background-color: #ffffff;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    color: #222222;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: #777777;
    margin-bottom: 2rem;
    line-height: 1.6;
}

/* Hero Section */
.hero-image {
    background-color: #FFFFFF;
    height: 20rem; 
    display: flex;
    border-radius: 8px;
    overflow: hidden; 
}

.aligners-image {
    width: 100%; 
    height: 100%;
    object-fit: cover; 
    display: block; 
}

.placeholder-image {
    width: 100%; 
    height: 100%;
    display: block; 
}

.hero-content .btn-primary{
    background-color: #5FC1AE;
}

.btn {
    padding: 0.75rem 2rem;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.2s ease;
    display: inline-block;
}

.btn-primary {
    background-color: #222222;
    color: #FFFFFF;
}

.btn-primary:hover {
    background-color: #444444;
}

.btn-outline {
    border: 1px solid #222222;
    color: #222222;
    background-color: transparent;
}

.btn-outline:hover {
    background-color: #222222;
    color: #FFFFFF;
}

/* Benefits Section */
.benefits {
    padding: 6rem 0;
    background-color: #81e0cd;
}

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

.section-title {
    font-size: 2.25rem;
    font-weight: 600;
    color: #222222;
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.125rem;
    color: #777777;
    max-width: 768px;
    margin: 0 auto;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.benefit-card {
    text-align: center;
    padding: 2rem;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

/* Hover lift effect */
.benefit-card:hover {
    transform: translateY(-5px);
    cursor: pointer;
}
.benefit-icon {
    width: 4rem;
    height: 4rem;
    
    border-radius: 4px;
    margin: 0 auto 1.5rem;
}

.benefit-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #222222;
    margin-bottom: 1rem;
}

.benefit-description {
    color: #777777;
    line-height: 1.6;
}

/* Comparison Section */
.comparison {
    padding: 6rem 0;
    background-color: #ffffff;
}

.comparison-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.comparison-points {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    padding-left: 140px;
}

.placeholder-image .others {
    width: 100%; 
    height: 100%;
}

.placeholder-image .smiilon {
    width: 100%; 
    height: 100%;
}
.comparison-point {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

.comparison-icon {
    width: 3rem;
    height: 3rem;
    flex-shrink: 0;
    margin-top: 0.25rem;
}

.comparison-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #222222;
    margin-bottom: 0.5rem;
}

.comparison-description {
    color: #777777;
    line-height: 1.6;
}

.comparison-images {
    display: flex;
    justify-content: center;
}

.comparison-image-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

.comparison-image {
    max-width: 600px;
    position: relative;
    background-color: #FFFFFF;
    border-radius: 8px;
    padding: 2rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

/* Hover effect: grow the box */
.comparison-image:hover {
    transform: scale(1.3);
    box-shadow: 0 10px 18px rgba(0, 0, 0, 0.15);
}


.comparison-image .placeholder-image {
    width: 12rem;
    height: 8rem;
    background-color: #EAEAEA;
    border-radius: 4px;
}

.image-label {
    text-align: center;
    font-weight: 600;
    margin-top: 1rem;
}

.smiilon-label {
    color: #222222;
}

.other-label {
    color: #777777;
}

.vs-divider {
    font-size: 1.5rem;
    font-weight: 700;
    color: #222222;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 4rem;
    height: 4rem;
    background-color: #FFFFFF;
    border-radius: 50%;
    margin: 0 1rem;
}

/* Before and After Section */
.before-after {
    padding: 6rem 0;
}

.before-after-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-bottom: 4rem;
}

.before-after-item {
    text-align: center;
}

.before-after-image-container {
    position: relative;
    background-color: #E9F5FF;
    
    height: 24rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.before-after-image-container .placeholder-image {
    width: 24rem;
    height: 16rem;
    background-color: #FFFFFF;
    border-radius: 4px;
}

.image-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    font-size: 0.875rem;
    font-weight: 600;
}

.before-badge {
    background-color: #FF4136;
    color: #FFFFFF;
}

.after-badge {
    background-color: #222222;
    color: #FFFFFF;
}

.before-after-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #222222;
    margin-bottom: 1rem;
}

.before-after-description {
    color: #777777;
    line-height: 1.6;
}

.treatment-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 3rem;
}

.stat-card {
    text-align: center;
    padding: 2rem;
    background-color: #F8F8F8;
    border-radius: 8px;
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: #222222;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1.125rem;
    font-weight: 600;
    color: #222222;
    margin-bottom: 0.5rem;
}

.stat-description {
    font-size: 0.875rem;
    color: #777777;
    line-height: 1.6;
}

.before-after-cta {
    text-align: center;
}

.cta-text {
    font-size: 1.125rem;
    color: #777777;
    margin-bottom: 1.5rem;
}
.before-after-cta .btn-primary:hover{
        background: linear-gradient(45deg, #F58529, #FEDA77, #DD2A7B, #8134AF, #515BD4);
        font-weight: 700;
}
/* How It Works Section */
.how-it-works {
    padding: 6rem 0;
    background-color: #F8F8F8;
}

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

.step {
    text-align: center;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

/* Hover lift effect */
.step:hover {
    transform: translateY(-15px);
    cursor: pointer;
}
.image-steps {
    width: 100%; 
    height: 100%;
    border-radius: 50%;
}
.step-number {
    width: 14rem;
    height: 14rem;
    border-radius: 50%;
    margin: 0 auto 1.5rem;
}

.step-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #222222;
    margin-bottom: 1rem;
}

.step-description {
    color: #777777;
    line-height: 1.6;
}
.steps {
    color: #2f3ccb;
    font-size: 14px;
    font-weight: 550;
    line-height: 1.6;
}

/* CTA Section */
.cta {
    padding: 6rem 0;
    background-color: #e6edec;
}

.cta-content {
    text-align: center;
    max-width: 768px;
    margin: 0 auto;
}

.cta-title {
    font-size: 2.25rem;
    font-weight: 600;
    color: #222222;
    margin-bottom: 1.5rem;
}

.cta-subtitle {
    font-size: 1.125rem;
    color: #777777;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}


/* Responsive Design */
@media (max-width: 768px) {
    .hero {
        padding: 3rem 1rem;  /* smaller top/bottom + some side spacing */
    }

    .nav {
        display: none;
    }

    .cta-button {
        display: none;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .mobile-menu.active {
        display: flex;
    }

    .mobile-menu-toggle.active span:nth-child(1) {
        transform: rotate(-45deg) translate(-5px, 6px);
    }

    .mobile-menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .mobile-menu-toggle.active span:nth-child(3) {
        transform: rotate(45deg) translate(-5px, -6px);
    }

    .hero-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .section-title {
        font-size: 1.875rem;
    }

    .cta-title {
        font-size: 1.875rem;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .footer-legal {
        justify-content: center;
    }

    .container {
        padding: 0 1rem;
    }
    .comparison-points{
        padding-left: 0px;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 3rem 1rem;  /* smaller top/bottom + some side spacing */
    }
    
    .hero-title {
        font-size: 2rem;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .cta-title {
        font-size: 1.5rem;
    }

    .benefits-grid {
        grid-template-columns: 1fr;
    }

    .steps-grid {
        grid-template-columns: 1fr;
    }

    .footer-nav {
        flex-direction: column;
        gap: 1rem;
    }

    .comparison-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .comparison-image-container {
        flex-direction: row;
        gap: 1rem;
    }

    .comparison-image .placeholder-image {
        width: 8rem;
        height: 6rem;
    }

    .vs-divider {
        display: none;
    }

    .before-after-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .treatment-stats {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}