:root {
/* Background Animation */
.background-animation {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
    opacity: 0.5;
}

.background-animation svg {
    width: 100%;
    height: 100%;
    color: var(--accent-color);
}
    --primary-color: #ffffff;
    --secondary-color: #f0f0f0;
    --accent-color: #333333;
    --text-color: #000000;
    --grid-color: rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

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

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--primary-color);
    color: var(--text-color);
    line-height: 1.6;
    position: relative;
    overflow-x: hidden;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        linear-gradient(90deg, var(--grid-color) 1px, transparent 1px) 0 0 / 50px 50px,
        linear-gradient(0deg, var(--grid-color) 1px, transparent 1px) 0 0 / 50px 50px;
    opacity: 0.5;
    pointer-events: none;
    z-index: 0;
}

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

/* Hero Section */
.hero {
    min-height: 100vh;
    background-color: var(--primary-color);
    display: flex;
    align-items: flex-start;
    position: relative;
    z-index: 1;
    padding: 10px 0 60px;
    opacity: 0;
    animation: fadeFromWhite 0.5s ease-in-out forwards 2s;
}

.hero-content {
    max-width: 800px;
    text-align: center;
    margin: 0 auto;
    width: 100%;
}

.hero h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.2rem;
    line-height: 1.2;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 1s forwards;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    line-height: 1.4;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 1s 0.3s forwards;
}

/* Button Styles */
.cta-button {
    display: inline-block;
    padding: 1rem 2rem;
    background: var(--accent-color);
    border: none;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    border-radius: 4px;
    transition: var(--transition);
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 1s 0.6s forwards;
    position: relative;
    overflow: hidden;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 2px;
    background: var(--secondary-color);
    transition: var(--transition);
}

.cta-button:hover {
    background: #000000;
    transform: translateY(-2px);
}

.cta-button:hover::before {
    left: 0;
}

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

/* Responsive Design */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }

    .hero p {
        font-size: 1rem;
    }
}

/* Modern Geometric Intro Animation */
.intro-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000000;
    z-index: 1000;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.cursor-container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #ffffff;
    font-family: monospace;
    font-size: 1.5rem;
    opacity: 0;
    animation: fadeIn 0.5s ease-out forwards;
}

.cursor {
    display: inline-block;
    width: 12px;
    height: 20px;
    background: #ffffff;
    margin-left: 4px;
    animation: blink 1s step-end infinite;
}

.typing-text {
    opacity: 0;
    white-space: pre;
    animation: typeText 2.5s steps(20, end) 0.5s forwards;
}

@keyframes blink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0; }
}

@keyframes typeText {
    0% { 
        opacity: 1;
        width: 0;
        overflow: hidden;
    }
    100% { 
        opacity: 1;
        width: 100%;
        overflow: visible;
    }
}

.chart-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000000;
    opacity: 0;
    padding: 20px;
    animation: fadeIn 0.5s ease-out 1s forwards;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.chart-container .intro-text {
    color: #ffffff;
    font-family: monospace;
    font-size: 1.1rem;
    margin-top: 20px;
    text-align: center;
}

.growth-curve {
    width: 85vw;
    height: 85vh;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    padding: 20px;
    border-radius: 4px;
}
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #ffffff;
    opacity: 0;
    padding: 20px;
    animation: fadeIn 1s ease-out 3s forwards,
               fadeToTransparent 1s ease-out 5s forwards;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.chart-container .intro-text {
    color: #000000;
    font-family: monospace;
    font-size: 1.1rem;
    margin-top: 20px;
    text-align: center;
}

.growth-curve {
    width: 85vw;
    height: 85vh;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    box-shadow: 0 0 20px rgba(0,0,0,0.05);
    padding: 20px;
    border-radius: 4px;
}

@keyframes glitchIn {
    0% { opacity: 0; transform: scale(0.8); }
    100% { opacity: 1; transform: scale(1); }
}

@keyframes glitchOut {
    0% { opacity: 1; transform: scale(1); }
    100% { opacity: 0; transform: scale(1.2); }
}

@keyframes fadeIn {
    0% { opacity: 0; }
    100% { opacity: 1; }
}

@keyframes fadeToTransparent {
    0% { opacity: 1; }
    100% { opacity: 0; visibility: hidden; }
}

@keyframes fadeFromWhite {
    0% { opacity: 0; }
    100% { opacity: 1; }
}

.shape {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0;
    animation: initialRotate 0.5s ease-out forwards,
               zoomToFill 2.5s ease-in-out 0.5s forwards;
}

.shape.hexagon {
    width: 60px;
    height: 34px;
    border: 1px solid #333;
    background: white;
    position: relative;
    transform-origin: center;
}

.shape.hexagon::before,
.shape.hexagon::after {
    content: "";
    position: absolute;
    width: 0;
    border-left: 30px solid transparent;
    border-right: 30px solid transparent;
}

.shape.hexagon::before {
    bottom: 100%;
    border-bottom: 17px solid white;
    border-bottom-color: white;
}

.shape.hexagon::after {
    top: 100%;
    border-top: 17px solid white;
    border-top-color: white;
}

.shape.hexagon::before,
.shape.hexagon::after {
    border: 1px solid #333;
}

.intro-text {
    position: absolute;
    width: 100%;
    text-align: center;
    top: 120%;
    left: 50%;
    transform: translateX(-50%);
    font-size: 1.2rem;
    color: var(--accent-color);
    opacity: 0;
    animation: textFadeIn 1s ease-out forwards 1.5s;
}

@keyframes initialRotate {
    0% { 
        opacity: 0;
        transform: translate(-50%, -50%) scale(0.1) rotate(0deg);
    }
    100% { 
        opacity: 1;
        transform: translate(-50%, -50%) scale(1) rotate(360deg);
    }
}

@keyframes zoomToFill {
    0% {
        transform: translate(-50%, -50%) scale(1) rotate(360deg);
    }
    50% {
        transform: translate(-50%, -50%) scale(10) rotate(540deg);
    }
    100% {
        transform: translate(-50%, -50%) scale(50) rotate(720deg);
    }
}

@keyframes fadeOut {
    0% { opacity: 1; visibility: visible; }
    80% { opacity: 1; visibility: visible; }
    100% { opacity: 0; visibility: hidden; }
}

@keyframes textFadeIn {
    0% { 
        opacity: 0; 
        transform: translate(-50%, 20px); 
    }
    100% { 
        opacity: 1; 
        transform: translate(-50%, 0);
    }
}

@keyframes fadeOut {
    0% { opacity: 1; visibility: visible; }
    95% { opacity: 1; visibility: visible; }
    100% { opacity: 0; visibility: hidden; }
}

@keyframes gridRotate {
    0% { transform: translate(-25%, -25%) rotate(0deg); }
    100% { transform: translate(-25%, -25%) rotate(360deg); }
}

@keyframes textReveal {
    0% { 
        opacity: 0;
        transform: translateY(20px);
        letter-spacing: 0;
    }
    100% { 
        opacity: 1;
        transform: translateY(0);
        letter-spacing: 0.5em;
    }
}

@keyframes lineExpand {
    0% { transform: translateX(-50%) scaleX(0); }
    100% { transform: translateX(-50%) scaleX(1); }
}

@keyframes shapeFloat {
    0%, 100% { 
        transform: translateY(0) rotate(0deg);
        opacity: 0.1;
    }
    50% { 
        transform: translateY(-20px) rotate(180deg);
        opacity: 0.2;
    }
}

/* Logo */
.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1001;
    opacity: 0;
    transition: opacity 0.3s ease-in;
}

.logo img {
    width: 40px;
    height: auto;
}

.brand-name {
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    font-size: 1.2rem;
    color: var(--accent-color);
    display: inline-block;
    position: relative;
    z-index: 1001;
}

.pre-headline {
    font-size: 1.1rem;
    font-style: italic;
    color: var(--accent-color);
    margin-bottom: 1rem;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 1s 0.1s forwards;
}

/* Video Container */
.video-container {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    max-width: 100%;
    background: var(--accent-color);
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    margin: 2rem 0 2rem 0;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* Enhanced Responsive Design */
@media (max-width: 1024px) {
    .container {
        padding: 0 1.5rem;
    }
    
    .hero-content {
        max-width: 600px;
    }
}

@media (max-width: 768px) {
    .hero {
        min-height: 80vh;
        padding: 4rem 0;
    }
    
    .video-section {
        padding: 2rem 0;
    }
    
    .logo {
        top: 1rem;
        left: 1rem;
    }
    
    .logo img {
        width: 30px;
        height: 30px;
    }
    
    .brand-name {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero p {
        font-size: 0.9rem;
    }
    
    .cta-button {
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
    }
}

/* Footer Styles */
.site-footer {
    padding: 2rem 0;
    background-color: var(--primary-color);
    border-top: 1px solid var(--grid-color);
    position: relative;
    z-index: 1;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
}

.footer-links a {
    color: var(--accent-color);
    text-decoration: none;
    transition: var(--transition);
    font-size: 0.9rem;
}

.footer-links a:hover {
    color: #000000;
    text-decoration: underline;
}