/* Global Styles & Variables */
:root {
    --primary: #13ec5b;
    --primary-hover: #0fd450;
    --bg-light: #f6f8f6;
    --bg-dark: #102216;
    --surface-light: #ffffff;
    --surface-dark: #1c2e24;
    --text-main: #111813;
    --text-muted: #61896f;
    --text-muted-dark: #a3b8ac;
    --white: #ffffff;
    --black: #000000;
    
    --font-display: 'Manrope', sans-serif;
    --font-body: 'Noto Sans', sans-serif;
    
    --radius-sm: 0.25rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    --radius-full: 9999px;
    
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-glow: 0 0 20px rgba(19, 236, 91, 0.3);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-display);
    background-color: var(--bg-light);
    color: var(--text-main);
    line-height: 1.5;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

body.dark {
    background-color: var(--bg-dark);
    color: var(--white);
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.2s;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

/* Utilities */
.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.flex { display: flex; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.gap-2 { gap: 0.5rem; }
.gap-4 { gap: 1rem; }
.gap-6 { gap: 1.5rem; }
.gap-8 { gap: 2rem; }
.w-full { width: 100%; }
.h-full { height: 100%; }
.relative { position: relative; }
.absolute { position: absolute; }
.hidden { display: none; }

@media (min-width: 768px) {
    .md-flex { display: flex; }
    .md-hidden { display: none; }
    .md-block { display: block; }
    .md-grid-2 { grid-template-columns: repeat(2, 1fr); }
    .md-grid-3 { grid-template-columns: repeat(3, 1fr); }
    .md-px-10 { padding-left: 2.5rem; padding-right: 2.5rem; }
    .md-py-32 { padding-top: 8rem; padding-bottom: 8rem; }
    .md-text-6xl { font-size: 3.75rem; }
    .md-flex-row { flex-direction: row; }
}

@media (min-width: 1024px) {
    .lg-grid-2 { grid-template-columns: repeat(2, 1fr); }
    .lg-grid-4 { grid-template-columns: repeat(4, 1fr); }
    .lg-grid-5 { grid-template-columns: repeat(5, 1fr); }
}

.grid {
    display: grid;
    gap: 1.5rem;
}

.grid-cols-1 { grid-template-columns: 1fr; }

/* Typography */
.text-primary { color: var(--primary); }
.text-white { color: var(--white); }
.text-muted { color: var(--text-muted); }
.font-bold { font-weight: 700; }
.font-extra-bold { font-weight: 800; }
.text-center { text-align: center; }
.text-xl { font-size: 1.25rem; }
.text-2xl { font-size: 1.5rem; }
.text-3xl { font-size: 1.875rem; }
.text-4xl { font-size: 2.25rem; }
.leading-tight { line-height: 1.25; }

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 1.5rem;
    height: 3.5rem;
    border-radius: var(--radius-xl);
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s;
    border: none;
    font-size: 1rem;
    gap: 0.5rem;
}

.btn-primary {
    background-color: var(--primary);
    color: var(--bg-dark);
    box-shadow: var(--shadow-glow);
}

.btn-primary:hover {
    background-color: var(--primary-hover);
    transform: scale(1.05);
}

.btn-outline {
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
}

.btn-outline:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

.btn-sm {
    height: 2.5rem;
    padding: 0 1rem;
    font-size: 0.875rem;
    border-radius: var(--radius-lg);
}

/* Sections */
.section-hero {
    min-height: 80vh;
    display: flex;
    align-items: center;
    background-size: cover;
    background-position: center;
    position: relative;
    padding: 5rem 0;
}

.section-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(rgba(16, 34, 22, 0.6), rgba(16, 34, 22, 0.8));
    z-index: 0;
}

.glass-nav {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 100;
}

.dark .glass-nav {
    background: rgba(16, 34, 22, 0.9);
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

/* Cards */
.card {
    background-color: var(--surface-light);
    border: 1px solid #e5e7eb;
    border-radius: var(--radius-2xl);
    padding: 2rem;
    transition: all 0.3s;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    position: relative;
    overflow: hidden;
}

.dark .card {
    background-color: var(--surface-dark);
    border-color: rgba(255,255,255,0.05);
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(19, 236, 91, 0.5);
}

.icon-box {
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 50%;
    background: rgba(19, 236, 91, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    transition: 0.3s;
}

.card:hover .icon-box {
    background: var(--primary);
    color: var(--bg-dark);
}

/* Form Styles */
.form-input {
    width: 100%;
    height: 3rem;
    border-radius: var(--radius-lg);
    border: 1px solid #dbe6df;
    padding: 0 1rem;
    font-family: inherit;
    background: transparent;
    transition: 0.2s;
}

.dark .form-input {
    border-color: rgba(255,255,255,0.2);
    color: white;
}

.form-input:focus {
    border-color: var(--primary);
    outline: none;
    box-shadow: 0 0 0 2px rgba(19, 236, 91, 0.2);
}

/* Floating WhatsApp */
.floating-wa {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background-color: #25D366;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    z-index: 200;
    font-size: 2rem;
    transition: transform 0.2s;
}

.floating-wa:hover {
    transform: scale(1.1);
}

/* Footer */
.footer {
    background-color: var(--surface-light);
    border-top: 1px solid #dbe6df;
    padding: 4rem 1rem 2rem;
}

.dark .footer {
    background-color: var(--bg-dark);
    border-color: rgba(255,255,255,0.1);
}

/* Admin Styles */
.admin-layout {
    display: flex;
    min-height: 100vh;
}

.sidebar {
    width: 260px;
    background: var(--bg-dark);
    color: white;
    padding: 1.5rem;
    flex-shrink: 0;
}

.sidebar-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    color: rgba(255,255,255,0.7);
    border-radius: var(--radius-lg);
    margin-bottom: 0.5rem;
}

.sidebar-link:hover, .sidebar-link.active {
    background: var(--primary);
    color: var(--bg-dark);
    font-weight: 700;
}

.admin-main {
    flex: 1;
    background: #f3f4f6;
    padding: 2rem;
}

.admin-card {
    background: white;
    border-radius: var(--radius-xl);
    padding: 1.5rem;
    box-shadow: var(--shadow-sm);
}

table {
    width: 100%;
    border-collapse: collapse;
}

th, td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid #e5e7eb;
}

th {
    font-weight: 600;
    color: #6b7280;
}
