/* 
   Recordmix Education - Professional Online Learning
   Design System & Main Stylesheet
*/

:root {
    /* Colors */
    --primary: #003366;       /* Oxford Blue */
    --primary-light: #33475B; /* Slate Gray */
    --accent: #C5A059;        /* University Gold */
    --accent-dark: #9A7B3F;
    --text-main: #1A1A1A;
    --text-muted: #4A4A4A;
    --bg-light: #FFFFFF;
    --bg-alt: #F8F9FA;
    --border: #E1E4E8;

    /* Typography */
    --font-serif: 'Playfair Display', serif;
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

    /* Spacing */
    --section-padding: 100px 20px;
    --container-max: 1140px;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-sans);
    line-height: 1.6;
    color: var(--text-main);
    background-color: var(--bg-light);
    -webkit-font-smoothing: antialiased;
}

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

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

/* Layout */
.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 20px;
}

section {
    padding: var(--section-padding);
}

.bg-alt {
    background-color: var(--bg-alt);
}

/* Typography Utilities */
.text-center { text-align: center; }
.section-title {
    font-size: 2.8rem;
    margin-bottom: 4rem;
    position: relative;
    padding-bottom: 1.2rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: var(--accent);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 16px 36px;
    font-weight: 600;
    border-radius: 4px;
    cursor: pointer;
    font-family: var(--font-sans);
    font-size: 1rem;
    border: none;
    transition: 0.3s;
    text-align: center;
}

.btn-primary {
    background-color: var(--primary);
    color: #fff;
}

.btn-primary:hover {
    background-color: var(--primary-light);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 51, 102, 0.15);
}

.btn-outline {
    background-color: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
}

.btn-outline:hover {
    background-color: var(--primary);
    color: #fff;
}

/* Header */
header {
    padding: 24px 0;
    border-bottom: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

.logo {
    font-family: var(--font-serif);
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.logo span {
    color: var(--accent);
    font-weight: 400;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 32px;
    align-items: center;
}

nav a {
    color: var(--text-main);
    font-weight: 500;
    font-size: 0.95rem;
}

nav a:hover {
    color: var(--primary);
}

/* Hero Section */
.hero {
    padding: 120px 0;
    background: radial-gradient(circle at top right, rgba(197, 160, 89, 0.05) 0%, transparent 70%),
                linear-gradient(135deg, #ffffff 0%, #f4f6f8 100%);
    border-bottom: 1px solid var(--border);
    position: relative;
    overflow: hidden;
}

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

.hero-content h1 {
    font-size: 3.8rem;
    margin-bottom: 1.8rem;
    letter-spacing: -1px;
}

.hero-content p {
    font-size: 1.3rem;
    color: var(--text-muted);
    margin-bottom: 3rem;
    max-width: 600px;
}

.hero-visual {
    width: 100%;
    aspect-ratio: 1/1;
    background: var(--primary);
    border-radius: 5px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    box-shadow: 40px 40px 0 rgba(197, 160, 89, 0.05);
}

.hero-visual::before {
    content: '';
    position: absolute;
    width: 200%;
    height: 200%;
    background: repeating-linear-gradient(45deg, rgba(255,255,255,0.03) 0px, rgba(255,255,255,0.03) 1px, transparent 1px, transparent 20px);
    animation: slide 60s linear infinite;
}

.hero-visual::after {
    content: 'Recordmix\A Education';
    white-space: pre;
    font-family: var(--font-serif);
    font-size: 3rem;
    color: rgba(255,255,255,0.1);
    text-align: center;
    line-height: 1;
}

@keyframes slide {
    from { transform: translate(-25%, -25%); }
    to { transform: translate(0, 0); }
}

/* Methodology Section */
.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 48px;
}

.card {
    padding: 48px;
    background: #fff;
    border: 1px solid var(--border);
    transition: 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.card:hover {
    border-color: var(--accent);
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.05);
}

.card .icon {
    font-size: 2.2rem;
    margin-bottom: 24px;
    display: block;
    color: var(--primary);
}

/* Curriculum (Accordion) */
.curriculum-list {
    max-width: 900px;
    margin: 0 auto;
}

.module {
    margin-bottom: 16px;
    border: 1px solid var(--border);
    border-radius: 4px;
    overflow: hidden;
}

.module-header {
    padding: 28px 32px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    background: #fff;
    transition: 0.3s;
}

.module-header:hover {
    background: var(--bg-alt);
}

.module-header h3 {
    font-family: var(--font-sans);
    font-size: 1.2rem;
    margin: 0;
}

.module-content {
    max-height: 0;
    overflow: hidden;
    transition: all 0.4s ease;
    background: #fff;
}

.module-content.active {
    max-height: 600px;
    padding: 0 32px 32px;
}

.module-content ul {
    list-style: none;
    margin-top: 16px;
}

.module-content li {
    padding: 8px 0;
    padding-left: 24px;
    position: relative;
}

.module-content li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--accent);
}

/* Form Section */
.form-container {
    max-width: 650px;
    margin: 0 auto;
    background: #fff;
    padding: 64px;
    border: 1px solid var(--border);
}

.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    margin-bottom: 10px;
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.form-group input {
    width: 100%;
    padding: 16px;
    border: 1px solid var(--border);
    border-radius: 2px;
    font-family: var(--font-sans);
}

/* Footer */
footer {
    padding: 80px 0;
    background: var(--primary);
    color: rgba(255,255,255,0.7);
}

footer h4 {
    color: #fff;
    margin-bottom: 24px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1.2fr;
    gap: 80px;
    margin-bottom: 60px;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 40px;
    display: flex;
    justify-content: space-between;
}

/* Responsive */
@media (max-width: 1024px) {
    .hero-grid { grid-template-columns: 1fr; gap: 60px; }
    .hero-content { text-align: center; }
    .hero-content p { margin: 0 auto 3rem; }
    .hero-visual { max-width: 500px; margin: 0 auto; }
    .hero-content h1 { font-size: 3rem; }
}

@media (max-width: 768px) {
    .nav-content { flex-direction: column; gap: 24px; }
    nav ul { gap: 20px; font-size: 0.85rem; }
    .section-title { font-size: 2.22rem; }
    .form-container { padding: 32px; }
    .footer-grid { grid-template-columns: 1fr; gap: 40px; }
    .footer-bottom { flex-direction: column; gap: 24px; text-align: center; }
}

@media (max-width: 480px) {
    .hero-content h1 { font-size: 2.5rem; }
    .hero-actions { display: flex; flex-direction: column; gap: 12px; }
    .hero-actions .btn { margin: 0 !important; width: 100%; }
}
