:root {
    /* Stripe-inspired Palette */
    --color-navy: #0A2540;
    --color-slate: #425466;
    --color-primary: #635BFF;
    --color-primary-dark: #4B4ACF;
    --color-accent: #00D4FF;
    --color-text-heading: #0A2540;
    --color-text-body: #425466;
    --color-bg-light: #FFFFFF;
    --color-bg-alt: #F6F9FC;
    --color-white: #FFFFFF;
    
    /* Typography */
    --font-heading: 'Space Grotesk', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    /* Effects */
    --shadow-sm: 0 2px 5px rgba(50, 50, 93, 0.25), 0 1px 3px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 13px 27px -5px rgba(50, 50, 93, 0.25), 0 8px 16px -8px rgba(0, 0, 0, 0.3);
    --shadow-hover: 0 30px 60px -12px rgba(50, 50, 93, 0.25), 0 18px 36px -18px rgba(0, 0, 0, 0.3);
    --radius-card: 12px;
    --radius-pill: 9999px;
    --transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
}

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    color: var(--color-text-body);
    line-height: 1.6;
    background-color: var(--color-bg-light);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4 {
    font-family: var(--font-heading);
    color: var(--color-text-heading);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

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

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

/* Utilities */
.container {
    width: 90%;
    max-width: 1140px;
    margin: 0 auto;
}

.section {
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.alt-bg {
    background-color: var(--color-bg-alt);
    transform: skewY(-6deg);
    padding-top: 150px;
    padding-bottom: 150px;
    margin-top: -50px;
    margin-bottom: -50px;
    z-index: 1;
}

.alt-bg > .container {
    transform: skewY(6deg);
}

.eyebrow {
    display: inline-block;
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 0.05em;
    color: var(--color-primary);
    font-weight: 700;
    margin-bottom: 1rem;
    background: rgba(99, 91, 255, 0.1);
    padding: 0.5rem 1rem;
    border-radius: var(--radius-pill);
}

.section-header {
    margin-bottom: 4rem;
    max-width: 600px;
}

.section-header h2 {
    font-size: 3rem;
    letter-spacing: -0.03em;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.875rem 1.75rem;
    border-radius: var(--radius-pill);
    font-weight: 600;
    cursor: pointer;
    border: 2px solid transparent;
    font-size: 0.95rem;
    transition: var(--transition);
    white-space: nowrap;
}

.btn-primary {
    background-color: var(--color-primary);
    color: var(--color-white);
    box-shadow: 0 4px 6px rgba(50, 50, 93, 0.11), 0 1px 3px rgba(0, 0, 0, 0.08);
}

.btn-primary:hover {
    background-color: var(--color-navy);
    transform: translateY(-1px);
    box-shadow: 0 7px 14px rgba(50, 50, 93, 0.1), 0 3px 6px rgba(0, 0, 0, 0.08);
}

.btn-outline {
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255,255,255,0.2);
    color: var(--color-white);
}

.btn-outline:hover {
    background-color: var(--color-white);
    color: var(--color-navy);
}

.full-width {
    width: 100%;
}

/* Header */
.site-header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 1.5rem 0;
    transition: var(--transition);
    background-color: transparent;
}

.site-header.scrolled {
    background-color: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    box-shadow: var(--shadow-sm);
    padding: 1rem 0;
}

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

.logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-white);
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.site-header.scrolled .logo {
    color: var(--color-navy);
}

.logo-mark {
    font-weight: 700;
}

/* Navigation */
.desktop-nav ul {
    display: flex;
    gap: 2.5rem;
}

.desktop-nav a {
    color: rgba(255, 255, 255, 0.8);
    font-weight: 600;
    font-size: 0.95rem;
}

.desktop-nav a:hover {
    color: var(--color-white);
}

.site-header.scrolled .desktop-nav a {
    color: var(--color-slate);
}

.site-header.scrolled .desktop-nav a:hover {
    color: var(--color-primary);
}

/* Mobile Menu */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 6px;
    z-index: 1001;
}

.bar {
    width: 24px;
    height: 2px;
    background-color: var(--color-white);
    transition: var(--transition);
    border-radius: 2px;
}

.site-header.scrolled .bar {
    background-color: var(--color-navy);
}

.mobile-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100vh;
    background-color: var(--color-white);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    z-index: 999;
}

.mobile-nav.active {
    right: 0;
}

.mobile-nav ul {
    text-align: center;
}

.mobile-nav li {
    margin: 2rem 0;
}

.mobile-nav a {
    font-size: 2rem;
    font-family: var(--font-heading);
    color: var(--color-navy);
    font-weight: 700;
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    color: var(--color-white);
    padding-top: 80px;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--color-navy);
    z-index: -1;
    overflow: hidden;
    transform: skewY(-6deg);
    transform-origin: top left;
    height: 120%; /* Extend to cover skew */
    margin-top: -10%; /* Pull up */
}

/* Mesh Gradient Effect */
.stripe-mesh {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(at 0% 0%, hsla(253,16%,7%,1) 0, transparent 50%), 
        radial-gradient(at 50% 0%, hsla(225,39%,30%,1) 0, transparent 50%), 
        radial-gradient(at 100% 0%, hsla(339,49%,30%,1) 0, transparent 50%);
    opacity: 0.8;
}

.stripe-mesh::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: 
        radial-gradient(circle at 50% 50%, rgba(99, 91, 255, 0.4), transparent 40%),
        radial-gradient(circle at 20% 80%, rgba(0, 212, 255, 0.2), transparent 40%);
    filter: blur(80px);
    animation: aurora 20s infinite alternate;
}

@keyframes aurora {
    0% { transform: rotate(0deg) scale(1); }
    100% { transform: rotate(10deg) scale(1.1); }
}

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

.hero-text-wrapper {
    max-width: 700px;
}

.hero-content h1 {
    font-size: 4.5rem;
    margin-bottom: 1.5rem;
    color: var(--color-white);
    line-height: 1.1;
    letter-spacing: -0.04em;
    font-weight: 800;
}

.hero-content p {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    max-width: 540px;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 400;
}

.hero-actions {
    display: flex;
    gap: 1.5rem;
}

/* About Section */
.about-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 6rem;
    align-items: flex-start;
}

.about-text p {
    margin-bottom: 1.5rem;
    font-size: 1.125rem;
    color: var(--color-slate);
}

.about-stats {
    display: grid;
    gap: 1.5rem;
}

.stat-card {
    background: var(--color-white);
    padding: 2rem;
    border-radius: var(--radius-card);
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(0,0,0,0.05);
    display: flex;
    flex-direction: column;
    transition: var(--transition);
}

.stat-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.stat-card h3 {
    font-size: 2rem;
    color: var(--color-primary);
    margin-bottom: 0.25rem;
}

.stat-card p {
    font-weight: 600;
    color: var(--color-navy);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

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

.service-card {
    background: var(--color-white);
    padding: 2.5rem 2rem;
    border-radius: var(--radius-card);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid rgba(0,0,0,0.04);
    height: 100%;
}

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

.icon-box {
    width: 56px;
    height: 56px;
    background-color: var(--color-bg-alt);
    color: var(--color-primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
}

.service-card h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--color-navy);
}

.service-card p {
    font-size: 1rem;
    color: var(--color-slate);
    line-height: 1.6;
}

/* Team Section */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 3rem;
}

.team-card {
    text-align: left;
}

.member-photo {
    width: 100%;
    aspect-ratio: 1;
    margin-bottom: 1.5rem;
    border-radius: var(--radius-card);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.member-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.team-card:hover .member-photo img {
    transform: scale(1.05);
}

.member-info h3 {
    font-size: 1.5rem;
    margin-bottom: 0.25rem;
}

.role {
    display: block;
    color: var(--color-primary);
    font-weight: 600;
    margin-bottom: 1rem;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.member-info p {
    font-size: 1rem;
    color: var(--color-slate);
    margin-bottom: 1rem;
}

.linkedin-link {
    display: inline-flex;
    color: #0077b5;
    opacity: 0.8;
    padding: 0.5rem;
    margin-left: -0.5rem;
    border-radius: 50%;
    transition: var(--transition);
}

.linkedin-link:hover {
    opacity: 1;
    background-color: rgba(0, 119, 181, 0.1);
}

/* Contact Section */
.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 6rem;
    align-items: center;
}

.contact-content h2 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    color: var(--color-navy);
}

.contact-content p {
    font-size: 1.25rem;
    color: var(--color-slate);
    margin-bottom: 2rem;
}

.contact-details {
    margin-top: 3rem;
}

.detail-item {
    margin-bottom: 2rem;
    padding-left: 1.5rem;
    border-left: 3px solid var(--color-primary);
}

.detail-item strong {
    display: block;
    color: var(--color-navy);
    margin-bottom: 0.25rem;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.contact-form {
    background: var(--color-white);
    padding: 3rem;
    border-radius: var(--radius-card);
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(0,0,0,0.05);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    color: var(--color-navy);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 1px solid #E6E6E6;
    border-radius: 6px;
    font-family: var(--font-body);
    font-size: 1rem;
    transition: var(--transition);
    background-color: #F6F9FC;
    color: var(--color-navy);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-primary);
    background-color: var(--color-white);
    box-shadow: 0 0 0 4px rgba(99, 91, 255, 0.15);
}

/* Footer */
footer {
    background-color: #F6F9FC; /* Light footer like Stripe sometimes, or dark. Let's do dark per request */
    background-color: var(--color-navy);
    color: var(--color-white);
    padding: 5rem 0;
    position: relative;
    z-index: 10;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.footer-brand {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
}

.footer-brand p {
    font-family: var(--font-body);
    font-size: 0.9rem;
    opacity: 0.6;
    margin-top: 1rem;
    max-width: 300px;
}

.footer-links {
    display: flex;
    gap: 3rem;
}

.footer-links a {
    font-size: 0.95rem;
    opacity: 0.7;
    font-weight: 500;
}

.footer-links a:hover {
    opacity: 1;
    color: var(--color-white);
}

/* Animations */
.reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
}

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

.delay-100 { transition-delay: 0.1s; }
.delay-200 { transition-delay: 0.2s; }
.delay-300 { transition-delay: 0.3s; }

/* Responsive */
@media (max-width: 900px) {
    .section-header h2 { font-size: 2.5rem; }
    .hero-content h1 { font-size: 3rem; }
    
    .desktop-nav { display: none; }
    .mobile-menu-btn { display: flex; }
    
    .about-grid, 
    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 4rem;
    }
    
    .footer-container {
        flex-direction: column;
        gap: 3rem;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .alt-bg {
        transform: skewY(-3deg);
    }
    
    .alt-bg > .container {
        transform: skewY(3deg);
    }
}

@media (max-width: 480px) {
    .container { width: 92%; }
    .section { padding: 4rem 0; }
    
    .hero-content h1 { font-size: 2.25rem; }
    .hero-actions { flex-direction: column; width: 100%; }
    .btn { width: 100%; }
    
    .services-grid, .team-grid {
        grid-template-columns: 1fr;
    }
    
    .about-grid { gap: 3rem; }
}
