@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;600;800&family=Inter:wght@400;700&display=swap');

:root {
    --primary: #f9a41c; /* Orange */
    --secondary: #01adff; /* Blue */
    --accent: #2e3192; /* Deep Blue from logo possibly */
    --text: #1a1a1a;
    --text-muted: #666;
    --bg-white: #ffffff;
    --bg-light: #f8faff;
    --surface: #ffffff;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    --radius: 20px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
    font-family: 'Outfit', sans-serif;
    color: var(--text);
    background-color: var(--bg-white);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, .brand {
    font-weight: 800;
    text-transform: uppercase;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

li {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-padding {
    padding: 100px 0;
}

.text-center {
    text-align: center;
}

.btn {
    display: inline-block;
    padding: 15px 35px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.1rem;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    text-transform: uppercase;
}

.btn-primary {
    background: var(--primary);
    color: #fff;
    box-shadow: 0 10px 20px rgba(249, 164, 28, 0.3);
}

.btn-primary:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(249, 164, 28, 0.4);
}

.btn-secondary {
    background: var(--secondary);
    color: #fff;
    box-shadow: 0 10px 20px rgba(1, 173, 255, 0.3);
}

.btn-secondary:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(1, 173, 255, 0.4);
}

/* Header */
header {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    flex-wrap: nowrap !important;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.5rem;
    color: var(--accent);
}

.logo span:first-child { color: var(--primary); }
.logo span:last-child { color: var(--secondary); }

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a:hover {
    color: var(--secondary);
}

/* Hero Section */
.hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 80vh;
    gap: 50px;
}

.hero-content {
    flex: 1;
}

.hero-content h1 {
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 20px;
}

.hero-content h1 span.orange { color: var(--primary); }
.hero-content h1 span.blue { color: var(--secondary); }

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

.hero-visual {
    flex: 1;
    position: relative;
}

.hero-visual img {
    width: 100%;
    border-radius: var(--radius);
    box-shadow: 0 30px 60px rgba(0,0,0,0.1);
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

/* Why ROSBOTZ (Mountain Journey) */
.journey-section {
    background: var(--bg-light);
    border-bottom: 5px solid var(--primary);
}

.journey-container {
    display: flex;
    gap: 50px;
    align-items: flex-start;
    margin-top: 50px;
}

.journey-visual {
    position: relative;
    flex: 1.2;
}

.journey-visual img {
    width: 100%;
    border-radius: var(--radius);
}

.journey-steps {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.journey-step {
    background: #fff;
    padding: 30px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    border-left: 8px solid var(--secondary);
    transition: var(--transition);
    opacity: 0;
    transform: translateX(50px);
}

.journey-step.visible {
    opacity: 1;
    transform: translateX(0);
}

.journey-step:hover {
    transform: scale(1.05);
}

.journey-step h3 {
    color: var(--primary);
    margin-bottom: 10px;
}

/* Highlights Grid */
.highlights-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.highlight-card {
    background: #fff;
    padding: 40px;
    border-radius: var(--radius);
    text-align: center;
    border: 1px solid #eee;
    transition: var(--transition);
}

.highlight-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    border-color: var(--secondary);
}

.highlight-card .number {
    font-size: 3rem;
    font-weight: 800;
    color: rgba(1, 173, 255, 0.1);
    display: block;
    margin-bottom: -20px;
}

.highlight-card h3 {
    color: var(--accent);
    margin-bottom: 15px;
    font-size: 1.5rem;
}

/* Courses */
.courses-tabs {
    margin-top: 50px;
}

.tab-nav {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 50px;
}

.tab-btn {
    padding: 15px 40px;
    border-radius: 50px;
    border: 2px solid var(--primary);
    background: transparent;
    color: var(--primary);
    font-family: inherit;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
}

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

.course-content {
    display: none;
    animation: fadeIn 0.5s ease;
}

.course-content.active {
    display: block;
}

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

.course-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.level-card {
    background: var(--bg-light);
    padding: 30px;
    border-radius: var(--radius);
    margin-bottom: 20px;
}

.level-card h4 {
    color: var(--secondary);
    margin-bottom: 10px;
}

.level-card ul {
    margin-left: 20px;
}

.level-card li {
    list-style: disc;
    margin-bottom: 5px;
}

/* QR Section */
.qr-info-section {
    background: var(--accent);
    color: #fff;
    padding: 80px 0;
    border-top: 10px solid var(--primary);
}

.qr-flex {
    display: flex;
    align-items: center;
    justify-content: space-around;
    gap: 50px;
}

.qr-content h2 {
    font-size: 3rem;
    margin-bottom: 20px;
}

.qr-visual img {
    width: 250px;
    background: #fff;
    padding: 20px;
    border-radius: var(--radius);
}

/* Footer */
footer {
    background: #111;
    color: #fff;
    padding: 80px 0 40px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 50px;
}

.footer-col h3 {
    color: var(--primary);
    margin-bottom: 25px;
}

.footer-col p, .footer-col a {
    color: #aaa;
    margin-bottom: 15px;
    display: block;
}

.footer-bottom {
    margin-top: 80px;
    padding-top: 30px;
    border-top: 1px solid #333;
    text-align: center;
    color: #666;
}

@media (max-width: 768px) {
    .container { padding: 0 20px; }
    .nav { 
        display: flex !important;
        flex-direction: row !important; 
        justify-content: space-between !important;
        align-items: center !important;
        flex-wrap: nowrap !important;
    }
    .nav-links { display: none !important; }
    .hero { flex-direction: column; text-align: center; padding-top: 50px; }
    .hero-content h1 { font-size: 2.8rem; }
    .journey-container { flex-direction: column; }
    .course-grid { grid-template-columns: 1fr; }
    .qr-flex { flex-direction: column; text-align: center; }
}

@media (max-width: 480px) {
    .hero-content h1 { font-size: 2.2rem; }
    .logo { font-size: 1.1rem; flex-shrink: 0; }
    .btn-primary { padding: 8px 15px; font-size: 0.75rem; flex-shrink: 0; white-space: nowrap; }
}

/* Modal Styling */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(10px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal-overlay.active {
    display: flex;
    opacity: 1;
}

.modal-content {
    background: #fff;
    width: 90%;
    max-width: 450px;
    padding: 35px;
    border-radius: var(--radius);
    box-shadow: 0 40px 80px rgba(0,0,0,0.3);
    position: relative;
    transform: translateY(-20px);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.modal-overlay.active .modal-content {
    transform: translateY(0);
}

.close-btn {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 2.5rem;
    line-height: 1;
    color: #999;
    cursor: pointer;
    transition: var(--transition);
}

.close-btn:hover {
    color: var(--primary);
    transform: rotate(90deg);
}

.modal-header {
    text-align: center;
    margin-bottom: 25px;
}

.modal-header h2 {
    font-size: 1.8rem;
    margin-bottom: 5px;
}

.modal-header p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

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

.form-group label {
    display: block;
    font-weight: 700;
    margin-bottom: 6px;
    font-size: 0.9rem;
    color: var(--accent);
}

.form-group input, .form-group select {
    width: 100%;
    padding: 12px 18px;
    border: 2px solid #f0f0f0;
    border-radius: 12px;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    background: #fafafa;
    transition: var(--transition);
}

.form-group input:focus, .form-group select:focus {
    outline: none;
    border-color: var(--secondary);
    background: #fff;
    box-shadow: 0 0 0 4px rgba(1, 173, 255, 0.1);
}

.modal-submit {
    width: 100%;
    padding: 15px;
    margin-top: 15px;
    background: var(--primary);
    color: #fff;
    border: none;
    border-radius: 50px;
    font-weight: 800;
    font-size: 1.1rem;
    cursor: pointer;
    transition: var(--transition);
    text-transform: uppercase;
}

.modal-submit:hover {
    background: #e08e1a;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(249, 164, 28, 0.4);
}

/* Toast Notifications */
.toast-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 10000;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.toast {
    min-width: 300px;
    padding: 16px 24px;
    border-radius: 12px;
    background: white;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    display: flex;
    align-items: center;
    gap: 12px;
    transform: translateX(120%);
    transition: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    border-left: 5px solid var(--primary);
}

.toast.active {
    transform: translateX(0);
}

.toast-success { border-left-color: #2fb344; }
.toast-error { border-left-color: #d63939; }

.toast-icon {
    font-size: 1.5rem;
}

.toast-content {
    flex: 1;
}

.toast-title {
    font-weight: 700;
    margin-bottom: 2px;
    color: var(--bg-dark);
}

.toast-message {
    font-size: 0.9rem;
    color: #616161;
}

