:root {
    --ink: #0c1b2a;
    --ink-soft: #1e3044;
    --sand: #f4efe7;
    --mist: #f7f9fb;
    --accent: #e08c2f;
    --accent-strong: #c7741c;
    --teal: #1f6b73;
    --border: rgba(12, 27, 42, 0.12);
    --shadow: 0 25px 60px rgba(12, 27, 42, 0.16);
    --radius: 20px;
}

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

body {
    font-family: "Space Grotesk", "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
    background:
        radial-gradient(circle at 15% 10%, rgba(224, 140, 47, 0.18), transparent 55%),
        radial-gradient(circle at 85% 20%, rgba(31, 107, 115, 0.2), transparent 45%),
        linear-gradient(180deg, #ffffff 0%, #f8f9fb 100%);
    color: var(--ink);
    line-height: 1.6;
}

a {
    color: inherit;
}

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

.skip-link {
    position: absolute;
    top: 1rem;
    left: 1rem;
    padding: 0.6rem 1rem;
    background: var(--ink);
    color: white;
    border-radius: 999px;
    transform: translateY(-150%);
    transition: transform 0.2s ease;
    z-index: 9999;
}

.skip-link:focus {
    transform: translateY(0);
}

.page-shell {
    position: relative;
    overflow: hidden;
}

.page-shell::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160' viewBox='0 0 160 160'%3E%3Cpath d='M0 160L160 0H80L0 80z' fill='%23000000' fill-opacity='0.03'/%3E%3C/svg%3E");
    opacity: 0.25;
    pointer-events: none;
}

.container {
    width: min(1200px, 92vw);
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

/* Navigation */
header {
    position: sticky;
    top: 0;
    z-index: 1200;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--border);
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.2rem 0;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.logo:hover {
    transform: scale(1.02);
}

.logo img {
    height: 147px;
    width: auto;
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.08));
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
    list-style: none;
}

.nav-links a {
    text-decoration: none;
    color: var(--ink-soft);
    font-size: 0.95rem;
    letter-spacing: 1px;
    text-transform: uppercase;
}

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

.nav-links a.active {
    color: var(--teal);
    font-weight: 600;
}

.nav-cta {
    padding: 0.6rem 1.3rem;
    border-radius: 999px;
    border: 1px solid var(--ink);
    font-size: 0.85rem;
    letter-spacing: 1.2px;
    text-transform: uppercase;
}

.nav-toggle {
    display: none;
    border: 1px solid var(--border);
    background: white;
    border-radius: 999px;
    padding: 0.5rem 1rem;
    font-size: 0.8rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    cursor: pointer;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.9rem 2.2rem;
    border-radius: 999px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    border: none;
    cursor: pointer;
    font-family: inherit;
}

.btn-primary {
    background: var(--accent);
    color: #221507;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 30px rgba(224, 140, 47, 0.35);
}

.btn-ghost {
    border: 1px solid rgba(12, 27, 42, 0.2);
    color: var(--ink);
    background: rgba(255, 255, 255, 0.7);
}

.btn-ghost:hover {
    background: white;
    border-color: var(--ink);
}

/* Sections */
section {
    padding: 5rem 0;
    scroll-margin-top: 100px;
}

.section-title {
    font-family: "Fraunces", Georgia, serif;
    font-size: clamp(2rem, 3.2vw, 3rem);
    margin-bottom: 1rem;
}

.section-subtitle {
    color: #475569;
    max-width: 640px;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header .section-subtitle {
    margin: 0 auto;
}

/* Page Header */
.page-header {
    padding: 4rem 0 3rem;
    text-align: center;
    background: var(--sand);
    border-radius: 0 0 var(--radius) var(--radius);
    margin-bottom: 2rem;
}

.page-header h1 {
    font-family: "Fraunces", Georgia, serif;
    font-size: clamp(2.4rem, 4vw, 3.5rem);
    margin-bottom: 1rem;
}

.page-header p {
    color: #475569;
    max-width: 600px;
    margin: 0 auto;
    font-size: 1.1rem;
}

/* Hero */
.hero {
    padding: 5rem 0 4rem;
}

.hero-content {
    max-width: 800px;
    text-align: center;
    margin: 0 auto;
}

.hero-content h1 {
    font-family: "Fraunces", Georgia, serif;
    font-size: clamp(2.4rem, 4.5vw, 4rem);
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.hero-content .subheadline {
    font-size: 1.15rem;
    color: #334155;
    margin-bottom: 2.5rem;
    max-width: 680px;
    margin-left: auto;
    margin-right: auto;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 3rem;
}

/* Trust Badges */
.trust-badges {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
    padding: 1.5rem 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.trust-badge {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.85rem;
    color: var(--ink-soft);
    letter-spacing: 0.5px;
}

.trust-badge::before {
    content: "";
    width: 8px;
    height: 8px;
    background: var(--teal);
    border-radius: 50%;
}

/* Studio Advantage */
.advantage-section {
    background: var(--sand);
    border-radius: var(--radius);
    padding: 4rem 3rem;
}

.advantage-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
}

.advantage-card {
    background: white;
    border-radius: var(--radius);
    padding: 2.5rem;
    border: 1px solid var(--border);
    box-shadow: 0 18px 40px rgba(12, 27, 42, 0.08);
    position: relative;
}

.advantage-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--teal), var(--accent));
    border-radius: var(--radius) var(--radius) 0 0;
}

.advantage-card h3 {
    font-family: "Fraunces", Georgia, serif;
    font-size: 1.4rem;
    margin-bottom: 1rem;
    color: var(--ink);
}

.advantage-card p {
    color: #556272;
    line-height: 1.7;
}

/* Technical Features */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.feature-card {
    background: white;
    border-radius: var(--radius);
    padding: 2.5rem;
    border: 1px solid var(--border);
    box-shadow: 0 18px 40px rgba(12, 27, 42, 0.08);
    position: relative;
}

.feature-card .feature-number {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: rgba(31, 107, 115, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: "Fraunces", Georgia, serif;
    font-size: 1rem;
    color: var(--teal);
}

.feature-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.8rem;
    padding-right: 3rem;
}

.feature-card p {
    color: #556272;
    line-height: 1.7;
}

/* Pricing */
.pricing-section {
    background: linear-gradient(180deg, var(--mist) 0%, white 100%);
}

.pricing-container {
    background: white;
    border-radius: var(--radius);
    padding: 3.5rem;
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
    max-width: 900px;
    margin: 0 auto;
}

.pricing-header {
    text-align: center;
    margin-bottom: 3rem;
}

.pricing-model {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 3rem;
}

.pricing-tier {
    padding: 2rem;
    border-radius: 16px;
    text-align: center;
}

.pricing-tier.implementation {
    background: rgba(31, 107, 115, 0.08);
    border: 2px solid var(--teal);
}

.pricing-tier.management {
    background: rgba(224, 140, 47, 0.08);
    border: 2px solid var(--accent);
}

.pricing-tier .label {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: #64748b;
    margin-bottom: 0.5rem;
}

.pricing-tier .price {
    font-family: "Fraunces", Georgia, serif;
    font-size: 3rem;
    margin-bottom: 0.3rem;
}

.pricing-tier.implementation .price {
    color: var(--teal);
}

.pricing-tier.management .price {
    color: var(--accent-strong);
}

.pricing-tier .period {
    font-size: 0.9rem;
    color: #64748b;
}

.pricing-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border);
}

.pricing-feature {
    display: flex;
    align-items: flex-start;
    gap: 0.8rem;
    padding: 0.8rem;
}

.pricing-feature::before {
    content: "✓";
    color: var(--teal);
    font-weight: 700;
    flex-shrink: 0;
}

.pricing-feature span {
    color: #475569;
    font-size: 0.95rem;
}

.pricing-note {
    text-align: center;
    margin-top: 2rem;
    padding: 1.5rem;
    background: var(--sand);
    border-radius: 12px;
    color: #475569;
    font-style: italic;
}

/* CTA Section */
.cta-section {
    background: var(--ink);
    border-radius: var(--radius);
    padding: 4rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.cta-content h2 {
    font-family: "Fraunces", Georgia, serif;
    font-size: clamp(2rem, 3vw, 2.8rem);
    color: white;
    margin-bottom: 1.2rem;
}

.cta-content p {
    color: rgba(255, 255, 255, 0.75);
    font-size: 1.05rem;
    line-height: 1.7;
}

.cta-form {
    background: rgba(255, 255, 255, 0.05);
    padding: 2.5rem;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.cta-form h3 {
    color: white;
    font-family: "Fraunces", Georgia, serif;
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    text-align: center;
}

/* Contact Form */
.contact-form-standalone {
    background: white;
    padding: 3rem;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
    max-width: 600px;
    margin: 0 auto;
}

.form-group {
    display: grid;
    gap: 0.4rem;
    margin-bottom: 1rem;
}

.form-group label {
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.7);
}

.contact-form-standalone .form-group label {
    color: var(--ink-soft);
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 0.9rem 1rem;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.08);
    color: white;
    font-size: 1rem;
    font-family: inherit;
}

.contact-form-standalone .form-group input,
.contact-form-standalone .form-group select,
.contact-form-standalone .form-group textarea {
    border: 1px solid var(--border);
    background-color: var(--mist);
    color: var(--ink);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.contact-form-standalone .form-group input::placeholder,
.contact-form-standalone .form-group textarea::placeholder {
    color: #94a3b8;
}

.form-group select {
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    -moz-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='%23ffffff' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 12px;
    padding-right: 2.75rem;
}

.contact-form-standalone .form-group select {
    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='%230c1b2a' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 12px;
    background-color: var(--mist);
}

.form-group select option {
    background: var(--ink);
    color: white;
}

.contact-form-standalone .form-group select option {
    background: white;
    color: var(--ink);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.cta-form .btn {
    width: 100%;
    margin-top: 0.5rem;
}

/* Blog */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.blog-card {
    background: white;
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--border);
    box-shadow: 0 18px 40px rgba(12, 27, 42, 0.08);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.blog-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 25px 50px rgba(12, 27, 42, 0.12);
}

.blog-card-image {
    height: 200px;
    background: var(--sand);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--ink-soft);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.blog-card-content {
    padding: 2rem;
}

.blog-card-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 0.8rem;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.blog-card h3 {
    font-family: "Fraunces", Georgia, serif;
    font-size: 1.3rem;
    margin-bottom: 0.8rem;
    line-height: 1.3;
}

.blog-card h3 a {
    text-decoration: none;
    color: var(--ink);
}

.blog-card h3 a:hover {
    color: var(--teal);
}

.blog-card p {
    color: #556272;
    margin-bottom: 1.5rem;
}

.blog-card .read-more {
    color: var(--teal);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.blog-card .read-more:hover {
    color: var(--accent);
}

/* Footer */
footer {
    padding: 3rem 0 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 2rem;
    border-top: 1px solid var(--border);
    padding-top: 2rem;
}

.footer-brand {
    margin-bottom: 1rem;
}

.footer-brand img {
    height: 132px;
    width: auto;
    margin-bottom: 0.8rem;
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.08));
}

.footer-grid h4 {
    margin-bottom: 0.8rem;
}

.footer-grid a {
    display: block;
    color: #4b5563;
    text-decoration: none;
    margin-bottom: 0.5rem;
}

.footer-grid a:hover {
    color: var(--ink);
}

.footer-bottom {
    margin-top: 2rem;
    text-align: center;
    color: #64748b;
    font-size: 0.85rem;
}

/* Reveal Animation */
.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: all 0.6s ease;
}

.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive */
@media (max-width: 900px) {
    .nav-links {
        position: absolute;
        top: 100%;
        right: 4vw;
        background: white;
        border-radius: 16px;
        padding: 1.2rem;
        border: 1px solid var(--border);
        box-shadow: var(--shadow);
        flex-direction: column;
        align-items: flex-start;
        display: none;
    }

    .nav-links.open {
        display: flex;
    }

    .nav-toggle {
        display: inline-flex;
    }

    .nav-cta {
        display: none;
    }

    .cta-section {
        grid-template-columns: 1fr;
        padding: 3rem 2rem;
    }

    .pricing-model {
        grid-template-columns: 1fr;
    }

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

@media (max-width: 720px) {
    .hero {
        padding-top: 3rem;
    }

    .advantage-section {
        padding: 3rem 1.5rem;
    }

    .pricing-container {
        padding: 2rem 1.5rem;
    }

    .cta-section {
        padding: 2.5rem 1.5rem;
    }

    .cta-form {
        padding: 1.5rem;
    }

    .trust-badges {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-brand {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .page-header {
        padding: 3rem 1.5rem 2rem;
    }

    .contact-form-standalone {
        padding: 2rem 1.5rem;
    }
}

/* Blog Article Styles */
.blog-article-header {
    text-align: center;
    margin-bottom: 3rem;
}

.blog-article-header h1 {
    font-family: 'Fraunces', Georgia, serif;
    font-size: clamp(2rem, 5vw, 3rem);
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: var(--ink);
}

.blog-article-intro {
    font-size: 1.25rem;
    color: #475569;
    max-width: 600px;
    margin: 0 auto;
}

.blog-article-content {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--ink);
}

.blog-article-content h2 {
    font-family: 'Fraunces', Georgia, serif;
    font-size: 1.75rem;
    margin-top: 3rem;
    margin-bottom: 1rem;
    color: var(--ink);
}

.blog-article-content h3 {
    font-family: 'Fraunces', Georgia, serif;
    font-size: 1.35rem;
    margin-top: 2rem;
    margin-bottom: 0.75rem;
    color: var(--ink);
}

.blog-article-content h4 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--teal);
}

.blog-article-content p {
    margin-bottom: 1.25rem;
}

.blog-article-content ul {
    margin-bottom: 1.25rem;
    padding-left: 1.5rem;
}

.blog-article-content li {
    margin-bottom: 0.5rem;
}

.blog-article-content blockquote {
    border-left: 4px solid var(--teal);
    padding-left: 1.5rem;
    margin: 2rem 0;
    font-style: italic;
    color: #475569;
}

.blog-article-content blockquote p {
    margin-bottom: 0;
}

.blog-article-content strong {
    color: var(--ink);
}

@media (prefers-reduced-motion: reduce) {
    * {
        animation: none !important;
        transition: none !important;
    }
}
