/* Memphis / Brutalist Geometric Agency Theme */

:root {
    --navy: #002B5B;
    /* Deep Blue */
    --cyan: #00E0D1;
    /* Bright Cyan */
    --pink: #FF0066;
    /* Hot Pink/Magenta */
    --yellow: #FFD700;
    /* Vibrant Yellow */
    --white: #FFFFFF;

    --font-heading: 'Poppins', sans-serif;
    --font-main: 'Inter', sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--navy);
    color: var(--white);
    font-family: var(--font-main);
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    color: inherit;
    text-transform: uppercase;
}

/* Background/Section Utilities */
.bg-navy {
    background-color: var(--navy);
    color: var(--white);
}

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

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

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

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

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

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

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

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

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

/* Typography */
.title {
    font-size: 5rem;
    font-weight: 900;
    letter-spacing: -0.02em;
    line-height: 1.1;
    margin-bottom: 2rem;
}

.description {
    font-size: 1.25rem;
    font-weight: 500;
    max-width: 600px;
    margin-bottom: 2.5rem;
}

.section-title {
    font-size: 3.5rem;
    font-weight: 900;
    margin-bottom: 1rem;
    letter-spacing: -0.01em;
}

.section-subtitle {
    font-size: 1.2rem;
    font-weight: 500;
    margin-bottom: 3rem;
}

/* Structural Components */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    z-index: 2;
}

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

/* Geometric Cards */
.geometric-card {
    background: var(--white);
    color: var(--navy);
    border-radius: 20px;
    padding: 3rem;
    position: relative;
    z-index: 2;
    transition: transform 0.3s ease;
}

.geometric-card.arched {
    border-radius: 300px 300px 20px 20px;
    padding-top: 5rem;
    text-align: center;
}

.card-solid-shadow {
    border: 3px solid var(--navy);
}

.geometric-card:hover {
    transform: translateY(-5px) translateX(-5px);
}

.bg-cyan .geometric-card:hover {
    border-color: var(--pink);
}

.bg-navy .geometric-card:hover {
    border-color: var(--cyan);
}

/* Decorative Geometric Background Elements */
.geo-shape {
    position: absolute;
    z-index: 1;
}

.shape-circle {
    border-radius: 50%;
    background: var(--pink);
}

.shape-pill {
    border-radius: 9999px;
    background: var(--yellow);
}

.shape-grid {
    background-image: radial-gradient(var(--navy) 20%, transparent 20%);
    background-size: 20px 20px;
}

.shape-outline {
    border: 8px solid var(--cyan);
    border-radius: 50%;
}

.badge {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    background: var(--white);
    color: var(--navy);
    border: 3px solid var(--navy);
    border-radius: 30px;
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 2rem;
    box-shadow: 4px 4px 0 var(--navy);
}

/* Animations */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.appear {
    opacity: 1;
    transform: translateY(0);
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 1.5rem 2rem;
    background: var(--navy);
    border-bottom: 3px solid var(--cyan);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 900;
    text-decoration: none;
    color: var(--white);
    letter-spacing: 1px;
}

.logo span {
    color: var(--cyan);
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    color: var(--white);
    text-decoration: none;
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: var(--pink);
}

.btn-outline {
    padding: 0.8rem 1.5rem;
    border: 3px solid var(--cyan);
    border-radius: 100px;
    color: var(--cyan);
    background: transparent;
    text-decoration: none;
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 800;
    text-transform: uppercase;
    transition: all 0.3s ease;
}

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

/* Classy Navbar Links & Buttons */
.btn-link-classy {
    color: var(--white);
    text-decoration: none;
    font-family: var(--font-main);
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    position: relative;
    padding: 0.5rem 0;
    transition: opacity 0.3s ease;
}

.btn-link-classy::after {
    content: '';
    position: absolute;
    width: 100%;
    transform: scaleX(0);
    height: 1px;
    bottom: 0;
    left: 0;
    background-color: var(--white);
    transform-origin: bottom right;
    transition: transform 0.4s cubic-bezier(0.86, 0, 0.07, 1);
}

.btn-link-classy:hover::after {
    transform: scaleX(1);
    transform-origin: bottom left;
}

.btn-link-classy:hover {
    opacity: 0.8;
}

.btn-solid-classy {
    background-color: var(--white);
    color: var(--navy);
    padding: 0.8rem 2rem;
    border-radius: 4px;
    /* subtle soft edge, not a huge rounded pill */
    text-decoration: none;
    font-family: var(--font-main);
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    transition: all 0.3s ease;
    border: 1px solid var(--white);
}

.btn-solid-classy:hover {
    background-color: transparent;
    color: var(--white);
}

/* Buttons */
.primary-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background: var(--yellow);
    color: var(--navy);
    border: 3px solid var(--navy);
    padding: 1.2rem 2.5rem;
    border-radius: 100px;
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 900;
    text-transform: uppercase;
    text-decoration: none;
    cursor: pointer;
    box-shadow: 6px 6px 0 var(--navy);
    transition: all 0.2s ease;
}

.primary-btn:hover {
    transform: translate(-3px, -3px);
    box-shadow: 9px 9px 0 var(--navy);
}

.primary-btn:active {
    transform: translate(2px, 2px);
    box-shadow: 2px 2px 0 var(--navy);
}

.primary-btn svg {
    transition: transform 0.3s ease;
}

.primary-btn:hover svg {
    transform: translateX(4px);
}

/* Products Section Container Extension */
#products.section .container {
    max-width: 1350px; /* Widens the container to give more room for the columns */
}

/* Reusing grid classes from previous style */
.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* Ensure exactly 3 columns on desktop for max width distribution */
    gap: 2rem; /* Reduced gap to give more width to each box */
    position: relative;
    z-index: 2;
}

.products-grid .geometric-card {
    padding: 2.5rem; /* Slightly reduced padding to give content inside more width */
    display: flex;
    flex-direction: column;
    height: 100%;
}

@media (max-width: 1024px) {
    .products-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
}

.product-card {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.product-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--navy);
    color: var(--white);
    border: 3px solid var(--navy);
}

.product-icon.icon-cyan {
    background: var(--cyan);
    border-color: var(--navy);
    color: var(--navy);
}

.product-icon.icon-pink {
    background: var(--pink);
    border-color: var(--navy);
    color: var(--navy);
}

.product-icon.icon-yellow {
    background: var(--yellow);
    border-color: var(--navy);
    color: var(--navy);
}

.product-card h3 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
}

.target-audience {
    font-family: var(--font-heading);
    font-size: 0.9rem;
    color: var(--pink);
    font-weight: 800;
    margin-bottom: 1rem;
    text-transform: uppercase;
    display: block;
}

.product-card p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    font-weight: 500;
}

.product-card ul li {
    font-weight: 500;
}

/* Steps Grid */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    margin-top: 3rem;
}

.step {
    position: relative;
    padding: 3rem 2rem 2rem;
    background: var(--white);
    border: 3px solid var(--navy);
    border-radius: 20px;
}

.step-number {
    position: absolute;
    top: -25px;
    left: 2rem;
    width: 50px;
    height: 50px;
    background: var(--cyan);
    border: 3px solid var(--navy);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-weight: 900;
    font-size: 1.5rem;
    color: var(--navy);
}

.step h4 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

/* FAQ */
.faq-container {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.faq-item {
    background: var(--white);
    border: 3px solid var(--navy);
    border-radius: 16px;
    margin-bottom: 1.5rem;
    overflow: hidden;
    transition: transform 0.2s ease;
}

.faq-item:hover {
    transform: translate(-2px, -2px);
}

.faq-question {
    width: 100%;
    text-align: left;
    padding: 1.5rem 2rem;
    background: transparent;
    border: none;
    color: var(--navy);
    font-size: 1.2rem;
    font-weight: 800;
    font-family: var(--font-heading);
    text-transform: uppercase;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}

.faq-icon {
    color: var(--pink);
    transition: transform 0.3s ease;
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
}

.faq-answer p {
    padding: 0 2rem;
    margin-bottom: 1.5rem;
    color: var(--navy);
    font-size: 1.1rem;
    font-weight: 500;
    border-top: 2px dashed var(--cyan);
    padding-top: 1rem;
}

.faq-item.active .faq-answer {
    max-height: 500px;
}

/* Footer */
.footer {
    padding-top: 6rem;
    padding-bottom: 2rem;
}

.footer .geometric-card {
    text-align: center;
}

.footer-bottom {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    margin-top: 4rem;
    border-top: 3px solid rgba(255, 255, 255, 0.2);
    padding-top: 2rem;
    color: var(--white);
}

/* Custom Studio Responsive Grids */
.strategy-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 4rem;
    align-items: center;
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 4rem;
}

.strategy-card {
    padding: 4rem;
}

/* Responsive */
@media (max-width: 900px) {
    .title {
        font-size: 3.5rem;
    }

    .section-title {
        font-size: 2.5rem;
    }

    .steps-grid {
        grid-template-columns: 1fr;
    }

    .product-card {
        padding: 2rem;
    }

    .strategy-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .why-grid {
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .hide-on-mobile {
        display: none !important;
    }

    .nav-links {
        display: none;
    }

    .navbar {
        padding: 1rem 1.25rem;
    }

    .nav-cta {
        gap: 0.5rem !important;
    }

    .btn-link-classy {
        font-size: 0.75rem;
        letter-spacing: 0.5px;
        padding: 0.3rem 0;
    }

    .btn-solid-classy {
        padding: 0.5rem 0.8rem;
        font-size: 0.75rem;
        letter-spacing: 0.5px;
    }

    .logo {
        font-size: 1.5rem;
    }

    .hero {
        padding-top: 120px;
    }

    .hero-content {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .title {
        font-size: 2.5rem;
    }

    .section-title {
        font-size: 2.2rem;
    }

    .primary-btn {
        width: 100%;
        justify-content: center;
    }

    .section {
        padding: 60px 1rem;
    }

    .container {
        padding: 0 1.25rem;
    }

    .geometric-card {
        padding: 2rem !important;
    }

    .strategy-card {
        padding: 2rem !important;
    }

    .geometric-card.arched {
        border-radius: 150px 150px 20px 20px;
        padding-top: 3rem;
    }
}

@media (max-width: 480px) {
    .title {
        font-size: 2rem;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .geometric-card {
        padding: 1.5rem !important;
    }

    .strategy-card {
        padding: 1.5rem !important;
    }

    .badge {
        font-size: 0.8rem;
        padding: 0.4rem 1rem;
        margin-bottom: 1.5rem;
    }

    .products-grid {
        grid-template-columns: 1fr;
    }

    .why-grid {
        grid-template-columns: 1fr;
    }
}