:root {
    --bg-primary: #0a0f1d;
    --bg-secondary: #141d33;
    --text-main: #ffffff;
    --text-muted: #94a3b8;
    --accent-green: #00e676;
    --accent-blue: #00b0ff;
    --border-color: #1e293b;
    --gradient: linear-gradient(135deg, #ffffff 0%, var(--accent-blue) 100%);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
}

html {
    scroll-behavior: smooth;
}

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

/* Navigation */
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 5%;
    background-color: rgba(10, 15, 29, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    text-decoration: none;
    color: var(--text-main);
    letter-spacing: 1px;
    transition: transform 0.3s ease;
    z-index: 1001;
}

.logo:hover {
    transform: scale(1.05);
}

.logo span {
    color: var(--accent-blue);
}

/* Intelligent Hamburger Menu */
.hamburger {
    display: block;
    cursor: pointer;
    z-index: 1001;
}

.hamburger .bar {
    display: block;
    width: 28px;
    height: 3px;
    margin: 6px auto;
    -webkit-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
    background-color: var(--text-main);
    border-radius: 2px;
}

.hamburger.active .bar:nth-child(2) {
    opacity: 0;
}

.hamburger.active .bar:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

.hamburger.active .bar:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

/* Side Drawer Navigation */
.side-drawer {
    position: fixed;
    top: 0;
    right: -100%;
    width: 320px;
    height: 100vh;
    background-color: rgba(20, 29, 51, 0.98);
    backdrop-filter: blur(15px);
    box-shadow: -5px 0 25px rgba(0, 0, 0, 0.5);
    z-index: 999;
    transition: right 0.4s cubic-bezier(0.77, 0.2, 0.05, 1.0);
    overflow-y: auto;
    border-left: 1px solid var(--border-color);
}

.side-drawer.active {
    right: 0;
}

.drawer-content {
    padding: 7rem 2.5rem 3rem;
    display: flex;
    flex-direction: column;
}

.drawer-link {
    font-size: 1.35rem;
    color: var(--text-main);
    text-decoration: none;
    margin: 0.8rem 0;
    font-weight: 500;
    transition: color 0.3s, padding-left 0.3s;
}

.drawer-link:hover, .drawer-link.active {
    color: var(--accent-green);
    padding-left: 10px;
}

.drawer-title {
    font-size: 0.85rem;
    color: var(--accent-blue);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin: 1.5rem 0 1rem;
    font-weight: 700;
}

.drawer-divider {
    border: none;
    border-top: 1px solid var(--border-color);
    margin: 1.5rem 0;
}

/* Hero Section */
.hero {
    padding: 8rem 5% 6rem;
    text-align: center;
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
}

.tagline {
    color: var(--accent-green);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1rem;
    display: inline-block;
}

h1 {
    font-size: 4rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.subtitle {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 1rem 2rem;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
    margin: 0.5rem;
}

.btn-primary {
    background-color: var(--accent-blue);
    color: #000;
    box-shadow: 0 4px 15px rgba(0, 176, 255, 0.2);
}

.btn-primary:hover {
    background-color: #33bfff;
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 25px rgba(0, 176, 255, 0.4);
}

.btn-secondary {
    background-color: transparent;
    color: var(--accent-green);
    border: 1px solid var(--accent-green);
}

.btn-secondary:hover {
    background-color: rgba(0, 230, 118, 0.1);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 230, 118, 0.2);
}

/* Grid Sections */
.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    padding-top: 4rem;
}

.grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    padding: 0 5% 5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.card {
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 0;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), border-color 0.3s, box-shadow 0.4s;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.card-img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-bottom: 1px solid var(--border-color);
    transition: transform 0.5s ease;
}

.card:hover .card-img {
    transform: scale(1.05);
}

.card-content {
    padding: 2rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    z-index: 2;
    background-color: var(--bg-secondary);
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 0;
    background-color: var(--accent-green);
    transition: height 0.4s ease;
    z-index: 3;
}

.card:hover::before {
    height: 100%;
}

.card:hover {
    transform: translateY(-10px);
    border-color: var(--accent-green);
    box-shadow: 0 15px 30px rgba(0, 230, 118, 0.15);
}

.card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #fff;
    transition: color 0.3s ease;
}

.card:hover h3 {
    color: var(--accent-blue);
}

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

.card-link {
    display: inline-flex;
    align-items: center;
    margin-top: 1.5rem;
    color: var(--accent-blue);
    text-decoration: none;
    font-weight: 600;
    transition: transform 0.3s ease;
    align-self: flex-start;
}

.card-link:hover {
    transform: translateX(5px);
}

.coming-soon-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background-color: rgba(255, 171, 0, 0.95);
    color: #000;
    padding: 0.35rem 1rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    z-index: 4;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

/* Animations */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Footer */
footer {
    border-top: 1px solid var(--border-color);
    padding: 3rem 5%;
    text-align: center;
    color: var(--text-muted);
    margin-top: 4rem;
}

/* Mobile & Tablet Responsiveness */
@media (max-width: 768px) {
    h1 { font-size: 2.5rem; }
    .subtitle { font-size: 1.1rem; }
    .hero { padding: 6rem 5% 4rem; }
    .btn { display: block; width: 100%; margin: 0.5rem 0; }
    .section-title { font-size: 2rem; }
    .side-drawer { width: 100%; } 
}