/* CSS Variables & Reset */
:root {
    --bg-primary: #0A0A0F;
    --bg-secondary: #13131F;
    --bg-card: #1C1C2E;
    
    --text-primary: #FFFFFF;
    --text-secondary: #A0A0B0;
    --text-muted: #646478;

    --accent-primary: #3B82F6; /* Bright Blue */
    --accent-glow: rgba(59, 130, 246, 0.5);
    --accent-secondary: #10B981; /* Terminal Green */
    
    --font-heading: 'Sarabun', sans-serif;
    --font-body: 'Sarabun', sans-serif;
    --font-mono: 'Inter', monospace;

    --spacing-container: 1200px;
    --border-radius: 12px;
}

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

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

h1, h2, h3, h4, h5 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

ul {
    list-style: none;
}

.container {
    max-width: var(--spacing-container);
    margin: 0 auto;
    padding: 0 24px;
}

/* Utilities */
.text-center { text-align: center; }
.highlight { color: var(--accent-primary); }
.highlight-blue { color: var(--accent-primary); }

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    font-family: var(--font-mono);
}

.btn-primary {
    background: var(--accent-primary);
    color: white;
    box-shadow: 0 0 20px var(--accent-glow);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 30px var(--accent-glow);
}

.btn-secondary {
    background: rgba(255,255,255,0.1);
    color: white;
    margin-left: 16px;
    border: 1px solid rgba(255,255,255,0.1);
}

.btn-secondary:hover {
    background: rgba(255,255,255,0.2);
}

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

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

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    font-family: var(--font-mono);
    letter-spacing: -0.5px;
}

.nav-links a {
    margin-left: 32px;
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.nav-links a:hover, .nav-links a.active {
    color: white;
}

.nav-links .btn {
    margin-left: 32px;
    padding: 8px 16px;
    background: white;
    color: black;
}

/* Hero Section */
.hero-section {
    padding: 180px 0 100px;
    position: relative;
    overflow: hidden;
}

/* Background Glow Effect */
.hero-section::before {
    content: '';
    position: absolute;
    top: -20%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
    opacity: 0.4;
    z-index: -1;
}

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

.hero-text .badge {
    background: rgba(59, 130, 246, 0.1);
    color: var(--accent-primary);
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 1px;
    display: inline-block;
    margin-bottom: 24px;
    border: 1px solid rgba(59, 130, 246, 0.2);
}

.hero-text h1 {
    font-size: 3.5rem;
    margin-bottom: 24px;
    letter-spacing: -1px;
}

.hero-text .hero-sub {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 40px;
    max-width: 90%;
}

/* Hero Visual - Terminal */
.agent-terminal-mockup {
    background: #14141E;
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 12px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
    font-family: 'Courier New', Courier, monospace;
    overflow: hidden;
}

.terminal-header {
    background: #1F1F2E;
    padding: 12px 16px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.terminal-header .dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    margin-right: 8px;
}

.red { background: #FF5F56; }
.yellow { background: #FFBD2E; }
.green { background: #27C93F; }

.terminal-title {
    margin-left: 12px;
    color: var(--text-muted);
    font-size: 0.8rem;
}

.terminal-body {
    padding: 24px;
    font-size: 0.9rem;
    color: #D4D4D4;
}

.cmd { color: var(--accent-primary); }
.log { color: var(--text-muted); }
.success { color: var(--accent-secondary); margin-top: 12px; display: block; }

/* Problem Section */
.problem-section {
    padding: 100px 0;
    background: var(--bg-secondary);
    border-top: 1px solid rgba(255,255,255,0.05);
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 60px;
}

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

.problem-card {
    background: var(--bg-primary);
    padding: 32px;
    border-radius: var(--border-radius);
    border: 1px solid rgba(255,255,255,0.05);
    transition: transform 0.3s;
}

.problem-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255,255,255,0.1);
}

.problem-card .icon {
    font-size: 2rem;
    margin-bottom: 20px;
}

.problem-card h3 {
    margin-bottom: 12px;
    font-size: 1.25rem;
}

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

/* Methodology Section */
.methodology-section {
    padding: 100px 0;
}

.split-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.method-text .lead {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 40px;
}

.feature-list li {
    margin-bottom: 30px;
    border-left: 2px solid var(--accent-primary);
    padding-left: 24px;
}

.feature-list strong {
    font-size: 1.1rem;
    color: white;
    display: block;
    margin-bottom: 8px;
}

.feature-list p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.method-visual {
    position: relative;
    height: 400px;
    background: var(--bg-card);
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255,255,255,0.05);
}

/* Diagram Placeholder Styles */
.diagram-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    font-family: var(--font-mono);
    font-size: 0.9rem;
}

.circle, .square {
    padding: 12px 24px;
    border: 1px solid;
    border-radius: 8px;
}
.user { border-color: var(--accent-primary); color: var(--accent-primary); }
.agent { border-color: var(--accent-secondary); color: var(--accent-secondary); }
.system { border-color: white; background: #333; }

/* Outcome Section */
.outcome-section {
    padding: 100px 0;
    background: #0F0F16;
}

.project-showcase {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 60px;
}

.project-card {
    background: var(--bg-card);
    border-radius: var(--border-radius);
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.05);
}

.card-image {
    height: 200px;
    background: #2A2A3E;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.1);
    font-weight: 700;
}

.card-content {
    padding: 24px;
}

.card-content h3 {
    font-size: 1.2rem;
    margin-bottom: 8px;
}

.card-content p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 20px;
    height: 60px; /* simple fixed height alignment */
}

.tech-tags { /* Flex tags */
    display: flex;
    gap: 8px;
}

.tech-tags span {
    background: rgba(255,255,255,0.05);
    padding: 4px 8px;
    font-size: 0.75rem;
    border-radius: 4px;
    color: var(--text-secondary);
}

/* Instructor Section */
.instructor-section {
    padding: 100px 0;
}

.instructor-profile {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 60px;
    align-items: flex-start;
}

.instructor-name {
    font-size: 1.5rem;
    margin-top: 16px;
}

.role {
    color: var(--accent-primary);
    font-weight: 600;
    margin-bottom: 24px;
}

.bio p {
    margin-bottom: 16px;
    color: var(--text-secondary);
}

.profile-image {
    height: 400px;
    background: #1C1C2E;
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,0.1);
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--text-muted);
}

/* Pricing Section */
.pricing-section {
    padding: 80px 0 160px;
    background: radial-gradient(circle at center, #1b1b29 0%, var(--bg-primary) 70%);
}

.pricing-card {
    max-width: 600px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 60px 40px;
    border-radius: 20px;
    text-align: center;
    backdrop-filter: blur(20px);
}

.pricing-header h2 {
    font-size: 2rem;
    margin-bottom: 8px;
}

.price-tag {
    font-size: 3.5rem;
    font-weight: 800;
    margin: 40px 0;
    color: var(--text-primary);
}

.price-tag .currency {
    font-size: 2rem;
    vertical-align: top;
    margin-right: 8px;
}

.price-tag .period {
    font-size: 1rem;
    color: var(--text-secondary);
    font-weight: 400;
}

.benefits-list {
    text-align: left;
    margin: 0 auto 40px;
    max-width: 350px;
}

.benefits-list li {
    margin-bottom: 12px;
    font-size: 1.05rem;
}

.btn-large {
    width: 100%;
    padding: 16px;
    font-size: 1.1rem;
}

.guarantee-text {
    margin-top: 16px;
    font-size: 0.8rem;
    color: var(--text-muted);
}

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

/* Mobile Responsive */
@media (max-width: 768px) {
    .hero-content, .split-layout, .instructor-profile {
        grid-template-columns: 1fr;
    }
    
    .problem-grid, .project-showcase {
        grid-template-columns: 1fr;
    }
    
    .hero-text h1 {
        font-size: 2.5rem;
    }

    .nav-links {
        display: none; /* simple hide for mvp */
    }
}
