:root {
    --bg-color: #0b0d14;
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.08);
    --glass-hover: rgba(255, 255, 255, 0.08);
    --text-main: #f8f9fa;
    --text-muted: #a1aab5;
    --accent-glow: rgba(138, 43, 226, 0.5);
}

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

body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-main);
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    overflow-x: hidden;
    line-height: 1.6;
}

/* Animated Ambient Background Gradients */
body::before, body::after {
    content: '';
    position: fixed;
    border-radius: 50%;
    filter: blur(100px);
    z-index: -1;
    opacity: 0.6;
}

body::before {
    top: -10vw;
    left: -10vw;
    width: 50vw;
    height: 50vw;
    background: radial-gradient(circle, #5A32FA, transparent 60%);
    animation: drift 20s infinite alternate ease-in-out;
}

body::after {
    bottom: -10vw;
    right: -10vw;
    width: 40vw;
    height: 40vw;
    background: radial-gradient(circle, #FF6BEA, transparent 60%);
    animation: drift 25s infinite alternate-reverse ease-in-out;
}

@keyframes drift {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(10vw, 5vw) scale(1.1); }
}

/* Navbar */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem 5%;
    position: relative;
    z-index: 10;
}

.logo {
    font-weight: 800;
    font-size: 1.8rem;
    letter-spacing: -1px;
}

.navbar nav a {
    color: var(--text-main);
    text-decoration: none;
    margin-left: 2rem;
    font-weight: 600;
    transition: color 0.3s ease;
}

.navbar nav a:hover {
    color: #FF6BEA;
}

/* Main Hero Section */
.hero-section {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 2rem 5%;
    z-index: 10;
}

.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 32px;
    padding: 4rem;
    max-width: 800px;
    width: 100%;
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.4);
    position: relative;
    overflow: hidden;
}

/* Subtle inset shadow to emphasize glass depth */
.glass-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
}

.shiny-text {
    font-size: 4rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 2rem;
    letter-spacing: -2px;
    /* Glazed/Shiny Text Effect */
    background: linear-gradient(to right, #FFFFFF, #B9C6D3, #FFFFFF, #B9C6D3);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: shine 5s linear infinite;
}

@keyframes shine {
    to { background-position: 200% center; }
}

.story-text {
    font-size: 1.25rem;
    color: var(--text-muted);
    font-weight: 300;
    margin-bottom: 3.5rem;
}

/* Tools Grid / Link */
.tools-grid {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.tool-card {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: var(--text-main);
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 1.5rem 2rem;
    border-radius: 20px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.tool-card:hover {
    background: var(--glass-hover);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(90, 50, 250, 0.2);
}

.tool-icon {
    font-size: 2.5rem;
    margin-right: 1.5rem;
    /* subtle drop shadow on icon */
    filter: drop-shadow(0 0 10px rgba(255,255,255,0.2));
}

.tool-info h2 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 0.2rem;
}

.tool-info p {
    font-size: 0.95rem;
    color: var(--text-muted);
    font-weight: 300;
}

.arrow {
    margin-left: auto;
    font-size: 1.5rem;
    opacity: 0;
    transform: translateX(-10px);
    transition: all 0.3s ease;
}

.tool-card:hover .arrow {
    opacity: 1;
    transform: translateX(0);
}

/* Standard pages styling */
.page-content {
    max-width: 800px;
    margin: 4rem auto;
    padding: 0 2rem;
}

.page-content h1 {
    font-size: 3rem;
    margin-bottom: 2rem;
}

.page-content h2 {
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: #e2e8f0;
}

.page-content p {
    color: var(--text-muted);
    margin-bottom: 1rem;
}

.page-content a {
    color: #FF6BEA;
    text-decoration: none;
}

.page-content a:hover {
    text-decoration: underline;
}

/* Footer */
footer {
    padding: 3rem 5%;
    text-align: center;
    border-top: 1px solid var(--glass-border);
    margin-top: auto;
    z-index: 10;
    background: rgba(0,0,0,0.2);
}

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

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

.footer-links a:hover {
    color: var(--text-main);
}

.copyright {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.3);
}

@media (max-width: 768px) {
    .shiny-text { font-size: 2.8rem; }
    .glass-card { padding: 2rem; }
    .tool-card { flex-direction: column; text-align: center; }
    .tool-icon { margin-right: 0; margin-bottom: 1rem; }
    .arrow { display: none; }
}
