/* BeyondBoundariess.com – Mobile Apps & AI Video Creation – updated */

:root {
    --bg: #000000;
    --bg-card: #0a0a0a;
    --bg-elevated: #111111;
    --text: #e8e8ed;
    --text-muted: #9898a6;
    --accent: #6366f1;
    --accent-light: #818cf8;
    --accent-glow: rgba(99, 102, 241, 0.25);
    --border: #2a2a36;
    --success: #22c55e;
    --font-sans: 'Outfit', system-ui, sans-serif;
    --font-mono: 'JetBrains Mono', monospace;
    --radius: 12px;
    --radius-lg: 20px;
    --transition: 0.2s ease;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: var(--font-sans);
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
}
body::before {
    content: '';
    position: fixed;
    top: -50%;
    right: -30%;
    width: 80%;
    height: 100%;
    background: radial-gradient(ellipse, rgba(99, 102, 241, 0.15) 0%, transparent 55%);
    pointer-events: none;
    z-index: 0;
}
body > * {
    position: relative;
    z-index: 1;
}

.container {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.narrow {
    max-width: 640px;
}

/* Header */
.header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: var(--bg);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.35rem 1.5rem;
}

.logo {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-decoration: none;
    color: var(--text);
    background: var(--bg);
    border: none;
    box-shadow: none;
}

.logo:hover {
    opacity: 0.9;
}

.logo-img {
    display: block;
    height: 225px;
    width: auto;
    max-width: 760px;
    object-fit: contain;
    background: var(--bg);
    border: none;
    box-shadow: none;
}

.logo-caption {
    font-size: 1.05rem;
    font-weight: 400;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 2px;
}

.caption-line {
    display: inline-block;
    width: 16px;
    height: 1px;
    background: var(--text-muted);
}

.nav {
    display: flex;
    gap: 2rem;
}

.nav a {
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: color var(--transition), border-color var(--transition);
    border-bottom: 2px solid transparent;
    padding-bottom: 0.2rem;
}

.nav a:hover {
    color: var(--accent-light);
    border-bottom-color: var(--accent-light);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--text);
}

.nav-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: currentColor;
    border-radius: 1px;
}

/* Hero */
.hero {
    position: relative;
    margin-top: 0;
    padding: 1rem 0 2rem;
    overflow: visible;
}

.hero-inner {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 0;
    align-items: center;
}

.hero-content {
    max-width: 36ch;
}

.hero-logo-block {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: var(--bg);
    border: none;
    box-shadow: none;
    gap: 0;
}

.hero-logo {
    display: block;
    height: 420px;
    min-height: 380px;
    width: auto;
    max-width: 100%;
    margin: 0;
    object-fit: contain;
    object-position: center;
    background: var(--bg);
    border: none;
    box-shadow: none;
}

.hero-logo-caption {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin: 0;
    padding: 0;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.hero-logo-caption .caption-line {
    width: 28px;
}

.hero-tag {
    display: inline-block;
    font-family: var(--font-mono);
    font-size: 0.95rem;
    color: var(--accent-light);
    text-transform: uppercase;
    letter-spacing: 0.12em;
    margin: 0 0 0.5rem 0;
}

.hero-title {
    font-size: clamp(2rem, 5vw, 3.25rem);
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.03em;
    margin: 0 0 1.25rem;
    max-width: 18ch;
}

.hero-title em {
    font-style: normal;
    color: var(--accent-light);
}

.hero-desc {
    font-size: 1.15rem;
    color: var(--text-muted);
    max-width: 42ch;
    margin: 0 0 2rem;
}

.hero-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.85rem 1.6rem;
    font-family: var(--font-sans);
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: background var(--transition), color var(--transition);
}

.btn-primary {
    background: var(--accent);
    color: #fff;
}

.btn-primary:hover {
    background: var(--accent-light);
    box-shadow: 0 6px 32px rgba(99, 102, 241, 0.45);
}

.btn-secondary {
    background: transparent;
    color: var(--text-muted);
}

.btn-secondary:hover {
    color: var(--accent-light);
    box-shadow: 0 0 0 2px var(--accent);
}

.btn-block {
    width: 100%;
}

/* Sections */
.section {
    padding: 4rem 0;
}

.section-title {
    font-size: clamp(1.75rem, 3vw, 2.25rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    margin: 0 0 0.5rem;
}

.section-subtitle {
    color: var(--text-muted);
    font-size: 1.05rem;
    margin: 0 0 2.5rem;
}

/* Services grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.service-card {
    padding: 0;
    background: var(--bg-card);
    border-radius: var(--radius);
    overflow: hidden;
    transition: transform var(--transition), box-shadow 0.3s ease;
}
.service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(99, 102, 241, 0.12);
}

.service-card-img-wrap {
    aspect-ratio: 16 / 10;
    overflow: hidden;
    margin: 0;
}
.service-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}
.service-card:hover .service-card-img {
    transform: scale(1.05);
}

.service-card h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin: 0 1.25rem 0.75rem;
    padding-top: 1rem;
}
.service-card p {
    color: var(--text-muted);
    margin: 0 1.25rem 1.25rem;
    font-size: 0.95rem;
}

/* Split sections */
.split-section {
    display: block;
    max-width: 50ch;
}

.split-content .section-title {
    margin-bottom: 1rem;
}

.split-content p {
    color: var(--text-muted);
    margin: 0 0 1.5rem;
}

.feature-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.feature-list li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.6rem;
    color: var(--text);
}

.feature-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.5rem;
    width: 6px;
    height: 6px;
    background: var(--accent);
    border-radius: 50%;
}

/* About */
.section-about .section-title {
    margin-bottom: 1rem;
}

.section-about p {
    color: var(--text-muted);
    margin: 0;
    font-size: 1.05rem;
}

/* Contact */
.section-contact {
    padding: 4rem 0 0 0;
}

.contact-form {
    max-width: 480px;
    margin-bottom: 0;
}

.form-row {
    margin-bottom: 1.25rem;
}

.form-row label {
    display: block;
    font-weight: 500;
    font-size: 0.9rem;
    margin-bottom: 0.4rem;
    color: var(--text);
}

.form-row input,
.form-row select,
.form-row textarea {
    width: 100%;
    padding: 0.75rem 0;
    font-family: var(--font-sans);
    font-size: 1rem;
    color: var(--text);
    background: transparent;
    border: none;
    border-bottom: 1px solid var(--border);
    transition: border-color var(--transition);
}

.form-row input::placeholder,
.form-row textarea::placeholder {
    color: var(--text-muted);
}

.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
    outline: none;
    border-bottom-color: var(--accent);
    box-shadow: 0 1px 0 0 var(--accent-glow);
}

.form-row select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%239898a6' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    padding-right: 2.5rem;
}

.contact-form .btn {
    margin-top: 0.5rem;
    margin-bottom: 0;
}

/* Footer */
.footer {
    margin-top: 1.5rem;
    padding: 0 0 2.5rem;
}

.footer-inner {
    text-align: center;
}

.footer-brand-block {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0;
    margin-bottom: 0;
    background: var(--bg);
    border: none;
    box-shadow: none;
}

.footer-caption {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.footer-caption .caption-line {
    width: 18px;
}

.footer-logo {
    display: block;
    height: 220px;
    width: auto;
    max-width: 880px;
    margin: 0;
    object-fit: contain;
    object-position: top center;
    background: var(--bg);
    border: none;
    box-shadow: none;
}

.footer-tagline {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin: -5rem 0 1rem;
}

.footer-copy {
    color: var(--text-muted);
    font-size: 0.85rem;
    margin: 0;
}

/* Responsive */
@media (max-width: 768px) {
    .logo-img {
        height: 175px;
        max-width: 600px;
    }

    .caption-line {
        width: 10px;
    }

    .hero-inner {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .hero-content {
        max-width: none;
    }

    .hero-logo {
        height: 320px;
        min-height: 280px;
        max-width: 100%;
        margin: 0;
    }

    .footer-logo {
        height: 240px;
        max-width: 100%;
        margin: 0;
    }

    .nav {
        display: none;
    }

    .nav.open {
        display: flex;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        flex-direction: column;
        gap: 0;
        padding: 1rem 1.5rem;
        background: var(--bg);
    }

    .nav.open a {
        padding: 0.75rem 0;
    }

    .nav-toggle {
        display: flex;
    }

}

@media (max-width: 480px) {
    .hero {
        padding: 0 0 1.5rem;
    }

    .hero-cta {
        flex-direction: column;
    }

    .btn {
        width: 100%;
    }
}
