:root {
    --background: #FFFDF9;
    --foreground: #333333;
    --primary: #FF9F43;
    --primary-gradient: linear-gradient(135deg, #FF9F43 0%, #FF6B6B 100%);
    --secondary: #FFEAA7;
    --card-bg: #FFFFFF;
    --card-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    --border-radius: 20px;
    --font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    --success: #55efc4;
}

[data-theme="dark"] {
    --background: #1a1a1a;
    --foreground: #f5f5f5;
    --card-bg: #2d2d2d;
    --card-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    --secondary: #4a4a4a;
}

/* Update inputs for dark mode */
[data-theme="dark"] .form-control,
[data-theme="dark"] .search-bar {
    background-color: #3d3d3d;
    color: white;
    border-color: #555;
}

[data-theme="dark"] input {
    color: white;
}

[data-theme="dark"] .logo {
    border-color: #f5f5f5;
}

[data-theme="dark"] .create-link,
[data-theme="dark"] .nav-links {
    color: #f5f5f5;
}

* {
    box-sizing: border-box;
    padding: 0;
    margin: 0;
}

body {
    font-family: var(--font-family);
    background-color: var(--background);
    color: var(--foreground);
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

/* Utilities */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.gradient-text {
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: #FF9F43;
    /* Fallback */
}

.btn {
    padding: 12px 24px;
    border-radius: 50px;
    border: none;
    cursor: pointer;
    font-weight: 600;
    font-size: 1rem;
    transition: transform 0.2s ease;
    display: inline-block;
    text-align: center;
}

.btn:active {
    transform: scale(0.98);
}

.btn-primary {
    background: var(--primary-gradient);
    color: white;
    box-shadow: 0 4px 15px rgba(255, 107, 107, 0.3);
}

.card {
    background: var(--card-bg);
    border-radius: var(--border-radius);
    box-shadow: var(--card-shadow);
    padding: 2rem;
    margin-bottom: 20px;
}

/* Navbar */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    margin-bottom: 40px;
}

.logo {
    border: 2px solid #333;
    padding: 5px 10px;
    font-weight: bold;
    font-size: 1.2rem;
    border-radius: 8px;
}

.nav-links {
    display: flex;
    gap: 30px;
    color: #666;
}

.nav-links a:hover {
    color: var(--primary);
}

.nav-actions {
    display: flex;
    gap: 20px;
    align-items: center;
}

.create-link {
    font-weight: 600;
    color: #333;
}

/* Forms */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
}

.form-control {
    width: 100%;
    padding: 12px;
    border-radius: 8px;
    border: 1px solid #ddd;
    font-size: 1rem;
}

/* Grid */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

/* Hero */
.hero-section {
    text-align: center;
    padding: 60px 0 100px;
    background: linear-gradient(180deg, rgba(255, 253, 249, 0) 0%, rgba(255, 245, 235, 1) 100%);
    border-radius: 30px;
    margin-bottom: 60px;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 20px;
}

.search-bar {
    background: white;
    padding: 10px 20px;
    border-radius: 50px;
    display: inline-flex;
    align-items: center;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
    width: 100%;
    max-width: 700px;
    margin-bottom: 30px;
}

/* Streamline Steps */
.step-card {
    display: flex;
    align-items: center;
    margin-bottom: 30px;
    position: relative;
    padding: 40px;
    border: 1px solid #fff5e6;
    height: 350px;
    background: white;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.step-number {
    font-size: 4rem;
    font-weight: 900;
    color: #f7f1e3;
    position: absolute;
    top: 20px;
    z-index: 0;
}

.step-card.reverse {
    flex-direction: row-reverse;
}

.step-card.reverse .step-number {
    right: 40px;
    left: auto;
}

.step-card:not(.reverse) .step-number {
    left: 40px;
    right: auto;
}

.step-content {
    flex: 1;
    padding: 0 40px;
    text-align: left;
    position: relative;
    z-index: 1;
}

.step-image {
    flex: 1;
    background: #fff;
    border-radius: 15px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #eee;
}

.step-badge {
    background: #ffddbc;
    font-size: 0.7rem;
    font-weight: bold;
    padding: 5px 10px;
    border-radius: 5px;
    color: #d35400;
    margin-bottom: 10px;
    display: inline-block;
}