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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background-color: #0a0a0a;
    color: #ffffff;
    line-height: 1.6;
    overflow-x: hidden;
}

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

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

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

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

.nav-logo a {
    display: flex;
    align-items: center;
    text-decoration: none;
    pointer-events: auto;
    z-index: 10;
}

.logo-image {
    height: 100px;
    width: auto;
    max-width: 120px;
    transition: transform 0.3s ease;
}

.logo-image:hover {
    transform: scale(1.05);
}

.nav-menu {
    display: flex;
    gap: 2rem;
}

.nav-link {
    color: #cccccc;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: #00d4ff;
    transition: width 0.3s ease;
}

.nav-link:hover {
    color: #00d4ff;
}

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

.nav-link.active {
    color: #00d4ff;
}

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

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background: #ffffff;
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a2e 50%, #16213e 100%);
}

.energy-grid {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        linear-gradient(rgba(0, 212, 255, 0.1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 212, 255, 0.1) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: grid-move 20s linear infinite;
}

.data-flow {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 80%, rgba(0, 212, 255, 0.2) 0%, transparent 50%),
                radial-gradient(circle at 80% 20%, rgba(0, 255, 127, 0.2) 0%, transparent 50%);
    animation: flow 15s ease-in-out infinite alternate;
}

.hero-content {
    text-align: center;
    z-index: 10;
    max-width: 800px;
    padding: 0 2rem;
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.title-line {
    display: block;
    color: #ffffff;
    animation: slideInUp 1s ease-out;
}

.title-highlight {
    display: block;
    background: linear-gradient(135deg, #00d4ff, #00ff7f);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: slideInUp 1s ease-out 0.2s both;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: #cccccc;
    margin-bottom: 1rem;
    animation: slideInUp 1s ease-out 0.4s both;
}

.hero-experience {
    font-size: 1rem;
    color: #888888;
    font-style: italic;
    margin-bottom: 2rem;
    animation: slideInUp 1s ease-out 0.6s both;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    animation: slideInUp 1s ease-out 0.8s both;
}

.cta-primary, .cta-secondary {
    padding: 1rem 2rem;
    text-decoration: none;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s ease;
    display: inline-block;
    position: relative;
    overflow: hidden;
}

.cta-primary {
    background: linear-gradient(135deg, #00d4ff, #00ff7f);
    color: #000000;
    box-shadow: 0 10px 30px rgba(0, 212, 255, 0.3);
}

.cta-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(0, 212, 255, 0.4);
}

.cta-secondary {
    background: transparent;
    color: #00d4ff;
    border: 2px solid #00d4ff;
}

.cta-secondary:hover {
    background: #00d4ff;
    color: #000000;
    transform: translateY(-3px);
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    color: #888888;
    animation: bounce 2s infinite;
}

.scroll-arrow {
    width: 20px;
    height: 20px;
    border-right: 2px solid #00d4ff;
    border-bottom: 2px solid #00d4ff;
    transform: rotate(45deg);
    margin: 0 auto 0.5rem;
}

.scroll-text {
    font-size: 0.9rem;
}

/* Introduction Section */
.intro-section {
    padding: 6rem 0;
    background: linear-gradient(135deg, #0f0f1a 0%, #1a1a2e 100%);
}

.intro-pillars {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-top: 3rem;
}

.pillar {
    text-align: center;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    border: 1px solid rgba(0, 212, 255, 0.2);
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.pillar:hover {
    transform: translateY(-10px);
    border-color: #00d4ff;
    box-shadow: 0 20px 40px rgba(0, 212, 255, 0.2);
}

.pillar-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 1rem;
    color: #00d4ff;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pillar-icon svg {
    width: 100%;
    height: 100%;
}

.pillar h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: #ffffff;
}

.pillar p {
    color: #cccccc;
    font-size: 1rem;
}

/* Footer */
.footer {
    background: linear-gradient(135deg, #16213e 0%, #1a1a2e 100%) !important;
    padding: 4rem 0 2rem !important;
    border-top: 1px solid rgba(0, 212, 255, 0.2);
    display: block !important;
}

.footer-content {
    display: flex !important;
    justify-content: center !important;
    align-items: center;
    margin-bottom: 2.7rem !important;
    flex-wrap: wrap;
}

.footer-company-info {
    text-align: center !important;
    max-width: 600px;
}

.footer-company-info h3 {
    color: #ffffff;
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 2.7rem;
    letter-spacing: -0.02em;
}

.footer-address {
    margin-bottom: 2.7rem;
}

.footer-address p {
    color: #cccccc;
    font-size: 0.9rem;
    line-height: 1.6;
    margin: 0;
}

.footer-contact p {
    color: #cccccc;
    font-size: 0.9rem;
    line-height: 1.6;
    margin: 0.3rem 0;
}

.footer-contact p:first-child {
    color: #ffffff;
    font-weight: 500;
    margin-bottom: 1rem;
}

.social-link {
    color: #cccccc;
    text-decoration: none;
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.social-link:hover {
    color: #00d4ff;
}

.social-link svg {
    width: 24px !important;
    height: 24px !important;
    display: block !important;
    transition: transform 0.3s ease;
    fill: currentColor !important;
}

.social-link:hover svg {
    transform: scale(1.1);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #888888;
    font-size: 0.85rem;
}

/* Animations */
@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

@keyframes grid-move {
    0% { transform: translate(0, 0); }
    100% { transform: translate(50px, 50px); }
}

@keyframes flow {
    0% { transform: scale(1) rotate(0deg); }
    100% { transform: scale(1.1) rotate(5deg); }
}

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

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
    40% { transform: translateX(-50%) translateY(-10px); }
    60% { transform: translateX(-50%) translateY(-5px); }
}

/* Responsive Design */
@media (max-width: 768px) {
    .logo-image {
        height: 90px;
        max-width: 110px;
    }
    
    .footer-logo {
        height: 90px;
        max-width: 110px;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: rgba(0, 0, 0, 0.75);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        backdrop-filter: blur(15px);
        padding: 2rem 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-toggle {
        display: flex;
    }

    .nav-toggle.active .bar:nth-child(2) {
        opacity: 0;
    }

    .nav-toggle.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .nav-toggle.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .hero-content {
        padding: 0 1rem;
    }

    .hero-actions {
        flex-direction: column;
        align-items: center;
    }

    .cta-primary, .cta-secondary {
        width: 250px;
        text-align: center;
    }

    .intro-pillars {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer {
        padding: 3rem 0 1.3rem !important;
    }
    
    .footer-content {
        margin-bottom: 2rem;
    }
    
    .footer-company-info h3 {
        font-size: 1.2rem;
        margin-bottom: 2rem;
    }
    
    .footer-address {
        margin-bottom: 2rem;
    }
    
    .footer-address p,
    .footer-contact p {
        font-size: 0.85rem;
    }

    .container {
        padding: 0 1rem;
    }
}

@media (max-width: 480px) {
    .logo-image {
        height: 80px;
        max-width: 100px;
    }
    
    .footer-logo {
        height: 80px;
        max-width: 100px;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .pillar {
        padding: 1.5rem;
    }
}

/* Scroll-triggered animations */
.pillar {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.pillar.animate {
    opacity: 1;
    transform: translateY(0);
}

/* Page-specific styles */
/* Hide footer on main page */
body.main-page .footer {
    display: none !important;
} 