:root {
    /* Colors */
    --bg-color: #0d0f12;
    --surface-color: #161b22;
    --surface-hover: #1f2631;
    --primary: #4f46e5;
    --primary-hover: #6366f1;
    --text-primary: #f8fafc;
    --text-secondary: #94a3b8;
    --highlight: #38bdf8;
    --border: rgba(255, 255, 255, 0.1);

    /* Shadows & Effects */
    --glass-bg: rgba(22, 27, 34, 0.7);
    --glass-border: rgba(255, 255, 255, 0.08);
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.3);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.5);
    
    /* Layout */
    --max-width: 1200px;
}

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

html {
    scroll-behavior: smooth;
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-primary);
    line-height: 1.6;
}

h1, h2, h3, .logo {
    font-family: 'Outfit', sans-serif;
}

/* Typography Options */
.highlight {
    color: var(--highlight);
}

/* Utilities */
.btn-primary {
    background: var(--primary);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    display: inline-flex;
    justify-content: center;
    align-items: center;
}

.btn-primary:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(79, 70, 229, 0.4);
}

.btn-secondary {
    background: transparent;
    color: var(--text-primary);
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    border: 1px solid var(--border);
    backdrop-filter: blur(10px);
    display: inline-flex;
    justify-content: center;
    align-items: center;
}

.btn-secondary:hover {
    border-color: var(--highlight);
    color: var(--highlight);
    transform: translateY(-2px);
}

.btn-primary.lg, .btn-secondary.lg {
    padding: 1rem 2rem;
    font-size: 1.125rem;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 5%;
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--glass-border);
    transition: padding 0.3s ease;
}

.header.scrolled {
    padding: 1rem 5%;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.nav {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav a:not(.btn-primary) {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav a:not(.btn-primary):hover {
    color: var(--text-primary);
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    z-index: 1;
    transform: scale(1.05); /* Slight scale for parallax trick and entry anim */
    animation: zoomOut 15s infinite alternate ease-in-out;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(13, 15, 18, 0.4) 0%, var(--bg-color) 100%);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    max-width: 800px;
    padding: 0 2rem;
}

.badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: rgba(56, 189, 248, 0.1);
    color: var(--highlight);
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(56, 189, 248, 0.2);
}

.hero-content h1 {
    font-size: clamp(3rem, 5vw, 5.5rem);
    line-height: 1.1;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.hero-content p {
    font-size: clamp(1.1rem, 2vw, 1.25rem);
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

/* Section Common */
.featured-section, .education-section {
    padding: 8rem 5%;
    max-width: var(--max-width);
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.section-header p {
    color: var(--text-secondary);
    font-size: 1.1rem;
}

/* Home Grid */
.home-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
}

.home-card {
    background: var(--surface-color);
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--border);
    transition: all 0.4s ease;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
}

.home-card:hover {
    transform: translateY(-8px);
    border-color: var(--highlight);
    box-shadow: var(--shadow-lg);
}

.card-image-wrap {
    position: relative;
    height: 240px;
    overflow: hidden;
}

.card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.home-card:hover .card-image {
    transform: scale(1.08);
}

.price-tag {
    position: absolute;
    bottom: 1rem;
    right: 1rem;
    background: rgba(13, 15, 18, 0.85);
    backdrop-filter: blur(8px);
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.9rem;
    border: 1px solid var(--glass-border);
}

.card-content {
    padding: 2rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.card-content h3 {
    font-size: 1.5rem;
    margin-bottom: 0.25rem;
}

.manufacturer {
    color: var(--highlight);
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 1rem;
}

.desc {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    flex: 1;
}

.features {
    display: flex;
    gap: 1.5rem;
    border-top: 1px solid var(--border);
    padding-top: 1.5rem;
}

.features span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.features svg {
    width: 18px;
    height: 18px;
    color: var(--primary);
}

/* Education Section */
.edu-container {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 4rem;
    align-items: center;
}

.edu-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.edu-content > p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin-bottom: 2.5rem;
}

.cost-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.cost-list li {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.cost-list .icon {
    font-size: 1.5rem;
    background: var(--surface-hover);
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    flex-shrink: 0;
    border: 1px solid var(--border);
}

.cost-list strong {
    display: block;
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
}

.cost-list span {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.glassmorphism {
    background: linear-gradient(145deg, rgba(22, 27, 34, 0.8), rgba(13, 15, 18, 0.4));
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255,255,255,0.05);
    border-top: 1px solid rgba(255,255,255,0.1);
    border-left: 1px solid rgba(255,255,255,0.1);
    border-radius: 24px;
    padding: 3rem;
    box-shadow: 0 30px 60px rgba(0,0,0,0.4);
}

.edu-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

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

.edu-card p strong {
    color: var(--text-primary);
}

.divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
    margin: 1.5rem 0;
}

/* CTA Section */
.cta-section {
    text-align: center;
    padding: 8rem 5%;
    background: radial-gradient(circle at center, var(--surface-color) 0%, var(--bg-color) 100%);
    border-top: 1px solid var(--border);
}

.cta-section h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cta-section p {
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    font-size: 1.1rem;
}

.cta-form {
    display: flex;
    gap: 1rem;
    max-width: 500px;
    margin: 0 auto;
}

.cta-form input {
    flex: 1;
    padding: 1rem 1.5rem;
    border-radius: 8px;
    border: 1px solid var(--border);
    background: var(--surface-color);
    color: var(--text-primary);
    font-size: 1rem;
    font-family: inherit;
    outline: none;
    transition: border-color 0.3s ease;
}

.cta-form input:focus {
    border-color: var(--highlight);
}

/* Footer */
.footer {
    padding: 3rem 5%;
    border-top: 1px solid var(--border);
    text-align: center;
    background: var(--bg-color);
}

.footer-content p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-top: 1rem;
}

/* Animations */
@keyframes zoomOut {
    0% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.slide-up {
    animation: slideUp 1s ease-out forwards;
}

@keyframes slideUp {
    from { opacity: 0; transform: translateY(40px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Responsive Design */
@media (max-width: 900px) {
    .edu-container {
        grid-template-columns: 1fr;
    }
    
    .nav {
        display: none; /* simple mobile nav hide for now */
    }
    
    .hero-content h1 {
        font-size: 3.5rem;
    }
    
    .cta-form {
        flex-direction: column;
    }
}
