/* Import Poppins font */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&display=swap');

/* CSS Custom Properties */
:root {
    --color-primary: #FDCB15;
    --color-dark: #101703;
    --color-black: #000000;
    --color-white: #FFFFFF;
    --color-gray-light: #F5F5F5;
    --color-border: #E6E7E5;
    --color-green-dark: #1A2B1A;
    --color-purple: #7C3AED;
    --font-family: 'Poppins', sans-serif;
    --max-width: 1280px;
    --spacing-section: 80px;
    --radius-card: 16px;
    --radius-icon: 8px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    color: var(--color-dark);
    overflow-x: hidden;
}

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

/* Hero Section */
.hero {
    background:
        linear-gradient(135deg, rgba(250, 245, 226, 0.7) 0%, rgba(245, 245, 245, 0.7) 100%),
        url('assets/header_section/header_bg_map.png');
    background-size: cover;
    background-position: right center;
    background-repeat: no-repeat;
    padding: var(--spacing-section) 0 0 0;
    overflow: hidden;
}

.hero-content {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 60px;
    padding-bottom: var(--spacing-section);
}

.hero-left {
    flex: 1;
    max-width: 550px;
}

.logo {
    width: 174px;
    height: 56px;
    margin-bottom: 32px;
}

.hero-left h1 {
    font-size: 56px;
    font-weight: 700;
    line-height: 1.2;
    color: var(--color-dark);
    margin-bottom: 16px;
}

.hero-subtitle {
    font-size: 24px;
    font-weight: 400;
    line-height: 1.5;
    color: var(--color-dark);
    margin-bottom: 40px;
}

.download-options {
    display: flex;
    align-items: center;
    gap: 20px;
}

.app-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.app-button img {
    height: 53px;
    width: auto;
    transition: transform 0.3s ease;
}

.app-button:hover img {
    transform: scale(1.05);
}

/* QR Code - Desktop Only */
.qr-code-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    background: var(--color-white);
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.qr-code {
    width: 120px;
    height: 120px;
    border-radius: 8px;
    border: 3px solid var(--color-primary);
    padding: 8px;
    background: var(--color-white);
}

.qr-code-text {
    font-size: 14px;
    font-weight: 500;
    color: var(--color-dark);
    text-align: center;
    margin: 0;
}

/* Hide QR code on mobile, show buttons */
@media (max-width: 1024px) {
    .qr-code-container {
        display: none;
    }
}

.hero-right {
    flex: 1.6;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    margin-bottom: calc(-1 * var(--spacing-section));
}

.phone-mockup-wrapper {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.phone-mockup {
    position: relative;
    width: 100%;
    max-width: 1600px;
    height: auto;
}

/* Section Styles */
.section {
    background: var(--color-white);
    padding: var(--spacing-section) 0;
}

.section-heading {
    font-size: 32px;
    font-weight: 400;
    text-align: center;
    color: var(--color-dark);
    margin-bottom: 16px;
}

.section-subheading {
    font-size: 16px;
    font-weight: 400;
    text-align: center;
    color: #666;
    margin-bottom: 48px;
    max-width: 643px;
    margin-left: auto;
    margin-right: auto;
}

/* Why Gozal Section - Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    max-width: 1040px;
    margin: 0 auto;
}

.feature-card {
    background: var(--color-white);
    padding: 32px;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-card);
    text-align: left;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

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

.feature-icon img {
    width: 48px;
    height: 48px;
}

.feature-card h3 {
    font-size: 20px;
    font-weight: 500;
    line-height: 1.4;
    color: var(--color-dark);
    margin-bottom: 8px;
}

.feature-card p {
    font-size: 16px;
    font-weight: 400;
    line-height: 1.5;
    color: #666;
}

/* Beautiful Interface Section */
.interface-section {
    background:
        linear-gradient(135deg, rgba(245, 245, 245, 0.3) 0%, rgba(245, 245, 245, 0.3) 100%),
        url('assets/beautiful_interface_section/interface_bg_map.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: var(--spacing-section) 0;
    position: relative;
    overflow: hidden;
}

.interface-mockups {
    margin-top: 50px;
    text-align: center;
    position: relative;
    z-index: 1;
}

.interface-mockups img {
    max-width: 100%;
    height: auto;
    filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.1));
}


/* Legacy section title/subtitle for other sections still using them */
.section-title {
    font-size: 32px;
    font-weight: 400;
    text-align: center;
    color: var(--color-dark);
    margin-bottom: 16px;
    line-height: 43px;
    letter-spacing: 0%;
}

.section-subtitle {
    font-size: 16px;
    text-align: center;
    color: var(--color-dark);
    margin-bottom: 40px;
    max-width: 643px;
    margin-left: auto;
    margin-right: auto;
    font-weight: 400;
    line-height: 24px;
}

/* How It Works Section */
.steps-container {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-top: 60px;
    position: relative;
}

.steps-container::before {
    content: '';
    position: absolute;
    top: 55px;
    left: 140px;
    right: 140px;
    height: 2px;
    background: var(--color-primary);
    z-index: 0;
}

.step {
    flex: 0 1 auto;
    max-width: 280px;
    text-align: center;
    position: relative;
    z-index: 1;
}

.step-icon-wrapper {
    position: relative;
    margin: 0 auto 150px;
    width: fit-content;
}

.step-icon {
    width: 104px;
    height: 104px;
    background: var(--color-primary);
    border-radius: 50%;
    border: 25px solid rgba(253, 203, 21, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.step-icon img {
    width: 180px;
    height: 180px;
}

.step-number {
    position: absolute;
    bottom: -120px;
    left: 50%;
    transform: translateX(-50%);
    width: 56px;
    height: 56px;
    background: var(--color-dark);
    color: var(--color-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 500;
    font-size: 24px;
}

.step h3 {
    font-size: 24px;
    font-weight: 500;
    color: var(--color-dark);
    line-height: 1.4;
    margin-bottom: 8px;
}

.step p {
    font-size: 16px;
    font-weight: 400;
    color: #666;
    line-height: 1.5;
}

.step-connector {
    flex: 0 0 auto;
    width: 16px;
    height: 16px;
    background: var(--color-primary);
    border-radius: 50%;
    align-self: flex-start;
    margin: 47px 20px 0 20px;
    position: relative;
    z-index: 1;
}

/* Built For Everyone Section */
#built-for-everyone {
    background: var(--color-gray-light);
}

.audience-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-top: 50px;
}

.audience-card {
    padding: 48px;
    border-radius: var(--radius-card);
    min-height: 400px;
}

.card-consumer {
    background: linear-gradient(135deg, var(--color-primary) 0%, #FFA500 100%);
    color: var(--color-dark);
}

.card-vendor {
    background: var(--color-green-dark);
    color: var(--color-white);
}

.card-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
}

.card-icon {
    width: 64px;
    height: 64px;
    flex-shrink: 0;
}

.card-icon img {
    width: 100%;
    height: 100%;
}

.audience-card h3 {
    font-size: 24px;
    font-weight: 500;
    margin: 0;
}

.card-description {
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 24px;
}

.card-checklist {
    list-style: none;
    padding: 0;
}

.card-checklist li {
    margin-bottom: 12px;
    padding-left: 40px;
    font-size: 14px;
    position: relative;
}

.card-checklist li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 0;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 700;
}

.card-consumer .card-checklist li::before {
    background: var(--color-dark);
    color: var(--color-primary);
}

.card-vendor .card-checklist li::before {
    background: var(--color-white);
    color: var(--color-dark);
}

/* Download Section */
.download-section {
    background: var(--color-white);
    padding: var(--spacing-section) 0;
    overflow: hidden;
}

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

.download-left {
    flex: 1;
    max-width: 550px;
}

.download-left h2 {
    font-size: 40px;
    font-weight: 700;
    line-height: 1.35;
    color: var(--color-dark);
    margin-bottom: 32px;
}

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

/* Footer */
.footer {
    background: var(--color-black);
    color: var(--color-white);
    padding: 60px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 48px;
}

.footer-column {
    display: flex;
    flex-direction: column;
}

.footer-logo {
    width: 175px;
    margin-bottom: 24px;
}

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

.footer-nav a {
    font-size: 16px;
    font-weight: 400;
    color: var(--color-white);
    text-decoration: none;
    transition: color 0.3s ease;
}

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

.footer-apps h4 {
    font-size: 16px;
    font-weight: 500;
    margin-bottom: 16px;
    color: var(--color-white);
}

.footer-apps .download-options {
    flex-direction: column;
    align-items: flex-start;
    margin-bottom: 16px;
}

.footer-apps .app-buttons {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-apps .app-button img {
    height: 40px;
    width: auto;
}

.footer-apps .qr-code-container {
    background: rgba(255, 255, 255, 0.1);
    padding: 16px;
}

.footer-apps .qr-code {
    width: 100px;
    height: 100px;
}

.footer-apps .qr-code-text {
    font-size: 12px;
    color: var(--color-white);
}

.social-icons {
    display: flex;
    gap: 16px;
    margin-top: 16px;
}

.social-icon {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease;
}

.social-icon:hover {
    background: var(--color-primary);
}

.social-icon img {
    width: 20px;
    height: 20px;
}

.footer-bottom {
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.footer-bottom p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.5);
}

/* Responsive Design - Tablet */
@media (max-width: 1024px) {
    .hero-left h1 {
        font-size: 44px;
    }

    .hero-content {
        gap: 40px;
    }

    .phone-mockup-wrapper::before {
        width: 320px;
        height: 320px;
    }

    .phone-mockup {
        max-height: 500px;
    }

    .purple-circle {
        width: 200px;
        height: 200px;
    }

    .purple-circle-left {
        left: -100px;
    }

    .purple-circle-right {
        right: -100px;
    }

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

    .audience-cards {
        grid-template-columns: 1fr;
    }

    .steps-container {
        flex-direction: column;
        align-items: center;
        gap: 80px;
    }

    .step-connector {
        display: none;
    }

    .step-icon-wrapper {
        margin-bottom: 120px;
    }

    .step-number {
        bottom: -120px;
    }
}

/* Responsive Design - Mobile */
@media (max-width: 768px) {
    .hero {
        padding: 60px 0;
        background-position: center center;
    }

    .hero-content {
        flex-direction: column;
        gap: 40px;
        align-items: center;
    }

    .hero-left {
        text-align: center;
        max-width: 100%;
    }

    .hero-right {
        flex: 1;
        width: 100%;
        justify-content: center;
        margin-bottom: 0;
    }

    .hero-left h1 {
        font-size: 36px;
    }

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

    .logo {
        width: 140px;
        height: auto;
        margin: 0 auto 20px;
    }

    .download-options {
        justify-content: center;
    }

    .app-buttons {
        justify-content: center;
        display: flex !important;
    }

    .qr-code-container {
        display: none !important;
    }

    .app-button img {
        height: 48px;
    }

    .phone-mockup-wrapper {
        justify-content: center;
        margin: 0 auto;
    }

    .phone-mockup-wrapper::before {
        width: 280px;
        height: 280px;
    }

    .phone-mockup {
        max-height: 400px;
        max-width: 350px;
        margin: 0 auto;
    }

    .purple-circle {
        display: none;
    }

    .section-heading {
        font-size: 28px;
    }

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

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

    .features-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .interface-mockups img {
        max-width: 90%;
    }

    .section,
    .interface-section,
    .download-section {
        padding: 60px 0;
    }

    .audience-cards {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .audience-card {
        padding: 40px;
        min-height: auto;
    }

    .download-content {
        flex-direction: column;
        gap: 40px;
    }

    .download-left {
        text-align: center;
        max-width: 100%;
    }

    .download-left h2 {
        font-size: 36px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .footer-column {
        align-items: flex-start;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

    .hero-left h1 {
        font-size: 28px;
    }

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

    .phone-mockup-wrapper::before {
        width: 240px;
        height: 240px;
    }

    .phone-mockup {
        max-height: 350px;
        max-width: 300px;
    }

    .section-heading {
        font-size: 26px;
    }

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

    .download-left h2 {
        font-size: 28px;
    }

    .app-button img {
        height: 44px;
    }

    .audience-cards {
        grid-template-columns: 1fr;
    }

    .audience-card {
        padding: 28px;
    }

    .feature-icon {
        width: 70px;
        height: 70px;
    }

    .step-icon {
        width: 80px;
        height: 80px;
    }
}
