:root {
    --primary: #FF6B00;
    /* Tiger Brands Orange */
    --primary-dark: #cc5600;
    --dark: #1A1A1A;
    --light: #F9F9F9;
    --text: #333333;
    --glass: rgba(255, 255, 255, 0.1);
}

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

body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--light);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Navigation */
header {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    position: fixed;
    width: 100%;
    z-index: 1000;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 5%;
    max-width: 1400px;
    margin: 0 auto;
}

.logo {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--dark);
    letter-spacing: -1px;
}

.logo span {
    color: var(--primary);
}

.nav-links a {
    text-decoration: none;
    color: var(--text);
    margin-left: 2rem;
    font-weight: 500;
    transition: color 0.3s;
}

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

.btn-api {
    background: var(--dark);
    color: white !important;
    padding: 0.6rem 1.2rem;
    border-radius: 50px;
}

/* Hero Section */
.hero {
    height: 100vh;
    background: radial-gradient(circle at 30% 50%, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.4) 100%), url('add_a_twist_hero_v2.png');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    padding: 0 10%;
    color: white;
}

.hero-content {
    max-width: 800px;
}

.hero h1 {
    font-size: 4.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.hero h1 span {
    color: var(--primary);
}

.hero p {
    font-size: 1.4rem;
    margin-bottom: 2.5rem;
    opacity: 0.9;
}

.btn-primary {
    background: var(--primary);
    color: white;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    margin-right: 1rem;
    transition: transform 0.3s, background 0.3s;
    display: inline-block;
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
}

/* Features */
.features {
    padding: 8rem 10%;
    text-align: center;
}

.features h2 {
    font-size: 3rem;
    margin-bottom: 4rem;
}

.features span {
    color: var(--primary);
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 3rem;
}

.feature-card {
    background: white;
    padding: 3rem 2rem;
    border-radius: 24px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s;
}

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

.feature-card .icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

/* Brand Bar */
.brands {
    background: var(--dark);
    color: white;
    padding: 4rem 0;
    text-align: center;
}

.brand-logotypes {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 4rem;
    margin-top: 2rem;
    opacity: 0.6;
}

.brand-item {
    font-size: 2rem;
    font-weight: 900;
}

/* Demo Section */
.demo-section {
    padding: 8rem 10%;
    background: #fff;
    text-align: center;
}

.demo-container {
    max-width: 800px;
    margin: 0 auto;
}

.input-group {
    margin: 2rem 0;
    text-align: left;
}

.input-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.8rem;
    color: var(--dark);
}

.web-input {
    width: 100%;
    padding: 1rem 1.5rem;
    border-radius: 12px;
    border: 1px solid #ddd;
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.3s;
}

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

.upload-box {
    border: 2px dashed #ddd;
    border-radius: 20px;
    padding: 4rem 2rem;
    margin-top: 3rem;
    cursor: pointer;
    transition: border-color 0.3s, background 0.3s;
}

.upload-box:hover {
    border-color: var(--primary);
    background: rgba(255, 107, 0, 0.02);
}

.upload-icon {
    font-size: 4rem;
    display: block;
    margin-bottom: 1rem;
}

.results-area {
    margin-top: 3rem;
    text-align: left;
    background: var(--light);
    padding: 2rem;
    border-radius: 16px;
    border: 1px solid #eee;
}

.brands-pills {
    display: flex;
    gap: 10px;
    margin: 1rem 0;
    flex-wrap: wrap;
}

.pill {
    background: var(--primary);
    color: white;
    padding: 0.4rem 1rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
}

pre {
    background: #222;
    color: #0f0;
    padding: 1.5rem;
    border-radius: 10px;
    font-family: monospace;
    font-size: 0.8rem;
    overflow-x: auto;
    white-space: pre-wrap;
    max-height: 300px;
}

footer {
    padding: 3rem;
    text-align: center;
    font-size: 0.9rem;
    color: #888;
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 3rem;
    }

    .nav-links {
        display: none;
    }
}