/* ROOT VARIABLES (Matched to your App's Theme) */
:root {
    --bg: #0B0F16;
    --panel: #0F1624;
    --text: #E5EDFF;
    --muted: #8FA3C7;
    --accent: #6EE7FF;
    --accent-glow: rgba(110, 231, 255, 0.4);
    --violet: #8B5CF6;
    --font-main: system-ui, -apple-system, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
    background-color: var(--bg);
    color: var(--text);
    font-family: var(--font-main);
    line-height: 1.6;
    overflow-x: hidden;
}

/* NAVBAR */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 700;
    font-size: 1.2rem;
}

.logo img { height: 32px; width: 32px; border-radius: 50%; object-fit: cover; }

.nav-links a {
    color: var(--muted);
    text-decoration: none;
    margin-left: 24px;
    font-weight: 500;
    transition: color 0.2s;
}

.nav-links a:hover { color: var(--text); }

.nav-links .nav-btn {
    background: rgba(255,255,255,0.1);
    padding: 8px 16px;
    border-radius: 8px;
    color: var(--text);
}

/* HERO SECTION */
.hero {
    text-align: center;
    padding: 80px 20px 40px;
    max-width: 1000px;
    margin: 0 auto;
}

.badge {
    background: rgba(139, 92, 246, 0.15);
    color: var(--violet);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 20px;
    display: inline-block;
}

h1 {
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 20px;
    letter-spacing: -1px;
}

.gradient-text {
    background: linear-gradient(135deg, var(--accent) 0%, var(--violet) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-sub {
    font-size: 1.2rem;
    color: var(--muted);
    max-width: 600px;
    margin: 0 auto 40px;
}

/* BUTTONS */
.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-bottom: 16px;
}

.btn {
    text-decoration: none;
    padding: 14px 28px;
    border-radius: 12px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: transform 0.2s, box-shadow 0.2s;
}

.primary-btn {
    background: var(--accent);
    color: #000;
    box-shadow: 0 0 20px var(--accent-glow);
}

.primary-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 30px var(--accent-glow);
}

.secondary-btn {
    background: var(--panel);
    color: var(--text);
    border: 1px solid rgba(255,255,255,0.1);
}

.secondary-btn:hover { border-color: var(--muted); }

/* FEATURES GRID */
.features {
    padding: 100px 20px;
    background: linear-gradient(to bottom, var(--bg), #080a0f);
}

.section-header { text-align: center; margin-bottom: 60px; }
.section-header h2 { font-size: 2.5rem; margin-bottom: 10px; }
.section-header p { color: var(--muted); font-size: 1.1rem; }

.grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.feature-card {
    background: rgba(255,255,255,0.03);
    padding: 30px;
    border-radius: 20px;
    border: 1px solid rgba(255,255,255,0.05);
    transition: transform 0.3s;
}

.feature-card:hover {
    transform: translateY(-5px);
    background: rgba(255,255,255,0.05);
}

.icon-box {
    width: 50px; height: 50px;
    background: rgba(110, 231, 255, 0.1);
    color: var(--accent);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    margin-bottom: 20px;
}

.feature-card h3 { margin-bottom: 10px; }
.feature-card p { color: var(--muted); font-size: 0.95rem; }

/* CTA & FOOTER */
.cta {
    text-align: center;
    padding: 100px 20px;
}

footer {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: 60px 20px 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    margin-bottom: 40px;
}

/* UPDATED FOOTER LAYOUT (ICONS ON RIGHT) */
.footer-right { 
    display: flex; 
    justify-content: flex-end; /* Pushes the icons to the far right */
    align-items: center; 
}

.copyright {
    text-align: center;
    font-size: 0.8rem;
    color: #444;
}

/* MOBILE RESPONSIVENESS */
@media (max-width: 768px) {
    h1 { font-size: 2.5rem; }
    .hero-buttons { flex-direction: column; }
    
    .footer-content { 
        flex-direction: column; 
        gap: 20px; 
        text-align: center; 
    }
    
    .footer-right { 
        justify-content: center; /* Center icons on mobile */
        width: 100%;
    }
    
    .card { 
        justify-content: center; 
    }
}

/* HERO GRAPHIC - VISUAL MACRO PAD */
.hero-graphic {
    margin-top: 50px;
    display: flex;
    justify-content: center;
    perspective: 1000px;
}

.abstract-pad {
    display: grid;
    grid-template-columns: repeat(3, 80px); /* 3 columns for your 12 keys */
    gap: 15px;
    background: var(--panel);
    padding: 30px;
    border-radius: 20px;
    border: 1px solid rgba(110, 231, 255, 0.2);
    box-shadow: 0 20px 50px rgba(0,0,0,0.5), 0 0 20px var(--accent-glow);
    transform: rotateX(15deg) rotateY(-10deg);
    transition: transform 0.5s ease;
}

.abstract-pad:hover {
    transform: rotateX(5deg) rotateY(0deg);
}

.key-glow {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
}

.key-glow::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: radial-gradient(circle at center, var(--accent-glow) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.3s;
}

.key-glow:hover::after {
    opacity: 1;
}

/* ========================================= */
/* SOCIAL CARD STYLING (5 ICONS)             */
/* ========================================= */
.card {
    width: fit-content;
    height: fit-content;
    background-color: transparent;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 15px 0;
    gap: 15px; /* Spacing between icons */
}

/* For all social containers */
.socialContainer {
    width: 45px;
    height: 45px;
    background-color: var(--panel);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    transition-duration: 0.3s;
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,0.1);
    box-shadow: 0 4px 6px rgba(0,0,0,0.3);
    text-decoration: none; /* Removed underline from links */
}

/* Instagram Hover (Pink) */
.containerOne:hover {
    background-color: #d62976;
    transition-duration: 0.3s;
    transform: translateY(-5px);
}

/* X Hover (Black) */
.containerTwo:hover {
    background-color: #000000;
    border-color: #333;
    transition-duration: 0.3s;
    transform: translateY(-5px);
}

/* Email Hover (Blue/Cyan) */
.containerThree:hover {
    background-color: var(--accent);
    transition-duration: 0.3s;
    transform: translateY(-5px);
    box-shadow: 0 0 15px var(--accent-glow);
}

/* GitHub Hover (Purple) */
.containerFour:hover {
    background-color: #8B5CF6; 
    transition-duration: 0.3s;
    transform: translateY(-5px);
}

/* Documentation Hover (Green) */
.containerFive:hover {
    background-color: #10B981; 
    transition-duration: 0.3s;
    transform: translateY(-5px);
}

.socialContainer:active {
    transform: scale(0.9);
    transition-duration: 0.3s;
}

.socialSvg {
    width: 20px;
    height: 20px;
}

.socialSvg path {
    fill: rgb(255, 255, 255);
}

.socialContainer:hover .socialSvg {
    animation: slide-in-top 0.3s both;
}

@keyframes slide-in-top {
    0% { transform: translateY(-50px); opacity: 0; }
    100% { transform: translateY(0); opacity: 1; }
}
