/* ==========================================================================
   WISTEK (Wistin Teknologi) - TJKT SMK Wisata Indonesia
   Modern Tech & Vocational Design System (Vanilla CSS)
   ========================================================================== */

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

:root {
    --bg-primary: #070a12;
    --bg-surface: #0f1626;
    --bg-card: rgba(18, 26, 44, 0.7);
    --bg-card-hover: rgba(26, 38, 64, 0.85);

    --accent-cyan: #00f2fe;
    --accent-blue: #4facfe;
    --accent-purple: #8a2be2;
    --accent-orange: #ff6b6b;
    --accent-green: #10b981;

    --text-primary: #f8fafc;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;

    --border-color: rgba(255, 255, 255, 0.08);
    --border-glow: rgba(0, 242, 254, 0.3);

    --gradient-brand: linear-gradient(135deg, #00f2fe 0%, #4facfe 100%);
    --gradient-glow: linear-gradient(135deg, rgba(0, 242, 254, 0.15) 0%, rgba(79, 172, 254, 0.05) 100%);
    --gradient-orange: linear-gradient(135deg, #ff6b6b 0%, #ff8e53 100%);

    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;

    --shadow-subtle: 0 10px 30px -10px rgba(0, 0, 0, 0.5);
    --shadow-glow: 0 0 25px rgba(0, 242, 254, 0.25);
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-smooth: 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

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

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

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

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

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    outline: none;
}

/* Typography Utilities */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--text-primary);
    font-weight: 700;
    line-height: 1.2;
}

.text-gradient {
    background: var(--gradient-brand);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.text-gradient-orange {
    background: var(--gradient-orange);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Navigation Bar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(7, 10, 18, 0.8);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border-color);
    transition: var(--transition-fast);
}

.navbar-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
}

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

.nav-logo-img {
    width: 48px;
    height: 48px;
    object-fit: contain;
    border-radius: 50%;
    filter: drop-shadow(0 0 10px rgba(0, 242, 254, 0.4));
    transition: transform var(--transition-smooth), filter var(--transition-smooth);
}

.nav-brand:hover .nav-logo-img {
    transform: scale(1.08) rotate(4deg);
    filter: drop-shadow(0 0 16px rgba(0, 242, 254, 0.75));
}

.footer-logo-img {
    width: 46px;
    height: 46px;
    object-fit: contain;
    border-radius: 50%;
    filter: drop-shadow(0 0 10px rgba(0, 242, 254, 0.35));
    transition: transform var(--transition-smooth);
}

.footer-logo-img:hover {
    transform: scale(1.06);
}

.nav-brand-text {
    display: flex;
    flex-direction: column;
}

.nav-title {
    font-size: 1.35rem;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.nav-subtitle {
    font-size: 0.72rem;
    color: var(--text-secondary);
    letter-spacing: 0.5px;
    text-transform: uppercase;
    font-weight: 600;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 2rem;
    list-style: none;
}

.nav-link {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-secondary);
    position: relative;
    padding: 0.5rem 0;
}

.nav-link:hover, .nav-link.active {
    color: var(--text-primary);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-brand);
    transition: var(--transition-fast);
    border-radius: 2px;
}

.nav-link:hover::after, .nav-link.active::after {
    width: 100%;
}

.btn-nav-action {
    background: var(--gradient-brand);
    color: #070a12;
    font-weight: 700;
    font-size: 0.9rem;
    padding: 0.65rem 1.4rem;
    border-radius: 8px;
    box-shadow: var(--shadow-glow);
    transition: var(--transition-fast);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-nav-action:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 30px rgba(0, 242, 254, 0.5);
}

.mobile-toggle {
    display: none;
    font-size: 1.5rem;
    color: var(--text-primary);
    background: none;
}

/* Hero Section */
.hero {
    position: relative;
    padding-top: 150px;
    padding-bottom: 100px;
    overflow: hidden;
}

.hero-glow-bg {
    position: absolute;
    top: -10%;
    left: 50%;
    transform: translateX(-50%);
    width: 1000px;
    height: 600px;
    background: radial-gradient(circle, rgba(0, 242, 254, 0.12) 0%, rgba(138, 43, 226, 0.05) 50%, transparent 70%);
    filter: blur(80px);
    pointer-events: none;
    z-index: 0;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 3rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.4rem 1rem;
    background: rgba(0, 242, 254, 0.08);
    border: 1px solid rgba(0, 242, 254, 0.25);
    border-radius: 30px;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--accent-cyan);
    margin-bottom: 1.5rem;
}

.hero-title {
    font-size: 3.4rem;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 1.25rem;
    letter-spacing: -1px;
}

.hero-description {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 2.2rem;
    max-width: 600px;
}

.hero-actions {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    flex-wrap: wrap;
}

.btn-primary {
    background: var(--gradient-brand);
    color: #070a12;
    font-weight: 700;
    padding: 0.9rem 2rem;
    border-radius: 10px;
    font-size: 1rem;
    box-shadow: var(--shadow-glow);
    transition: var(--transition-fast);
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 35px rgba(0, 242, 254, 0.6);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    font-weight: 600;
    padding: 0.9rem 2rem;
    border-radius: 10px;
    font-size: 1rem;
    transition: var(--transition-fast);
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-3px);
}

.hero-image-wrapper {
    position: relative;
}

.hero-img-card {
    width: 100%;
    border-radius: 20px;
    border: 1px solid var(--border-glow);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6), var(--shadow-glow);
    display: block;
    object-fit: cover;
    transition: var(--transition-smooth);
}

.hero-floating-card {
    position: absolute;
    bottom: -20px;
    left: -20px;
    background: rgba(15, 22, 38, 0.9);
    backdrop-filter: blur(12px);
    border: 1px solid var(--border-glow);
    border-radius: 14px;
    padding: 1rem 1.25rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    box-shadow: var(--shadow-subtle);
    animation: float 4s ease-in-out infinite;
}

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

.floating-icon {
    width: 44px;
    height: 44px;
    background: rgba(16, 185, 129, 0.15);
    color: var(--accent-green);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
}

/* Stats Counter Section */
.stats-section {
    padding: 2rem 0;
    margin-top: -30px;
    position: relative;
    z-index: 2;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    backdrop-filter: blur(12px);
    border-radius: 16px;
    padding: 2rem;
}

.stat-item {
    text-align: center;
    padding: 0.5rem;
    position: relative;
}

.stat-item:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 20%;
    height: 60%;
    width: 1px;
    background: var(--border-color);
}

.stat-number {
    font-size: 2.4rem;
    font-weight: 800;
    font-family: var(--font-heading);
    margin-bottom: 0.2rem;
}

.stat-label {
    font-size: 0.88rem;
    color: var(--text-secondary);
    font-weight: 500;
}

/* Section Header Component */
.section-header {
    text-align: center;
    max-width: 750px;
    margin: 0 auto 3.5rem auto;
}

.section-tag {
    font-size: 0.82rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--accent-cyan);
    margin-bottom: 0.6rem;
    display: inline-block;
}

.section-title {
    font-size: 2.4rem;
    font-weight: 800;
    margin-bottom: 1rem;
    letter-spacing: -0.5px;
}

.section-subtitle {
    font-size: 1.05rem;
    color: var(--text-secondary);
}

/* Konsentrasi Keahlian / Kurikulum Section */
.curriculum-section {
    padding: 100px 0;
    position: relative;
}

.tabs-header {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.tab-btn {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    font-weight: 600;
    padding: 0.8rem 1.6rem;
    border-radius: 30px;
    font-size: 0.95rem;
    transition: var(--transition-fast);
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
}

.tab-btn:hover {
    color: var(--text-primary);
    border-color: rgba(0, 242, 254, 0.3);
}

.tab-btn.active {
    background: var(--gradient-brand);
    color: #070a12;
    border-color: transparent;
    box-shadow: var(--shadow-glow);
}

.tab-pane {
    display: none;
    animation: fadeIn 0.4s ease;
}

.tab-pane.active {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

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

.curriculum-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 2.5rem;
    backdrop-filter: blur(12px);
}

.curriculum-icon {
    width: 60px;
    height: 60px;
    background: rgba(0, 242, 254, 0.12);
    color: var(--accent-cyan);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
}

.curriculum-list {
    list-style: none;
    margin-top: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.curriculum-list li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--text-secondary);
    font-size: 0.98rem;
}

.curriculum-list li i {
    color: var(--accent-cyan);
    font-size: 0.9rem;
}

/* Interactive Network Simulator Widget */
.simulator-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-glow);
    border-radius: 20px;
    padding: 1.75rem;
    box-shadow: var(--shadow-subtle);
}

.sim-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 1.25rem;
}

.sim-dots {
    display: flex;
    gap: 6px;
}

.sim-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.sim-dot.red { background: #ff5f56; }
.sim-dot.yellow { background: #ffbd2e; }
.sim-dot.green { background: #27c93f; }

.sim-title {
    font-family: monospace;
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.sim-console {
    background: #04060a;
    border-radius: 10px;
    padding: 1.2rem;
    font-family: 'Consolas', 'Fira Code', monospace;
    font-size: 0.88rem;
    color: #00f2fe;
    min-height: 180px;
    margin-bottom: 1.25rem;
    overflow-y: auto;
}

.sim-console p {
    margin-bottom: 0.3rem;
    word-break: break-all;
}

.sim-controls {
    display: flex;
    gap: 0.75rem;
}

.sim-input {
    flex: 1;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 0.6rem 1rem;
    color: var(--text-primary);
    font-family: monospace;
}

/* Teaching Factory (TEFA WISTEK) Section */
.tefa-section {
    padding: 100px 0;
    background: var(--bg-surface);
    position: relative;
}

.tefa-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.tefa-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 2rem;
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
}

.tefa-card:hover {
    transform: translateY(-8px);
    border-color: var(--border-glow);
    background: var(--bg-card-hover);
}

.tefa-icon {
    width: 50px;
    height: 50px;
    background: rgba(79, 172, 254, 0.12);
    color: var(--accent-blue);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1.25rem;
}

.tefa-title {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

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

/* Facilities Section */
.facilities-section {
    padding: 100px 0;
}

.facility-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
    align-items: center;
}

.facility-img {
    width: 100%;
    border-radius: 20px;
    border: 1px solid var(--border-glow);
    box-shadow: var(--shadow-subtle);
}

.facility-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.facility-item {
    display: flex;
    gap: 1.25rem;
    align-items: flex-start;
}

.facility-icon-box {
    width: 48px;
    height: 48px;
    min-width: 48px;
    background: rgba(0, 242, 254, 0.1);
    color: var(--accent-cyan);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
}

/* Partner & Certification Grid */
.partner-section {
    padding: 70px 0;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    background: rgba(15, 22, 38, 0.5);
}

.partner-grid {
    display: flex;
    align-items: center;
    justify-content: space-around;
    gap: 2rem;
    flex-wrap: wrap;
    opacity: 0.8;
}

.partner-badge {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-secondary);
    letter-spacing: -0.5px;
}

.partner-badge i {
    font-size: 1.6rem;
    color: var(--accent-cyan);
}

/* Call to Action Section */
.cta-section {
    padding: 100px 0;
}

.cta-box {
    background: linear-gradient(135deg, rgba(0, 242, 254, 0.15) 0%, rgba(138, 43, 226, 0.15) 100%);
    border: 1px solid var(--border-glow);
    border-radius: 24px;
    padding: 4rem 3rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-title {
    font-size: 2.6rem;
    margin-bottom: 1rem;
}

.cta-desc {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 650px;
    margin: 0 auto 2.2rem auto;
}

/* Footer */
.footer {
    background: #04060a;
    border-top: 1px solid var(--border-color);
    padding: 80px 0 30px 0;
    font-size: 0.92rem;
    color: var(--text-secondary);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 3rem;
    margin-bottom: 50px;
}

.footer-brand-title {
    font-size: 1.4rem;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-links a:hover {
    color: var(--accent-cyan);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 0.85rem;
}

/* Responsive Breakpoints */
@media (max-width: 1024px) {
    .hero-grid { grid-template-columns: 1fr; text-align: center; }
    .hero-description { margin-left: auto; margin-right: auto; }
    .hero-actions { justify-content: center; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .stat-item:nth-child(2)::after { display: none; }
    .tab-pane.active { grid-template-columns: 1fr; }
    .tefa-grid { grid-template-columns: repeat(2, 1fr); }
    .facility-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    .nav-menu { display: none; }
    .mobile-toggle { display: block; }
    .hero-title { font-size: 2.4rem; }
    .stats-grid { grid-template-columns: 1fr; }
    .stat-item::after { display: none !important; }
    .tefa-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
}
