/* CSS Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', sans-serif;
    line-height: 1.6;
    color: #1a1a1a;
    background-color: #ffffff;
}

/* Design System Colors */
:root {
    /* Primary Colors */
    --primary: hsl(210, 100%, 50%);
    --primary-foreground: hsl(0, 0%, 98%);
    --primary-variant: hsl(210, 100%, 60%);
    
    /* Secondary Colors */
    --secondary: hsl(210, 40%, 98%);
    --secondary-foreground: hsl(210, 40%, 15%);
    
    /* Accent Colors */
    --accent: hsl(210, 40%, 93%);
    --accent-light: hsl(210, 40%, 96%);
    --accent-foreground: hsl(210, 40%, 15%);
    
    /* Background */
    --background: hsl(0, 0%, 100%);
    --foreground: hsl(210, 40%, 15%);
    --muted: hsl(210, 40%, 96%);
    --muted-foreground: hsl(210, 40%, 45%);
    
    /* Border */
    --border: hsl(210, 40%, 89%);
    
    /* Card */
    --card: hsl(0, 0%, 100%);
    --card-foreground: hsl(210, 40%, 15%);
    
    /* Success */
    --success: hsl(142, 76%, 36%);
    
    /* Gradients */
    --gradient-hero: linear-gradient(135deg, var(--primary), var(--primary-variant));
    --gradient-subtle: linear-gradient(180deg, var(--background), var(--accent-light));
    
    /* Shadows */
    --shadow-soft: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-float: 0 10px 25px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-card: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
    
    /* Transitions */
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Typography */
h1 {
    font-size: 3rem;
    font-weight: 700;
    line-height: 1.1;
    color: var(--foreground);
}

h2 {
    font-size: 2.25rem;
    font-weight: 700;
    color: var(--foreground);
}

h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--foreground);
}

h4 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--foreground);
}

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

.text-primary {
    color: var(--primary);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    border: none;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition-smooth);
    text-decoration: none;
    padding: 8px 16px;
    font-size: 0.875rem;
}

.btn-lg {
    padding: 12px 32px;
    font-size: 1.125rem;
}

.btn-primary {
    background: var(--gradient-hero);
    color: var(--primary-foreground);
    box-shadow: var(--shadow-soft);
}

.btn-primary:hover {
    box-shadow: var(--shadow-float);
    transform: translateY(-1px);
}

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

.btn-outline:hover {
    background: var(--primary);
    color: var(--primary-foreground);
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 50;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--border);
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
}

.logo-icon {
    width: 32px;
    height: 32px;
    background: var(--gradient-hero);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-foreground);
    font-weight: 700;
    font-size: 1.125rem;
}

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

.nav-desktop {
    display: none;
    align-items: center;
    gap: 32px;
}

.nav-link {
    color: var(--foreground);
    text-decoration: none;
    transition: var(--transition-smooth);
}

.nav-link:hover {
    color: var(--primary);
}

.mobile-menu-btn {
    display: block;
    background: none;
    border: none;
    font-size: 1rem;
    color: var(--foreground);
    cursor: pointer;
    transition: var(--transition-smooth);
    padding: 8px 12px;
    border-radius: 4px;
}

.mobile-menu-btn:hover {
    background: var(--accent);
    color: var(--primary);
}

.close-icon {
    display: none;
}

.mobile-menu-btn.active .menu-icon {
    display: none;
}

.mobile-menu-btn.active .close-icon {
    display: inline;
}

.nav-mobile {
    display: none;
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid var(--border);
}

.nav-mobile.active {
    display: block;
}

.nav-mobile-content {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding-bottom: 24px;
}

@media (max-width: 767px) {
    .nav-desktop {
        display: none;
    }
    
    .mobile-menu-btn {
        display: block;
    }
}

@media (min-width: 768px) {
    .nav-desktop {
        display: flex;
    }
    
    .mobile-menu-btn {
        display: none;
    }
    
    .nav-mobile {
        display: none !important;
    }
}

/* Hero Section */
.hero {
    position: relative;
    padding: 80px 0 64px;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--secondary), var(--background), rgba(210, 233, 255, 0.2));
}

.hero-gradient {
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    opacity: 0.1;
    background: var(--gradient-hero);
    transform: rotate(12deg) scale(1.5);
}

.hero-content {
    position: relative;
    z-index: 10;
    display: grid;
    grid-template-columns: 1fr;
    gap: 48px;
    align-items: center;
}

.hero-text {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.hero-title h1 {
    margin-bottom: 24px;
}

.hero-description {
    font-size: 1.25rem;
    line-height: 1.6;
}

.benefits {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.benefit {
    display: flex;
    align-items: center;
    gap: 12px;
}

.check-icon {
    width: 20px;
    height: 20px;
    background: var(--success);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    flex-shrink: 0;
}

.benefit span:last-child {
    color: var(--foreground);
    font-weight: 500;
}

.hero-buttons {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding-top: 16px;
}

.hero-image {
    position: relative;
}

.image-container {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-float);
}

.image-container img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

.image-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.2), transparent, rgba(168, 85, 247, 0.1));
}

.floating-card {
    position: absolute;
    bottom: -24px;
    left: -24px;
    background: var(--card);
    border-radius: 12px;
    box-shadow: var(--shadow-card);
    padding: 24px;
    border: 1px solid var(--border);
}

.floating-card-content {
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.floating-card-number {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
}

.floating-card-text {
    font-size: 0.875rem;
    color: var(--muted-foreground);
}

@media (min-width: 1024px) {
    .hero {
        padding: 96px 0 80px;
    }
    
    .hero-content {
        grid-template-columns: 1fr 1fr;
    }
    
    .hero-buttons {
        flex-direction: row;
    }
    
    h1 {
        font-size: 3.75rem;
    }
}

/* Section Header */
.section-header {
    text-align: center;
    margin-bottom: 64px;
}

.section-header h2 {
    margin-bottom: 16px;
}

.section-header p {
    font-size: 1.25rem;
}

/* Services Section */
.services {
    padding: 80px 0;
    background: var(--gradient-subtle);
}

.services-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
    margin-bottom: 64px;
}

.service-card {
    background: var(--card);
    border-radius: 16px;
    padding: 32px;
    box-shadow: var(--shadow-card);
    border: 1px solid var(--border);
    transition: var(--transition-smooth);
}

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

.service-icon {
    font-size: 2.5rem;
    margin-bottom: 16px;
}

.service-card h3 {
    margin-bottom: 16px;
}

.service-card p {
    margin-bottom: 24px;
}

.service-features {
    list-style: none;
    margin-bottom: 24px;
}

.service-features li {
    padding: 8px 0;
    color: var(--muted-foreground);
    position: relative;
    padding-left: 20px;
}

.service-features li::before {
    content: '•';
    color: var(--primary);
    position: absolute;
    left: 0;
}

.services-cta {
    background: var(--card);
    border-radius: 16px;
    padding: 48px;
    text-align: center;
    box-shadow: var(--shadow-card);
    border: 1px solid var(--border);
}

.services-cta-content h3 {
    margin-bottom: 16px;
}

.services-cta-content p {
    margin-bottom: 24px;
    font-size: 1.125rem;
}

@media (min-width: 768px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* About Section */
.about {
    padding: 80px 0;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 48px;
    align-items: center;
    margin-bottom: 64px;
}

.about-story h3 {
    margin-bottom: 24px;
}

.about-story p {
    margin-bottom: 16px;
    font-size: 1.125rem;
    line-height: 1.7;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
}

.stat {
    text-align: center;
    background: var(--card);
    border-radius: 16px;
    padding: 32px;
    box-shadow: var(--shadow-card);
    border: 1px solid var(--border);
}

.stat-icon {
    font-size: 2rem;
    margin-bottom: 16px;
}

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 8px;
}

.stat-label {
    color: var(--muted-foreground);
    font-size: 0.875rem;
}

.values {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

.value-card {
    background: var(--card);
    border-radius: 12px;
    padding: 24px;
    box-shadow: var(--shadow-card);
    border: 1px solid var(--border);
}

.value-card h4 {
    margin-bottom: 12px;
}

@media (min-width: 768px) {
    .values {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .about-content {
        grid-template-columns: 2fr 1fr;
    }
    
    .values {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* Contact Section */
.contact {
    padding: 80px 0;
    background: var(--gradient-subtle);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 48px;
}

.contact-form-wrapper {
    background: var(--card);
    border-radius: 16px;
    padding: 32px;
    box-shadow: var(--shadow-card);
    border: 1px solid var(--border);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

@media (max-width: 768px) {
    .form-row {
        grid-template-columns: 1fr;
    }
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

/* Anti-spam field - hidden from users but visible to bots */
.honeypot {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
    opacity: 0;
}

.form-group label {
    font-weight: 500;
    color: var(--foreground);
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 12px;
    border: 2px solid var(--border);
    border-radius: 8px;
    font-size: 1rem;
    transition: var(--transition-smooth);
    background: var(--background);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
}

.checkbox-group {
    flex-direction: row;
    align-items: flex-start;
    gap: 12px;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    cursor: pointer;
    font-size: 0.875rem;
    line-height: 1.5;
}

.checkbox-label input[type="checkbox"] {
    width: 16px;
    height: 16px;
    margin: 0;
    accent-color: var(--primary);
}

.checkbox-label a {
    color: var(--primary);
    text-decoration: none;
}

.checkbox-label a:hover {
    text-decoration: underline;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.contact-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.contact-item h4 {
    margin-bottom: 8px;
}

.contact-item a {
    color: var(--primary);
    text-decoration: none;
}

.contact-item a:hover {
    text-decoration: underline;
}

@media (min-width: 1024px) {
    .contact-content {
        grid-template-columns: 2fr 1fr;
    }
}

/* Footer */
.footer {
    background: var(--foreground);
    color: var(--background);
    padding: 64px 0 24px;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 48px;
    margin-bottom: 48px;
}

.footer-section h4 {
    color: var(--background);
    margin-bottom: 16px;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 8px;
}

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

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

.footer-logo {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
}

.footer-logo .logo-text {
    color: var(--background);
}

.footer-section p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
}

.footer-separator {
    height: 1px;
    background: rgba(255, 255, 255, 0.2);
    margin-bottom: 24px;
}

.footer-bottom-content {
    display: flex;
    flex-direction: column;
    gap: 16px;
    align-items: center;
    text-align: center;
}

.footer-bottom-content p {
    color: rgba(255, 255, 255, 0.6);
}

.footer-links {
    display: flex;
    gap: 24px;
}

.footer-links a {
    color: white;
    text-decoration: none;
    transition: var(--transition-smooth);
}

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

@media (min-width: 768px) {
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-bottom-content {
        flex-direction: row;
        justify-content: space-between;
    }
}

@media (min-width: 1024px) {
    .footer-content {
        grid-template-columns: 2fr 1fr 1fr 1fr;
    }
}

/* Modals */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    overflow-y: auto;
}

.modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.modal-content {
    background: var(--card);
    border-radius: 16px;
    width: 100%;
    max-width: 600px;
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: var(--shadow-float);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 32px;
    border-bottom: 1px solid var(--border);
}

.modal-header h2 {
    margin: 0;
}

.modal-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--muted-foreground);
    transition: var(--transition-smooth);
}

.modal-close:hover {
    color: var(--foreground);
}

.modal-body {
    padding: 32px;
}

.modal-body h3 {
    margin-top: 24px;
    margin-bottom: 12px;
    color: var(--foreground);
}

.modal-body h3:first-child {
    margin-top: 0;
}

.modal-body p {
    margin-bottom: 16px;
    line-height: 1.6;
}

.modal-body ul {
    margin-bottom: 16px;
    padding-left: 20px;
}

.modal-body ul li {
    margin-bottom: 8px;
}

/* Messages */
.success-message,
.error-message {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 16px 24px;
    border-radius: 8px;
    box-shadow: var(--shadow-float);
    z-index: 1000;
    transform: translateX(400px);
    transition: var(--transition-smooth);
    opacity: 0;
    visibility: hidden;
}

.success-message.show,
.error-message.show {
    transform: translateX(0);
    opacity: 1;
    visibility: visible;
}

.success-message {
    background: var(--success);
    color: white;
}

.error-message {
    background: #ef4444;
    color: white;
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--card);
    border-top: 1px solid var(--border);
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    transform: translateY(100%);
    transition: var(--transition-smooth);
}

.cookie-banner.show {
    transform: translateY(0);
}

.cookie-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    padding: 16px 24px;
    gap: 24px;
}

.cookie-text p {
    margin: 0;
    font-size: 0.9rem;
    color: var(--foreground);
    line-height: 1.4;
}

.cookie-buttons {
    display: flex;
    gap: 12px;
    flex-shrink: 0;
}

.btn-sm {
    padding: 8px 16px;
    font-size: 0.875rem;
}

@media (max-width: 768px) {
    .cookie-content {
        flex-direction: column;
        align-items: stretch;
        gap: 16px;
        padding: 16px;
    }
    
    .cookie-buttons {
        justify-content: center;
    }
}

.success-content,
.error-content {
    display: flex;
    align-items: center;
    gap: 8px;
}

.success-icon,
.error-icon {
    font-weight: bold;
}

/* Loading State */
.btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Responsive Design */
@media (max-width: 640px) {
    .container {
        padding: 0 16px;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.875rem;
    }
    
    .hero-buttons {
        gap: 12px;
    }
    
    .btn-lg {
        padding: 12px 24px;
        font-size: 1rem;
    }
    
    .floating-card {
        bottom: -16px;
        left: -16px;
        padding: 16px;
    }
    
    .modal-content {
        margin: 10px;
        max-height: 90vh;
    }
    
    .modal-header,
    .modal-body {
        padding: 20px;
    }
}