/* General Styles */
:root {
    --bg-dark: #020617;
    --primary-green: #10b981;
    --primary-glow: rgba(16, 185, 129, 0.4);
    --secondary-glow: rgba(5, 150, 105, 0.2);
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.08);
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    --card-hover: rgba(16, 185, 129, 1);
}

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

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

.bg-mesh {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(circle at 1px 1px, rgba(255,255,255,0.05) 1px, transparent 0);
    background-size: 40px 40px;
    z-index: -2;
}

.glow-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
}

.glow-circle {
    position: absolute;
    width: 60vw;
    height: 60vw;
    filter: blur(120px);
    border-radius: 50%;
    opacity: 0.15;
}

.glow-1 {
    top: -20%;
    right: -10%;
    background: var(--primary-green);
}

.glow-2 {
    bottom: -10%;
    left: -10%;
    background: #059669;
}

/* Header */
header {
    width: 100%;
    padding: 1.5rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    backdrop-filter: blur(15px);
    border-bottom: 1px solid var(--glass-border);
    z-index: 100;
}

header .logo {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-weight: 900;
    font-size: 1.4rem;
    letter-spacing: 2px;
}

header .logo img {
    height: 40px;
}

header nav ul {
    display: flex;
    list-style: none;
    gap: 2rem;
}

header nav a {
    text-decoration: none;
    color: var(--text-muted);
    font-size: 0.9rem;
    font-weight: 500;
    transition: 0.3s;
}

header nav a:hover {
    color: var(--primary-green);
}

/* Button & Card Styles */
.btn {
    padding: 0.8rem 1.8rem;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-primary {
    background: var(--primary-green);
    color: white;
    box-shadow: 0 4px 20px var(--primary-glow);
}

.btn-primary:hover {
    background: #059669;
    transform: translateY(-2px);
    box-shadow: 0 8px 15px var(--primary-glow);
}

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

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

/* Hero Section */
.hero {
    height: 90vh;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 10%;
}

.hero-content {
    max-width: 600px;
}

.hero h1 {
    font-size: 4.5rem;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.hero h1 span {
    background: linear-gradient(to right, #10b981, #dcfce7);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    max-width: 500px;
}

.hero-btns {
    display: flex;
    gap: 1rem;
}

.hero-visual {
    position: relative;
    width: 400px;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.visual-orb {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle at 30% 30%, #10b98144, transparent);
    border: 1px solid var(--glass-border);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
    box-shadow: 0 0 100px var(--secondary-glow);
    animation: floating 6s ease-in-out infinite;
}

.orb-logo {
    width: 150px;
    opacity: 0.8;
}

@keyframes floating {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-30px); }
}

/* Sections */
.section {
    padding: 8rem 5%;
}

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

.section-badge {
    color: var(--primary-green);
    text-transform: uppercase;
    font-weight: 800;
    font-size: 0.8rem;
    letter-spacing: 2px;
    margin-bottom: 1rem;
    display: inline-block;
    padding: 0.3rem 0.8rem;
    background: rgba(16, 185, 129, 0.1);
    border-radius: 4px;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 3rem;
}

/* Cards */
.about-grid, .portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.about-card, .project-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    padding: 2.5rem;
    border-radius: 16px;
    transition: 0.4s;
    position: relative;
    overflow: hidden;
}

.about-card:hover, .project-card:hover {
    transform: translateY(-10px);
    border-color: rgba(16, 185, 129, 0.3);
}

.project-card:hover {
    box-shadow: 0 20px 40px rgba(0,0,0,0.5), 0 0 20px rgba(16, 185, 129, 0.1);
}

.about-card i, .project-icon i {
    color: var(--primary-green);
    margin-bottom: 1.5rem;
    width: 40px;
    height: 40px;
}

.about-card h3, .project-card h3 {
    margin-bottom: 1rem;
    font-size: 1.4rem;
}

.about-card p, .project-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 2rem;
}

.link-btn {
    text-decoration: none;
    color: var(--primary-green);
    font-weight: 600;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: 0.3s;
}

.link-btn:hover {
    gap: 0.8rem;
}

/* Network Info */
.network-section {
    padding: 4rem 10%;
}

.network-card {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.05), transparent);
    border: 1px solid var(--glass-border);
    padding: 3rem;
    border-radius: 24px;
    text-align: center;
}

.network-card h3 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
}

.network-card p {
    color: var(--text-muted);
    max-width: 700px;
    margin: 0 auto 2rem;
}

/* Infrastructure Section */
.infra-content {
    display: flex;
    align-items: center;
    gap: 4rem;
}

.infra-text {
    flex: 1;
}

.infra-image {
    flex: 1;
}

.infra-image img {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 30px 60px rgba(0,0,0,0.6);
}

@media (max-width: 900px) {
    .infra-content {
        flex-direction: column-reverse;
    }
}

/* Footer & Other */
footer {
    padding: 6rem 10% 2rem;
    border-top: 1px solid var(--glass-border);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    margin-bottom: 4rem;
    gap: 4rem;
    flex-wrap: wrap;
}

.footer-brand {
    max-width: 400px;
}

.footer-brand .logo {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
}

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

.footer-links {
    display: flex;
    gap: 4rem;
}

.link-col h4 {
    margin-bottom: 1.5rem;
    font-size: 1rem;
}

.link-col a {
    display: block;
    text-decoration: none;
    color: var(--text-muted);
    margin-bottom: 0.8rem;
    font-size: 0.85rem;
    transition: 0.3s;
}

.link-col a:hover {
    color: var(--primary-green);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--glass-border);
    font-size: 0.75rem;
    color: #475569;
}

/* Responsive */
@media (max-width: 1024px) {
    .hero {
        flex-direction: column;
        justify-content: center;
        text-align: center;
        padding-top: 12rem;
        height: auto;
    }
    .hero h1 { font-size: 3.5rem; }
    .hero p { margin: 0 auto 2.5rem; }
    .hero-btns { justify-content: center; }
    .hero-visual { margin-top: 4rem; width: 300px; height: 300px; }
    .visual-orb { width: 200px; height: 200px; }
}

@media (max-width: 768px) {
    header nav { display: none; }
    .hero h1 { font-size: 2.5rem; }
    .footer-content { flex-direction: column; gap: 3rem; }
}
