@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400..900;1,400..900&family=Inter:wght@300;400;500;600;700;800&display=swap');

:root {
    --bg-color: #0A0A0A;
    --text-color: #FAFAFA;
    --accent-color: #0047FF;
    --accent-hover: #0037CC;
    --secondary-text: #888888;
    --serif-font: 'Playfair Display', serif;
    --sans-font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: var(--sans-font);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1,
h2,
h3 {
    font-family: var(--serif-font);
    font-weight: 700;
    text-transform: uppercase;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

h1 {
    font-size: clamp(3rem, 8vw, 7rem);
    margin-bottom: 1.5rem;
}

h2 {
    font-size: clamp(2rem, 5vw, 4rem);
    margin-bottom: 1rem;
}

h3 {
    font-size: clamp(1.2rem, 3vw, 1.8rem);
    margin-bottom: 0.75rem;
}

p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--secondary-text);
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

section {
    padding: 120px 6%;
    min-height: auto;
}

/* Typography Classes */
.mono {
    font-family: var(--sans-font);
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 0.15em;
    font-weight: 600;
}

.accent {
    color: var(--accent-color);
}

/* Layout Utilities */
.container {
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
}

.grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 40px;
}

.grid-item {
    min-width: 0;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    padding-top: 100px;
}

.hero .mono-tag {
    display: inline-block;
    margin-bottom: 1.5rem;
    padding: 8px 16px;
    background: rgba(0, 71, 255, 0.1);
    border: 1px solid rgba(0, 71, 255, 0.3);
    border-radius: 20px;
}

.hero h1 {
    margin-bottom: 2rem;
}

.hero p {
    font-size: 1.15rem;
    max-width: 700px;
    margin: 0 auto 3rem;
    line-height: 1.8;
}

/* Buttons */
.btn,
.btn-small {
    display: inline-block;
    padding: 18px 48px;
    background: var(--accent-color);
    color: white;
    border: none;
    border-radius: 6px;
    font-family: var(--sans-font);
    font-weight: 600;
    font-size: 0.95rem;
    text-transform: none;
    letter-spacing: 0.02em;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 4px 20px rgba(0, 71, 255, 0.3);
}

.btn:hover,
.btn-small:hover {
    background: var(--accent-hover);
    box-shadow: 0 6px 30px rgba(0, 71, 255, 0.5);
    transform: translateY(-2px);
}

.btn-small {
    padding: 12px 28px;
    font-size: 0.85rem;
}

/* Grid Spans */
.span-3 {
    grid-column: span 3;
}

.span-4 {
    grid-column: span 4;
}

.span-6 {
    grid-column: span 6;
}

.span-8 {
    grid-column: span 8;
}

.span-12 {
    grid-column: span 12;
}

/* Card Styles */
.card {
    background: rgba(255, 255, 255, 0.02);
    padding: 40px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    transition: var(--transition);
    height: 100%;
}

.card:hover {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(0, 71, 255, 0.4);
    transform: translateY(-4px);
    box-shadow: 0 10px 40px rgba(0, 71, 255, 0.15);
}

.card h3 {
    margin-bottom: 1rem;
}

.card p {
    font-size: 0.95rem;
    line-height: 1.7;
}

/* Vision Section */
.vision {
    background: linear-gradient(180deg, #0A0A0A 0%, #0F0F0F 100%);
}

/* Services Section */
.services {
    background: #0A0A0A;
}

.services .grid {
    margin-top: 60px;
}

/* Workflow Section */
.workflow {
    background: linear-gradient(180deg, #0A0A0A 0%, #000 100%);
}

/* Founder Section */
.founder {
    background: #000;
}

.founder-image {
    width: 100%;
    height: 600px;
    background-size: cover !important;
    background-position: center !important;
    border-radius: 8px;
    filter: grayscale(100%);
    transition: var(--transition);
}

.founder-image:hover {
    filter: grayscale(0%);
}

.founder blockquote {
    font-family: var(--serif-font);
    font-size: 1.5rem;
    font-style: italic;
    line-height: 1.6;
    border-left: 3px solid var(--accent-color);
    padding-left: 30px;
    margin: 30px 0;
    color: var(--text-color);
}

/* Partners Section */
.partners {
    margin-top: 80px;
}

.partners img {
    height: 100px;
    width: auto;
    object-fit: contain;
    padding: 32px 40px;
    background: rgba(240, 242, 245, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 12px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow:
        0 4px 16px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
}

.partners img:hover {
    background: rgba(255, 255, 255, 1);
    border-color: rgba(0, 71, 255, 0.3);
    transform: translateY(-4px);
    box-shadow:
        0 8px 24px rgba(0, 71, 255, 0.2),
        0 0 20px rgba(0, 71, 255, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 1);
}

/* Pricing Section */
.pricing {
    background: #000;
    padding: 100px 6%;
}

.pricing h2 {
    font-size: clamp(4rem, 10vw, 8rem);
    margin-bottom: 1rem;
}

/* Footer */
footer {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 80px 6%;
    text-align: center;
    background: #000;
}

footer .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
}

footer p {
    font-size: 0.9rem;
}

footer a {
    color: var(--accent-color);
}

footer a:hover {
    text-decoration: underline;
}

footer img {
    height: 70px;
    width: auto;
    object-fit: contain;
    padding: 24px 32px;
    background: rgba(240, 242, 245, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 12px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow:
        0 4px 16px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
}

footer img:hover {
    background: rgba(255, 255, 255, 1);
    border-color: rgba(0, 71, 255, 0.3);
    transform: translateY(-4px);
    box-shadow:
        0 8px 24px rgba(0, 71, 255, 0.2),
        0 0 20px rgba(0, 71, 255, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 1);
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    position: absolute;
    right: 6%;
    top: 30px;
    background: none;
    border: none;
    color: #FAFAFA;
    font-size: 1.8rem;
    cursor: pointer;
    padding: 8px;
    z-index: 1200;
    transition: var(--transition);
}

.mobile-menu-toggle:hover {
    opacity: 0.7;
}

/* Blue when menu is active */
nav ul.active~.mobile-menu-toggle,
.mobile-menu-toggle.active {
    color: var(--accent-color);
    opacity: 1;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.reveal {
    animation: fadeInUp 0.8s ease-out;
}

/* Responsive Design */
/* Desktop Navigation */
nav ul {
    display: flex;
    gap: 40px;
    align-items: center;
}

@media (max-width: 1024px) {
    section {
        padding: 80px 5%;
    }

    .span-3,
    .span-4,
    .span-6,
    .span-8 {
        grid-column: span 12;
    }

    .grid {
        gap: 30px;
    }
}

@media (max-width: 768px) {

    /* Mobile Navigation */
    nav ul {
        display: none;
        position: fixed;
        top: 0;
        right: 0;
        height: 100vh;
        width: 80%;
        max-width: 350px;
        background: rgba(10, 10, 10, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 100px 40px 40px;
        gap: 30px !important;
        box-shadow: -10px 0 40px rgba(0, 0, 0, 0.9);
        z-index: 1100;
        animation: slideIn 0.3s ease-out;
    }

    nav ul.active {
        display: flex !important;
    }

    nav ul li {
        width: 100%;
        text-align: left;
    }

    nav ul li a {
        display: block;
        padding: 16px 0;
        font-size: 1rem !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        color: #FAFAFA !important;
        opacity: 1 !important;
    }

    .mobile-menu-toggle {
        display: block;
    }

    @keyframes slideIn {
        from {
            transform: translateX(100%);
            opacity: 0;
        }

        to {
            transform: translateX(0);
            opacity: 1;
        }
    }

    /* Responsive Spacing */
    section {
        padding: 60px 5%;
    }

    .hero {
        padding-top: 80px;
        min-height: auto;
    }

    h1 {
        font-size: clamp(2.5rem, 10vw, 3.5rem) !important;
    }

    h2 {
        font-size: clamp(1.8rem, 7vw, 2.5rem) !important;
    }

    h3 {
        font-size: clamp(1.1rem, 5vw, 1.4rem) !important;
    }

    p {
        font-size: 1rem;
    }

    .grid {
        gap: 24px;
    }

    .card {
        padding: 30px;
    }

    .founder-image {
        height: 400px !important;
    }

    .founder blockquote {
        font-size: 1.2rem;
        padding-left: 20px;
    }

    .partners img {
        height: 70px !important;
        padding: 24px 28px !important;
    }

    footer img {
        height: 70px !important;
        padding: 24px 28px !important;
    }

    .btn,
    .btn-small {
        min-height: 48px;
        padding: 16px 32px !important;
        font-size: 0.9rem !important;
    }
}

@media (max-width: 480px) {
    section {
        padding: 50px 5%;
    }

    h1 {
        font-size: 2.2rem !important;
    }

    nav ul {
        width: 90%;
        padding: 80px 24px 24px;
    }

    .card {
        padding: 24px;
    }

    .founder-image {
        height: 300px !important;
    }
}