:root {
    --primary-color: #2D3436;
    --secondary-color: #636E72;
    --accent-color: #E67E22;
    --bg-color: #FDFEFE;
    --card-bg: #FFFFFF;
    --text-color: #2D3436;
    --light-text: #636E72;
    --gold: #D4AF37;
    --warm-neutral: #F9F7F2;
    --transition: all 0.3s ease;
}

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

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

h1, h2, h3 {
    font-weight: 700;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* What is Gallery Wall Section */
.what-is-gw {
    padding: 100px 0;
    background: white;
}

.use-cases-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.use-case {
    background: var(--warm-neutral);
    border-radius: 20px;
    overflow: hidden;
    transition: var(--transition);
    border: 1px solid rgba(0,0,0,0.05);
}

.use-case:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.use-case-img {
    width: 100%;
    height: 250px;
    overflow: hidden;
}

.use-case-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.use-case:hover .use-case-img img {
    transform: scale(1.05);
}

.use-case-content {
    padding: 30px;
}

.use-case-content h3 {
    margin-bottom: 12px;
    font-size: 22px;
}

.use-case-content p {
    color: var(--secondary-color);
    font-size: 15px;
    line-height: 1.6;
}

/* Challenges Section */
.challenges {
    padding: 100px 0;
    background: #fdfbf7; /* Slightly warmer/different from white */
}

.challenges-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-top: 60px;
}

.challenge-card {
    text-align: center;
    padding: 30px;
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.03);
    transition: var(--transition);
}

.challenge-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.08);
}

.challenge-icon {
    font-size: 40px;
    margin-bottom: 20px;
    display: inline-block;
    width: 80px;
    height: 80px;
    line-height: 80px;
    background: var(--warm-neutral);
    border-radius: 50%;
}

.challenge-card h3 {
    font-size: 18px;
    margin-bottom: 15px;
}

.challenge-card p {
    font-size: 14px;
    color: var(--secondary-color);
    line-height: 1.6;
}

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

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo img {
    height: 40px;
}

nav ul {
    display: flex;
    gap: 30px;
}

nav ul li a {
    font-weight: 500;
    color: var(--secondary-color);
}

nav ul li a:hover {
    color: var(--accent-color);
}

/* Menu Toggle Styling */
.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.menu-toggle .bar {
    width: 25px;
    height: 3px;
    background-color: var(--primary-color);
    margin: 4px 0;
    transition: var(--transition);
    border-radius: 3px;
}

.mobile-only {
    display: none;
}

.btn-cta {
    background: var(--primary-color);
    color: white;
    padding: 12px 24px;
    border-radius: 50px;
    font-weight: 600;
    transition: var(--transition);
}

.btn-cta:hover {
    background: var(--accent-color);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

/* Hero Section */
.hero {
    padding: 160px 0 100px;
    background: var(--warm-neutral);
}

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

.hero-logo {
    height: 60px;
    margin-bottom: 24px;
}

.hero-content h1 {
    font-size: 56px;
    line-height: 1.1;
    margin-bottom: 24px;
    color: var(--primary-color);
}

.hero-content p {
    font-size: 18px;
    color: var(--secondary-color);
    margin-bottom: 40px;
    max-width: 500px;
}

.hero-video {
    position: relative;
    max-width: 320px; /* Limit width for 9:16 ratio on desktop */
    margin: 0 auto;
}

.hero-video video {
    width: 100%;
    aspect-ratio: 9 / 16;
    object-fit: cover;
    border-radius: 30px;
    box-shadow: 0 30px 60px rgba(0,0,0,0.2);
    border: 8px solid #2d3436; /* Phone-like frame */
}

@media (max-width: 992px) {
    .hero-video {
        max-width: 280px;
        margin-top: 40px;
    }
}

/* Features */
.features {
    padding: 100px 0;
    background: white;
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    font-size: 40px;
    margin-bottom: 16px;
}

.section-title p {
    color: var(--secondary-color);
    font-size: 18px;
}

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

.feature-card {
    padding: 0;
    border-radius: 20px;
    background: var(--warm-neutral);
    transition: var(--transition);
    border: 1px solid rgba(0,0,0,0.05);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.feature-card:hover {
    background: white;
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.05);
    border-color: var(--accent-color);
}

.feature-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.feature-icon-placeholder {
    width: 100%;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 64px;
    background: linear-gradient(135deg, #f1f1f1 0%, #e1e1e1 100%);
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.feature-card h3 {
    margin: 24px 24px 12px;
}

.feature-card p {
    color: var(--secondary-color);
    margin: 0 24px 24px;
    font-size: 15px;
}

/* How it Works */
.how-it-works {
    padding: 100px 0;
    background: var(--primary-color);
    color: white;
}

.how-it-works .section-title h2,
.how-it-works .section-title p {
    color: white;
}

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

.step {
    text-align: center;
}

.step-number {
    width: 60px;
    height: 60px;
    background: var(--accent-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 700;
    margin: 0 auto 24px;
}

/* Footer */
footer {
    padding: 80px 0 40px;
    background: #f1f1f1;
}

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

.footer-about h3 {
    margin-bottom: 20px;
}

.footer-links h4 {
    margin-bottom: 20px;
}

.footer-links ul li {
    margin-bottom: 12px;
}

.footer-bottom {
    padding-top: 40px;
    border-top: 1px solid rgba(0,0,0,0.1);
    text-align: center;
    color: var(--secondary-color);
}

@media (max-width: 992px) {
    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .hero-content p {
        margin-left: auto;
        margin-right: auto;
    }
    .hero-content h1 {
        font-size: 40px;
    }
}

@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
        margin-right: 20px;
        z-index: 1001;
    }

    .nav-links {
        position: fixed;
        right: -100%;
        top: 0;
        flex-direction: column;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(15px);
        width: 100%;
        height: 100vh;
        justify-content: center;
        align-items: center;
        transition: 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
        box-shadow: -10px 0 30px rgba(0,0,0,0.05);
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links li {
        margin: 15px 0;
    }

    .nav-links li a {
        font-size: 24px;
        font-weight: 600;
    }

    header .btn-cta {
        padding: 10px 18px;
        font-size: 14px;
    }

    .logo img {
        height: 32px;
    }

    .mobile-only {
        display: block;
        width: 100%;
        text-align: center;
        margin-bottom: 40px;
    }

    .back-link {
        font-size: 18px !important;
        color: var(--accent-color) !important;
        font-weight: 500 !important;
        text-transform: uppercase;
        letter-spacing: 1px;
    }

    /* Hamburger Animation */
    .menu-toggle.is-active .bar:nth-child(2) {
        opacity: 0;
    }

    .menu-toggle.is-active .bar:nth-child(1) {
        transform: translateY(11px) rotate(45deg);
    }

    .menu-toggle.is-active .bar:nth-child(3) {
        transform: translateY(-11px) rotate(-45deg);
    }
}
