:root {
    --bg-dark: #f8f9fa;
    --bg-card: #ffffff;
    --primary: #4a56c4;
    --accent: #0077b6;
    --text-main: #1a1c22;
    --text-secondary: #555b6e;
    --gradient-hero: linear-gradient(135deg, #eef2f6 0%, #ffffff 100%);
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Plus Jakarta Sans', sans-serif;
}

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

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

h1,
h2,
h3 {
    font-family: var(--font-heading);
    font-weight: 700;
}

img {
    max-width: 100%;
    display: block;
}

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

/* Home Button */
.home-btn {
    position: fixed;
    top: 30px;
    left: 40px;
    z-index: 2000;
    padding: 12px 24px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 100px;
    text-decoration: none;
    color: var(--text-main);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 14px;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.home-btn:hover {
    background: #fff;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    color: var(--primary);
}

.logo-icon {
    width: 32px;
    height: 32px;
    background: #0088ff;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 800;
    font-size: 14px;
    letter-spacing: -0.5px;
    flex-shrink: 0;
}

.logo-icon.small {
    width: 24px;
    height: 24px;
    border-radius: 6px;
    font-size: 11px;
}


/* Hero Section */
.hero {
    min-height: 90vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 80px 20px;
    background: var(--gradient-hero);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(94, 106, 210, 0.15) 0%, rgba(0, 0, 0, 0) 70%);
    top: -100px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin-bottom: 40px;
}

.hero h1 {
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 20px;
    background: linear-gradient(180deg, #1a1c22, #555b6e);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero .subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
}

.hero-image-container {
    position: relative;
    z-index: 1;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1), 0 0 0 1px rgba(0, 0, 0, 0.05);
    max-width: 800px;
    transition: transform 0.5s ease;
}

.hero-image-container:hover {
    transform: translateY(-5px);
}

/* Problem Statement */
.problem-statement {
    padding: 100px 0;
}

.problem-statement h2 {
    font-size: 2.5rem;
    margin-bottom: 40px;
    text-align: center;
}

.problem-statement>.container>p {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px;
    color: var(--text-secondary);
    font-size: 1.1rem;
}

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

.card {
    background: var(--bg-card);
    padding: 30px;
    border-radius: 16px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    border-color: rgba(94, 106, 210, 0.3);
}

.card h3 {
    margin-bottom: 15px;
    color: var(--accent);
}

.card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* Process Section */
.process {
    padding: 100px 0;
    background: #f1f3f8;
}

.process h2 {
    font-size: 2.5rem;
    margin-bottom: 60px;
    text-align: center;
}

.process-content {
    display: block;
    max-width: 900px;
    margin: 0 auto;
}

.text-block ul {
    list-style: none;
    margin-top: 30px;
}

.text-block li {
    margin-bottom: 25px;
    padding-left: 0;
    position: relative;
}

.text-block li strong {
    color: var(--text-main);
    display: block;
    margin-bottom: 5px;
}

.text-block li p {
    color: var(--text-secondary);
}



.image-block img {
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* Solution Section */
.solution {
    padding: 100px 0;
}

.solution h2 {
    font-size: 2.5rem;
    margin-bottom: 60px;
    text-align: center;
}

.solution-block {
    display: flex;
    flex-direction: column;
    gap: 50px;
}

.solution-block .content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.solution-block .content h3 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: var(--primary);
}

.solution-block .content p {
    color: var(--text-secondary);
    margin-bottom: 15px;
}

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

.showcase-grid figure {
    background: var(--bg-card);
    padding: 20px;
    border-radius: 16px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.showcase-grid img {
    width: 100%;
    border-radius: 8px;
    margin-bottom: 15px;
}

.showcase-grid figcaption {
    text-align: center;
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-weight: 500;
}

/* Testing & Iteration */
.testing-iteration {
    padding: 100px 0;
    background: #f1f3f8;
}

.testing-iteration h2 {
    font-size: 2.5rem;
    margin-bottom: 60px;
    text-align: center;
}

.iteration-story {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 60px;
}

.iteration-story>div {
    background: #ffffff;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    padding: 40px;
    border-radius: 16px;
    border-left: 4px solid var(--accent);
}

.iteration-story .challenge {
    border-left-color: #ff6b6b;
}

.iteration-story h3 {
    margin-bottom: 15px;
    font-size: 1.5rem;
}

.gallery {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.gallery img {
    border-radius: 12px;
    transition: transform 0.3s ease;
    cursor: pointer;
}

.gallery img:hover {
    transform: scale(1.02);
}

/* Visual Gallery */
.visual-gallery {
    padding: 100px 0;
}

.visual-gallery h2 {
    font-size: 2.5rem;
    margin-bottom: 60px;
    text-align: center;
}

.grid-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 80px;
}

.gallery-item {
    text-align: center;
}

.gallery-item img {
    border-radius: 16px;
    margin-bottom: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
}

.gallery-item:hover img {
    transform: translateY(-5px);
}

.gallery-item span {
    color: var(--text-secondary);
    font-weight: 600;
}



/* Footer */
footer {
    padding: 40px 0;
    text-align: center;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }

    .process-content,
    .iteration-story,
    .gallery {
        grid-template-columns: 1fr;
    }

    .showcase-grid {
        grid-template-columns: 1fr;
    }
}