:root {
    --bg-base: #FEFCE8; /* Very light bright yellow */
    --bg-surface: #FFFFFF;
    --bg-surface-hover: #F9FAFB;
    --text-primary: #111827;
    --text-secondary: #4B5563;
    --border: #E5E7EB;
    --radius: 8px;
    --accent: #0EA5E9; /* Sky Blue */
    --accent-secondary: #10B981; /* Light Green */
}

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

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-base);
    color: var(--text-primary);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

/* Navbar */
.navbar {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    padding: 1.5rem 4rem;
    position: absolute;
    top: 0;
    width: 100%;
    z-index: 10;
}

.logo-link {
    display: flex;
    align-items: center;
    position: fixed;
    top: 1.5rem;
    left: 4rem;
    z-index: 1000;
}

.logo-img {
    height: 32px;
    width: auto;
    object-fit: contain;
    filter: brightness(0);
    transition: transform 0.05s linear;
}

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

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 500;
    transition: color 0.2s;
}
.nav-links a:hover { color: var(--text-primary); }

.nav-auth {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-left: 1rem;
    border-left: 1px solid var(--border);
    padding-left: 2.5rem;
}

.login-link {
    color: var(--text-primary) !important;
    font-weight: 600 !important;
}

/* Dropdown Menus */
.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown > a {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    padding: 1rem 0;
}

.dropdown > a i {
    font-size: 0.75rem;
    transition: transform 0.2s;
}

.dropdown:hover > a i {
    transform: rotate(180deg);
}

.dropdown:hover > a {
    color: var(--accent);
}

.dropdown-content {
    visibility: hidden;
    opacity: 0;
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background-color: var(--bg-surface);
    min-width: 180px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 0.75rem;
    box-shadow: 0 10px 40px rgba(0,0,0,0.8);
    transition: all 0.2s ease;
    z-index: 101;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.dropdown:hover .dropdown-content {
    visibility: visible;
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

.dropdown-content a {
    color: var(--text-secondary);
    padding: 0.5rem 0.75rem;
    border-radius: 4px;
    display: block;
    transition: background 0.2s, color 0.2s;
}

.dropdown-content a:hover {
    background: var(--bg-surface-hover);
    color: var(--text-primary);
}

/* Mega Menu */
.mega-menu {
    min-width: 360px;
    flex-direction: row;
    padding: 1.5rem;
    gap: 2rem;
}

.mega-column {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    flex: 1;
}

.mega-column h4 {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    padding-left: 0.75rem;
}

.mega-column a {
    color: var(--text-secondary);
    font-size: 0.85rem;
    font-weight: 500;
    padding: 0.5rem 0.75rem;
    border-radius: 4px;
    display: block;
    transition: color 0.2s, background-color 0.2s;
    text-decoration: none;
}

.mega-column a:hover {
    color: var(--accent);
}

.mega-column a.product-item {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 0.6rem;
    padding: 0.4rem 0.5rem !important;
    margin-bottom: 0;
    text-decoration: none;
    transition: opacity 0.2s, background-color 0.2s;
    color: var(--text-primary) !important;
    font-weight: 500;
    font-size: 0.85rem;
    border-radius: 6px;
}

.mega-column a.product-item:hover {
    opacity: 1;
    background-color: var(--bg-surface-hover) !important;
}

.product-icon {
    width: 28px;
    height: 28px;
    background-color: #F4F4F5;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-primary);
    font-size: 1.1rem;
    flex-shrink: 0;
}

.btn-primary-small {
    background: var(--accent) !important;
    color: #ffffff !important;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    font-weight: 600;
}

/* Buttons */
.btn-primary {
    background: var(--accent);
    color: #ffffff;
    padding: 0.75rem 1.25rem;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: opacity 0.2s;
}
.btn-primary:hover { opacity: 0.9; }

.btn-secondary {
    background: transparent;
    color: var(--text-primary);
    padding: 0.75rem 1.25rem;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    transition: color 0.2s;
}
.btn-secondary:hover { color: var(--text-secondary); }

/* Hero */
.hero {
    /* Layout handled by inner container */
}

.hero-content {
    max-width: 480px;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.03em;
    margin-bottom: 1.5rem;
}

.hero-subtitle {
    color: var(--text-secondary);
    font-size: 1rem;
    margin-bottom: 2.5rem;
    max-width: 400px;
}

.hero-ctas {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.hero-microcopy, .footer-microcopy {
    color: var(--text-secondary);
    font-size: 0.8rem;
    margin-top: 1rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}
.hero-microcopy i, .footer-microcopy i {
    color: var(--accent);
}

.hero-visual {
    width: 100%;
}

.hero-img {
    width: 100%;
    border-radius: var(--radius);
    object-fit: cover;
    filter: brightness(0.9);
}

/* General Sections */
.section {
    width: 100%;
}

.container {
    padding: 6rem 4rem;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

.sticky-section {
    position: sticky;
    top: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow: hidden;
    box-shadow: 0 -10px 30px rgba(0,0,0,0.05);
}

.relative-section {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    box-shadow: 0 -10px 30px rgba(0,0,0,0.05);
    /* padding is handled by the inner container */
}

.bg-yellow { background-color: #FEFCE8; }
.bg-blue { background-color: #E0F2FE; }
.bg-green { background-color: #D1FAE5; }
.bg-purple { background-color: #F3E8FF; }
.bg-pink { background-color: #FCE7F3; }
.bg-white { background-color: #FFFFFF; }

.section-header {
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 1.75rem;
    font-weight: 600;
    letter-spacing: -0.02em;
    margin-bottom: 0.5rem;
}

.section-header p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* Feature Viewer Section */
.feature-viewer {
    /* Layout handled by inner container */
}

.feature-viewer-content h2 {
    font-size: 2.5rem;
    line-height: 1.1;
    margin-bottom: 1rem;
}

.feature-viewer-content p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.feature-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tab-btn {
    background: var(--bg-surface);
    color: var(--text-secondary);
    border: 1px solid var(--border);
    padding: 0.6rem 1.2rem;
    border-radius: 100px;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.tab-btn:hover {
    color: var(--text-primary);
    border-color: #444;
}

.tab-btn.active {
    background: var(--accent);
    color: #ffffff;
    border-color: var(--accent);
}

.feature-viewer-visual {
    background: var(--bg-surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 2rem;
    height: 380px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.05);
}

.tab-content {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    padding: 2.5rem;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.tab-content.active {
    opacity: 1;
    visibility: visible;
}

/* Industry Section */
.industry-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 3rem;
}

.industry-card {
    background: var(--bg-surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

.industry-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.industry-card-image {
    position: relative;
    width: 100%;
    height: 250px;
}

.industry-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.industry-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: var(--accent);
    color: #fff;
    padding: 0.3rem 0.8rem;
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 600;
}

.industry-card-content {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.industry-card-content h3 {
    margin-bottom: 0.5rem;
    font-size: 1.25rem;
}

.industry-card-content p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
    line-height: 1.5;
    flex: 1;
}

.industry-card-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-primary);
    font-weight: 600;
    text-decoration: none;
    transition: color 0.3s;
}

.industry-card-link:hover {
    color: var(--accent);
}

.mockup-header {
    font-size: 0.8rem;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    border-bottom: 1px solid var(--border);
    padding-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.mockup-body {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.mockup-item {
    background: var(--bg-base);
    padding: 1rem;
    border-radius: var(--radius);
    border: 1px solid var(--border);
}

/* Bento Grid */
.bento-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 240px;
    gap: 1rem;
}

.bento-card {
    background: var(--bg-surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
}

.card-large {
    grid-column: span 2;
}

.card-small {
    grid-column: span 1;
}

.card-icon {
    color: var(--accent);
    font-size: 1.5rem;
}

.card-text h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.card-text p {
    color: var(--text-secondary);
    font-size: 0.85rem;
    line-height: 1.5;
}

/* Logos Strip */
.logo-strip {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 3rem;
    padding: 3rem 0;
    color: var(--text-secondary);
}

.strip-label {
    font-size: 0.7rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.logos {
    display: flex;
    gap: 3rem;
}

.logo-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    font-weight: 500;
}
.logo-item i { font-size: 1.2rem; }

/* Pricing Section */
.pricing-section {
    text-align: center;
}
.pricing-section .section-header {
    margin-bottom: 3rem;
}

.pricing-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
    text-align: left;
}

/* Pricing Toggle */
.pricing-toggle {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    margin-bottom: 3rem;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-secondary);
}

.pricing-toggle .active {
    color: var(--text-primary);
}

.discount-badge {
    display: inline-block;
    margin-left: 0.5rem;
    padding: 0.15rem 0.5rem;
    background-color: var(--accent);
    color: #ffffff;
    font-size: 0.7rem;
    font-weight: 700;
    border-radius: 100px;
    letter-spacing: 0.02em;
    vertical-align: middle;
}

.switch {
    position: relative;
    display: inline-block;
    width: 44px;
    height: 24px;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0; left: 0; right: 0; bottom: 0;
    background-color: var(--border);
    transition: .3s;
    border-radius: 24px;
}

.slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 3px;
    bottom: 3px;
    background-color: var(--text-primary);
    transition: .3s;
    border-radius: 50%;
}

input:checked + .slider {
    background-color: var(--accent);
}

input:checked + .slider:before {
    transform: translateX(20px);
    background-color: var(--bg-base);
}

.billing-note {
    font-size: 0.75rem;
    color: var(--text-secondary);
    margin-top: -1.5rem;
    margin-bottom: 2rem;
}

.pricing-card {
    background: var(--bg-surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 2.5rem;
    position: relative;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.pricing-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    border-color: rgba(0,0,0,0.2);
}

.studio-card {
    border-color: var(--border);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.card-badge {
    position: absolute;
    top: 2.5rem;
    right: 2.5rem;
    background: #ffffff;
    color: #000000;
    font-size: 0.7rem;
    font-weight: 600;
    padding: 0.2rem 0.6rem;
    border-radius: 100px;
}

.tier-name {
    font-weight: 600;
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.tier-desc {
    color: var(--text-secondary);
    font-size: 0.85rem;
    margin-bottom: 1.5rem;
    min-height: 40px;
}

.tier-price {
    margin-bottom: 2rem;
}
.tier-price .price {
    font-size: 2.5rem;
    font-weight: 700;
    letter-spacing: -0.03em;
}
.tier-price .period {
    color: var(--text-secondary);
    font-size: 0.85rem;
    margin-left: 0.25rem;
}

.tier-features {
    list-style: none;
    margin-bottom: 2.5rem;
}
.tier-features li {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.tier-features li i {
    color: var(--text-primary);
}

.btn-full {
    display: block;
    width: 100%;
    text-align: center;
    padding: 0.75rem;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    transition: opacity 0.2s;
}
.accent-btn {
    background: var(--accent);
    color: #ffffff;
}
.accent-btn:hover { opacity: 0.9; }

.dark-btn {
    background: #ffffff;
    color: var(--text-primary);
    border: 1px solid var(--border);
}
.dark-btn:hover { background: var(--bg-surface-hover); border-color: #D1D5DB; }

/* FAQ */
.faq-section {
    /* Layout handled by inner container */
}
.faq-section h2 {
    font-size: 1.25rem;
    font-weight: 600;
    text-align: center;
    margin-bottom: 2rem;
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.faq-item {
    background: var(--bg-surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.5rem;
    cursor: pointer;
    overflow: hidden;
    transition: background 0.2s;
}
.faq-item:hover {
    background: var(--bg-surface-hover);
}
.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 500;
    font-size: 0.95rem;
    user-select: none;
}
.faq-question i {
    transition: transform 0.3s ease;
}
.faq-answer {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-top: 0;
    transition: max-height 0.3s ease, opacity 0.3s ease, margin-top 0.3s ease;
}
.faq-item.open .faq-answer {
    max-height: 500px;
    opacity: 1;
    margin-top: 1rem;
}
.faq-item.open .faq-question i {
    transform: rotate(180deg);
}

/* Footer CTA */
.footer-cta {
    padding: 8rem 2rem 4rem;
    text-align: center;
}
.footer-cta h2 {
    font-size: 2rem;
    font-weight: 700;
    letter-spacing: -0.03em;
    margin-bottom: 0.75rem;
}
.footer-cta p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 2rem;
}

.footer-copyright {
    margin-top: 8rem;
    color: #444;
    font-size: 0.75rem;
}

/* Responsive */
@media (max-width: 1024px) {
    .hero { grid-template-columns: 1fr; text-align: center; gap: 3rem; }
    .hero-content { max-width: 100%; margin: 0 auto; display: flex; flex-direction: column; align-items: center; }
    .bento-grid { grid-template-columns: 1fr 1fr; }
    .card-large { grid-column: span 2; }
    .pricing-cards { grid-template-columns: 1fr; }
    .logo-strip { flex-direction: column; gap: 1.5rem; }
}

@media (max-width: 768px) {
    .bento-grid { grid-template-columns: 1fr; grid-auto-rows: auto; }
    .card-large, .card-small { grid-column: span 1; }
    .hero-title { font-size: 2.5rem; }
    .section { padding: 4rem 2rem; }
    .navbar { padding: 1.5rem 2rem; }
}
