:root {
    --color-primary: #1e3a8a;
    --color-primary-hover: #1e40af;
    --color-secondary: #0f172a;
    --color-text: #334155;
    --color-text-light: #64748b;
    --color-bg: #ffffff;
    --color-bg-alt: #f8fafc;
    --color-border: #e2e8f0;
    --color-highlight: #0284c7;
    
    --radius: 4px;
    --radius-lg: 8px;
    
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 12px 24px -4px rgb(0 0 0 / 0.15), 0 6px 12px -4px rgb(0 0 0 / 0.1);
    --shadow-phone: 0 20px 40px -10px rgba(15, 23, 42, 0.3), 0 0 0 1px rgba(15, 23, 42, 0.08);
    
    --font-main: 'Inter', system-ui, -apple-system, sans-serif;
}

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

html, body {
    overflow-x: hidden;
    width: 100%;
    max-width: 100%;
}

body {
    font-family: var(--font-main);
    color: var(--color-text);
    background-color: var(--color-bg);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

html {
    scroll-behavior: smooth;
}

a {
    text-decoration: none;
    color: inherit;
}

img, svg, video {
    max-width: 100%;
}

.container {
    max-width: 1140px;
    width: 100%;
    margin: 0 auto;
    padding: 0 1.5rem;
    box-sizing: border-box;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    color: var(--color-secondary);
    line-height: 1.2;
    font-weight: 700;
    word-break: break-word;
}

h1 { font-size: 2.85rem; margin-bottom: 1.5rem; letter-spacing: -0.02em; }
h2 { font-size: 2.25rem; margin-bottom: 1.25rem; letter-spacing: -0.01em; }
h3 { font-size: 1.25rem; margin-bottom: 0.75rem; }

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.625rem 1.25rem;
    border-radius: var(--radius);
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.2s ease;
    cursor: pointer;
    border: 1px solid transparent;
    text-align: center;
    max-width: 100%;
}

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

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

.btn-outline {
    background-color: transparent;
    color: var(--color-secondary);
    border-color: var(--color-border);
}

.btn-outline:hover {
    background-color: var(--color-bg-alt);
    border-color: var(--color-text-light);
}

.btn-large {
    padding: 0.875rem 1.75rem;
    font-size: 1.05rem;
}

.btn-block {
    width: 100%;
}

/* Navbar */
.navbar {
    position: sticky;
    top: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--color-border);
    z-index: 100;
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 4.5rem;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-shrink: 0;
}

.logo-img {
    width: 32px;
    height: 32px;
    border-radius: 6px;
    flex-shrink: 0;
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.logo-text strong {
    color: var(--color-secondary);
    font-size: 1.1rem;
}

.logo-text span {
    color: var(--color-text-light);
    font-size: 0.75rem;
}

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

.nav-links a {
    font-weight: 500;
    color: var(--color-text);
    font-size: 0.95rem;
}

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

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: var(--color-secondary);
    cursor: pointer;
}

/* Language Switcher */
.language button {
    background: none;
    border: 1px solid var(--color-border);
    padding: 0.25rem 0.5rem;
    border-radius: var(--radius);
    cursor: pointer;
    font-size: 0.75rem;
    margin-left: 0.5rem;
    color: inherit;
    transition: background-color 0.2s;
}

.language button:hover {
    background: var(--color-bg-alt);
}

/* Hero Section */
.hero {
    padding: 5.5rem 0;
    background-color: var(--color-bg-alt);
    border-bottom: 1px solid var(--color-border);
    overflow: hidden;
    width: 100%;
}

.hero-container {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 3.5rem;
    align-items: center;
}

.hero-content {
    min-width: 0;
}

.hero-badge {
    display: inline-block;
    padding: 0.35rem 0.75rem;
    background-color: #e0f2fe;
    color: var(--color-highlight);
    border-radius: var(--radius);
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    border: 1px solid #bae6fd;
    max-width: 100%;
}

.hero-subtitle {
    font-size: 1.15rem;
    color: var(--color-text);
    margin-bottom: 2.25rem;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

/* Tech Composition */
.hero-visual {
    width: 100%;
    min-width: 0;
    overflow: hidden;
}

.tech-composition {
    position: relative;
    height: 460px;
    width: 100%;
    max-width: 100%;
}

.mockup-web {
    position: absolute;
    top: 0;
    right: 0;
    width: 88%;
    background: #0f172a;
    border: 1px solid rgba(15, 23, 42, 0.2);
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.mockup-header {
    background: #1e293b;
    padding: 0.65rem 1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    border-bottom: 1px solid #334155;
}

.dots {
    display: flex;
    gap: 6px;
}

.dots span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #64748b;
}

.url-bar {
    background: #0f172a;
    border: 1px solid #334155;
    border-radius: 4px;
    padding: 0.2rem 0.75rem;
    font-size: 0.75rem;
    color: #94a3b8;
    flex: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.mockup-screen-img {
    width: 100%;
    height: 310px;
    overflow: hidden;
    background: #f8fafc;
}

.screenshot-desktop {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top left;
    display: block;
}

/* Smartphone Mockup */
.phone-frame {
    background: #09090b;
    border: 4px solid #18181b;
    border-radius: 40px;
    padding: 10px;
    box-shadow: var(--shadow-phone), inset 0 0 0 2px #27272a;
    position: relative;
    overflow: hidden;
    box-sizing: border-box;
}

.hero-phone {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 220px;
    height: 420px;
    z-index: 2;
}

.showcase-phone {
    width: 280px;
    max-width: 100%;
    height: 560px;
    margin: 0 auto;
}

.phone-speaker {
    position: absolute;
    top: 12px;
    left: 50%;
    transform: translateX(-50%);
    width: 48px;
    height: 4px;
    background: #27272a;
    border-radius: 3px;
    z-index: 5;
}

.phone-notch {
    position: absolute;
    top: 18px;
    left: 50%;
    transform: translateX(-50%);
    width: 64px;
    height: 16px;
    background: #09090b;
    border-radius: 12px;
    z-index: 5;
}

.phone-inner {
    background: #000000;
    width: 100%;
    height: 100%;
    border-radius: 30px;
    overflow: hidden;
    position: relative;
    box-shadow: inset 0 0 3px rgba(0,0,0,0.6);
}

.screenshot-phone {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    display: block;
}

/* Section Helpers */
.section-header-centered {
    text-align: center;
    max-width: 780px;
    margin: 0 auto 3rem;
}

.section-subtitle {
    font-size: 1.15rem;
    color: var(--color-text-light);
    margin-top: 0.5rem;
}

/* Use Cases Section */
.usecases-section {
    padding: 5.5rem 0;
    background-color: var(--color-bg);
}

.usecase-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr));
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}

.usecase-card {
    background: var(--color-bg-alt);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 1.75rem;
    display: flex;
    flex-direction: column;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    min-width: 0;
}

.usecase-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.usecase-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.usecase-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #e0f2fe;
    color: var(--color-primary);
    border-radius: var(--radius);
    flex-shrink: 0;
}

.usecase-icon svg {
    width: 22px;
    height: 22px;
}

.usecase-department {
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--color-secondary);
}

.usecase-example {
    font-weight: 600;
    color: var(--color-primary);
    background: #ffffff;
    border: 1px solid #bae6fd;
    border-radius: var(--radius);
    padding: 0.6rem 0.85rem;
    font-size: 0.9rem;
    margin-bottom: 0.85rem;
    word-break: break-word;
}

.usecase-desc {
    font-size: 0.92rem;
    color: var(--color-text);
    line-height: 1.5;
}

.usecase-conclusion {
    text-align: center;
    font-size: 1.15rem;
    color: var(--color-secondary);
    padding: 1.5rem;
    background: #f1f5f9;
    border-radius: var(--radius);
    border: 1px solid var(--color-border);
}

/* Apps Section */
.apps-section {
    padding: 5.5rem 0;
    background: var(--color-bg-alt);
    border-top: 1px solid var(--color-border);
    overflow: hidden;
}

.apps-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.apps-content {
    min-width: 0;
}

.apps-visual {
    min-width: 0;
}

.apps-lead-quote {
    font-size: 1.25rem;
    color: var(--color-secondary);
    margin-bottom: 1rem;
    line-height: 1.4;
}

.app-feature-list {
    list-style: none;
    margin: 1.5rem 0;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.app-feature-list li {
    font-size: 0.95rem;
    color: var(--color-text);
}

.app-feature-list strong {
    color: var(--color-secondary);
}

.store-links {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.store-item {
    display: inline-flex;
}

.store-badge {
    height: 46px;
    width: auto;
    max-width: 100%;
    border-radius: 6px;
    transition: transform 0.15s ease, opacity 0.15s ease;
    display: block;
}

.store-badge:hover {
    transform: translateY(-2px);
    opacity: 0.95;
}

/* Features Section */
.features {
    padding: 5.5rem 0;
    background-color: var(--color-bg);
    border-top: 1px solid var(--color-border);
}

.section-title {
    text-align: center;
    margin-bottom: 2.5rem;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
    gap: 1.5rem;
}

.feature-card {
    background: white;
    padding: 1.75rem;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    min-width: 0;
}

.feature-card.highlight {
    border-color: #bae6fd;
    background: #f0f9ff;
}

.feature-icon {
    width: 40px;
    height: 40px;
    color: var(--color-primary);
    margin-bottom: 1rem;
}

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

/* Multi-Tenant Section */
.tenant-section {
    padding: 5.5rem 0;
    background-color: var(--color-secondary);
    color: white;
    overflow: hidden;
}

.tenant-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.tenant-content {
    min-width: 0;
}

.tenant-section h2 {
    color: white;
}

.tenant-pricing {
    margin: 2rem 0;
    background: rgba(255, 255, 255, 0.1);
    padding: 1.5rem;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.tp-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
    font-size: 1.125rem;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.tp-item:last-child {
    margin-bottom: 0;
}

.tp-price {
    font-weight: 700;
    color: #38bdf8;
}

.tenant-note {
    font-size: 0.875rem;
    color: #94a3b8;
}

.tenant-visual {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    min-width: 0;
}

.tenant-icon {
    width: 64px;
    height: 64px;
    color: #38bdf8;
}

.tenant-nodes {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
}

.node {
    background: rgba(255, 255, 255, 0.1);
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius);
    border: 1px solid rgba(255, 255, 255, 0.2);
    font-weight: 500;
}

/* Live Display Section */
.display-section {
    padding: 5.5rem 0;
    background: var(--color-bg);
    text-align: center;
    overflow: hidden;
}

.display-header {
    max-width: 700px;
    margin: 0 auto 3rem;
}

.monitor-wrapper {
    max-width: 800px;
    width: 100%;
    margin: 0 auto;
}

.monitor-frame {
    background: #1e293b;
    padding: 1rem;
    border-radius: 12px 12px 0 0;
    border: 2px solid #0f172a;
    box-sizing: border-box;
}

.monitor-screen {
    background: #0f172a;
    min-height: 380px;
    border-radius: 4px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.ms-header {
    background: #1e293b;
    padding: 1rem 1.5rem;
    display: flex;
    justify-content: space-between;
    color: white;
    font-weight: 600;
    border-bottom: 1px solid #334155;
    gap: 1rem;
}

.ms-body {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.ms-ticket {
    background: #1e293b;
    padding: 0.85rem 1rem;
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: white;
    border-left: 4px solid #3b82f6;
    flex-wrap: wrap;
}

.ms-ticket.urgent {
    border-left-color: #ef4444;
}

.ms-tag {
    font-size: 0.75rem;
    padding: 0.25rem 0.5rem;
    border-radius: 2px;
    font-weight: 700;
    text-transform: uppercase;
    flex-shrink: 0;
}

.ms-tag.red {
    background: rgba(239, 68, 68, 0.2);
    color: #fca5a5;
}

.ms-tag.blue {
    background: rgba(59, 130, 246, 0.2);
    color: #93c5fd;
}

.ms-ticket strong {
    flex: 1;
    text-align: left;
    min-width: 160px;
    word-break: break-word;
}

.ms-ticket span:last-child {
    color: #94a3b8;
    font-size: 0.875rem;
    flex-shrink: 0;
}

.monitor-stand {
    width: 120px;
    height: 40px;
    background: #cbd5e1;
    margin: 0 auto;
}

.monitor-base {
    width: 240px;
    max-width: 90%;
    height: 12px;
    background: #94a3b8;
    margin: 0 auto;
    border-radius: 4px 4px 0 0;
}

/* Pricing Section */
.pricing-section {
    padding: 5.5rem 0;
    background: var(--color-bg-alt);
}

.pricing-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto 2.5rem;
}

.pricing-card {
    background: white;
    border-radius: var(--radius-lg);
    border: 1px solid var(--color-border);
    display: flex;
    flex-direction: column;
    position: relative;
    box-shadow: var(--shadow-sm);
    min-width: 0;
}

.pricing-card.highlight-card {
    border: 2px solid var(--color-primary);
    box-shadow: var(--shadow-lg);
    transform: translateY(-8px);
}

.pc-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--color-primary);
    color: white;
    padding: 0.25rem 1rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    white-space: nowrap;
}

.pricing-card .pc-header {
    padding: 2.5rem 2rem 1.5rem;
    text-align: center;
    border-bottom: 1px solid var(--color-border);
    background: transparent;
    color: inherit;
}

.pricing-card.highlight-card .pc-header {
    background: var(--color-bg-alt);
    border-bottom: 1px solid var(--color-border);
}

.pricing-card .pc-header h3 {
    color: var(--color-secondary);
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.pricing-card .pc-price {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--color-secondary);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.pricing-card .pc-price span {
    font-size: 1.125rem;
    font-weight: 500;
    color: var(--color-text-light);
}

.pricing-card .pc-sub {
    color: var(--color-text-light);
    font-size: 1rem;
    font-weight: 500;
}

.pc-additional-tenant {
    margin-top: 0.75rem;
    padding: 0.5rem;
    background: #e0f2fe;
    color: var(--color-highlight);
    border-radius: var(--radius);
    font-weight: 600;
    font-size: 0.9rem;
}

.pricing-card .pc-body {
    padding: 2rem;
    flex: 1;
}

.pc-desc {
    font-size: 0.95rem;
    color: var(--color-text-light);
    margin-bottom: 1.5rem;
    line-height: 1.5;
}

.pricing-card .pc-features {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    list-style: none;
}

.pricing-card .pc-features li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    font-size: 0.95rem;
}

.pricing-card .pc-features svg {
    width: 20px;
    height: 20px;
    color: #10b981;
    flex-shrink: 0;
    margin-top: 2px;
}

.pricing-card .pc-footer {
    padding: 0 2rem 2rem;
    text-align: center;
}

.mt-3 {
    margin-top: 1rem;
}

.pricing-note {
    text-align: center;
    color: var(--color-text-light);
    font-size: 0.9rem;
    margin-bottom: 3.5rem;
}

.pricing-highlight-text {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--color-secondary);
    margin-bottom: 0.25rem;
}

/* Comparison Table */
.comparison-table-wrapper {
    max-width: 800px;
    width: 100%;
    margin: 0 auto 3.5rem;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border-radius: var(--radius-lg);
}

.comparison-table {
    width: 100%;
    min-width: 440px;
    border-collapse: collapse;
    background: white;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--color-border);
}

.comparison-table th, .comparison-table td {
    padding: 1rem 1.5rem;
    text-align: center;
    border-bottom: 1px solid var(--color-border);
}

.comparison-table th:first-child, .comparison-table td:first-child {
    text-align: left;
    font-weight: 500;
}

.comparison-table th {
    background: var(--color-bg-alt);
    font-weight: 600;
    color: var(--color-secondary);
}

.comparison-table td {
    color: var(--color-text);
}

.comparison-table tr:last-child td {
    border-bottom: none;
}

/* Addons */
.addons-section {
    max-width: 1000px;
    margin: 0 auto;
}

.addons-section h3 {
    text-align: center;
    margin-bottom: 0.5rem;
}

.addons-section p {
    text-align: center;
    color: var(--color-text-light);
    margin-bottom: 2rem;
}

.addons-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
    gap: 1rem;
}

.addon-card {
    background: white;
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    padding: 1.25rem;
    min-width: 0;
}

.addon-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.addon-price {
    font-weight: 600;
    color: var(--color-primary);
    white-space: nowrap;
}

.addon-desc {
    font-size: 0.875rem;
    color: var(--color-text-light);
    margin-top: 0.5rem;
}

/* CTA Section */
.cta-section {
    padding: 5.5rem 0;
    text-align: center;
    background: var(--color-bg);
}

.cta-container h2 {
    margin-bottom: 1rem;
}

.cta-container p {
    font-size: 1.15rem;
    max-width: 720px;
    margin: 0 auto 2.5rem;
    line-height: 1.6;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

/* Footer */
.footer {
    background: var(--color-secondary);
    color: #94a3b8;
    padding: 4rem 0 2rem;
    overflow: hidden;
}

.footer-container {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 3rem;
}

.footer-brand strong {
    color: white;
    display: block;
    margin-bottom: 0.5rem;
    font-size: 1.125rem;
}

.footer-links h4 {
    color: white;
    margin-bottom: 1.25rem;
    font-size: 1rem;
}

.footer-links a {
    display: block;
    margin-bottom: 0.75rem;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: white;
}

/* Legal Pages Overrides */
.shell {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background: var(--color-bg-alt);
    overflow-x: hidden;
}

.shell .header {
    background: white;
    padding: 1rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--color-border);
    box-sizing: border-box;
}

.shell .brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.shell .brand img {
    width: 32px;
    height: 32px;
    border-radius: 6px;
}

.shell .brand div {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.shell .brand strong {
    color: var(--color-secondary);
}

.shell .brand span {
    font-size: 0.75rem;
    color: var(--color-text-light);
}

.shell main.card {
    max-width: 800px;
    width: calc(100% - 3rem);
    margin: 3rem auto;
    background: white;
    padding: 3rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--color-border);
    flex: 1;
    box-sizing: border-box;
}

.shell h1 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.shell .meta {
    color: var(--color-text-light);
    font-size: 0.875rem;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--color-border);
}

.shell h2 {
    font-size: 1.25rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.shell p, .shell ul {
    margin-bottom: 1rem;
}

.shell ul {
    padding-left: 1.5rem;
}

.shell a {
    color: var(--color-primary);
    text-decoration: underline;
}

.shell .notice, .shell .danger-notice {
    background: #f1f5f9;
    padding: 1rem;
    border-left: 4px solid var(--color-primary);
    margin: 1.5rem 0;
    border-radius: 0 var(--radius) var(--radius) 0;
}

.shell .danger-notice {
    border-left-color: #ef4444;
    background: #fef2f2;
}

.shell .button {
    display: inline-block;
    background: var(--color-primary);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: var(--radius);
    text-decoration: none;
    margin: 1rem 0;
}

.shell .button.danger {
    background: #ef4444;
}

.shell .contact-grid {
    display: grid;
    grid-template-columns: 120px 1fr;
    gap: 0.5rem 1rem;
    margin: 1.5rem 0;
    background: var(--color-bg-alt);
    padding: 1.5rem;
    border-radius: var(--radius);
}

.shell .home {
    text-align: center;
    margin-bottom: 2rem;
}

.shell .footer {
    background: white;
    border-top: 1px solid var(--color-border);
    padding: 2rem;
    text-align: center;
    font-size: 0.875rem;
    color: var(--color-text-light);
}

.shell .footer nav {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.shell .footer nav a {
    color: var(--color-text-light);
    text-decoration: none;
}

/* Modal */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(15, 23, 42, 0.75);
    backdrop-filter: blur(4px);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    box-sizing: border-box;
}

.modal-content {
    background: white;
    border-radius: var(--radius-lg);
    width: 100%;
    max-width: 500px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    padding: 2.5rem;
    box-shadow: var(--shadow-lg);
    box-sizing: border-box;
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    background: none;
    border: none;
    font-size: 2rem;
    line-height: 1;
    color: var(--color-text-light);
    cursor: pointer;
}

.modal-close:hover {
    color: var(--color-secondary);
}

.form-group {
    margin-bottom: 1.25rem;
    text-align: left;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    color: var(--color-secondary);
}

.form-group input {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    font-family: var(--font-main);
    font-size: 1rem;
    box-sizing: border-box;
}

.form-group input:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(30, 58, 138, 0.1);
}

.form-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
    text-align: left;
}

.form-checkbox input {
    margin-top: 0.25rem;
    flex-shrink: 0;
}

.form-checkbox label {
    font-size: 0.875rem;
    color: var(--color-text);
    line-height: 1.4;
}

.form-checkbox a {
    color: var(--color-primary);
    text-decoration: underline;
}

.alert {
    padding: 1rem;
    border-radius: var(--radius);
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
    text-align: left;
}

.alert-danger {
    background: #fef2f2;
    color: #b91c1c;
    border: 1px solid #fecaca;
}

.spinner {
    width: 40px;
    height: 40px;
    border: 4px solid var(--color-border);
    border-top-color: var(--color-primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 1.5rem;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.success-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.success-details {
    background: var(--color-bg-alt);
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    padding: 1.5rem;
    margin: 1.5rem 0;
    text-align: left;
}

.success-details p {
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.success-details p:last-child {
    margin-bottom: 0;
}

.success-details strong {
    color: var(--color-secondary);
}

.password-box {
    background: #fffbeb;
    border: 1px solid #fde68a;
    padding: 1.5rem;
    border-radius: var(--radius);
    margin-top: 1.5rem;
    text-align: left;
}

.danger-text {
    color: #b45309;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.password-display {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: white;
    padding: 0.75rem;
    border: 1px solid #fcd34d;
    border-radius: var(--radius);
    gap: 0.5rem;
    flex-wrap: wrap;
}

.password-display code {
    font-family: monospace;
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--color-secondary);
    word-break: break-all;
}

.btn-sm {
    padding: 0.4rem 0.75rem;
    font-size: 0.8rem;
}

/* Responsive Media Queries */
@media (max-width: 992px) {
    .hero-container, .tenant-container, .apps-container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .tech-composition {
        max-width: 520px;
        margin: 0 auto;
    }
    
    .footer-container {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    h1 { font-size: 2.25rem; }
    h2 { font-size: 1.75rem; }
    
    .nav-links, .nav-actions {
        display: none;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .hero-buttons, .cta-buttons {
        flex-direction: column;
        width: 100%;
    }
    
    .hero-buttons .btn, .cta-buttons .btn {
        width: 100%;
    }
    
    .tech-composition {
        height: 360px;
        max-width: 440px;
        margin: 0 auto;
    }
    
    .hero-phone {
        width: 160px;
        height: 310px;
    }
    
    .mockup-web {
        width: 88%;
    }
    
    .mockup-screen-img {
        height: 190px;
    }
    
    .footer-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .shell main.card {
        width: calc(100% - 2rem);
        margin: 1rem auto;
        padding: 1.5rem 1rem;
    }
    
    .shell .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .modal-content {
        padding: 2rem 1.25rem;
    }
    
    .pricing-grid {
        grid-template-columns: 1fr;
    }
    
    .pricing-card.highlight-card {
        transform: none;
    }
    
    .comparison-table th, .comparison-table td {
        padding: 0.75rem 1rem;
    }
    
    .feature-grid, .usecase-grid, .addons-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }
    
    h1 { font-size: 1.85rem; }
    h2 { font-size: 1.5rem; }
    
    .tech-composition {
        height: 300px;
        max-width: 320px;
    }
    
    .hero-phone {
        width: 130px;
        height: 260px;
        border-radius: 28px;
        padding: 6px;
    }
    
    .phone-inner {
        border-radius: 22px;
    }
    
    .phone-speaker {
        top: 8px;
        width: 36px;
        height: 3px;
    }
    
    .phone-notch {
        top: 12px;
        width: 44px;
        height: 12px;
    }
    
    .mockup-web {
        width: 86%;
        border-radius: 8px;
    }
    
    .mockup-screen-img {
        height: 155px;
    }
    
    .showcase-phone {
        width: 240px;
        height: 480px;
    }
    
    .pc-price {
        font-size: 2.75rem;
    }
    
    .pricing-card .pc-header {
        padding: 2rem 1.25rem 1.25rem;
    }
    
    .pricing-card .pc-body {
        padding: 1.5rem 1.25rem;
    }
    
    .pricing-card .pc-footer {
        padding: 0 1.25rem 1.5rem;
    }
    
    .store-badge {
        height: 40px;
    }
}
