:root {
    --bg-light: #f8fafc;
    --bg-card: #ffffff;
    --primary: #198754;
    --secondary: #10b981;
    --accent: #059669;
    --text-main: #212529;
    --text-muted: #6c757d;
    --glass-border: rgba(33, 37, 41, 0.08);
    --glass-bg: rgba(255, 255, 255, 0.85);
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.05), 0 4px 6px -2px rgba(0, 0, 0, 0.02);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.06), 0 10px 10px -5px rgba(0, 0, 0, 0.03);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Roboto', sans-serif;
    background-color: var(--bg-light);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6, .brand {
    font-family: 'Outfit', sans-serif;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

/* Utility Classes */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.gradient-text {
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

/* Navbar */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: #212529;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    transition: all 0.3s ease;
}

nav.scrolled {
    background: #212529;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.15);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.brand {
    font-size: 1.8rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #ffffff;
}

.brand i {
    color: var(--primary);
    font-size: 2rem;
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    color: #94a3b8;
    transition: color 0.3s ease;
    position: relative;
    text-transform: uppercase;
}

.nav-links a:hover {
    color: #ffffff;
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-container .btn {
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
}

.btn {
    padding: 0.8rem 1.5rem;
    border-radius: 4px;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.2);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(37, 99, 235, 0.4);
}

.btn-outline {
    background: transparent;
    border: 1px solid var(--primary);
    color: var(--primary);
}

.btn-outline:hover {
    background: rgba(25, 135, 84, 0.05);
    transform: translateY(-2px);
}

/* Hero Section */
.hero {
    padding: 8rem 0 4rem;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
    background-color: #f5f5f7;
}

.hero::before {
    content: '';
    position: absolute;
    top: -20%;
    left: -10%;
    width: 50%;
    height: 50%;
    background: radial-gradient(circle, rgba(25, 135, 84, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    filter: blur(60px);
    z-index: 1;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -20%;
    right: -10%;
    width: 50%;
    height: 50%;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    filter: blur(60px);
    z-index: 1;
}

.hero-content {
    max-width: 1000px;
    text-align: center;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.hero-top-tag {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--primary);
    letter-spacing: 4px;
    text-transform: uppercase;
}

.hero h1 {
    font-size: 4rem;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: -1.5px;
    color: var(--text-main);
}

.hero-showcase {
    width: 100%;
    max-width: 1200px;
    margin: 1rem auto;
    text-align: center;
}

.hero-showcase img {
    width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
}

.hero-bottom-tag {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 1.5rem;
    letter-spacing: -0.5px;
}

.hero-btns {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 1.2rem;
}

.hero-subtext {
    font-size: 0.95rem;
    color: var(--text-muted);
}

/* Services Section */
.services {
    padding: 8rem 0;
    position: relative;
    background-color: var(--bg-light);
}

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

.service-card {
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    border-radius: 4px;
    padding: 2.5rem;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(25, 135, 84, 0.02) 0%, transparent 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.service-card:hover {
    transform: translateY(-8px);
    border-color: rgba(25, 135, 84, 0.2);
    box-shadow: var(--shadow-lg);
}

.service-card:hover::before {
    opacity: 1;
}

.service-icon {
    width: 60px;
    height: 60px;
    background: rgba(25, 135, 84, 0.08);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 1.5rem;
    border: 1px solid rgba(25, 135, 84, 0.15);
    transition: all 0.4s ease;
}

.service-card:hover .service-icon {
    background: var(--primary);
    color: #ffffff;
    transform: scale(1.1) rotate(5deg);
}

.service-card h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    color: var(--text-main);
}

.service-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
}

.service-card a {
    color: var(--primary);
    font-size: 0.9rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: gap 0.3s ease;
}

.service-card a:hover {
    gap: 0.8rem;
}

/* Features Section */
.features {
    padding: 8rem 0;
    background: #f1f5f9;
    border-top: 1px solid var(--glass-border);
    border-bottom: 1px solid var(--glass-border);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    text-align: center;
}

.feature-item {
    padding: 2rem;
}

.feature-item i {
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 1rem;
}

.feature-item h4 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: var(--text-main);
}

.feature-item p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* CTA Section */
.cta {
    padding: 8rem 0;
    text-align: center;
    background-color: var(--bg-light);
}

.cta-box {
    background: linear-gradient(135deg, rgba(25, 135, 84, 0.05) 0%, rgba(16, 185, 129, 0.05) 100%);
    border: 1px solid rgba(25, 135, 84, 0.1);
    border-radius: 4px;
    padding: 5rem 3rem;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.cta-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjAiIGhlaWdodD0iMjAiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGNpcmNsZSBjeD0iMiIgY3k9IjIiIHI9IjIiIGZpbGw9InJnYmEoMjUsIDEzNSwgODQsIDAuMDQpIi8+PC9zdmc+');
    opacity: 0.5;
}

.cta-box h2 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    position: relative;
    color: var(--text-main);
}

.cta-box p {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    max-width: 600px;
    margin-inline: auto;
    position: relative;
}

.cta-box .btn {
    position: relative;
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
}

/* Footer */
footer {
    background: #212529;
    color: #94a3b8;
    padding: 4rem 0 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 4rem;
    margin-bottom: 3rem;
}

.footer-brand .brand {
    color: #ffffff;
}

.footer-brand p {
    color: #94a3b8;
    margin-top: 1.5rem;
    font-size: 0.95rem;
}

.footer-title {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    color: #ffffff;
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: #94a3b8;
    transition: color 0.3s;
    font-size: 0.95rem;
}

.footer-links a:hover {
    color: var(--secondary);
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.03);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    transition: all 0.3s;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.social-links a:hover {
    background: var(--primary);
    color: #ffffff;
    transform: translateY(-3px);
    border-color: var(--primary);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    color: #64748b;
    font-size: 0.9rem;
}

/* Hero Search Bar */
.hero-search {
    display: flex;
    max-width: 600px;
    margin: 2.5rem auto 0;
    border: 1px solid var(--glass-border);
    border-radius: 4px;
    overflow: hidden;
    background: #ffffff;
    box-shadow: var(--shadow-md);
    position: relative;
    z-index: 10;
}

.hero-search input {
    flex: 1;
    border: none;
    padding: 1rem 1.5rem;
    font-size: 1rem;
    font-family: inherit;
    outline: none;
    color: var(--text-main);
    background: transparent;
}

.hero-search input::placeholder {
    color: #94a3b8;
}

.hero-search .btn {
    border-radius: 0;
    padding: 1rem 2rem;
    font-size: 1rem;
    box-shadow: none;
}

.hero-search .btn:hover {
    transform: none;
}

/* Responsive */
@media (max-width: 992px) {
    .hero h1 { font-size: 3rem; }
    .features-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    .nav-links { display: none; }
    .hero h1 { font-size: 2.5rem; }
    .hero-btns { flex-direction: column; }
    .hero-search { margin-top: 2rem; }
    .hero-search input { padding: 0.8rem 1rem; font-size: 0.9rem; }
    .hero-search .btn { padding: 0.8rem 1.2rem; font-size: 0.9rem; }
    .features-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
    .cta-box { padding: 3rem 1.5rem; }
    .cta-box h2 { font-size: 2rem; }
}

/* Animations */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

.animate-up {
    animation: fadeInUp 0.8s ease forwards;
    opacity: 0;
}

.delay-1 { animation-delay: 0.2s; }
.delay-2 { animation-delay: 0.4s; }
.delay-3 { animation-delay: 0.6s; }
