/* Modern CSS Reset & Variables */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

:root {
    --bg-color: #0b0f19;
    --card-bg: #1e293b;
    --text-color: #f8fafc;
    --text-muted: #94a3b8;
    --accent-glow: linear-gradient(135deg, #00f2fe 0%, #4facfe 100%);
    --neon-pink: #ff007f;
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Header / Navigation */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem 5%;
    background: rgba(11, 15, 25, 0.8);
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 100;
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    background: var(--accent-glow);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

nav a {
    color: var(--text-color);
    text-decoration: none;
    margin-left: 2rem;
    font-weight: 500;
    transition: color 0.3s;
}

nav a:hover {
    color: #00f2fe;
}

/* Hero Section */
.hero {
    min-height: 80vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0 1rem;
    position: relative;
}

/* Ambient background glow effect */
.hero::before {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    background: #4facfe;
    filter: blur(150px);
    opacity: 0.2;
    z-index: -1;
}

.hero h1 {
    font-size: 4rem;
    font-weight: 800;
    letter-spacing: -1px;
    margin-bottom: 1rem;
    line-height: 1.1;
}

.hero h1 span {
    background: var(--accent-glow);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

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

/* Cool Glassmorphism Button */
.cta-btn {
    background: var(--accent-glow);
    color: #fff;
    padding: 0.8rem 2.5rem;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(0, 242, 254, 0.4);
    transition: transform 0.2s, box-shadow 0.2s;
}

.cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 242, 254, 0.6);
}

/* Features Section Grid */
.features {
    padding: 1rem 5% 5rem 5%; /* Top, Right, Bottom, Left */
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 300px)); /* Max 400px per card */
    gap: 2rem;
    justify-content: center; /* Centers the cards on the screen if they don't fill the row */
}

/* Interactive Cards */
.card {
    background-color: var(--card-bg);
    padding: 2.5rem;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: transform 0.3s, border-color 0.3s;
    text-decoration: none; /* Removes underline if the card is an anchor link */
    color: inherit;        /* Keeps original white/muted colors instead of turning blue */
    display: block;        /* Ensures the block fills the layout correctly */
}

.card:hover {
    transform: translateY(-5px);
    border-color: #00f2fe;
}

.card-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
}

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

.card p {
    color: var(--text-muted);
}

/* Footer */
footer {
    text-align: center;
    padding: 3rem;
    color: var(--text-muted);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero h1 { font-size: 2.5rem; }
    header { flex-direction: column; gap: 1rem; }
    nav a { margin: 0 1rem; }
}
