:root {
    --bg-color: #FFF7ED;
    --text-main: #292524;
    --text-muted: #78716C;
    --primary: #D97706;
    --primary-hover: #B45309;
    --accent: #F97316;
    --card-bg: #FAFAF9;
    --card-border: #E7E5E4;
    --success: #10B981;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Outfit', sans-serif;
}

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

/* Navbar */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 5%;
    max-width: 1200px;
    margin: 0 auto;
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary);
}

.app-logo {
    width: 32px;
    height: 32px;
    object-fit: contain;
}

.nav-btn {
    text-decoration: none;
    color: var(--primary);
    font-weight: 600;
    padding: 0.5rem 1rem;
    border: 2px solid var(--primary);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.nav-btn:hover {
    background: var(--primary);
    color: white;
}

/* Hero Section */
.hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 4rem 5%;
    max-width: 1200px;
    margin: 0 auto;
    min-height: 80vh;
    gap: 4rem;
}

.hero-content {
    flex: 1;
}

.badge {
    display: inline-block;
    background: rgba(217, 119, 6, 0.1);
    color: var(--primary);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
}

h1 {
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: var(--text-main);
}

.highlight {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    max-width: 500px;
}

.cta-group {
    display: flex;
    gap: 1rem;
}

.btn-primary {
    text-decoration: none;
    background: var(--primary);
    color: white;
    padding: 1rem 2rem;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1.1rem;
    box-shadow: 0 4px 15px rgba(217, 119, 6, 0.3);
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(217, 119, 6, 0.4);
}

.btn-secondary {
    text-decoration: none;
    background: var(--card-bg);
    color: var(--text-main);
    padding: 1rem 2rem;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1.1rem;
    border: 1px solid var(--card-border);
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background: var(--card-border);
}

/* Hero Visual */
.hero-visual {
    flex: 1;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.glow-orb {
    position: absolute;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(249,115,22,0.2) 0%, rgba(255,255,255,0) 70%);
    z-index: -1;
    animation: pulse 4s ease-in-out infinite alternate;
}

.mockup-card {
    background: white;
    border-radius: 16px;
    box-shadow: 0 20px 40px rgba(41, 37, 36, 0.08);
    width: 100%;
    max-width: 450px;
    overflow: hidden;
    border: 1px solid var(--card-border);
    transform: rotate(2deg);
    transition: transform 0.5s ease;
}

.mockup-card:hover {
    transform: rotate(0deg) translateY(-10px);
}

.mockup-header {
    background: var(--card-bg);
    padding: 1rem;
    display: flex;
    gap: 0.5rem;
    border-bottom: 1px solid var(--card-border);
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}
.red { background: #F43F5E; }
.yellow { background: #FBBF24; }
.green { background: #10B981; }

.mockup-body {
    padding: 3rem 2rem;
    position: relative;
    min-height: 300px;
}

.node {
    padding: 0.8rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    position: absolute;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

.central {
    background: var(--primary);
    color: white;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
}

.branch {
    background: white;
    border: 1px solid var(--card-border);
    color: var(--text-main);
    font-size: 0.9rem;
}

.b1 { top: 15%; left: 10%; animation: float 3s ease-in-out infinite; }
.b2 { top: 15%; right: 10%; animation: float 3.5s ease-in-out infinite; }
.b3 { bottom: 15%; left: 30%; animation: float 4s ease-in-out infinite; }

/* Features */
.features {
    padding: 5rem 5%;
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

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

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

.feature-card {
    background: white;
    padding: 2.5rem;
    border-radius: 16px;
    border: 1px solid var(--card-border);
    box-shadow: 0 10px 30px rgba(41, 37, 36, 0.04);
    transition: all 0.3s ease;
    text-align: left;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(41, 37, 36, 0.08);
}

.icon {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.feature-card h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
}

.feature-card p {
    color: var(--text-muted);
}

/* Parents Section */
.parents-section {
    background: var(--card-bg);
    padding: 5rem 5%;
    border-top: 1px solid var(--card-border);
    border-bottom: 1px solid var(--card-border);
}

.parents-content {
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
}

.parents-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--text-main);
}

.parents-content p {
    font-size: 1.1rem;
    color: var(--text-muted);
    max-width: 700px;
    margin: 0 auto 3rem auto;
}

.chart-container {
    background: white;
    padding: 2rem;
    border-radius: 16px;
    border: 1px solid var(--card-border);
    box-shadow: 0 10px 30px rgba(41, 37, 36, 0.05);
    position: relative;
    height: 400px;
    width: 100%;
    margin: 0 auto;
}

/* Footer */
footer {
    text-align: center;
    padding: 2rem;
    color: var(--text-muted);
    border-top: 1px solid var(--card-border);
    margin-top: 4rem;
}

/* Animations */
@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0px); }
}

@keyframes pulse {
    0% { transform: scale(0.95); opacity: 0.8; }
    100% { transform: scale(1.05); opacity: 1; }
}

/* Responsive */
@media (max-width: 768px) {
    .hero {
        flex-direction: column;
        text-align: center;
        padding-top: 2rem;
    }
    
    h1 { font-size: 2.5rem; }
    
    .hero p { margin: 0 auto 2.5rem auto; }
    
    .cta-group { justify-content: center; }
    
    .hero-visual { width: 100%; margin-top: 2rem; }
}
