/* ===================================
   CSS Variables & Reset
   =================================== */

:root {
    /* Colors - Clean Professional Theme */
    --color-bg: #fafafa;
    --color-bg-elevated: #ffffff;
    --color-bg-card: #ffffff;
    --color-text-primary: #1a1a1a;
    --color-text-secondary: #666666;
    --color-text-muted: #999999;
    --color-accent: #2563eb;
    --color-accent-hover: #1d4ed8;
    --color-accent-light: #dbeafe;
    --color-border: #e5e5e5;
    --color-border-light: #f0f0f0;
    --color-success: #10b981;
    
    /* Typography */
    --font-display: 'Archivo', sans-serif;
    --font-body: 'Manrope', sans-serif;
    
    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 6rem;
    --spacing-xxl: 8rem;
    
    /* Layout */
    --max-width: 1280px;
    --border-radius: 12px;
    
    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.08), 0 2px 4px -1px rgba(0, 0, 0, 0.04);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -2px rgba(0, 0, 0, 0.04);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.08), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    
    /* Animation */
    --transition-fast: 0.2s ease;
    --transition-base: 0.3s ease;
    --transition-slow: 0.5s ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background: var(--color-bg);
    color: var(--color-text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    padding-top: 5rem;
}

/* ===================================
   Navigation
   =================================== */

.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 1.5rem 0;
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--color-border);
    box-shadow: var(--shadow-sm);
}

@keyframes slideDown {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.nav-container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 var(--spacing-md);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-text-primary);
    text-decoration: none;
    letter-spacing: -0.02em;
    transition: color var(--transition-fast);
}

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

.nav-links {
    display: flex;
    gap: var(--spacing-md);
    align-items: center;
}

.nav-link {
    color: var(--color-text-secondary);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: color var(--transition-fast);
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-text-primary);
    transition: width var(--transition-base);
}

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

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

.nav-link-cta {
    color: var(--color-bg-elevated);
    background: var(--color-text-primary);
    padding: 0.625rem 1.25rem;
    border: 1px solid var(--color-text-primary);
    border-radius: var(--border-radius);
}

.nav-link-cta::after {
    display: none;
}

.nav-link-cta:hover {
    background: var(--color-text-primary);
    color: var(--color-bg-elevated);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

/* ===================================
   Hero Section
   =================================== */

.hero {
    position: relative;
    min-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--spacing-xxl) var(--spacing-md);
    overflow: hidden;
    background: linear-gradient(to bottom, var(--color-bg-elevated) 0%, var(--color-bg) 100%);
}

.hero-short {
    min-height: 50vh;
    padding-bottom: 0;
}

.hero-container {
    max-width: 900px;
    text-align: center;
    position: relative;
    z-index: 2;
}

.hero-badge {
    display: inline-block;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--color-accent);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    padding: 0.5rem 1.25rem;
    background: var(--color-accent-light);
    border: 1px solid var(--color-accent);
    border-radius: 50px;
    margin-bottom: var(--spacing-md);
    animation: fadeInUp 0.8s ease 0.2s both;
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 6vw, 3.5rem);
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: var(--spacing-md);
    letter-spacing: -0.02em;
}

.hero-title-line {
    display: block;
    animation: fadeInUp 0.8s ease both;
}

.hero-title-line:nth-child(1) {
    animation-delay: 0.3s;
}

.hero-title-line:nth-child(2) {
    animation-delay: 0.4s;
}

.hero-title-line:nth-child(3) {
    animation-delay: 0.5s;
}

.hero-title-emphasis {
    color: var(--color-accent);
    position: relative;
    display: inline-block;
    background: linear-gradient(135deg, var(--color-accent) 0%, #1d4ed8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: clamp(1.1rem, 2vw, 1.25rem);
    color: var(--color-text-secondary);
    max-width: 700px;
    margin: 0 auto var(--spacing-lg);
    line-height: 1.7;
    animation: fadeInUp 0.8s ease 0.6s both;
}

.hero-cta {
    display: flex;
    gap: var(--spacing-sm);
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s ease 0.7s both;
}

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

/* Hero Background */
.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
    opacity: 0.15;
}

.hero-grid {
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(var(--color-border-light) 1px, transparent 1px),
        linear-gradient(90deg, var(--color-border-light) 1px, transparent 1px);
    background-size: 60px 60px;
    animation: gridMove 20s linear infinite;
}

@keyframes gridMove {
    0% {
        transform: translateY(0);
    }
    100% {
        transform: translateY(60px);
    }
}

/* ===================================
   Buttons
   =================================== */

.btn {
    display: inline-block;
    padding: 1rem 2rem;
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: var(--border-radius);
    transition: all var(--transition-base);
    cursor: pointer;
    border: none;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn:hover::before {
    width: 300px;
    height: 300px;
}

.btn-primary {
    background: var(--color-text-primary);
    color: var(--color-bg-elevated);
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    background: #000000;
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

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

.btn-secondary:hover {
    background: var(--color-text-primary);
    color: var(--color-bg-elevated);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-large {
    padding: 1.25rem 2.5rem;
    font-size: 1.1rem;
}

/* ===================================
   Stats Section
   =================================== */

.stats {
    padding: var(--spacing-xl) var(--spacing-md);
    background: var(--color-bg-card);
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
}

.stats-container {
    max-width: var(--max-width);
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--spacing-lg);
    text-align: center;
}

.stat-item {
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards;
}

.stat-item:nth-child(1) { animation-delay: 0.1s; }
.stat-item:nth-child(2) { animation-delay: 0.2s; }
.stat-item:nth-child(3) { animation-delay: 0.3s; }

.stat-number {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    color: var(--color-text-primary);
    line-height: 1;
    margin-bottom: var(--spacing-xs);
}

.stat-label {
    font-size: 0.875rem;
    color: var(--color-text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 600;
}

/* ===================================
   Value Proposition Section
   =================================== */

.value-prop {
    padding: var(--spacing-xxl) var(--spacing-md);
    background: var(--color-bg-card);
}

.value-prop-container {
    max-width: 1000px;
    margin: 0 auto;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(1.75rem, 4vw, 2.75rem);
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: var(--spacing-md);
    letter-spacing: -0.01em;
}

.section-description {
    font-size: 1.25rem;
    color: var(--color-text-secondary);
    margin-bottom: var(--spacing-xl);
    line-height: 1.7;
}

.value-points {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-lg);
}

.value-point {
    display: flex;
    gap: var(--spacing-md);
    padding: var(--spacing-lg);
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--border-radius);
    transition: all var(--transition-base);
    box-shadow: var(--shadow-sm);
}

.value-point:hover {
    border-color: var(--color-text-primary);
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.value-point-icon {
    font-size: 1.75rem;
    color: var(--color-text-primary);
    font-weight: 700;
    flex-shrink: 0;
}

.value-point-content h3 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: var(--spacing-xs);
}

.value-point-content p {
    color: var(--color-text-secondary);
    line-height: 1.7;
}

/* ===================================
   Services Section
   =================================== */

.services {
    padding: var(--spacing-xxl) var(--spacing-md);
    background: var(--color-bg-card);
}

.services-container {
    max-width: var(--max-width);
    margin: 0 auto;
}

.services-header {
    text-align: center;
    margin-bottom: var(--spacing-xl);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-xl);
}

.service-card {
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    border-radius: var(--border-radius);
    padding: var(--spacing-lg);
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--color-text-primary);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--transition-base);
}

.service-card:hover {
    border-color: var(--color-text-primary);
    transform: translateY(-6px);
    box-shadow: var(--shadow-xl);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-number {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--color-border-light);
    line-height: 1;
    margin-bottom: var(--spacing-sm);
}

.service-title {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: var(--spacing-sm);
}

.service-description {
    color: var(--color-text-secondary);
    margin-bottom: var(--spacing-md);
    line-height: 1.7;
}

.service-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: var(--spacing-xs);
}

.service-list li {
    color: var(--color-text-secondary);
    font-size: 0.95rem;
    padding-left: 1.5rem;
    position: relative;
}

.service-list li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--color-text-primary);
    font-weight: 700;
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: var(--spacing-md);
    color: var(--color-accent);
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    transition: all var(--transition-base);
    opacity: 0.9;
}

.service-link:hover {
    opacity: 1;
    gap: 0.75rem;
    color: var(--color-accent-hover);
}

.services-cta {
    text-align: center;
}

/* ===================================
   CTA Section
   =================================== */

.cta-section {
    padding: var(--spacing-xxl) var(--spacing-md);
    background: var(--color-bg);
    border-top: 1px solid var(--color-border);
}

.cta-container {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.cta-title {
    font-family: var(--font-display);
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 600;
    margin-bottom: var(--spacing-md);
    line-height: 1.3;
}

.cta-description {
    font-size: 1.25rem;
    color: var(--color-text-secondary);
    margin-bottom: var(--spacing-lg);
    line-height: 1.7;
}

/* ===================================
   Footer
   =================================== */

.footer {
    background: var(--color-bg-card);
    border-top: 1px solid var(--color-border);
    padding: var(--spacing-xl) var(--spacing-md) var(--spacing-md);
}

.footer-container {
    max-width: var(--max-width);
    margin: 0 auto;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: var(--spacing-xl);
    margin-bottom: var(--spacing-lg);
}

.footer-logo {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: var(--spacing-sm);
}

.footer-tagline {
    color: var(--color-text-secondary);
    max-width: 400px;
}

.footer-links {
    display: flex;
    gap: var(--spacing-xl);
}

.footer-column h4 {
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: var(--spacing-sm);
}

.footer-column a {
    display: block;
    color: var(--color-text-secondary);
    text-decoration: none;
    margin-bottom: var(--spacing-xs);
    transition: color var(--transition-fast);
}

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

.footer-bottom {
    padding-top: var(--spacing-md);
    border-top: 1px solid var(--color-border);
    text-align: center;
    color: var(--color-text-secondary);
    font-size: 0.9rem;
}

/* ===================================
   Responsive Design
   =================================== */

@media (max-width: 768px) {
    .nav-links {
        gap: var(--spacing-sm);
    }
    
    .hero {
        padding: var(--spacing-xl) var(--spacing-md);
        min-height: 80vh;
    }
    
    .hero-cta {
        flex-direction: column;
    }
    
    .btn {
        width: 100%;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .footer-links {
        flex-direction: column;
        gap: var(--spacing-md);
    }
    
    .value-point {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    :root {
        --spacing-md: 1rem;
        --spacing-lg: 2rem;
        --spacing-xl: 3rem;
        --spacing-xxl: 4rem;
    }
    
    body {
        padding-top: 5.5rem;
    }
    
    .nav {
        padding: var(--spacing-sm) 0;
    }
    
    .nav-link {
        font-size: 0.85rem;
    }
    
    .hero-badge {
        display: none;
    }
    
}

/* ===================================
   Success Modal
   =================================== */

.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(8px);
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s ease;
}

.modal-content {
    background: var(--color-bg-card);
    border-radius: var(--border-radius);
    padding: var(--spacing-xl);
    max-width: 500px;
    margin: var(--spacing-md);
    text-align: center;
    box-shadow: var(--shadow-xl);
    animation: slideUp 0.4s ease;
    position: relative;
}

.modal-icon {
    width: 60px;
    height: 60px;
    background: var(--color-success);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 700;
    margin: 0 auto var(--spacing-md);
}

.modal-title {
    font-family: var(--font-display);
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--color-text-primary);
    margin-bottom: var(--spacing-sm);
}

.modal-description {
    color: var(--color-text-secondary);
    margin-bottom: var(--spacing-lg);
    line-height: 1.6;
}

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

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