/* Custom Properties */
:root {
    --primary-color: #111827;
    --primary-hover: #1f2937;
    --accent-color: #2563eb;
    --accent-hover: #1d4ed8;
    --secondary-color: #111827;
    --text-main: #374151;
    --text-muted: #6b7280;
    --bg-main: #ffffff;
    --bg-light: #f9fafb;
    --border-color: #e5e7eb;
    --radius-md: 12px;
    --radius-lg: 24px;
    --transition-smooth: all 0.3s ease;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    background-color: var(--bg-main);
    color: var(--text-main);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

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

.bg-light {
    background-color: var(--bg-light);
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-smooth);
}

h1, h2, h3, h4 {
    color: var(--secondary-color);
    line-height: 1.2;
    font-weight: 700;
}

/* Helpers */
.mt-3 { margin-top: 1rem; }
.mt-5 { margin-top: 3rem; }
.text-center { text-align: center; }

/* Buttons */
.cta-btn {
    display: inline-block;
    padding: 12px 28px;
    font-weight: 600;
    border-radius: 8px;
    text-align: center;
    cursor: pointer;
    transition: var(--transition-smooth);
    border: 2px solid transparent;
}

.primary-btn {
    background-color: var(--primary-color);
    color: white;
}

.primary-btn:hover {
    background-color: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.secondary-btn {
    background-color: transparent;
    color: var(--secondary-color);
    border-color: var(--border-color);
}

.secondary-btn:hover {
    border-color: var(--secondary-color);
    background-color: var(--bg-light);
}

.large-btn {
    padding: 16px 36px;
    font-size: 1.125rem;
}

/* Header */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color);
    z-index: 1000;
    transition: var(--transition-smooth);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 32px;
}

nav a {
    font-weight: 500;
    color: var(--text-muted);
    font-size: 0.95rem;
}

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

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--secondary-color);
    cursor: pointer;
}

/* Hero Section */
.hero {
    padding: 180px 0 100px;
    background-color: var(--bg-main);
    background-image: radial-gradient(var(--border-color) 1px, transparent 1px);
    background-size: 30px 30px;
    text-align: center;
    position: relative;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 100px;
    background: linear-gradient(to bottom, transparent, var(--bg-main));
    pointer-events: none;
}

.hero-container {
    max-width: 900px;
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: 24px;
    color: var(--secondary-color);
}

.hero p {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.hero-ctas {
    display: flex;
    justify-content: center;
    gap: 20px;
}

/* Trust Section */
.trust-section {
    padding: 40px 0 80px;
    border-bottom: 1px solid var(--border-color);
}

.stats-grid {
    display: flex;
    justify-content: center;
    gap: 80px;
    margin-bottom: 60px;
}

.stat-item {
    text-align: center;
}

.stat-item h2 {
    font-size: 3.5rem;
    color: var(--accent-color);
    display: inline-block;
}

.stat-item span {
    font-size: 2rem;
    font-weight: 700;
    color: var(--accent-color);
}

.stat-item p {
    font-size: 0.875rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 600;
    margin-top: 4px;
}

.tech-stack-logos {
    display: flex;
    justify-content: center;
    gap: 50px;
    flex-wrap: wrap;
    align-items: center;
    color: var(--text-muted);
}

.tech-stack-logos span {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.125rem;
    font-weight: 600;
    opacity: 0.7;
    transition: var(--transition-smooth);
}

.tech-stack-logos span:hover {
    opacity: 1;
    color: var(--secondary-color);
}

.tech-stack-logos i {
    font-size: 1.75rem;
}

/* Common Section Styles */
.section-header {
    text-align: center;
    margin-bottom: 60px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 16px;
    letter-spacing: -0.01em;
}

.section-header p {
    font-size: 1.125rem;
    color: var(--text-muted);
}

.services-section, .process-section, .why-us-section, .cases-section {
    padding: 100px 0;
}

/* Services */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 32px;
}

.service-card {
    background: var(--bg-main);
    padding: 40px 32px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    transition: var(--transition-smooth);
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: var(--accent-color);
}

.icon-wrapper {
    width: 60px;
    height: 60px;
    background-color: rgba(37, 99, 235, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
}

.icon-wrapper i {
    font-size: 1.5rem;
    color: var(--accent-color);
}

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

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

/* Process Steps */
.process-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    position: relative;
}

.process-step {
    text-align: center;
    position: relative;
    z-index: 1;
}

.process-step::after {
    content: '';
    position: absolute;
    top: 30px;
    right: -50%;
    width: 100%;
    height: 2px;
    background-color: var(--border-color);
    z-index: -1;
}

.process-step:last-child::after {
    display: none;
}

.step-number {
    width: 60px;
    height: 60px;
    background-color: var(--bg-main);
    border: 2px solid var(--accent-color);
    color: var(--accent-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 24px;
    transition: var(--transition-smooth);
}

.process-step:hover .step-number {
    background-color: var(--accent-color);
    color: white;
}

.process-step h3 {
    font-size: 1.25rem;
    margin-bottom: 12px;
}

.process-step p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* Why Us */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 32px;
}

.feature-item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.feature-item h4 {
    font-size: 1.125rem;
    margin-bottom: 12px;
}

.feature-item p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* Cases */
.cases-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 32px;
}

.case-card {
    background: var(--bg-main);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: var(--transition-smooth);
}

.case-card:hover {
    box-shadow: var(--shadow-md);
}

.case-content {
    padding: 40px;
}

.case-badge {
    display: inline-block;
    padding: 6px 12px;
    background-color: rgba(37, 99, 235, 0.1);
    color: var(--accent-color);
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    border-radius: 20px;
    margin-bottom: 16px;
    letter-spacing: 0.05em;
}

.case-card h3 {
    font-size: 1.5rem;
    margin-bottom: 24px;
}

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

.case-card strong {
    color: var(--secondary-color);
}

/* Founder Section */
.founder-section {
    padding: 80px 0;
}

.founder-content {
    display: flex;
    align-items: center;
    gap: 60px;
    background: var(--bg-main);
    padding: 48px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
}

.founder-image {
    flex-shrink: 0;
}

.image-placeholder {
    width: 150px;
    height: 150px;
    background-color: var(--bg-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    color: var(--border-color);
    border: 4px solid white;
    box-shadow: var(--shadow-sm);
}

.founder-text h2 {
    font-size: 2rem;
    margin-bottom: 24px;
}

.founder-quote {
    font-size: 1.25rem;
    font-style: italic;
    color: var(--secondary-color);
    margin-bottom: 20px;
    font-weight: 500;
}

.founder-bio {
    color: var(--text-muted);
}

/* Footer */
footer {
    background-color: var(--secondary-color);
    color: white;
    padding: 80px 0 20px;
}

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

.footer-brand p {
    color: #9ca3af;
    max-width: 300px;
}

.footer-links h3, .footer-contact h3 {
    font-size: 1.125rem;
    margin-bottom: 24px;
    color: white;
}

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

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: #9ca3af;
}

.footer-links a:hover {
    color: white;
}

.footer-contact p {
    color: #9ca3af;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.footer-bottom {
    text-align: center;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #9ca3af;
    font-size: 0.875rem;
}

/* WhatsApp Float */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 30px;
    right: 30px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50%;
    box-shadow: var(--shadow-md);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 35px;
    transition: var(--transition-smooth);
}

.whatsapp-float:hover {
    transform: scale(1.1) translateY(-5px);
    background-color: #20b858;
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.4);
}

/* Animations */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive Design */
@media (max-width: 992px) {
    .founder-content {
        flex-direction: column;
        text-align: center;
    }
    .process-step::after {
        display: none;
    }
    .process-steps {
        grid-template-columns: 1fr;
    }
    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .header-content nav {
        display: none;
        position: absolute;
        top: 80px;
        left: 0;
        width: 100%;
        background: white;
        padding: 20px;
        box-shadow: var(--shadow-md);
        border-top: 1px solid var(--border-color);
    }
    .header-content nav.active {
        display: block;
    }
    .header-content nav ul {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
    .header-content > .cta-btn {
        display: none;
    }
    .mobile-menu-btn {
        display: block;
    }
    .hero h1 {
        font-size: 2.5rem;
    }
    .hero-ctas {
        flex-direction: column;
    }
    .stats-grid {
        flex-direction: column;
        gap: 40px;
    }
    .cases-grid {
        grid-template-columns: 1fr;
    }
}
