:root {
    /* Brand Colors extracted from logo style */
    --primary: hsl(212, 100%, 45%);
    --primary-dark: hsl(212, 100%, 35%);
    --primary-light: hsl(212, 100%, 95%);
    --accent: hsl(42, 100%, 50%);
    --accent-hover: hsl(42, 100%, 45%);
    
    /* Neutral Colors */
    --bg-main: hsl(210, 30%, 98%);
    --surface: hsl(0, 0%, 100%);
    --text-main: hsl(220, 20%, 15%);
    --text-muted: hsl(220, 15%, 40%);
    --border: hsl(220, 15%, 90%);

    /* Typography */
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    
    /* Layout */
    --max-width: 1100px;
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --shadow-sm: 0 4px 6px -1px hsl(220, 20%, 80%, 0.3), 0 2px 4px -2px hsl(220, 20%, 80%, 0.3);
    --shadow-md: 0 10px 15px -3px hsl(220, 20%, 80%, 0.4), 0 4px 6px -4px hsl(220, 20%, 80%, 0.4);
    --shadow-lg: 0 20px 25px -5px hsl(220, 20%, 80%, 0.5), 0 8px 10px -6px hsl(220, 20%, 80%, 0.5);
    
    /* Transitions */
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    background-color: var(--bg-main);
    color: var(--text-main);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

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

/* Typography */
h1, h2, h3 {
    line-height: 1.2;
    font-weight: 800;
    letter-spacing: -0.03em;
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    margin-bottom: 24px;
    color: var(--text-main);
}

h2 {
    font-size: clamp(2rem, 3.5vw, 2.5rem);
    margin-bottom: 16px;
}

p {
    font-size: 1.125rem;
    color: var(--text-muted);
    margin-bottom: 24px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.125rem;
    text-decoration: none;
    transition: var(--transition);
    cursor: pointer;
    border: none;
}

.btn-sm {
    padding: 10px 20px;
    font-size: 1rem;
}

.btn-primary {
    background-color: var(--primary);
    color: white;
    box-shadow: 0 4px 14px 0 hsl(212, 100%, 45%, 0.39);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px hsl(212, 100%, 45%, 0.23);
}

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

.btn-secondary:hover {
    border-color: var(--primary);
    color: var(--primary-dark);
    transform: translateY(-2px);
}

/* Header */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: hsla(0, 0%, 100%, 0.8);
    backdrop-filter: blur(12px);
    z-index: 100;
    border-bottom: 1px solid var(--border);
}

.nav-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary);
    letter-spacing: -0.02em;
}

nav {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-link {
    text-decoration: none;
    color: var(--text-muted);
    font-weight: 600;
    transition: var(--transition);
}

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

/* Hero Section */
.hero {
    padding: 160px 0 80px;
    min-height: 90vh;
    display: flex;
    align-items: center;
}

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

.hero-image img {
    width: 100%;
    max-width: 500px;
    height: auto;
    filter: drop-shadow(0 20px 30px rgba(0,0,0,0.1));
    animation: float 6s ease-in-out infinite;
    display: block;
    margin: 0 auto;
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
    100% { transform: translateY(0px); }
}

/* Marketplaces Section */
.marketplaces {
    padding: 100px 0;
    background-color: var(--surface);
}

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

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

.market-card {
    background-color: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 40px 32px;
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    position: relative;
    overflow: hidden;
}

.market-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background-color: var(--primary);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.market-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

.market-card:hover::before {
    transform: scaleX(1);
}

.market-card.ml:hover::before { background-color: #FFE600; }
.market-card.shopee:hover::before { background-color: #EE4D2D; }
.market-card.tiktok:hover::before { background-color: #000000; }

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

.market-icon svg {
    width: 32px;
    height: 32px;
}

.market-card:hover .market-icon {
    background-color: var(--primary);
    color: white;
}

.market-card h3 {
    font-size: 1.5rem;
    margin-bottom: 12px;
}

.btn-text {
    margin-top: auto;
    font-weight: 600;
    color: var(--primary);
    display: flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
}

.market-card:hover .btn-text {
    gap: 12px;
}

/* About Section */
.about {
    padding: 100px 0;
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
}

.features {
    list-style: none;
    margin-top: 48px;
    display: grid;
    gap: 32px;
}

.features li {
    background-color: var(--surface);
    padding: 24px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
    display: flex;
    flex-direction: column;
}

.features li strong {
    font-size: 1.25rem;
    color: var(--text-main);
    margin-bottom: 8px;
}

.features li span {
    color: var(--text-muted);
}

/* CTA Section */
.cta-section {
    padding: 100px 0;
    background-color: var(--primary);
    color: white;
    text-align: center;
}

.cta-section h2 {
    color: white;
}

.cta-section p {
    color: hsla(0, 0%, 100%, 0.9);
    max-width: 600px;
    margin: 0 auto 32px;
}

/* Footer */
footer {
    background-color: var(--text-main);
    color: white;
    padding: 48px 0;
}

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

.footer-logo {
    font-size: 1.5rem;
    font-weight: 800;
}

footer p {
    margin: 0;
    color: hsla(0, 0%, 100%, 0.6);
    font-size: 0.875rem;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-actions {
        justify-content: center;
    }

    nav {
        display: none; /* simple mobile view */
    }
}
