@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

:root {
    --bg-main: #080a12;
    --bg-card: rgba(18, 25, 45, 0.45);
    --text-main: #f0f4ff;
    --text-muted: #7a829e;
    --primary-color: #00f593; 
    --border-glass: rgba(255, 255, 255, 0.06);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-main);
    color: var(--text-main);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background-image: radial-gradient(circle at 50% 0%, rgba(0, 245, 147, 0.03) 0%, transparent 60%);
}

/* HEADER */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 50px;
    border-bottom: 1px solid rgba(255,255,255,0.04);
    backdrop-filter: blur(8px);
}

.brand {
    display: flex;
    align-items: center;
}

/* NEW LOGO STYLES */
.header-logo {
    height: 32px; /* Adjust this to match your actual logo size */
    width: auto;
    display: block;
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-muted);
    font-size: 14px;
    font-weight: 500;
    transition: color 0.2s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.nav-links a:hover, .nav-links a.active {
    color: var(--primary-color);
}

.header-cta {
    background-color: #ffffff;
    color: #080a12;
    padding: 10px 24px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 700;
    font-size: 13px;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.2s ease;
}

.header-cta:hover {
    transform: scale(1.03);
    box-shadow: 0 0 20px rgba(255,255,255,0.1);
}

.header-cta i {
    transform: rotate(-45deg);
    font-size: 12px;
}

/* MAIN */
main {
    flex: 1;
    padding: 40px 50px;
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
}

.page-title {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 40px;
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text-muted);
}

.page-title span {
    color: var(--text-main);
}

.page-title svg {
    fill: none;
    stroke: var(--primary-color);
    stroke-width: 2.5;
    width: 28px;
    height: 28px;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* GRID SYSTEM */
.grid-system {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 20px;
}

.grid-card {
    background: var(--bg-card);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--border-glass);
    border-radius: 16px;
    padding: 28px;
    text-decoration: none;
    color: var(--text-main);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 170px;
    position: relative;
}

.grid-card:hover {
    transform: translateY(-6px);
    border-color: rgba(0, 245, 147, 0.3);
    box-shadow: 0 15px 40px rgba(0,0,0,0.4);
}

.grid-card svg {
    fill: none;
    stroke: var(--primary-color);
    stroke-width: 2.5;
    width: 26px;
    height: 26px;
    stroke-linecap: round;
    stroke-linejoin: round;
    margin-bottom: 16px;
}

.card-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.card-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 8px;
}

.card-desc {
    color: var(--text-muted);
    font-size: 14px;
    line-height: 1.6;
}

.card-arrow {
    color: var(--text-muted);
    font-size: 14px;
    opacity: 0;
    transition: all 0.3s ease;
}

.grid-card:hover .card-arrow {
    opacity: 1;
    color: var(--primary-color);
    transform: translateX(6px);
}

/* FULL WIDTH ROW */
.grid-full {
    grid-column: 1 / -1;
    min-height: 120px;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 20px 40px;
}

.grid-full svg {
    margin-bottom: 0;
    width: 32px;
    height: 32px;
}

.full-text {
    display: flex;
    flex-direction: column;
    gap: 4px;
    flex: 1;
    margin-left: 20px;
}

.full-text .card-title {
    margin-bottom: 0;
}

.full-text .card-desc {
    max-width: 70%;
}

/* FOOTER */
footer {
    padding: 20px 50px;
    border-top: 1px solid rgba(255,255,255,0.04);
    display: flex;
    justify-content: space-between;
    color: #3b4158;
    font-size: 13px;
    margin-top: 20px;
}

@media (max-width: 1024px) {
    .grid-system { grid-template-columns: 1fr 1fr; }
    .grid-full { grid-column: auto; flex-direction: column; align-items: flex-start; gap: 15px; min-height: auto;}
    .full-text .card-desc { max-width: 100%; }
}

@media (max-width: 768px) {
    header { padding: 15px 20px; flex-wrap: wrap; gap: 15px; }
    .nav-links { gap: 15px; flex-wrap: wrap; justify-content: center;}
    main { padding: 20px; }
    .grid-system { grid-template-columns: 1fr; }
    footer { flex-direction: column; align-items: center; gap: 8px; text-align: center; }
}