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

:root {
    --color-bg-main: #F7FAF6;
    --color-bg-white: #FFFFFF;
    --color-bg-dark: #041B18;
    --color-primary: #008A68;
    --color-primary-dark: #01372A;
    --color-text-main: #050505;
    --color-text-muted: #6B7270;
    --color-card-border: #E3E7E2;
    --color-card-bg: #FFFFFF;
    --color-section-divider: #E3E7E2;
    
    --font-family: "Funnel Display", system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", Arial, sans-serif;
    --line-height-base: 1.6;
    
    --container-max-width: 1440px;
    --section-padding-desktop: 120px;
    --section-padding-tablet: 64px;
    --section-padding-mobile: 48px;
    
    --gap-grid: 24px;
    --gap-mobile: 16px;
    
    --border-radius-card: 16px;
    --border-radius-card-lg: 20px;
    --border-radius-button: 8px;
}

body {
    font-family: var(--font-family);
    line-height: var(--line-height-base);
    color: var(--color-text-main);
    background-color: var(--color-bg-white);
    overflow-x: hidden;
}

.container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 24px;
}

.text-left{
    text-align: left;
    margin: 0 !important;
    padding: 0;
}

/* ========================================
   Header / Navbar
   ======================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: var(--color-bg-white);
    border-bottom: 1px solid var(--color-section-divider);
    z-index: 1000;
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    gap: 32px;
}

.logo {
    display: flex;
    align-items: center;
    white-space: nowrap;
}

.logo-image {
    height: 32px;
    width: auto;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 32px;
    flex: 1;
    justify-content: center;
}

.nav-links a {
    color: var(--color-text-main);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
}

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

.burger-menu {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    gap: 5px;
    z-index: 1001;
}

.burger-menu span {
    width: 25px;
    height: 3px;
    background-color: var(--color-text-main);
    transition: all 0.3s ease;
    border-radius: 2px;
}

.btn-nav-cta {
    background-color: var(--color-primary);
    color: var(--color-bg-white);
    border: none;
    padding: 12px 24px;
    border-radius: var(--border-radius-button);
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    white-space: nowrap;
    transition: background-color 0.2s ease;
    text-decoration: none;
    display: inline-block;
}

.btn-nav-cta:hover {
    background-color: var(--color-primary-dark);
    text-decoration: none;
}

/* ========================================
   Hero Section
   ======================================== */
.hero {
    padding: calc(80px + 20px) 0 var(--section-padding-desktop);
    margin-top: 60px;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.hero-left {
    max-width: 600px;
}

.hero-title {
    font-size: 56px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 24px;
    color: var(--color-text-main);
}

.hero-description {
    font-size: 20px;
    line-height: 1.6;
    color: var(--color-text-muted);
    margin-bottom: 32px;
}

.hero-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 16px;
}

.hero-email-input {
    padding: 16px 20px;
    border: 2px solid var(--color-card-border);
    border-radius: var(--border-radius-button);
    font-size: 16px;
    font-family: var(--font-family);
    background-color: var(--color-bg-white);
    transition: border-color 0.2s ease;
}

.hero-email-input:focus {
    outline: none;
    border-color: var(--color-primary);
}

.hero-trust-text {
    font-size: 14px;
    color: var(--color-text-muted);
}

.hero-right {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-image {
    width: 150%;
    height: auto;
    position: relative;
    left: 200px;
    top: 40px;
    border-radius: var(--border-radius-card);
}

.btn-primary {
    background-color: var(--color-primary);
    color: var(--color-bg-white);
    border: none;
    padding: 16px 32px;
    border-radius: var(--border-radius-button);
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.2s ease;
    width: 100%;
    text-decoration: none;
    display: inline-block;
    text-align: center;
    box-sizing: border-box;
}

.btn-primary:hover {
    background-color: var(--color-primary-dark);
    text-decoration: none;
    color: var(--color-bg-white);
}

/* ========================================
   Why Handl Hub Section
   ======================================== */
.why-section {
    padding: var(--section-padding-desktop) 0;
    background-color: var(--color-bg-white);
}

.section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 64px;
}

.section-title {
    font-size: 48px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 16px;
    color: var(--color-text-main);
}

.section-subtitle {
    font-size: 20px;
    line-height: 1.6;
    color: var(--color-text-muted);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--gap-grid);
}

.feature-card {
    background-color: #F5F5F5;
    border: none;
    border-radius: var(--border-radius-card-lg);
    padding: 8px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.feature-card:hover {
    transform: translateY(-4px);
}

.feature-icon {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 48px 20px;
    margin-bottom: 0;
}

.feature-icon img {
    width: 80px;
    height: 80px;
    object-fit: contain;
}

.feature-title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--color-text-main);
    padding: 24px 24px 0 24px;
}

.feature-text {
    font-size: 16px;
    line-height: 1.6;
    color: var(--color-text-muted);
    padding: 0 24px 24px 24px;
    margin: 0;
}

.feature-content {
    background-color: var(--color-bg-white);
    border-radius: var(--border-radius-card);
    text-align: center;
}
/* ========================================
   How Handl Hub Works Section (Dark)
   ======================================== */
.how-section {
    background-color: #01372A;
    color: var(--color-bg-white);
    padding: var(--section-padding-desktop) 0;
}

.section-title-light {
    color: var(--color-bg-white);
}

.section-subtitle-light {
    color: rgba(255, 255, 255, 0.8);
}

.steps-grid {
    display: flex;
    flex-wrap: wrap;
    gap: var(--gap-grid);
    margin-top: 64px;
}

.step-card {
    background-color: var(--color-bg-dark);
    border: none;
    border-radius: var(--border-radius-card);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1 1 calc(50% - calc(var(--gap-grid) / 2));
    min-width: calc(50% - calc(var(--gap-grid) / 2));
}

.step-icon {
    width: 120px;
    height: 120px;
    background-color: var(--color-bg-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 32px;
}

.step-icon img {
    width: 64px;
    height: 64px;
    object-fit: contain;
}

.step-title {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 16px;
    color: var(--color-bg-white);
}

.step-text {
    font-size: 16px;
    line-height: 1.6;
    color: var(--color-bg-white);
}

.step-card-3 {
    flex: 0 1 calc(65% - calc(var(--gap-grid) / 2));
    min-width: calc(65% - calc(var(--gap-grid) / 2));
}

.step-card-4 {
    flex: 0 1 calc(35% - calc(var(--gap-grid) / 2));
    min-width: calc(35% - calc(var(--gap-grid) / 2));
}

.howit-content{
    width: 100%;
    padding: 40px 40px;
    text-align: left;
    position: relative;
    z-index: 9;
}

.howit-content h3{
    margin: 0;
}

.howit-content p{
    color: #99ABA7;
    margin: 0;
}

.step-card-img{
    width: 100%;
    height: 400px;
    overflow: hidden;
    position: relative;
}

.sec-image{
    padding-top: 20px;
    width: 100%;
}

.card-img-custome {
    width: 700px;
    left: 100px;
    padding: 40px 0 40px 40px;
}

.recomend{
    width: 1200px;
}

.feedback{
    width: 90%;
}

.overlay{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(1, 95, 84, 0) 0%, #051b18 100%);
    z-index: 8;
}

/* ========================================
   AI Recommendations in Action Section
   ======================================== */
.recommendations-section {
    padding: var(--section-padding-desktop) 0;
    background-color: var(--color-bg-white);
}

.recommendations-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.recommendations-left {
    display: flex;
    justify-content: center;
    align-items: center;
}

.ai-ipad-image {
    width: 180%;
    height: auto;
    position: relative;
    right: 200px;
    border-radius: var(--border-radius-card);
}

.recommendations-card {
    background-color: var(--color-bg-main);
    border: 1px solid var(--color-card-border);
    border-radius: var(--border-radius-card);
    padding: 32px;
}

.recommendation-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 20px 0;
    border-bottom: 1px solid var(--color-card-border);
}

.recommendation-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.recommendation-item:first-child {
    padding-top: 0;
}

.rec-icon {
    width: 32px;
    height: 32px;
    flex-shrink: 0;
}

.rec-text {
    font-size: 16px;
    line-height: 1.6;
    color: var(--color-text-main);
}

.recommendations-intro {
    font-size: 18px;
    line-height: 1.6;
    color: var(--color-text-muted);
    margin-bottom: 24px;
}

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

.recommendations-list li {
    font-size: 16px;
    line-height: 1.8;
    color: var(--color-text-muted);
    margin-bottom: 16px;
    padding-left: 24px;
    position: relative;
}

.recommendations-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--color-primary);
    font-weight: 600;
}

/* ========================================
   Results That Matter Section
   ======================================== */
.results-section {
    padding: var(--section-padding-desktop) 0;
    background-color: #18191B;
    text-align: left;
    
}

.results-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 64px;
    align-items: center;
}

.results-left {
    color: var(--color-bg-white);
}

.results-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--gap-grid);
    margin: 48px 0 32px 0;
    
}

.result-card {
    background-color: transparent;
    border: none;
    padding: 0;
    text-align: left;
}

.result-icon {
    width: 64px;
    height: 64px;
    margin-bottom: 20px;
    background-color: var(--color-primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.result-icon img {
    width: 32px;
    height: 32px;
    filter: brightness(0) invert(1);
}

.result-title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--color-bg-white);
}

.result-text {
    font-size: 16px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.8);
}

.results-cta {
    background-color: var(--color-bg-white);
    color: var(--color-text-main);
    width: auto;
    display: inline-block;
}

.results-cta:hover {
    background-color: #f0f0f0;
}

.results-right {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.results-dashboard-image {
    width: 150%;
    position: absolute;
    height: auto;
    left: 100px;
    border-radius: var(--border-radius-card);
}

/* ========================================
   Final CTA Section
   ======================================== */
.cta-section {
    padding: var(--section-padding-desktop) 0;
    background-color: var(--color-bg-white);
    text-align: center;
}

.cta-content {
    max-width: 600px;
    margin: 0 auto;
}

.cta-title {
    font-size: 40px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 16px;
    color: var(--color-text-main);
}

.cta-description {
    font-size: 18px;
    line-height: 1.6;
    color: var(--color-text-muted);
    margin-bottom: 32px;
}

.cta-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 16px;
}

.cta-email-input {
    padding: 16px 20px;
    border: 2px solid var(--color-card-border);
    border-radius: var(--border-radius-button);
    font-size: 16px;
    font-family: var(--font-family);
    background-color: var(--color-bg-white);
    transition: border-color 0.2s ease;
}

.cta-email-input:focus {
    outline: none;
    border-color: var(--color-primary);
}

.cta-trust-text {
    font-size: 14px;
    color: var(--color-text-muted);
}

.form-message {
    font-size: 14px;
    margin-top: 12px;
    padding: 8px 12px;
    border-radius: 6px;
    text-align: center;
    min-height: 20px;
}

.form-message-success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.form-message-error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* ========================================
   Footer
   ======================================== */
.footer {
    background-color: var(--color-bg-dark);
    color: var(--color-bg-white);
    padding: 48px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 32px;
}

.footer-logo {
    display: flex;
    align-items: center;
}

.footer-logo-image {
    height: 24px;
    width: auto;
    /* filter: brightness(0) invert(1); */
}

.footer-copyright {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    flex: 1;
    text-align: center;
}

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

.footer-nav a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.2s ease;
}

.footer-nav a:hover {
    color: var(--color-primary-dark);
}

/* ========================================
   Responsive Design - Tablet (768px - 1199px)
   ======================================== */
@media (max-width: 1199px) {
    .container {
        padding: 0 20px;
    }

    .burger-menu {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background-color: var(--color-bg-white);
        flex-direction: column;
        gap: 0;
        padding: 20px;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        transform: translateX(-100%);
        transition: transform 0.3s ease;
        z-index: 1000;
        width: 100%;
        max-width: 100%;
        border-top: 1px solid var(--color-section-divider);
    }

    .nav-links.active {
        transform: translateX(0);
    }

    .nav-links li {
        width: 100%;
        border-bottom: 1px solid var(--color-section-divider);
    }

    .nav-links li:last-child {
        border-bottom: none;
    }

    .nav-links a {
        display: block;
        padding: 16px 0;
        width: 100%;
    }

    .hero {
        padding: calc(80px + 20px) 0 var(--section-padding-tablet);
    }

    .hero-content {
        gap: 48px;
    }

    .hero-title {
        font-size: 42px;
    }

    .hero-description {
        font-size: 18px;
    }

    .why-section,
    .how-section,
    .recommendations-section,
    .results-section,
    .cta-section {
        padding: var(--section-padding-tablet) 0;
    }

    .section-title {
        font-size: 40px;
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }

    .steps-grid {
        gap: 24px;
    }

    .step-card {
        flex: 1 1 calc(50% - 12px);
        min-width: calc(50% - 12px);
    }

    .step-card-3 {
        flex: 0 1 calc(65% - 12px);
        min-width: calc(65% - 12px);
    }

    .step-card-4 {
        flex: 0 1 calc(35% - 12px);
        min-width: calc(35% - 12px);
    }

    .recommendations-content {
        gap: 48px;
    }

    .recommendations-left {
        overflow: hidden;
    }

    .ai-ipad-image {
        width: 120%;
        right: 10%;
    }

    .hero-image {
        width: 120%;
        left: 10%;
    }

    .results-content {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .results-right {
        overflow: hidden;
    }

    .results-dashboard-image {
        width: 120%;
        left: 0;
    }

    .results-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }

    .results-cta {
        width: 100%;
        max-width: 300px;
    }

    .step-card-img {
        height: 300px;
    }

    .card-img-custome {
        width: 600px;
        left: 50px;
    }

    .recomend {
        width: 900px;
    }

    .howit-content {
        padding: 32px;
    }

    .cta-title {
        font-size: 36px;
    }
}

/* ========================================
   Responsive Design - Mobile (≤ 767px)
   ======================================== */
@media (max-width: 767px) {
    .container {
        padding: 0 16px;
    }

    .nav {
        flex-wrap: nowrap;
        padding: 16px 0;
        position: relative;
    }

    .logo-image {
        height: 24px;
    }

    .burger-menu {
        display: flex;
        order: 2;
        margin-left: auto;
    }

    .burger-menu.active span:nth-child(1) {
        transform: rotate(45deg) translate(8px, 8px);
    }

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

    .burger-menu.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -7px);
    }

    .nav-links {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background-color: var(--color-bg-white);
        flex-direction: column;
        gap: 0;
        padding: 20px;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        transform: translateX(-100%);
        transition: transform 0.3s ease;
        z-index: 1000;
        width: 100%;
        max-width: 100%;
        border-top: 1px solid var(--color-section-divider);
    }

    .nav-links.active {
        transform: translateX(0);
    }

    .nav-links li {
        width: 100%;
        border-bottom: 1px solid var(--color-section-divider);
    }

    .nav-links li:last-child {
        border-bottom: none;
    }

    .nav-links a {
        display: block;
        padding: 16px 0;
        width: 100%;
    }

    .btn-nav-cta {
        padding: 10px 20px;
        font-size: 13px;
        order: 1;
        margin-left: auto;
        margin-right: 16px;
    }

    .hero {
        padding: calc(60px + 16px) 0 var(--section-padding-mobile);
        margin-top: 56px;
    }

    .hero-content {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .hero-title {
        font-size: 32px;
        margin-bottom: 16px;
    }

    .hero-description {
        font-size: 16px;
        margin-bottom: 24px;
    }

    .hero-form {
        margin-bottom: 12px;
    }

    .hero-image {
        width: 100%;
        max-width: 100%;
        left: 0;
        top: 0;
        position: relative;
    }

    .hero-right {
        overflow: hidden;
    }

    .why-section,
    .how-section,
    .recommendations-section,
    .results-section,
    .cta-section {
        padding: var(--section-padding-mobile) 0;
    }

    .section-header {
        margin-bottom: 40px;
    }

    .section-title {
        font-size: 32px;
        margin-bottom: 12px;
    }

    .section-subtitle {
        font-size: 16px;
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: var(--gap-mobile);
    }

    .feature-card {
        padding: 24px;
    }

    .steps-grid {
        flex-direction: column;
        gap: var(--gap-mobile);
        margin-top: 40px;
    }

    .step-card {
        flex: 1 1 100%;
        min-width: 100%;
        width: 100%;
    }

    .step-card-3 {
        flex: 1 1 100%;
        min-width: 100%;
        width: 100%;
    }

    .step-card-4 {
        flex: 1 1 100%;
        min-width: 100%;
        width: 100%;
    }

    .step-card-img {
        height: 250px;
    }

    .card-img-custome {
        width: 100% !important;
        left: 0 !important;
        padding: 20px !important;
        position: relative;
    }

    .recomend {
        width: 100% !important;
    }

    .feedback {
        width: 100% !important;
    }

    .sec-image {
        padding-top: 0;
    }

    .howit-content {
        padding: 24px;
    }


    .recommendations-content {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .recommendations-left {
        overflow: hidden;
    }

    .ai-ipad-image {
        width: 100%;
        max-width: 100%;
        right: 0;
        position: relative;
    }

    .recommendations-card {
        padding: 24px;
    }

    .recommendation-item {
        padding: 16px 0;
    }

    .results-content {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .results-right {
        position: relative;
        overflow: hidden;
        min-height: 300px;
    }

    .results-dashboard-image {
        width: 100%;
        max-width: 100%;
        left: 0;
        position: relative;
    }

    .results-grid {
        grid-template-columns: 1fr;
        gap: var(--gap-mobile);
        margin: 32px 0 24px 0;
    }

    .result-card {
        padding: 0;
    }

    .results-cta {
        width: 100%;
    }

    .cta-title {
        font-size: 28px;
    }

    .cta-description {
        font-size: 16px;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }

    .footer-copyright {
        order: 2;
    }

    .footer-nav {
        order: 3;
        flex-direction: column;
        gap: 12px;
    }
}

