:root {
    --bg-color: #050505;
    /* Darker black */
    --text-color: #f1f5f9;
    --text-muted: #94a3b8;

    /* New Palette based on Ref Image */
    --brand-primary: #22c55e;
    /* Vibrant Green */
    --brand-primary-dark: #15803d;
    --brand-dark: #0f172a;
    --surface-dark: #0a0a0a;
    --surface-light: #171717;

    --glass-border: rgba(255, 255, 255, 0.08);
    --primary-glow: rgba(34, 197, 94, 0.4);

    --font-main: 'Inter', system-ui, sans-serif;
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: var(--font-main);
    line-height: 1.6;
    overflow-x: hidden;
    /* Gentle grid background pattern */
    background-image: linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.1;
    margin-bottom: 1rem;
    color: white;
}

h1 {
    font-size: 4rem;
    background: linear-gradient(to bottom, #ffffff, #bbf7d0);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 80px rgba(34, 197, 94, 0.2);
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.2s ease;
}

/* Utilities */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.8rem 2rem;
    border-radius: 100px;
    /* Pill shape */
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    border: 1px solid transparent;
    transition: all 0.3s ease;
    text-transform: capitalize;
}

.btn-primary {
    background: var(--brand-primary);
    color: #000;
    box-shadow: 0 0 20px rgba(34, 197, 94, 0.3);
}

.btn-primary:hover {
    background: #4ade80;
    transform: translateY(-2px);
    box-shadow: 0 0 30px rgba(34, 197, 94, 0.5);
}

.btn-outline {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: white;
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: white;
}

/* Header */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(5, 5, 5, 0.7);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--glass-border);
    padding: 1rem 0;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.4rem;
    font-weight: 700;
    color: white;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.nav-links {
    display: flex;
    gap: 2.5rem;
    list-style: none;
    font-size: 0.9rem;
    font-weight: 500;
}

.nav-links a {
    color: var(--text-muted);
}

.nav-links a:hover,
.nav-links a.active {
    color: white;
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    background: var(--brand-cyan);
    border-radius: 50%;
    filter: blur(180px);
    opacity: 0.15;
    top: -200px;
    right: -200px;
    z-index: -1;
}

.hero::after {
    content: '';
    position: absolute;
    width: 500px;
    height: 500px;
    background: var(--brand-pink);
    border-radius: 50%;
    filter: blur(180px);
    opacity: 0.15;
    bottom: -100px;
    left: -150px;
    z-index: -1;
}

.hero-content {
    max-width: 700px;
}

.hero-content p {
    font-size: 1.25rem;
    color: #94a3b8;
    margin-bottom: 2.5rem;
}

/* Services / Features */
.features {
    padding: 5rem 0;
}

.section-title {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title h2 {
    font-size: 2.5rem;
}

.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    padding: 2rem;
    border-radius: 20px;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
}

.card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-color);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.card h3 {
    margin-bottom: 1rem;
    color: var(--primary-color);
}

/* Portfolio Page */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.portfolio-item {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    aspect-ratio: 16/9;
    border: 1px solid var(--glass-border);
}

.portfolio-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.portfolio-item:hover .portfolio-img {
    transform: scale(1.1);
}

.portfolio-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 1.5rem;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9), transparent);
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.portfolio-item:hover .portfolio-overlay {
    transform: translateY(0);
}

/* Admin Panel */
.admin-layout {
    display: flex;
    min-height: 100vh;
}

.sidebar {
    width: 250px;
    background: var(--surface-color);
    border-right: 1px solid var(--glass-border);
    padding: 2rem;
}

.sidebar ul {
    list-style: none;
}

.sidebar li {
    margin-bottom: 1rem;
}

.sidebar a.active {
    color: var(--brand-primary);
    font-weight: bold;
    background: rgba(34, 197, 94, 0.1);
    /* Green tint */
    padding: 0.5rem 1rem;
    border-radius: 8px;
    display: block;
    border-left: 3px solid var(--brand-primary);
}

.admin-content {
    flex: 1;
    padding: 2rem;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.stat-card {
    background: var(--surface-color);
    padding: 1.5rem;
    border-radius: 10px;
    border: 1px solid var(--glass-border);
}

.stat-number {
    font-size: 2rem;
    font-weight: bold;
    color: var(--accent-color);
}

/* Animations */
@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-20px);
    }

    100% {
        transform: translateY(0px);
    }
}

.float-anim {
    animation: float 6s ease-in-out infinite;
}

/* Footer */
footer {
    padding: 3rem 0;
    text-align: center;
    border-top: 1px solid var(--glass-border);
    margin-top: 5rem;
    color: #6b7280;
}