/* ===== CSS Variables ===== */
:root {
    --primary: #F6BE18;
    --primary-dark: #d4a514;
    --primary-light: #f9cf4a;
    --secondary: #23642B;
    --secondary-light: #2d8038;
    --accent: #F6BE18;
    --background: #0a0f0a;
    --background-light: #0f1610;
    --surface: #141f16;
    --surface-light: #1a2a1d;
    --text: #f8fafc;
    --text-muted: #a3b8a6;
    --text-dim: #6b8b6e;
    --border: #23642B;
    --gradient-1: linear-gradient(135deg, #F6BE18 0%, #23642B 100%);
    --gradient-2: linear-gradient(135deg, #23642B 0%, #F6BE18 100%);
    --gradient-3: linear-gradient(180deg, rgba(246, 190, 24, 0.1) 0%, transparent 100%);
    --shadow-lg: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    --shadow-glow: 0 0 40px rgba(246, 190, 24, 0.3);
}

/* ===== Reset & Base ===== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--background);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
}

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

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

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

/* ===== Typography ===== */
h1, h2, h3, h4 {
    font-family: 'Orbitron', sans-serif;
    font-weight: 700;
    line-height: 1.2;
}

/* ===== Navigation ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(10, 10, 15, 0.85);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    transition: all 0.3s ease;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.nav-logo {
    display: flex;
    align-items: baseline;
    gap: 8px;
    font-family: 'Orbitron', sans-serif;
    font-weight: 800;
    font-size: 1.5rem;
}

.logo-text {
    color: var(--text);
}

.logo-number {
    color: var(--primary);
    font-size: 1.1rem;
}

.nav-menu {
    display: flex;
    gap: 32px;
}

.nav-link {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-muted);
    transition: color 0.3s ease;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-1);
    transition: width 0.3s ease;
}

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

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

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.nav-toggle span {
    width: 24px;
    height: 2px;
    background: var(--text);
    transition: all 0.3s ease;
}

/* ===== Hero Section ===== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    padding: 120px 24px 80px;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.grid-lines {
    position: absolute;
    inset: 0;
    background-image: 
        linear-gradient(rgba(99, 102, 241, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(99, 102, 241, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse at center, black 0%, transparent 70%);
}

.floating-particles {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 900px;
}

.hero-badge {
    display: inline-block;
    padding: 8px 20px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 3px;
    color: var(--primary-light);
    margin-bottom: 32px;
}

.hero-title {
    font-size: clamp(3rem, 12vw, 8rem);
    font-weight: 900;
    margin-bottom: 16px;
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

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

.title-number {
    color: var(--text-muted);
    font-size: 0.5em;
}

.hero-subtitle {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 24px;
    font-weight: 500;
}

.hero-description {
    font-size: 1.1rem;
    color: var(--text-dim);
    max-width: 600px;
    margin: 0 auto 40px;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 64px;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: var(--gradient-1);
    color: #0a0f0a;
    font-weight: 700;
    box-shadow: 0 4px 20px rgba(246, 190, 24, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(246, 190, 24, 0.5);
}

.btn-secondary {
    background: transparent;
    color: var(--text);
    border: 1px solid var(--border);
}

.btn-secondary:hover {
    background: var(--surface);
    border-color: var(--primary);
}

.btn-instagram {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    color: white;
    box-shadow: 0 4px 20px rgba(220, 39, 67, 0.4);
}

.btn-instagram:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(220, 39, 67, 0.5);
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 48px;
    flex-wrap: wrap;
}

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

.stat-number {
    display: block;
    font-family: 'Orbitron', sans-serif;
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary-light);
    margin-bottom: 4px;
}

.stat-label {
    font-size: 0.85rem;
    color: var(--text-dim);
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    color: var(--text-dim);
    font-size: 0.75rem;
    animation: float 2s ease-in-out infinite;
}

.mouse {
    width: 24px;
    height: 38px;
    border: 2px solid var(--border);
    border-radius: 12px;
    position: relative;
}

.mouse::before {
    content: '';
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 8px;
    background: var(--primary);
    border-radius: 2px;
    animation: scroll 1.5s ease-in-out infinite;
}

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

@keyframes scroll {
    0%, 100% { opacity: 1; transform: translateX(-50%) translateY(0); }
    50% { opacity: 0.3; transform: translateX(-50%) translateY(10px); }
}

/* ===== Section Styles ===== */
section {
    padding: 100px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 64px;
}

.section-tag {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(246, 190, 24, 0.1);
    border: 1px solid rgba(246, 190, 24, 0.2);
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 2px;
    color: var(--primary-light);
    text-transform: uppercase;
    margin-bottom: 16px;
}

.section-title {
    font-size: clamp(2rem, 5vw, 3rem);
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ===== About Section ===== */
.about {
    background: var(--background-light);
}

.about-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 64px;
    align-items: start;
}

.about-content p {
    color: var(--text-muted);
    margin-bottom: 20px;
    font-size: 1.05rem;
}

.about-content p strong {
    color: var(--text);
}

.about-intro {
    font-size: 1.15rem !important;
    line-height: 1.8;
}

.vision-mission {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-top: 40px;
}

.vm-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 28px;
    transition: all 0.3s ease;
}

.vm-card:hover {
    border-color: var(--primary);
    transform: translateY(-4px);
}

.vm-icon {
    width: 48px;
    height: 48px;
    background: var(--gradient-1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}

.vm-icon svg {
    width: 24px;
    height: 24px;
    stroke: white;
}

.vm-card h3 {
    font-size: 1.1rem;
    margin-bottom: 12px;
    color: var(--text);
}

.vm-card p {
    font-size: 0.9rem !important;
    color: var(--text-dim);
    margin-bottom: 0 !important;
}

.about-values {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.value-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 24px;
    display: flex;
    align-items: flex-start;
    gap: 16px;
    transition: all 0.3s ease;
}

.value-card:hover {
    border-color: var(--secondary);
    background: var(--surface-light);
}

.value-icon {
    width: 48px;
    height: 48px;
    min-width: 48px;
    background: rgba(35, 100, 43, 0.2);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.value-icon svg {
    width: 24px;
    height: 24px;
    stroke: var(--primary);
}

.value-card h4 {
    font-size: 1rem;
    margin-bottom: 4px;
    color: var(--text);
}

.value-card p {
    font-size: 0.85rem;
    color: var(--text-dim);
}

/* ===== Achievements Section ===== */
.achievements-timeline {
    display: flex;
    flex-direction: column;
    gap: 32px;
    max-width: 800px;
    margin: 0 auto;
}

.achievement-card {
    display: flex;
    gap: 32px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 32px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.achievement-card::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: var(--gradient-1);
}

.achievement-card.featured {
    border-color: var(--primary);
    box-shadow: var(--shadow-glow);
}

.achievement-card:hover {
    transform: translateY(-4px);
    border-color: var(--primary);
}

.achievement-year {
    font-family: 'Orbitron', sans-serif;
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary);
    min-width: 100px;
}

.achievement-content h3 {
    font-size: 1.4rem;
    margin-bottom: 16px;
    color: var(--text);
}

.achievement-badges {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 16px;
}

.badge {
    display: inline-block;
    padding: 6px 14px;
    background: var(--surface-light);
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--text-muted);
}

.badge.highlight {
    background: rgba(99, 102, 241, 0.2);
    color: var(--primary-light);
}

.achievement-note {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    color: var(--primary);
    padding: 12px 16px;
    background: rgba(246, 190, 24, 0.1);
    border-radius: 8px;
    margin-top: 8px;
}

/* ===== Projects Section ===== */
.projects {
    background: var(--background-light);
}

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

.project-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 32px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.project-card:hover {
    transform: translateY(-6px);
    border-color: var(--primary);
    box-shadow: var(--shadow-lg);
}

.project-card.large {
    grid-column: span 2;
}

.project-card.highlight {
    border-color: var(--secondary);
    background: linear-gradient(135deg, rgba(35, 100, 43, 0.1) 0%, transparent 100%);
}

.project-icon {
    width: 56px;
    height: 56px;
    background: var(--gradient-1);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.project-icon svg {
    width: 28px;
    height: 28px;
    stroke: white;
}

.project-card.highlight .project-icon {
    background: var(--gradient-2);
}

.project-card h3 {
    font-size: 1.2rem;
    margin-bottom: 12px;
    color: var(--text);
}

.project-card p {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.7;
}

.project-card p strong {
    color: var(--secondary);
}

.project-tag {
    position: absolute;
    top: 20px;
    right: 20px;
    padding: 4px 12px;
    background: rgba(246, 190, 24, 0.2);
    border-radius: 50px;
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--primary);
    letter-spacing: 1px;
}

.project-tag.special {
    background: rgba(35, 100, 43, 0.3);
    color: var(--secondary-light);
}

.future-projects {
    margin-top: 64px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 24px;
    padding: 40px;
}

.future-title {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.3rem;
    margin-bottom: 32px;
    color: var(--text);
}

.future-title svg {
    stroke: var(--primary);
}

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

.future-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 16px;
    background: var(--background-light);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.future-item:hover {
    background: var(--surface-light);
}

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

.future-item p {
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* ===== Goals Section ===== */
.goals-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.goal-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 24px;
    padding: 36px;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.goal-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-1);
}

.goal-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-glow);
}

.goal-year {
    font-family: 'Orbitron', sans-serif;
    font-size: 3rem;
    font-weight: 900;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 20px;
}

.goal-content h3 {
    font-size: 1.2rem;
    margin-bottom: 12px;
    color: var(--text);
}

.goal-content p {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.7;
}

.goal-content p strong {
    color: var(--secondary);
}

.goal-icon {
    position: absolute;
    bottom: 24px;
    right: 24px;
    width: 48px;
    height: 48px;
    background: rgba(35, 100, 43, 0.2);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.goal-icon svg {
    width: 24px;
    height: 24px;
    stroke: var(--primary);
}

/* ===== Contact Section ===== */
.contact {
    background: var(--background-light);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-card {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 24px;
    transition: all 0.3s ease;
}

.contact-card:hover {
    border-color: var(--primary);
    transform: translateX(8px);
}

.contact-icon {
    width: 52px;
    height: 52px;
    min-width: 52px;
    background: var(--gradient-1);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-icon svg {
    width: 24px;
    height: 24px;
    stroke: white;
}

.contact-details h4 {
    font-size: 1rem;
    margin-bottom: 4px;
    color: var(--text);
}

.contact-details a {
    color: var(--primary-light);
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

.contact-details a:hover {
    color: var(--secondary);
}

.contact-details p {
    font-size: 0.9rem;
    color: var(--text-dim);
}

.contact-cta {
    display: flex;
    align-items: center;
}

.cta-content {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 24px;
    padding: 48px;
    text-align: center;
}

.cta-content h3 {
    font-size: 1.8rem;
    margin-bottom: 16px;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.cta-content p {
    color: var(--text-muted);
    margin-bottom: 32px;
    line-height: 1.7;
}

/* ===== Footer ===== */
.footer {
    background: var(--background);
    border-top: 1px solid var(--border);
    padding: 60px 0 30px;
}

.footer-content {
    text-align: center;
    margin-bottom: 40px;
}

.footer-logo {
    display: inline-flex;
    align-items: baseline;
    gap: 8px;
    font-family: 'Orbitron', sans-serif;
    font-weight: 800;
    font-size: 2rem;
    margin-bottom: 12px;
}

.footer-tagline {
    color: var(--text-dim);
    margin-bottom: 24px;
}

.footer-social {
    display: flex;
    justify-content: center;
    gap: 16px;
}

.footer-social a {
    width: 44px;
    height: 44px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.footer-social a svg {
    width: 20px;
    height: 20px;
    stroke: var(--text-muted);
    transition: stroke 0.3s ease;
}

.footer-social a:hover {
    background: var(--primary);
    border-color: var(--primary);
}

.footer-social a:hover svg {
    stroke: white;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid var(--border);
}

.footer-bottom p {
    font-size: 0.85rem;
    color: var(--text-dim);
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    
    .projects-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .project-card.large {
        grid-column: span 2;
    }
    
    .future-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .goals-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 72px;
        left: 0;
        right: 0;
        background: var(--background);
        border-bottom: 1px solid var(--border);
        flex-direction: column;
        padding: 24px;
        gap: 16px;
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
    }
    
    .nav-menu.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .nav-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .nav-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .nav-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }
    
    .hero-title {
        flex-direction: column;
        gap: 0;
    }
    
    .title-number {
        font-size: 0.4em;
    }
    
    .hero-stats {
        gap: 32px;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .vision-mission {
        grid-template-columns: 1fr;
    }
    
    .projects-grid {
        grid-template-columns: 1fr;
    }
    
    .project-card.large {
        grid-column: span 1;
    }
    
    .future-grid {
        grid-template-columns: 1fr;
    }
    
    .achievement-card {
        flex-direction: column;
        gap: 16px;
    }
    
    .achievement-year {
        font-size: 2rem;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .scroll-indicator {
        display: none;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 100px 16px 60px;
    }
    
    section {
        padding: 60px 0;
    }
    
    .container {
        padding: 0 16px;
    }
    
    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }
    
    .btn {
        width: 100%;
        justify-content: center;
    }
    
    .future-projects {
        padding: 24px;
    }
    
    .cta-content {
        padding: 32px 24px;
    }
}

/* ===== Animations ===== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease forwards;
}

/* Particle styles */
.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--primary);
    border-radius: 50%;
    opacity: 0.3;
    animation: float-particle 15s infinite ease-in-out;
}

@keyframes float-particle {
    0%, 100% {
        transform: translate(0, 0) scale(1);
        opacity: 0.3;
    }
    25% {
        transform: translate(100px, -100px) scale(1.2);
        opacity: 0.5;
    }
    50% {
        transform: translate(50px, -200px) scale(0.8);
        opacity: 0.2;
    }
    75% {
        transform: translate(-50px, -150px) scale(1.1);
        opacity: 0.4;
    }
}
