/* Variabel Warna Digital Organic */
:root {
    --color-dark: #0A1929;
    --color-darker: #071220;
    --color-accent: #2ECC71;
    --color-accent-light: #00D1FF;
    --color-text: #F5F7FA;
    --color-text-secondary: #C4B7A6;
    --color-border: #1E2A3A;
}

/* Global Styles */
body {
    background-color: var(--color-dark);
    color: var(--color-text);
    font-family: 'Poppins', sans-serif;
    overflow-x: hidden;
}

/* Hero Section dengan efek partikel */
.hero {
    min-height: 90vh;
    display: flex;
    align-items: center;
    position: relative;
    background: radial-gradient(ellipse at center, var(--color-darker) 0%, var(--color-dark) 70%);
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('../images/circuit-pattern.svg');
    opacity: 0.05;
    z-index: 1;
}

.hero-title {
    font-size: 3.5rem;
    background: linear-gradient(135deg, var(--color-accent) 0%, var(--color-accent-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1.2;
}

/* Digital Tree Animation */
.digital-tree {
    width: 400px;
    height: 400px;
    position: relative;
}

.digital-tree svg {
    width: 100%;
    height: 100%;
    filter: drop-shadow(0 0 20px rgba(46, 204, 113, 0.3));
}

.digital-tree path {
    stroke: var(--color-accent);
    stroke-width: 2;
    fill: none;
    stroke-dasharray: 1000;
    stroke-dashoffset: 1000;
    animation: draw 5s ease-in-out forwards;
}

@keyframes draw {
    to {
        stroke-dashoffset: 0;
    }
}
/* Digital Tree Animation Styles */
.digital-tree-svg {
    width: 100%;
    height: 100%;
    filter: drop-shadow(0 0 20px rgba(46, 204, 113, 0.3));
}

.tree-path {
    stroke: var(--color-accent);
    stroke-width: 2;
    fill: none;
    stroke-dasharray: 1000;
    stroke-dashoffset: 1000;
}

.tree-node {
    fill: var(--color-accent-light);
    opacity: 0;
    animation: fadeIn 0.5s ease-in-out forwards;
    animation-delay: 3s;
}

@keyframes draw {
    to {
        stroke-dashoffset: 0;
    }
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

/* Particle Canvas */
#particlesCanvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

/* Hero Content di atas particles */
.hero .container {
    position: relative;
    z-index: 2;
}
/* ====================
   ELEGANT NAVIGATION
   ==================== */

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 1.5rem 0;
    background: rgba(10, 25, 41, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(46, 204, 113, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.navbar.scrolled {
    padding: 1rem 0;
    background: rgba(10, 25, 41, 0.98);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Logo Elegant */
.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    font-family: 'Roboto Mono', monospace;
    font-weight: 700;
    font-size: 1.8rem;
    color: var(--color-text);
    transition: all 0.3s;
    position: relative;
}

.logo:hover {
    transform: translateY(-2px);
}

.logo-icon {
    color: var(--color-accent);
    font-size: 2.2rem;
    font-weight: 300;
    margin: 0 5px;
    position: relative;
}

.logo-icon:first-child {
    animation: blink 2s infinite;
}

.logo-icon:last-child {
    animation: blink 2s infinite 0.5s;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.logo-text {
    background: linear-gradient(135deg, var(--color-accent) 0%, var(--color-accent-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: 1px;
    position: relative;
    padding: 0 10px;
}

.logo-text::before {
    content: '';
    position: absolute;
    left: 0;
    bottom: -5px;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--color-accent), transparent);
    opacity: 0.5;
}

/* Navigation Menu Elegant */
.nav-menu {
    display: flex;
    list-style: none;
    gap: 2.5rem;
    margin: 0;
    padding: 0;
}

.nav-menu li {
    position: relative;
}

.nav-menu a {
    text-decoration: none;
    color: var(--color-text-secondary);
    font-weight: 500;
    font-size: 1rem;
    letter-spacing: 0.5px;
    padding: 0.5rem 0;
    position: relative;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-menu a::before {
    content: '</>';
    font-family: 'Roboto Mono', monospace;
    font-size: 0.8rem;
    color: var(--color-accent);
    opacity: 0;
    transform: translateX(-10px);
    transition: all 0.3s;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--color-accent), var(--color-accent-light));
    transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 2px;
}

.nav-menu a:hover {
    color: var(--color-text);
}

.nav-menu a:hover::before {
    opacity: 1;
    transform: translateX(0);
}

.nav-menu a:hover::after {
    width: 100%;
}

.nav-menu a.active {
    color: var(--color-text);
}

.nav-menu a.active::before {
    opacity: 1;
    transform: translateX(0);
}

.nav-menu a.active::after {
    width: 100%;
    background: linear-gradient(90deg, var(--color-accent-light), var(--color-accent));
}

/* Mobile Toggle Button Elegant */
.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
}

.nav-toggle span {
    display: block;
    height: 3px;
    width: 100%;
    background: var(--color-accent);
    border-radius: 3px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
    background: var(--color-accent-light);
}

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
    background: var(--color-accent-light);
}

/* Responsive Design */
@media (max-width: 992px) {
    .nav-toggle {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 300px;
        height: 100vh;
        background: rgba(10, 25, 41, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 2rem;
        transition: right 0.5s cubic-bezier(0.4, 0, 0.2, 1);
        border-left: 1px solid rgba(46, 204, 113, 0.2);
        padding: 2rem;
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .nav-menu a {
        font-size: 1.2rem;
        padding: 0.8rem 2rem;
        width: 100%;
        justify-content: center;
        border-radius: 8px;
        transition: all 0.3s;
    }
    
    .nav-menu a:hover {
        background: rgba(46, 204, 113, 0.1);
        transform: translateX(-5px);
    }
    
    .nav-menu a::before {
        display: none;
    }
    
    .nav-menu a::after {
        display: none;
    }
    
    .navbar {
        padding: 1rem 0;
    }
}

/* CTA Button Elegant */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    letter-spacing: 0.5px;
    gap: 10px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--color-accent) 0%, var(--color-accent-light) 100%);
    color: white;
    box-shadow: 0 5px 15px rgba(46, 204, 113, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(46, 204, 113, 0.4);
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.6s;
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-secondary {
    background: transparent;
    color: var(--color-accent);
    border: 2px solid var(--color-accent);
}

.btn-secondary:hover {
    background: rgba(46, 204, 113, 0.1);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(46, 204, 113, 0.2);
}
/* Nav Icons */
.nav-icon {
    font-size: 1.2rem;
    transition: transform 0.3s;
}

.nav-menu a:hover .nav-icon {
    transform: scale(1.2) rotate(5deg);
}

/* Mobile responsive icons */
@media (max-width: 992px) {
    .nav-icon {
        margin-right: 10px;
    }
}
/* ====================
   HERO SECTION LAYOUT
   ==================== */

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    min-height: 90vh;
    position: relative;
    z-index: 2;
}

.hero-content {
    max-width: 600px;
}

.hero-title {
    font-size: 3.5rem;
    background: linear-gradient(135deg, var(--color-accent) 0%, var(--color-accent-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    position: relative;
}

.hero-title::after {
    content: '</>';
    font-family: 'Roboto Mono', monospace;
    font-size: 2rem;
    position: absolute;
    right: -50px;
    top: -10px;
    opacity: 0.5;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.hero-subtitle {
    font-size: 1.2rem;
    line-height: 1.6;
    color: var(--color-text-secondary);
    margin-bottom: 2.5rem;
    max-width: 90%;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.btn-icon {
    transition: transform 0.3s;
}

.btn:hover .btn-icon {
    transform: translateX(5px);
}

/* Hero Visual Area */
.hero-visual {
    position: relative;
    height: 500px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.digital-tree {
    width: 100%;
    height: 100%;
    position: relative;
    filter: drop-shadow(0 0 30px rgba(46, 204, 113, 0.2));
}

/* Quote Box */
.hero-quote {
    position: absolute;
    bottom: 20px;
    right: 0;
    background: rgba(30, 42, 58, 0.8);
    backdrop-filter: blur(10px);
    border-left: 4px solid var(--color-accent);
    padding: 1.5rem;
    border-radius: 10px;
    max-width: 250px;
    animation: fadeInUp 1s ease-out 1s both;
}

.quote-icon {
    font-size: 3rem;
    color: var(--color-accent);
    font-family: serif;
    line-height: 1;
    margin-bottom: 0.5rem;
}

.hero-quote p {
    font-style: italic;
    color: var(--color-text);
    font-size: 1.1rem;
    margin: 0;
    line-height: 1.4;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Layout */
@media (max-width: 1200px) {
    .hero .container {
        gap: 2rem;
    }
    
    .hero-title {
        font-size: 3rem;
    }
}

@media (max-width: 992px) {
    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
        padding-top: 100px;
    }
    
    .hero-content {
        max-width: 100%;
    }
    
    .hero-title::after {
        right: 50%;
        transform: translateX(50%);
        top: -40px;
    }
    
    .hero-subtitle {
        max-width: 100%;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .hero-visual {
        height: 400px;
        order: -1;
    }
    
    .hero-quote {
        right: 50%;
        transform: translateX(50%);
        bottom: -80px;
    }
}
/* Tree Styling */
.tree-path {
    stroke: var(--color-accent);
    stroke-width: 2;
    fill: none;
    stroke-linecap: round;
}

.trunk {
    stroke-width: 3;
    stroke: var(--color-accent-light);
}

.branch {
    stroke-width: 1.5;
    stroke: var(--color-accent);
}

.leaf {
    filter: drop-shadow(0 0 3px rgba(46, 204, 113, 0.5));
    transform-origin: center;
}

.tree-node {
    fill: var(--color-accent-light);
    filter: drop-shadow(0 0 5px rgba(0, 209, 255, 0.8));
}

/* Particle Canvas */
#particles-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

/* Background pattern overlay */
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 80%, rgba(46, 204, 113, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(0, 209, 255, 0.05) 0%, transparent 50%),
        url('../images/circuit-pattern.svg');
    background-size: cover;
    opacity: 0.3;
    z-index: 1;
}
/* Digital Tree Styles */
.hero-visual {
    position: relative;
    width: 50%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.digital-tree {
    width: 100%;
    height: 100%;
    min-height: 500px;
    position: relative;
    z-index: 2;
}

.digital-tree-svg {
    width: 100%;
    height: 100%;
    filter: drop-shadow(0 0 20px rgba(46, 204, 113, 0.3));
    animation: floatTree 20s infinite ease-in-out;
}

@keyframes floatTree {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    25% {
        transform: translateY(-10px) rotate(0.5deg);
    }
    50% {
        transform: translateY(0) rotate(0deg);
    }
    75% {
        transform: translateY(-5px) rotate(-0.5deg);
    }
}

.hero-quote {
    position: absolute;
    bottom: 20%;
    right: 0;
    background: rgba(10, 25, 41, 0.7);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(46, 204, 113, 0.3);
    border-radius: 20px;
    padding: 2rem;
    max-width: 300px;
    z-index: 3;
    animation: slideInRight 1s ease-out 0.5s both;
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.quote-icon {
    font-size: 4rem;
    color: #2ECC71;
    line-height: 1;
    margin-bottom: 0.5rem;
    font-family: serif;
}

.hero-quote p {
    font-size: 1.4rem;
    color: #f5f7fa;
    font-weight: 600;
    line-height: 1.3;
    background: linear-gradient(135deg, #2ECC71, #00D1FF);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    .hero-visual {
        width: 100%;
        height: 400px;
        margin-top: 2rem;
    }
    
    .hero-quote {
        position: relative;
        bottom: auto;
        right: auto;
        margin-top: 2rem;
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .digital-tree {
        min-height: 400px;
    }
    
    .hero-quote {
        padding: 1.5rem;
    }
    
    .hero-quote p {
        font-size: 1.2rem;
    }
}