/* Global Styles */
:root {
    --primary-color: #22c55e;
    --secondary-color: #1f2937;
    --accent-color: #0891b2;
    --text-dark: #111827;
    --text-light: #9ca3af;
}

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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    overflow-x: hidden;
}

html.dark body {
    color: #f3f4f6;
}

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

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

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

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes glow {

    0%,
    100% {
        box-shadow: 0 0 5px rgba(34, 197, 94, 0.3);
    }

    50% {
        box-shadow: 0 0 20px rgba(34, 197, 94, 0.6);
    }
}

/* Header Styles */
header {
    background: linear-gradient(135deg, #000000 0%, #1f2937 100%);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
    position: sticky;
    top: 0;
    z-index: 100;
}

header h1 {
    animation: slideInLeft 0.6s ease;
}

header button {
    transition: all 0.3s ease;
    font-weight: 600;
}

header button:hover {
    transform: scale(1.05);
    box-shadow: 0 0 15px rgba(34, 197, 94, 0.5);
}

/* Hero Section */
.hero-content {
    animation: slideInUp 0.8s ease;
}

.hero-image {
    animation: fadeIn 1s ease;
    filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.3));
    transition: transform 0.3s ease;
}

.hero-image:hover {
    transform: scale(1.05);
}

.cta-button {
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.2);
    transition: left 0.3s ease;
}

.cta-button:hover::before {
    left: 100%;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(34, 197, 94, 0.4);
}

/* Feature Cards */
.feature-card {
    background: white;
    border-radius: 12px;
    padding: 24px;
    transition: all 0.3s ease;
    border: 1px solid #e5e7eb;
    animation: slideInUp 0.8s ease;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border-color: var(--primary-color);
}

.feature-card h4 {
    color: var(--primary-color);
    margin-bottom: 12px;
    font-size: 1.25rem;
}

.feature-card:nth-child(1) {
    animation-delay: 0.1s;
}

.feature-card:nth-child(2) {
    animation-delay: 0.2s;
}

.feature-card:nth-child(3) {
    animation-delay: 0.3s;
}

/* Application Cards */
.app-card {
    background: white;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    font-weight: 600;
    color: var(--text-dark);
    border-left: 4px solid transparent;
}

.app-card:hover {
    border-left-color: var(--primary-color);
    transform: translateY(-5px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.12);
    color: var(--primary-color);
}

/* Form Styles */
input,
textarea {
    transition: all 0.3s ease !important;
    border: 2px solid #e5e7eb !important;
}

input:focus,
textarea:focus {
    outline: none !important;
    border-color: var(--primary-color) !important;
    box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.1) !important;
}

.form-button {
    transition: all 0.3s ease;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.form-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(34, 197, 94, 0.3);
}

.form-button:active {
    transform: translateY(0);
}

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

/* Sections */
section {
    animation: fadeIn 1s ease;
}

section h3 {
    position: relative;
    display: block;
}

section h3::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color) 0%, var(--accent-color) 100%);
    border-radius: 2px;
}

/* Footer */
footer {
    background: linear-gradient(135deg, #000000 0%, #1f2937 100%);
    transition: all 0.3s ease;
}

/* Responsive */
@media (max-width: 768px) {

    .feature-card,
    .app-card {
        animation-delay: 0s !important;
    }

    section h3::after {
        width: 60px;
    }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    * {
        animation: none !important;
        transition: none !important;
    }
}

/* Scrollbar Styling */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #f1f5f9;
}

::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: #15803d;
}