:root {
    --navy: #0d1b2a;
    --navy-light: #1b2838;
    --navy-lighter: #243447;
    --teal: #4ecdc4;
    --teal-dark: #3db9b0;
    --teal-light: #7ee8e1;
    --white: #ffffff;
    --gray-100: #f8fafc;
    --gray-200: #e2e8f0;
    --gray-300: #cbd5e1;
    --gray-400: #94a3b8;
    --gray-500: #64748b;
    --gray-600: #475569;
    --success: #22c55e;
    --warning: #f59e0b;
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--navy);
    color: var(--white);
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Beta Banner + Nav wrapper */
.beta-nav-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
}

.beta-banner {
    background: linear-gradient(90deg, #f59e0b 0%, #f97316 50%, #f59e0b 100%);
    background-size: 200% 100%;
    animation: betaShimmer 3s ease-in-out infinite;
    padding: 8px 0;
    text-align: center;
}

@keyframes betaShimmer {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.beta-banner-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

.beta-tag {
    background: rgba(0, 0, 0, 0.3);
    color: #fff;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1.5px;
    padding: 3px 10px;
    border-radius: 4px;
    text-transform: uppercase;
}

.beta-text {
    color: #0d1b2a;
    font-size: 14px;
    font-weight: 500;
}

.beta-text strong {
    font-weight: 700;
}

.beta-cta {
    background: #0d1b2a;
    color: #f59e0b;
    font-size: 13px;
    font-weight: 700;
    padding: 5px 16px;
    border-radius: 6px;
    text-decoration: none;
    transition: all 0.2s;
    white-space: nowrap;
}

.beta-cta:hover {
    background: #1b2838;
    transform: scale(1.05);
}

@media (max-width: 768px) {
    .beta-banner-inner {
        gap: 6px;
    }
    .beta-text {
        font-size: 12px;
    }
    .beta-cta {
        font-size: 12px;
        padding: 4px 12px;
    }
}

/* Navigation */
.nav {
    background: rgba(13, 27, 42, 0.85);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(78, 205, 196, 0.1);
    transition: background 0.3s, box-shadow 0.3s;
}

.nav.nav-scrolled {
    background: rgba(13, 27, 42, 0.98);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

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

.logo {
    font-size: 24px;
    font-weight: 700;
    color: var(--white);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
}

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

.nav-links {
    display: flex;
    gap: 28px;
    align-items: center;
}

.nav-links > a,
.nav-dropdown-trigger {
    color: var(--gray-300);
    text-decoration: none;
    font-weight: 500;
    font-size: 15px;
    transition: color 0.2s;
    position: relative;
    padding: 4px 0;
}

.nav-links > a:hover,
.nav-dropdown-trigger:hover {
    color: var(--teal);
}

.nav-links > a.nav-active,
.nav-dropdown-trigger.nav-active {
    color: var(--teal);
}

.nav-links > a.nav-active::after,
.nav-dropdown-trigger.nav-active::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--teal);
    border-radius: 1px;
}

/* Solutions Dropdown */
.nav-dropdown {
    position: relative;
}

.nav-dropdown-trigger {
    background: none;
    border: none;
    cursor: pointer;
    font-family: inherit;
    display: flex;
    align-items: center;
    gap: 4px;
}

.nav-dropdown-arrow {
    font-size: 10px;
    transition: transform 0.2s;
}

.nav-dropdown.open .nav-dropdown-arrow {
    transform: rotate(180deg);
}

.nav-dropdown-menu {
    position: absolute;
    top: calc(100% + 12px);
    left: 50%;
    transform: translateX(-50%) translateY(8px);
    min-width: 280px;
    background: var(--navy-light);
    border: 1px solid rgba(78, 205, 196, 0.2);
    border-radius: 12px;
    padding: 8px;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s, transform 0.2s, visibility 0.2s;
    z-index: 100;
}

.nav-dropdown.open .nav-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.nav-dropdown-menu a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    border-radius: 8px;
    color: var(--gray-300);
    text-decoration: none;
    transition: background 0.15s;
}

.nav-dropdown-menu a:hover {
    background: rgba(78, 205, 196, 0.08);
}

.nav-dropdown-menu a.nav-active {
    background: rgba(78, 205, 196, 0.1);
}

.nav-dropdown-icon {
    font-size: 20px;
    flex-shrink: 0;
}

.nav-dropdown-menu strong {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--white);
}

.nav-dropdown-menu small {
    display: block;
    font-size: 12px;
    color: var(--gray-500);
    margin-top: 2px;
}

.nav-buttons {
    display: flex;
    gap: 12px;
    align-items: center;
}

/* Hamburger Icon */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: var(--white);
    cursor: pointer;
    padding: 8px;
}

.hamburger-icon {
    display: flex;
    flex-direction: column;
    gap: 5px;
    width: 24px;
}

.hamburger-icon span {
    display: block;
    height: 2px;
    background: var(--white);
    border-radius: 1px;
    transition: transform 0.3s, opacity 0.3s;
}

.hamburger-icon.open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.hamburger-icon.open span:nth-child(2) {
    opacity: 0;
}

.hamburger-icon.open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* Mobile Menu */
.mobile-menu {
    display: none;
    flex-direction: column;
    gap: 0;
    padding: 0;
    background: var(--navy-light);
    border-top: 1px solid rgba(78, 205, 196, 0.1);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease, padding 0.35s ease;
}

.mobile-menu.active {
    display: flex;
    max-height: 500px;
    padding: 16px 24px 24px;
}

.mobile-menu > a {
    color: var(--gray-300);
    text-decoration: none;
    font-size: 16px;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    transition: color 0.2s;
}

.mobile-menu > a:hover {
    color: var(--teal);
}

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

.mobile-nav-group {
    padding: 8px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.mobile-nav-label {
    display: block;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--gray-500);
    padding: 4px 0;
}

.mobile-nav-group a {
    display: block;
    color: var(--gray-300);
    text-decoration: none;
    font-size: 15px;
    padding: 10px 0 10px 16px;
    transition: color 0.2s;
}

.mobile-nav-group a:hover {
    color: var(--teal);
}

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

.mobile-nav-buttons {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid rgba(78, 205, 196, 0.1);
}

/* Breadcrumbs */
.breadcrumbs {
    padding: 0;
    margin-top: -40px;
    margin-bottom: 32px;
}

.breadcrumb-list {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    font-size: 14px;
}

.breadcrumb-list li {
    display: flex;
    align-items: center;
    gap: 8px;
}

.breadcrumb-list a {
    color: var(--gray-400);
    text-decoration: none;
    transition: color 0.2s;
}

.breadcrumb-list a:hover {
    color: var(--teal);
}

.breadcrumb-separator {
    color: var(--gray-600);
    font-size: 12px;
}

.breadcrumb-current {
    color: var(--teal);
    font-weight: 500;
}

/* Breadcrumbs on light-background legal pages */
.breadcrumbs-light {
    padding: 0;
    margin-bottom: 24px;
}

.breadcrumbs-light .breadcrumb-list a {
    color: #64748b;
}

.breadcrumbs-light .breadcrumb-list a:hover {
    color: var(--teal);
}

.breadcrumbs-light .breadcrumb-separator {
    color: #94a3b8;
}

.breadcrumbs-light .breadcrumb-current {
    color: var(--navy);
    font-weight: 600;
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Buttons */
.btn {
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    transition: all 0.2s;
    cursor: pointer;
    border: none;
    display: inline-block;
    text-align: center;
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--teal);
    color: var(--teal);
}

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

.btn-primary {
    background: var(--teal);
    color: var(--navy);
}

.btn-primary:hover {
    background: var(--teal-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(78, 205, 196, 0.3);
}

.btn-large {
    padding: 16px 32px;
    font-size: 16px;
}

/* Page Hero */
.page-hero {
    padding: 200px 0 80px;
    position: relative;
    overflow: hidden;
}

.page-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at 30% 20%, rgba(78, 205, 196, 0.15) 0%, transparent 50%);
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.hero-badge {
    display: inline-block;
    background: rgba(78, 205, 196, 0.1);
    border: 1px solid rgba(78, 205, 196, 0.3);
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 14px;
    color: var(--teal);
    margin-bottom: 24px;
}

.hero-content h1 {
    font-size: 48px;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 24px;
}

.highlight {
    color: var(--teal);
}

.hero-content p {
    font-size: 18px;
    color: var(--gray-400);
    margin-bottom: 32px;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Section Header */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 16px;
}

.section-header p {
    color: var(--gray-400);
    font-size: 18px;
    max-width: 600px;
    margin: 0 auto;
}

/* Value Props */
.value-props {
    padding: 80px 0;
    background: var(--navy-light);
}

.value-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.value-card {
    text-align: center;
    padding: 32px;
}

.value-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.value-card h3 {
    font-size: 22px;
    margin-bottom: 12px;
}

.value-card p {
    color: var(--gray-400);
}

/* How It Works */
.how-it-works {
    padding: 100px 0;
}

.step-card {
    text-align: center;
    padding: 24px;
}

.step-number {
    width: 48px;
    height: 48px;
    background: var(--teal);
    color: var(--navy);
    font-size: 24px;
    font-weight: 700;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.step-card h3 {
    font-size: 18px;
    margin-bottom: 12px;
}

.step-card p {
    color: var(--gray-400);
    font-size: 14px;
}

/* Perfect For / Personas */
.perfect-for {
    padding: 80px 0;
    background: var(--navy-light);
}

.personas-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.persona-card {
    background: var(--navy);
    border: 1px solid rgba(78, 205, 196, 0.1);
    border-radius: 12px;
    padding: 28px;
    text-align: center;
}

.persona-icon {
    font-size: 40px;
    margin-bottom: 16px;
}

.persona-card h3 {
    font-size: 18px;
    margin-bottom: 12px;
}

.persona-card p {
    color: var(--gray-400);
    font-size: 14px;
}

/* Comparison Table */
.comparison {
    padding: 100px 0;
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--navy-light);
    border-radius: 12px;
    overflow: hidden;
}

.comparison-table th,
.comparison-table td {
    padding: 16px 24px;
    text-align: left;
    border-bottom: 1px solid rgba(78, 205, 196, 0.1);
}

.comparison-table th {
    background: var(--navy-lighter);
    font-weight: 600;
}

.comparison-table .highlight-col {
    background: rgba(78, 205, 196, 0.1);
    color: var(--teal);
    font-weight: 600;
}

/* Testimonials */
.testimonials {
    padding: 80px 0;
}

/* FAQ */
.faq {
    padding: 80px 0;
    background: var(--navy-light);
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    padding: 24px 0;
    border-bottom: 1px solid rgba(78, 205, 196, 0.1);
}

.faq-item h3 {
    font-size: 18px;
    margin-bottom: 12px;
    color: var(--white);
}

.faq-item p {
    color: var(--gray-400);
}

/* CTA Section */
.cta {
    padding: 100px 0;
    text-align: center;
    background: linear-gradient(135deg, var(--navy-light) 0%, var(--navy) 100%);
}

.cta h2 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 16px;
}

.cta p {
    color: var(--gray-400);
    font-size: 18px;
    margin-bottom: 32px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Footer */
.footer {
    padding: 60px 0 30px;
    border-top: 1px solid rgba(78, 205, 196, 0.1);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-brand p {
    color: var(--gray-500);
    margin-top: 16px;
    font-size: 14px;
}

.footer-column h4 {
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
    color: var(--gray-300);
}

.footer-column a {
    display: block;
    color: var(--gray-500);
    text-decoration: none;
    font-size: 14px;
    padding: 6px 0;
    transition: color 0.2s;
}

.footer-column a:hover {
    color: var(--teal);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(78, 205, 196, 0.1);
    color: var(--gray-500);
    font-size: 14px;
}

/* Features Page */
.features-detailed {
    padding: 60px 0 100px;
}

.feature-section {
    margin-bottom: 80px;
}

.feature-section-header {
    margin-bottom: 32px;
}

.feature-category {
    display: inline-block;
    background: rgba(78, 205, 196, 0.1);
    color: var(--teal);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 12px;
}

.feature-section-header h2 {
    font-size: 28px;
}

.feature-cards-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.feature-detail-card {
    background: var(--navy-light);
    border: 1px solid rgba(78, 205, 196, 0.1);
    border-radius: 12px;
    padding: 28px;
}

.feature-icon {
    font-size: 32px;
    margin-bottom: 16px;
}

.feature-detail-card h3 {
    font-size: 18px;
    margin-bottom: 12px;
}

.feature-detail-card p {
    color: var(--gray-400);
    font-size: 14px;
    margin-bottom: 16px;
}

.feature-list {
    list-style: none;
}

.feature-list li {
    color: var(--gray-300);
    font-size: 13px;
    padding: 4px 0;
    padding-left: 20px;
    position: relative;
}

.feature-list li::before {
    content: '✓';
    color: var(--teal);
    position: absolute;
    left: 0;
}

/* Advisor Page Features */
.platform-features {
    padding: 80px 0;
}

.features-grid-large {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.feature-large-card {
    background: var(--navy-light);
    border: 1px solid rgba(78, 205, 196, 0.1);
    border-radius: 12px;
    padding: 32px;
}

.feature-icon-large {
    font-size: 40px;
    margin-bottom: 20px;
}

.feature-large-card h3 {
    font-size: 20px;
    margin-bottom: 12px;
}

.feature-large-card p {
    color: var(--gray-400);
    font-size: 14px;
    margin-bottom: 20px;
}

.enterprise-features {
    padding: 80px 0;
    background: var(--navy-light);
}

.enterprise-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.enterprise-card {
    background: var(--navy);
    border: 1px solid rgba(78, 205, 196, 0.1);
    border-radius: 12px;
    padding: 24px;
}

.enterprise-card h3 {
    font-size: 18px;
    margin-bottom: 8px;
}

.enterprise-card p {
    color: var(--gray-400);
    font-size: 14px;
}

/* Contact Form */
.contact {
    padding: 100px 0;
}

.contact-form-wrapper {
    max-width: 600px;
    margin: 0 auto;
}

.contact-form {
    background: var(--navy-light);
    border: 1px solid rgba(78, 205, 196, 0.1);
    border-radius: 16px;
    padding: 40px;
}

.contact-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.contact-form .form-group {
    margin-bottom: 20px;
}

.contact-form label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 8px;
    color: var(--gray-300);
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    padding: 12px 16px;
    background: var(--navy);
    border: 1px solid rgba(78, 205, 196, 0.2);
    border-radius: 8px;
    color: var(--white);
    font-size: 15px;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--teal);
}

.contact-form button {
    width: 100%;
}

/* Pricing Page */
.pricing-section {
    padding: 60px 0 100px;
}

.pricing-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-bottom: 48px;
}

.toggle-label {
    font-size: 15px;
    color: var(--gray-400);
    transition: color 0.2s;
}

.toggle-label.active {
    color: var(--white);
    font-weight: 600;
}

.save-badge {
    background: var(--teal);
    color: var(--navy);
    padding: 2px 8px;
    border-radius: 10px;
    font-size: 12px;
    font-weight: 600;
}

.toggle-switch {
    position: relative;
    width: 50px;
    height: 26px;
}

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

.toggle-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--navy-lighter);
    border-radius: 26px;
    transition: 0.3s;
}

.toggle-slider::before {
    position: absolute;
    content: '';
    height: 20px;
    width: 20px;
    left: 3px;
    bottom: 3px;
    background: var(--teal);
    border-radius: 50%;
    transition: 0.3s;
}

.toggle-switch input:checked + .toggle-slider::before {
    transform: translateX(24px);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 80px;
}

.pricing-card {
    background: var(--navy-light);
    border: 1px solid rgba(78, 205, 196, 0.1);
    border-radius: 16px;
    padding: 32px;
    position: relative;
}

.pricing-card.featured {
    border-color: var(--teal);
    transform: scale(1.05);
}

.featured-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--teal);
    color: var(--navy);
    padding: 4px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
}

.pricing-header {
    text-align: center;
    margin-bottom: 24px;
}

.pricing-header h3 {
    font-size: 22px;
    margin-bottom: 16px;
}

.price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 4px;
    margin-bottom: 8px;
}

.currency {
    font-size: 24px;
    font-weight: 600;
}

.amount {
    font-size: 48px;
    font-weight: 800;
    color: var(--teal);
}

.period {
    font-size: 16px;
    color: var(--gray-400);
}

.pricing-desc {
    color: var(--gray-400);
    font-size: 14px;
}

.pricing-features {
    list-style: none;
    margin-bottom: 24px;
}

.pricing-features li {
    padding: 10px 0;
    border-bottom: 1px solid rgba(78, 205, 196, 0.05);
    font-size: 14px;
    color: var(--gray-300);
}

.pricing-card .btn {
    width: 100%;
}

.advisor-pricing {
    padding-top: 40px;
    border-top: 1px solid rgba(78, 205, 196, 0.1);
}

.advisor-pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.advisor-pricing-card {
    background: var(--navy-light);
    border: 1px solid rgba(78, 205, 196, 0.1);
    border-radius: 16px;
    padding: 32px;
    position: relative;
}

.advisor-pricing-card.featured {
    border-color: var(--teal);
}

.advisor-pricing-card .pricing-features li {
    padding: 8px 0;
}

.advisor-pricing-card .btn {
    width: 100%;
    margin-top: 16px;
}

/* About Page */
.about-mission {
    padding: 80px 0;
}

.mission-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.mission-text h2 {
    font-size: 32px;
    margin-bottom: 24px;
}

.mission-text p {
    color: var(--gray-300);
    margin-bottom: 16px;
    font-size: 16px;
    line-height: 1.8;
}

.mission-values {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.value-item {
    background: var(--navy-light);
    border: 1px solid rgba(78, 205, 196, 0.1);
    border-radius: 12px;
    padding: 24px;
}

.value-item h3 {
    font-size: 18px;
    margin-bottom: 8px;
}

.value-item p {
    color: var(--gray-400);
    font-size: 14px;
}

.about-uk {
    padding: 80px 0;
    background: var(--navy-light);
}

.uk-features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.uk-feature {
    background: var(--navy);
    border: 1px solid rgba(78, 205, 196, 0.1);
    border-radius: 12px;
    padding: 24px;
}

.uk-feature h3 {
    font-size: 18px;
    margin-bottom: 8px;
}

.uk-feature p {
    color: var(--gray-400);
    font-size: 14px;
}

.about-disclaimer {
    padding: 60px 0;
}

.disclaimer-card {
    background: var(--navy-light);
    border: 1px solid rgba(245, 158, 11, 0.3);
    border-radius: 12px;
    padding: 32px;
    max-width: 800px;
    margin: 0 auto;
}

.disclaimer-card h3 {
    color: var(--warning);
    margin-bottom: 16px;
}

.disclaimer-card p {
    color: var(--gray-400);
    font-size: 14px;
    margin-bottom: 12px;
}

.about-contact {
    padding: 60px 0;
    background: var(--navy-light);
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.contact-card {
    background: var(--navy);
    border: 1px solid rgba(78, 205, 196, 0.1);
    border-radius: 12px;
    padding: 24px;
    text-align: center;
}

.contact-card h3 {
    font-size: 16px;
    margin-bottom: 8px;
    color: var(--gray-300);
}

.contact-card p {
    color: var(--teal);
    font-size: 15px;
}

/* Responsive */
@media (max-width: 1024px) {
    .value-grid,
    .feature-cards-row,
    .features-grid-large,
    .pricing-grid,
    .advisor-pricing-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .steps-grid,
    .personas-grid,
    .enterprise-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .pricing-card.featured {
        transform: none;
    }
}

@media (max-width: 768px) {
    .nav-links,
    .nav-buttons {
        display: none;
    }
    .mobile-menu-btn {
        display: block;
    }
    .hero-content h1,
    .page-hero .hero-content h1 {
        font-size: 32px;
    }
    .section-header h2 {
        font-size: 28px;
    }
    .value-grid,
    .steps-grid,
    .personas-grid,
    .feature-cards-row,
    .features-grid-large,
    .pricing-grid,
    .advisor-pricing-grid,
    .testimonials-grid,
    .enterprise-grid,
    .uk-features-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }
    .mission-content {
        grid-template-columns: 1fr;
    }
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .contact-form .form-row {
        grid-template-columns: 1fr;
    }
    .path-legend-items {
        flex-direction: column;
        gap: 10px;
    }
}

/* ── Feature Quick-Link Path Badges ── */
.feature-paths {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 16px;
    padding-top: 14px;
    border-top: 1px solid rgba(78, 205, 196, 0.15);
}

.path-badge {
    display: inline-flex;
    align-items: center;
    font-size: 11px;
    font-weight: 600;
    padding: 3px 10px;
    border-radius: 20px;
    letter-spacing: 0.02em;
    white-space: nowrap;
    cursor: default;
}

.path-input {
    background: rgba(78, 205, 196, 0.15);
    color: var(--teal-light);
    border: 1px solid rgba(78, 205, 196, 0.3);
}

.path-output {
    background: rgba(99, 102, 241, 0.15);
    color: #a5b4fc;
    border: 1px solid rgba(99, 102, 241, 0.3);
}

.path-report {
    background: rgba(251, 191, 36, 0.12);
    color: #fcd34d;
    border: 1px solid rgba(251, 191, 36, 0.25);
}

.path-tool {
    background: rgba(244, 114, 182, 0.12);
    color: #f9a8d4;
    border: 1px solid rgba(244, 114, 182, 0.25);
}

/* ── Feature Path Legend Section ── */
.feature-path-legend {
    padding: 40px 0 20px;
}

.path-legend-box {
    background: var(--navy-light);
    border: 1px solid rgba(78, 205, 196, 0.15);
    border-radius: 12px;
    padding: 28px 32px;
    text-align: center;
}

.path-legend-box h3 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 6px;
}

.path-legend-box > p {
    font-size: 14px;
    color: var(--gray-400);
    margin-bottom: 18px;
}

.path-legend-items {
    display: flex;
    justify-content: center;
    gap: 28px;
    flex-wrap: wrap;
}

.path-legend-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--gray-300);
}

/* Hero Screenshot Showcase */
.hero-screenshot-showcase {
    padding: 0 0 80px;
    margin-top: -20px;
}

.hero-browser-frame {
    transform: perspective(1200px) rotateX(2deg);
    transition: transform 0.4s ease;
}

.hero-browser-frame:hover {
    transform: perspective(1200px) rotateX(0deg);
}

.hero-screenshot-img {
    width: 100%;
    height: auto;
    display: block;
}

/* Screenshot Showcase */
.screenshot-showcase {
    padding: 80px 0;
    background: var(--navy-light);
}

.screenshot-tabs {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 32px;
    flex-wrap: wrap;
}

.screenshot-tab {
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    color: var(--gray-400);
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(78, 205, 196, 0.1);
    cursor: pointer;
    transition: all 0.2s;
}

.screenshot-tab:hover {
    color: var(--teal);
    border-color: rgba(78, 205, 196, 0.3);
}

.screenshot-tab.active {
    background: rgba(78, 205, 196, 0.15);
    color: var(--teal);
    border-color: var(--teal);
}

.screenshot-display {
    position: relative;
    max-width: 960px;
    margin: 0 auto;
}

.screenshot-panel {
    display: none;
    animation: screenshotFadeIn 0.3s ease;
}

.screenshot-panel.active {
    display: block;
}

@keyframes screenshotFadeIn {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}

.screenshot-caption {
    text-align: center;
    color: var(--gray-400);
    font-size: 14px;
    margin-top: 16px;
    font-style: italic;
}

/* Feature Screenshot (inline with text) */
.feature-with-screenshot {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
    padding: 60px 0;
}

.feature-with-screenshot.reversed {
    direction: rtl;
}

.feature-with-screenshot.reversed > * {
    direction: ltr;
}

.feature-screenshot-text h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 16px;
}

.feature-screenshot-text p {
    color: var(--gray-400);
    font-size: 16px;
    margin-bottom: 20px;
    line-height: 1.7;
}

.feature-screenshot-text .feature-list {
    margin-bottom: 24px;
}

.feature-with-screenshot--bordered {
    padding-top: 0;
    padding-bottom: 60px;
    border-bottom: 1px solid rgba(78, 205, 196, 0.1);
    margin-bottom: 40px;
}

.feature-screenshot-img {
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(78, 205, 196, 0.2);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.feature-screenshot-img img {
    width: 100%;
    height: auto;
    display: block;
}

/* Steps with screenshots */
.steps-with-screenshots {
    display: flex;
    flex-direction: column;
    gap: 60px;
}

.step-with-screenshot {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 48px;
    align-items: center;
}

.step-with-screenshot:nth-child(even) {
    direction: rtl;
}

.step-with-screenshot:nth-child(even) > * {
    direction: ltr;
}

.step-text {
    padding: 20px 0;
}

.step-text .step-number {
    margin: 0 0 16px;
}

.step-text h3 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 12px;
}

.step-text p {
    color: var(--gray-400);
    font-size: 15px;
    line-height: 1.7;
}

.step-screenshot {
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(78, 205, 196, 0.2);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.step-screenshot img {
    width: 100%;
    height: auto;
    display: block;
}

/* Screenshot banner at top of features page */
.features-hero-screenshots {
    padding: 0 0 60px;
    margin-top: -40px;
}

.screenshot-scroll {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    max-width: 1200px;
    margin: 0 auto;
}

.screenshot-scroll-item {
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid rgba(78, 205, 196, 0.15);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transition: all 0.3s;
}

.screenshot-scroll-item:hover {
    transform: translateY(-4px);
    border-color: rgba(78, 205, 196, 0.4);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4), 0 0 20px rgba(78, 205, 196, 0.1);
}

.screenshot-scroll-item img {
    width: 100%;
    height: auto;
    display: block;
}

.screenshot-scroll-item .screenshot-label {
    padding: 10px 14px;
    background: var(--navy-light);
    font-size: 13px;
    font-weight: 600;
    color: var(--gray-300);
    text-align: center;
}

@media (max-width: 1024px) {
    .feature-with-screenshot,
    .step-with-screenshot {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    .feature-with-screenshot.reversed,
    .step-with-screenshot:nth-child(even) {
        direction: ltr;
    }
    .screenshot-scroll {
        grid-template-columns: 1fr;
        max-width: 600px;
    }
}

@media (max-width: 768px) {
    .screenshot-tabs {
        gap: 4px;
    }
    .screenshot-tab {
        padding: 8px 12px;
        font-size: 12px;
    }
}

.pension-calc-section {
    padding: 100px 0;
    background: linear-gradient(180deg, var(--navy) 0%, var(--navy-light) 50%, var(--navy) 100%);
    position: relative;
}

.pension-calc-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at 50% 30%, rgba(78, 205, 196, 0.08) 0%, transparent 60%);
    pointer-events: none;
}

.pension-calc {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 48px;
    align-items: start;
    position: relative;
}

.pension-calc-inputs {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.calc-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.calc-field label {
    font-size: 14px;
    font-weight: 600;
    color: var(--gray-300);
    letter-spacing: 0.02em;
}

.calc-field input[type="number"] {
    width: 100%;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(78, 205, 196, 0.2);
    border-radius: 10px;
    color: var(--white);
    font-size: 18px;
    font-weight: 600;
    font-family: 'Inter', sans-serif;
    transition: border-color 0.2s, box-shadow 0.2s;
    -moz-appearance: textfield;
}

.calc-field input[type="number"]::-webkit-inner-spin-button,
.calc-field input[type="number"]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.calc-field input[type="number"]:focus {
    outline: none;
    border-color: var(--teal);
    box-shadow: 0 0 0 3px rgba(78, 205, 196, 0.15);
}

.calc-input-prefix,
.calc-input-suffix {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(78, 205, 196, 0.2);
    border-radius: 10px;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.calc-input-prefix:focus-within,
.calc-input-suffix:focus-within {
    border-color: var(--teal);
    box-shadow: 0 0 0 3px rgba(78, 205, 196, 0.15);
}

.calc-input-prefix > span,
.calc-input-suffix > span {
    padding: 12px 0 12px 16px;
    color: var(--gray-400);
    font-size: 18px;
    font-weight: 600;
    flex-shrink: 0;
}

.calc-input-suffix > span {
    padding: 12px 16px 12px 0;
}

.calc-input-prefix input,
.calc-input-suffix input {
    border: none !important;
    background: transparent !important;
    box-shadow: none !important;
    padding-left: 8px;
}

.calc-input-suffix input {
    padding-right: 8px;
    padding-left: 16px;
}

.pension-calc-results {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}

.calc-result-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(78, 205, 196, 0.15);
    border-radius: 14px;
    padding: 24px 28px;
    transition: transform 0.2s, border-color 0.2s;
}

.calc-result-card:hover {
    border-color: rgba(78, 205, 196, 0.3);
}

.calc-result-primary {
    background: linear-gradient(135deg, rgba(78, 205, 196, 0.12) 0%, rgba(78, 205, 196, 0.04) 100%);
    border-color: rgba(78, 205, 196, 0.3);
}

.calc-result-label {
    font-size: 13px;
    font-weight: 600;
    color: var(--gray-400);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 6px;
}

.calc-result-value {
    font-size: 36px;
    font-weight: 800;
    color: var(--teal);
    line-height: 1.1;
    margin-bottom: 4px;
}

.calc-result-primary .calc-result-value {
    font-size: 44px;
}

.calc-result-sub {
    font-size: 13px;
    color: var(--gray-500);
}

.calc-progress-bar {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(78, 205, 196, 0.15);
    border-radius: 14px;
    padding: 20px 28px;
}

.calc-progress-label {
    display: flex;
    justify-content: space-between;
    margin-bottom: 12px;
}

.calc-progress-label span {
    font-size: 13px;
    font-weight: 600;
    color: var(--gray-300);
}

.calc-progress-track {
    display: flex;
    height: 28px;
    border-radius: 14px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.04);
}

.calc-progress-existing {
    background: var(--teal);
    transition: width 0.4s ease;
    min-width: 4px;
}

.calc-progress-contributions {
    background: #818cf8;
    transition: width 0.4s ease;
    min-width: 4px;
}

.calc-progress-growth {
    background: #22c55e;
    transition: width 0.4s ease;
    min-width: 4px;
}

.calc-progress-legend {
    display: flex;
    gap: 20px;
    margin-top: 12px;
    flex-wrap: wrap;
}

.calc-progress-legend span {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: var(--gray-400);
}

.calc-progress-legend i {
    display: inline-block;
    width: 10px;
    height: 10px;
    border-radius: 3px;
}

.legend-existing i { background: var(--teal); }
.legend-contributions i { background: #818cf8; }
.legend-growth i { background: #22c55e; }

.calc-disclaimer {
    text-align: center;
    margin-top: 32px;
    padding: 16px 24px;
    background: rgba(245, 158, 11, 0.08);
    border: 1px solid rgba(245, 158, 11, 0.2);
    border-radius: 10px;
}

.calc-disclaimer p {
    font-size: 13px;
    color: var(--gray-400);
    line-height: 1.6;
}

.calc-disclaimer strong {
    color: var(--teal);
}

.calc-cta {
    text-align: center;
    margin-top: 32px;
}

@media (max-width: 900px) {
    .pension-calc {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    .pension-calc-inputs {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 16px;
    }
    .calc-field:last-child {
        grid-column: 1 / -1;
    }
}

@media (max-width: 600px) {
    .pension-calc-inputs {
        grid-template-columns: 1fr;
    }
    .calc-result-primary .calc-result-value {
        font-size: 32px;
    }
    .calc-result-value {
        font-size: 28px;
    }
    .calc-progress-legend {
        gap: 12px;
    }
}

.security-trust {
    padding: 80px 0;
}

.security-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.security-card {
    background: var(--navy-light);
    border: 1px solid rgba(78, 205, 196, 0.15);
    border-radius: 12px;
    padding: 32px;
    transition: all 0.3s;
}

.security-card:hover {
    border-color: rgba(78, 205, 196, 0.4);
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.2);
}

.security-icon {
    font-size: 32px;
    margin-bottom: 16px;
}

.security-card h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--white);
}

.security-card p {
    font-size: 14px;
    color: var(--gray-400);
    line-height: 1.7;
}

.security-cta {
    text-align: center;
    margin-top: 40px;
}

@media (max-width: 1024px) {
    .security-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .security-grid {
        grid-template-columns: 1fr;
    }
}

.security-detail {
    padding: 80px 0;
}

.security-detail-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.security-detail-card {
    background: linear-gradient(135deg, var(--navy-light) 0%, var(--navy-lighter) 100%);
    border: 1px solid rgba(78, 205, 196, 0.15);
    border-radius: 14px;
    padding: 36px;
    transition: all 0.3s;
}

.security-detail-card:hover {
    border-color: rgba(78, 205, 196, 0.35);
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.2);
}

.security-detail-icon {
    font-size: 36px;
    margin-bottom: 20px;
}

.security-detail-card h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--white);
}

.security-detail-card p {
    font-size: 15px;
    color: var(--gray-300);
    line-height: 1.7;
    margin-bottom: 16px;
}

.security-detail-tech {
    background: rgba(78, 205, 196, 0.06);
    border: 1px solid rgba(78, 205, 196, 0.1);
    border-radius: 8px;
    padding: 14px 16px;
    font-size: 13px;
    color: var(--gray-400);
    line-height: 1.6;
}

.security-detail-tech strong {
    color: var(--teal);
    font-weight: 600;
}

.security-detail-tech a {
    color: var(--teal);
    text-decoration: none;
}

.security-detail-tech a:hover {
    text-decoration: underline;
}

.security-responsible {
    background: linear-gradient(135deg, rgba(78, 205, 196, 0.08) 0%, rgba(78, 205, 196, 0.03) 100%);
    border: 1px solid rgba(78, 205, 196, 0.2);
    border-radius: 14px;
    padding: 40px;
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.security-responsible h3 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--white);
}

.security-responsible p {
    font-size: 15px;
    color: var(--gray-300);
    line-height: 1.7;
}

.security-responsible a {
    color: var(--teal);
    text-decoration: none;
}

.security-responsible a:hover {
    text-decoration: underline;
}

@media (max-width: 1024px) {
    .security-detail-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .security-detail-grid {
        grid-template-columns: 1fr !important;
    }
}

.footer-trust-badges {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 32px;
    flex-wrap: wrap;
    padding: 24px 0;
    margin: 32px 0 0;
    border-top: 1px solid rgba(78, 205, 196, 0.1);
}

.trust-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--gray-400);
    white-space: nowrap;
}

.trust-badge-icon {
    font-size: 18px;
}

@media (max-width: 600px) {
    .footer-trust-badges {
        gap: 16px 24px;
    }
    .trust-badge {
        font-size: 12px;
    }
}

.device-showcase {
    padding: 80px 0;
    background: linear-gradient(180deg, var(--navy) 0%, var(--navy-light) 100%);
    overflow: hidden;
}

.device-showcase .section-header {
    text-align: center;
    margin-bottom: 48px;
}

.device-grid {
    display: grid;
    grid-template-columns: 1fr 1.8fr 1fr;
    gap: 32px;
    align-items: center;
    max-width: 1100px;
    margin: 0 auto;
}

.device-frame {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
    transition: transform 0.3s ease;
}

.device-frame:hover {
    transform: translateY(-4px);
}

.device-frame img {
    width: 100%;
    height: auto;
    display: block;
}

.device-frame--mobile {
    border-radius: 24px;
    border: 3px solid var(--gray-600);
    max-width: 220px;
    margin: 0 auto;
}

.device-frame--mobile::before {
    content: '';
    display: block;
    height: 20px;
    background: var(--gray-600);
    border-radius: 0 0 8px 8px;
    width: 60px;
    margin: 0 auto;
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
}

.device-frame--tablet {
    border-radius: 16px;
    border: 3px solid var(--gray-600);
    max-width: 500px;
    margin: 0 auto;
}

.device-label {
    text-align: center;
    margin-top: 12px;
    font-size: 14px;
    color: var(--gray-400);
    font-weight: 500;
}

.device-features {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-top: 48px;
    flex-wrap: wrap;
}

.device-feature {
    text-align: center;
    max-width: 220px;
}

.device-feature-icon {
    font-size: 28px;
    margin-bottom: 8px;
}

.device-feature h4 {
    font-size: 15px;
    margin-bottom: 4px;
    color: var(--white);
}

.device-feature p {
    font-size: 13px;
    color: var(--gray-400);
    line-height: 1.5;
}

@media (max-width: 768px) {
    .device-grid {
        grid-template-columns: 1fr;
        gap: 24px;
        max-width: 320px;
    }
    
    .device-frame--tablet,
    .device-features {
        gap: 24px;
    }
    
    .device-showcase {
        padding: 48px 0;
    }
}
