/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;600;700&display=swap');

:root {
    --bg-color: #050505;
    --card-bg: rgba(255, 255, 255, 0.03);
    --text-primary: #ffffff;
    --text-secondary: #a0a0a0;
    --accent-cyan: #00f3ff;
    --accent-purple: #bc13fe;
    --glass-border: rgba(255, 255, 255, 0.1);
    --glow: 0 0 20px rgba(0, 243, 255, 0.3);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-primary);
    overflow-x: hidden;
    line-height: 1.6;
}

/* Navigation */
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 5%;
    background: rgba(5, 5, 5, 0.8);
    backdrop-filter: blur(10px);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid var(--glass-border);
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    background: linear-gradient(45deg, var(--accent-cyan), var(--accent-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: 1px;
}

.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-secondary);
    font-weight: 400;
    transition: color 0.3s ease;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.nav-links a:hover {
    color: var(--accent-cyan);
    text-shadow: 0 0 10px var(--accent-cyan);
}

/* Hero / About Section */
#about {
    height: 80vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0 10%;
    margin-top: 60px;
    background: radial-gradient(circle at 50% 50%, rgba(188, 19, 254, 0.1) 0%, transparent 50%);
}

h1 {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

h1 span {
    color: var(--accent-cyan);
}

.about-text {
    font-size: 1.2rem;
    color: var(--text-secondary);
    max-width: 800px;
    margin-bottom: 3rem;
}

/* Tiles Section */
#tiles {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    padding: 4rem 10%;
}

.tile {
    background: var(--card-bg);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 3rem;
    text-align: center;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.tile::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.05), transparent);
    transform: translateX(-100%);
    transition: 0.5s;
}

.tile:hover::before {
    transform: translateX(100%);
}

.tile:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), 0 0 20px rgba(0, 243, 255, 0.1);
    border-color: var(--accent-cyan);
}

.tile h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.tile p {
    color: var(--text-secondary);
}

/* Stock Data Section */
#stock-data {
    padding: 4rem 10%;
    min-height: 400px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.stock-card {
    background: var(--card-bg);
    border: 1px solid var(--glass-border);
    border-radius: 15px;
    padding: 2rem;
    width: 100%;
    max-width: 600px;
    margin-top: 2rem;
    display: none; /* Hidden by default */
}

.stock-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    border-bottom: 1px solid var(--glass-border);
    padding-bottom: 1rem;
}

.stock-price {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--accent-cyan);
}

.stock-change {
    font-size: 1.2rem;
}

.positive { color: #00ff9d; }
.negative { color: #ff0055; }

.search-container {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
}

input {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    padding: 1rem 1.5rem;
    border-radius: 50px;
    color: white;
    font-family: 'Outfit', sans-serif;
    font-size: 1rem;
    outline: none;
    width: 300px;
    transition: 0.3s;
}

input:focus {
    border-color: var(--accent-purple);
    box-shadow: 0 0 15px rgba(188, 19, 254, 0.2);
}

button {
    background: linear-gradient(45deg, var(--accent-cyan), var(--accent-purple));
    border: none;
    padding: 1rem 2rem;
    border-radius: 50px;
    color: white;
    font-weight: 600;
    cursor: pointer;
    transition: 0.3s;
    font-family: 'Outfit', sans-serif;
}

button:hover {
    transform: scale(1.05);
    box-shadow: 0 0 20px rgba(0, 243, 255, 0.4);
}

/* Footer */
footer {
    text-align: center;
    padding: 2rem;
    color: var(--text-secondary);
    border-top: 1px solid var(--glass-border);
    margin-top: auto;
}

/* Responsive */
@media (max-width: 768px) {
    h1 { font-size: 2.5rem; }
    .nav-links { display: none; } /* Simple hide for mobile for now */
    #about { height: auto; padding: 6rem 5%; }
    .search-container { flex-direction: column; }
    input { width: 100%; }
}
