:root {
    --bg-color: #ECECEA;
    --text-main: #1C1C1E;
    --text-muted: #555555;
    --accent-1: #00A676; /* Emerald Green */
    --accent-2: #0FE3A3; /* Light Green */
    --glass-bg: rgba(255, 255, 255, 0.5);
    --glass-border: rgba(255, 255, 255, 0.8);
    --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.05);
}

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

html {
    scroll-behavior: smooth;
}

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

/* Background gradient effect */
body::before {
    content: '';
    position: fixed;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at 50% 50%, rgba(0, 166, 118, 0.15) 0%, rgba(15, 227, 163, 0.12) 25%, transparent 50%);
    z-index: -1;
    pointer-events: none;
}

p {
    color: var(--text-muted);
}

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

/* Glassmorphism utility */
.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    box-shadow: var(--glass-shadow);
}

/* Navigation */
header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 100;
    padding: 20px 0;
    transition: all 0.3s ease;
}

header.scrolled {
    background: rgba(236, 236, 234, 0.8);
    backdrop-filter: blur(12px);
    padding: 15px 0;
    border-bottom: 1px solid var(--glass-border);
}

nav {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 5%;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--accent-1);
    gap: 12px;
    letter-spacing: -0.5px;
}

.logo-square {
    display: block;
    width: 32px;
    height: 32px;
    background-color: var(--accent-1);
    border-radius: 8px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-links a {
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: var(--accent-1);
}

.nav-links a.btn-nav {
    padding: 10px 24px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 50px;
    transition: all 0.3s ease;
}

.nav-links a.btn-nav:hover {
    background: rgba(255,255,255,0.8);
    transform: translateY(-2px);
}

/* Buttons */
.btn-primary {
    display: inline-block;
    padding: 14px 32px;
    background: linear-gradient(135deg, var(--accent-1), var(--accent-2));
    color: white;
    font-weight: 600;
    border-radius: 50px;
    border: none;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 25px rgba(139, 92, 246, 0.4);
}

.btn-secondary {
    display: inline-block;
    padding: 14px 32px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    color: var(--text-main);
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background: rgba(255,255,255,0.8);
    transform: translateY(-3px);
}

.full-width {
    width: 100%;
}

/* Typography elements */
h1 {
    font-size: clamp(3rem, 5vw, 5rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -1px;
    margin-bottom: 1.5rem;
}

h1 span {
    background: linear-gradient(135deg, var(--accent-1), var(--accent-2));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    margin-bottom: 1rem;
    letter-spacing: -0.5px;
}

/* Layout */
main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 5%;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 80px;
    gap: 4rem;
}

.hero-content {
    flex: 1;
}

.hero-content p {
    font-size: 1.1rem;
    max-width: 500px;
    margin-bottom: 2.5rem;
}

.cta-group {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-visual {
    flex: 1;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Abstract shapes for hero */
.abstract-shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    z-index: -1;
    animation: drift 10s infinite alternate ease-in-out;
}

.shape-1 {
    width: 300px;
    height: 300px;
    background: rgba(0, 166, 118, 0.3);
    top: 10%;
    right: 10%;
}

.shape-2 {
    width: 250px;
    height: 250px;
    background: rgba(15, 227, 163, 0.3);
    bottom: 0;
    left: 10%;
    animation-delay: -5s;
}

@keyframes drift {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(30px, -50px) scale(1.1); }
}

/* Mockup Card */
.mockup-card {
    width: 100%;
    max-width: 400px;
    padding: 1.5rem;
    transform: perspective(1000px) rotateY(-5deg) rotateX(5deg);
    transition: transform 0.5s ease;
}

.mockup-card:hover {
    transform: perspective(1000px) rotateY(0deg) rotateX(0deg) translateY(-10px);
}

.mockup-header {
    display: flex;
    gap: 6px;
    margin-bottom: 1.5rem;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}
.dot.red { background: #ef4444; }
.dot.yellow { background: #f59e0b; }
.dot.green { background: #10b981; }

.mockup-body .line {
    height: 12px;
    background: rgba(0,0,0,0.15);
    border-radius: 6px;
    margin-bottom: 12px;
}

.w-70 { width: 70%; }
.w-50 { width: 50%; }
.w-80 { width: 80%; }

.progress-bar {
    height: 6px;
    background: rgba(0,0,0,0.1);
    border-radius: 3px;
    margin-top: 2rem;
    overflow: hidden;
}

.progress.fill {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, var(--accent-1), var(--accent-2));
    animation: loadProgress 2s ease-out forwards;
    animation-delay: 1s;
}

@keyframes loadProgress {
    to { width: 100%; }
}

.status-text {
    font-size: 0.8rem;
    color: #10b981;
    margin-top: 8px;
    text-align: right;
    font-family: monospace;
}

/* Services */
.services {
    padding: 100px 0;
}

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

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

.service-card {
    padding: 2.5rem;
    transition: transform 0.3s ease, background 0.3s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.8);
}

.service-card .icon {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    background: var(--glass-bg);
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    border: 1px solid var(--glass-border);
}

.service-card h3 {
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

/* Contact */
.contact {
    padding: 100px 0 150px;
    display: flex;
    justify-content: center;
}

.contact-container {
    width: 100%;
    max-width: 600px;
    padding: 3rem;
    text-align: center;
}

.contact-container p {
    margin-bottom: 2rem;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.input-group {
    position: relative;
    text-align: left;
}

.input-group input,
.input-group textarea {
    width: 100%;
    background: rgba(255,255,255,0.6);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    padding: 16px;
    color: var(--text-main);
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.input-group input:focus,
.input-group textarea:focus {
    outline: none;
    border-color: var(--accent-1);
    box-shadow: 0 0 0 2px rgba(0, 166, 118, 0.3);
}

.input-group label {
    position: absolute;
    left: 16px;
    top: 16px;
    color: var(--text-muted);
    transition: all 0.2s ease;
    pointer-events: none;
}

/* Floating label effect */
.input-group input:focus ~ label,
.input-group input:not(:placeholder-shown) ~ label,
.input-group textarea:focus ~ label,
.input-group textarea:not(:placeholder-shown) ~ label {
    top: -10px;
    left: 12px;
    font-size: 0.8rem;
    background: var(--bg-color);
    padding: 0 4px;
    color: var(--accent-1);
}

/* Footer */
footer {
    border-top: 1px solid var(--glass-border);
    padding: 2rem 0;
    text-align: center;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

/* Custom Cursor Glow */
.cursor-glow {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(0, 166, 118, 0.2) 0%, transparent 70%);
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    transform: translate(-50%, -50%);
    z-index: 9999;
    opacity: 0;
    transition: opacity 0.3s ease;
}

/* Animations */
.reveal, .reveal-text, .fade-in, .fade-in-delay, .fade-in-delay-long {
    opacity: 0;
}

.reveal.active {
    animation: slideUp 0.8s ease forwards;
}

.reveal-text {
    animation: slideUp 0.8s ease forwards;
}

.fade-in {
    animation: fadeIn 0.8s ease forwards;
    animation-delay: 0.2s;
}

.fade-in-delay {
    animation: fadeIn 0.8s ease forwards;
    animation-delay: 0.4s;
}

.fade-in-delay-long {
    animation: fadeIn 0.8s ease forwards;
    animation-delay: 0.6s;
}

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

@keyframes slideUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Responsive */
@media (max-width: 768px) {
    .hero {
        flex-direction: column;
        text-align: center;
        padding-top: 120px;
    }
    
    .cta-group {
        justify-content: center;
    }

    .nav-links {
        display: none;
    }

    h1 {
        font-size: 2.5rem;
    }
    
    .contact-container {
        padding: 2rem 1.5rem;
    }
}
