/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto Mono', monospace;
    line-height: 1.6;
    color: #000000;
    background: #F9FAFB;
}

p {
    font-size: 1.0rem;
}

/* Header and Navigation */
header {
    background: transparent;
    position: absolute;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: none;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.logo {
    display: flex;
    align-items: center;
}

.logo-image {
    height: 40px;
    width: auto;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    text-decoration: none;
    color: #00D9FF;
    transition: color 0.3s;
    font-weight: 400;
}

.nav-links a:hover {
    color: #A855F7;
}

.nav-links a.nav-opt1 {
    color: #000000;
    background-color: #00D9FF;
    padding: 0.4rem 1rem;
    border-radius: 6px;
    font-size: 0.875rem;
    transition: background-color 0.3s, transform 0.2s;
}

.nav-links a.nav-opt1:hover {
    background-color: #00b8d9;
    transform: translateY(-1px);
}

/* Main content */
main {
    margin-top: 0;
}

/* Hero section */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: url('images/background-2.png') center/cover no-repeat;
    background-size: 100% 100%;
    color: #FFFFFF;
    padding: 2rem;
    position: relative;
    overflow: hidden;
    animation: subtleZoom 20s ease-in-out infinite;
}

/* Subtle zoom animation for background */
@keyframes subtleZoom {
    0%, 100% {
        background-size: 100% 100%;
    }
    50% {
        background-size: 110% 110%;
    }
}

/* Horizontal Bars Animation */

/* Left bars container - positioned to match SVG layout */
.bars-left {
    position: absolute;
    left: 0;
    top: 8%;
    width: 420px;
    height: 191px;
    pointer-events: none;
    z-index: 1;
}

/* Individual left bar styling - matching SVG specs */
.bar-left {
    position: absolute;
    left: 0;
    height: 27px;
    background: linear-gradient(90deg, #340634 0%, #243956 50%, transparent 100%);
    opacity: 0;
    transform: translateX(-150px);
    animation: slideInLeft 1.2s ease-out forwards;
}

/* Bar positions and widths from SVG (top to bottom in visual order) */
/* Bar 1: x=139, y=0, width=277 */
.bar-l1 {
    top: 0;
    left: 139px;
    width: 277px;
    animation-delay: 0s;
}

/* Bar 2: x=68, y=27, width=277 */
.bar-l2 {
    top: 27px;
    left: 68px;
    width: 277px;
    animation-delay: 0.08s;
}

/* Bar 3: x=0, y=55, width=277 */
.bar-l3 {
    top: 55px;
    left: 0;
    width: 277px;
    animation-delay: 0.16s;
}

/* Bar 4: x=0, y=109, width=149 */
.bar-l4 {
    top: 109px;
    left: 0;
    width: 149px;
    animation-delay: 0.24s;
}

/* Bar 5: x=0, y=136, width=101 */
.bar-l5 {
    top: 136px;
    left: 0;
    width: 101px;
    animation-delay: 0.32s;
}

/* Bar 6: x=0, y=164, width=226 */
.bar-l6 {
    top: 164px;
    left: 0;
    width: 226px;
    animation-delay: 0.4s;
}

/* Slide in from left animation - plays once and stays */
@keyframes slideInLeft {
    0% {
        transform: translateX(-150px);
        opacity: 0;
    }
    100% {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Right bars container - top group (shapes-right-1.svg) */
.bars-right-top {
    position: absolute;
    right: 0;
    top: 8%;
    width: 284px;
    height: 83px;
    pointer-events: none;
    z-index: 1;
}

/* Right bars container - bottom group (shapes-right-2.svg) */
.bars-right-bottom {
    position: absolute;
    right: 0;
    bottom: 12%;
    width: 473px;
    height: 55px;
    pointer-events: none;
    z-index: 1;
}

/* Individual right bar styling - gradient reversed (purple at right edge) */
.bar-right {
    position: absolute;
    height: 27px;
    background: linear-gradient(270deg, #340634 0%, #243956 50%, transparent 100%);
    opacity: 0;
    transform: translateX(150px);
    animation: slideInRight 1.2s ease-out forwards;
}

/* Slide in from right animation */
@keyframes slideInRight {
    0% {
        transform: translateX(150px);
        opacity: 0;
    }
    100% {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Right top bar positions (from shapes-right-1.svg - anchored to right edge) */
.bar-rt1 { top: 0; right: 0; width: 283px; animation-delay: 0s; }
.bar-rt2 { top: 27px; right: 0; width: 127px; animation-delay: 0.08s; }
.bar-rt3 { top: 55px; right: 0; width: 187px; animation-delay: 0.16s; }

/* Right bottom bar positions (from shapes-right-2.svg bottom bars - staggered from right) */
.bar-rb1 { top: 0; right: 125px; width: 277px; animation-delay: 0.24s; }
.bar-rb2 { top: 27px; right: 196px; width: 277px; animation-delay: 0.32s; }

.hero-content {
    max-width: 1200px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero h1 {
    font-size: 40px;
    font-weight: 300;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
}

/* Fade in and settle animation for line 1 */
@keyframes fadeInSettle {
    0% {
        opacity: 0;
        transform: translateY(10px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Simple fade in */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Border drawing animation - Using Vibrant Plum with fade */
@keyframes drawBorder {
    0% {
        border-left-color: transparent;
        border-top-color: transparent;
        border-right-color: transparent;
        border-bottom-color: transparent;
    }
    2% {
        border-left-color: rgba(168, 85, 247, 0);
        border-top-color: transparent;
        border-right-color: transparent;
        border-bottom-color: transparent;
    }
    5% {
        border-left-color: rgba(168, 85, 247, 1);
        border-top-color: transparent;
        border-right-color: transparent;
        border-bottom-color: transparent;
    }
    8% {
        border-left-color: rgba(168, 85, 247, 1);
        border-top-color: rgba(168, 85, 247, 0);
        border-right-color: transparent;
        border-bottom-color: transparent;
    }
    11% {
        border-left-color: rgba(168, 85, 247, 1);
        border-top-color: rgba(168, 85, 247, 1);
        border-right-color: transparent;
        border-bottom-color: transparent;
    }
    14% {
        border-left-color: rgba(168, 85, 247, 1);
        border-top-color: rgba(168, 85, 247, 1);
        border-right-color: rgba(168, 85, 247, 0);
        border-bottom-color: transparent;
    }
    17% {
        border-left-color: rgba(168, 85, 247, 1);
        border-top-color: rgba(168, 85, 247, 1);
        border-right-color: rgba(168, 85, 247, 1);
        border-bottom-color: transparent;
    }
    20% {
        border-left-color: rgba(168, 85, 247, 1);
        border-top-color: rgba(168, 85, 247, 1);
        border-right-color: rgba(168, 85, 247, 1);
        border-bottom-color: rgba(168, 85, 247, 0);
    }
    25% {
        border-left-color: rgba(168, 85, 247, 1);
        border-top-color: rgba(168, 85, 247, 1);
        border-right-color: rgba(168, 85, 247, 1);
        border-bottom-color: rgba(168, 85, 247, 1);
    }
    95% {
        border-left-color: rgba(168, 85, 247, 1);
        border-top-color: rgba(168, 85, 247, 1);
        border-right-color: rgba(168, 85, 247, 1);
        border-bottom-color: rgba(168, 85, 247, 1);
    }
    100% {
        border-left-color: transparent;
        border-top-color: transparent;
        border-right-color: transparent;
        border-bottom-color: transparent;
    }
}

.headline-line1 {
    display: block;
    opacity: 0;
    animation: fadeInSettle 0.4s ease-out forwards;
}

.headline-line2 {
    display: inline-block;
    padding: 0.1rem 1.1rem;
    border: 2px solid transparent;
    margin-left: calc(14ch - 1.2rem);
    opacity: 0;
    animation: fadeIn 0.4s ease-out 0.6s forwards;
}

.headline-line2.animate-border {
    animation: fadeIn 0.4s ease-out 0.6s forwards, drawBorder 5s cubic-bezier(0.4, 0, 0.2, 1) 0.5s infinite;
}

/* About and Contact sections */
.about, .contact {
    padding: 5rem 2rem;
    max-width: 800px;
    margin: 0 auto;
}

.about h2, .contact h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #4C1D4B;
}

.about p, .contact p {
    font-size: 1.2rem;
    color: #6B7280;
}

/* Footer */
footer {
    background: #4C1D4B;
    color: #FFFFFF;
    text-align: center;
    padding: 2rem;
}

/* Responsive design */
@media (max-width: 768px) {
    .nav-links {
        gap: 1rem;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
}
