:root {
    --primary: #16716c;
    --primary-dark: #0f5a56;
    --primary-light: #1a8c86;
    --secondary: #064652;
    --secondary-dark: #04333d;
    --accent: #ee8227;
    --accent-light: #f19e4a;
    --text-dark: #1a202c;
    --text-muted: #4a5568;
    --bg-light: #f7fafc;
    --bg-white: #ffffff;
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.06);
    --shadow-md: 0 4px 16px rgba(0,0,0,0.1);
    --shadow-lg: 0 8px 32px rgba(0,0,0,0.12);
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html, body {
    width: 100%;
    overflow-x: hidden;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    color: var(--text-dark);
    background: var(--bg-light);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
}

/* Buttons */
.btn-primary-custom {
    background: var(--primary);
    color: white;
    border: none;
    padding: 12px 32px;
    border-radius: 50px;
    font-weight: 600;
    transition: var(--transition);
    text-decoration: none;
    display: inline-block;
}

.btn-primary-custom:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    color: white;
}

.btn-secondary-custom {
    background: var(--secondary);
    color: white;
    border: none;
    padding: 12px 32px;
    border-radius: 50px;
    font-weight: 600;
    transition: var(--transition);
}

.btn-secondary-custom:hover {
    background: var(--secondary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    color: white;
}

.btn-accent {
    background: var(--accent);
    color: white;
    border: none;
    padding: 12px 32px;
    border-radius: 50px;
    font-weight: 600;
    transition: var(--transition);
}

.btn-accent:hover {
    background: #d9741f;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    color: white;
}

/* Cards */
.card-custom {
    background: white;
    border-radius: var(--radius-md);
    padding: 24px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid rgba(0,0,0,0.04);
}

.card-custom:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    padding: 80px 0 100px;
    position: relative;
    overflow: hidden;
    width: 100%;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: rgba(238, 130, 39, 0.1);
}

.hero-section::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: rgba(255,255,255,0.05);
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 900;
    color: white;
    margin-bottom: 20px;
    line-height: 1.1;
}

.hero-title span {
    color: var(--accent);
}

.hero-subtitle {
    font-size: 1.25rem;
    color: rgba(255,255,255,0.9);
    margin-bottom: 30px;
    line-height: 1.8;
}

.hero-stats {
    display: flex;
    gap: 40px;
    margin-top: 40px;
    flex-wrap: wrap;
}

.hero-stat h3 {
    color: var(--accent);
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 4px;
}

.hero-stat p {
    color: rgba(255,255,255,0.7);
    font-size: 0.875rem;
    margin: 0;
}

/* Service Cards */
.service-card {
    background: white;
    border-radius: var(--radius-md);
    padding: 30px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    height: 100%;
    border: 1px solid rgba(0,0,0,0.04);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.service-icon {
    width: 70px;
    height: 70px;
    background: rgba(22, 113, 108, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 28px;
    color: var(--primary);
    transition: var(--transition);
}

.service-card:hover .service-icon {
    background: var(--primary);
    color: white;
    transform: scale(1.1);
}

.service-card h5 {
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text-dark);
}

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

.service-price {
    color: var(--primary);
    font-weight: 700;
    font-size: 1.25rem;
}

/* Testimonial Cards */
.testimonial-card {
    background: white;
    border-radius: var(--radius-md);
    padding: 30px;
    box-shadow: var(--shadow-sm);
    position: relative;
    border: 1px solid rgba(0,0,0,0.04);
}

.testimonial-card .quote-icon {
    color: var(--primary);
    font-size: 32px;
    opacity: 0.3;
    margin-bottom: 16px;
}

.testimonial-card p {
    font-style: italic;
    color: var(--text-muted);
    line-height: 1.8;
}

.testimonial-card .client {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-top: 20px;
}

.testimonial-card .client-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 20px;
}

.testimonial-card .client-name {
    font-weight: 600;
    margin-bottom: 0;
}

.testimonial-card .client-role {
    font-size: 0.875rem;
    color: var(--text-muted);
    margin-bottom: 0;
}

/* Form Styles */
.form-control-custom {
    border: 2px solid #e5e7eb;
    border-radius: var(--radius-sm);
    padding: 12px 16px;
    transition: var(--transition);
    font-size: 1rem;
}

.form-control-custom:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(22, 113, 108, 0.1);
}

.form-label-custom {
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 6px;
}

/* Badges */
.badge-primary-custom {
    background: var(--primary);
    color: white;
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
}

.badge-accent {
    background: var(--accent);
    color: white;
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
}

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

.fade-in-up {
    animation: fadeInUp 0.6s ease forwards;
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

.pulse {
    animation: pulse 2s infinite;
}

/* Footer */
.footer {
    background: var(--secondary);
    color: white;
    padding: 60px 0 20px;
    width: 100%;
}

.footer h4, .footer h5 {
    color: var(--accent);
}

.footer a {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    transition: var(--transition);
}

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

.footer .social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    margin-right: 10px;
    transition: var(--transition);
}

.footer .social-link:hover {
    background: var(--accent);
    transform: translateY(-3px);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 20px;
    margin-top: 30px;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .hero-stats {
        gap: 20px;
    }
    
    .hero-stat h3 {
        font-size: 1.5rem;
    }
    
    .service-card {
        padding: 20px;
    }
    
    .footer {
        padding: 40px 0 20px;
    }
    
    .footer .social-link {
        width: 35px;
        height: 35px;
        font-size: 0.875rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.8rem;
    }
    
    .hero-section {
        padding: 40px 0 50px;
    }
    
    .btn-primary-custom, .btn-secondary-custom, .btn-accent {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
}

/* Scroll to Top */
.scroll-to-top {
    position: fixed;
    bottom: 80px;
    right: 20px;
    width: 48px;
    height: 48px;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: 50%;
    font-size: 20px;
    cursor: pointer;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    z-index: 999;
    display: none;
}

.scroll-to-top.show {
    display: block;
    animation: fadeInUp 0.3s ease;
}

.scroll-to-top:hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
}

/* Mobile App Specific */
@media (max-width: 768px) {
    .app-card {
        background: white;
        border-radius: 16px;
        padding: 16px;
        margin-bottom: 16px;
        box-shadow: 0 2px 8px rgba(0,0,0,0.06);
        border: 1px solid #f0f0f0;
    }
    
    .btn-app {
        padding: 14px 24px;
        border-radius: 12px;
        font-weight: 600;
        width: 100%;
        border: none;
        transition: all 0.3s;
        font-size: 1rem;
    }
    
    .btn-app-primary {
        background: #16716c;
        color: white;
    }
    
    .btn-app-primary:hover {
        background: #0f5a56;
        transform: scale(1.02);
        color: white;
    }
    
    .btn-app-secondary {
        background: #064652;
        color: white;
    }
    
    .btn-app-secondary:hover {
        background: #04333d;
        transform: scale(1.02);
        color: white;
    }
}