.public-page {
    background: #060918;
    overflow-x: hidden;
}

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

.public-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 16px 0;
    transition: all 0.35s ease;
}

.public-header .public-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.public-header.scrolled {
    background: rgba(6, 9, 24, 0.92);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    padding: 10px 0;
}

.public-logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.public-logo .brand-icon {
    width: 32px;
    height: 32px;
    flex-shrink: 0;
}

.public-logo .brand-text {
    font-size: 20px;
    font-weight: 800;
    background: linear-gradient(135deg, #0066FF 0%, #00D9FF 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.5px;
}

.public-nav {
    display: flex;
    gap: 32px;
}

.public-nav a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.2s;
}

.public-nav a:hover {
    color: #fff;
}

.public-header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.btn-header-login {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    padding: 8px 16px;
    transition: color 0.2s;
}

.btn-header-login:hover {
    color: #fff;
}

.btn-header-signup {
    background: #0066FF;
    color: #fff;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    padding: 8px 20px;
    border-radius: 8px;
    transition: all 0.25s;
}

.btn-header-signup:hover {
    background: #0052CC;
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(0, 102, 255, 0.4);
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.mobile-menu-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: #fff;
    border-radius: 2px;
    transition: all 0.3s;
}

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

.mobile-menu-toggle.open span:nth-child(2) {
    opacity: 0;
}

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

.hero {
    position: relative;
    padding: 140px 0 80px;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero .public-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.hero-bg {
    position: absolute;
    inset: 0;
    overflow: hidden;
    z-index: 0;
}

.hero-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.35;
}

.hero-glow-1 {
    width: 600px;
    height: 600px;
    background: #0066FF;
    top: -200px;
    left: -100px;
}

.hero-glow-2 {
    width: 500px;
    height: 500px;
    background: #00D9FF;
    bottom: -200px;
    right: -100px;
    opacity: 0.2;
}

.hero-grid-lines {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
    background-size: 60px 60px;
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-badge {
    display: inline-block;
    background: rgba(0, 102, 255, 0.12);
    border: 1px solid rgba(0, 102, 255, 0.25);
    color: #6EB5FF;
    font-size: 13px;
    font-weight: 600;
    padding: 6px 16px;
    border-radius: 100px;
    margin-bottom: 24px;
    letter-spacing: 0.02em;
}

.hero-title {
    font-size: 52px;
    font-weight: 800;
    line-height: 1.12;
    letter-spacing: -1.5px;
    color: #fff;
    margin-bottom: 20px;
}

.hero-gradient-text {
    background: linear-gradient(135deg, #0066FF 0%, #00D9FF 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 17px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.55);
    max-width: 520px;
    margin-bottom: 36px;
}

.hero-actions {
    display: flex;
    gap: 16px;
    margin-bottom: 48px;
}

.btn-hero-primary {
    background: #0066FF;
    color: #fff;
    text-decoration: none;
    font-size: 15px;
    font-weight: 600;
    padding: 14px 32px;
    border-radius: 10px;
    transition: all 0.3s;
    box-shadow: 0 4px 24px rgba(0, 102, 255, 0.35);
}

.btn-hero-primary:hover {
    background: #0052CC;
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(0, 102, 255, 0.5);
}

.btn-hero-secondary {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    padding: 14px 32px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    transition: all 0.3s;
}

.btn-hero-secondary:hover {
    color: #fff;
    border-color: rgba(255, 255, 255, 0.25);
    background: rgba(255, 255, 255, 0.04);
}

.hero-social-proof {
    display: flex;
    align-items: center;
    gap: 24px;
}

.hero-stat-value {
    display: block;
    font-size: 22px;
    font-weight: 700;
    color: #fff;
}

.hero-stat-label {
    display: block;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.4);
    margin-top: 2px;
}

.hero-stat-divider {
    width: 1px;
    height: 36px;
    background: rgba(255, 255, 255, 0.1);
}

.hero-visual {
    position: relative;
    z-index: 1;
}

.hero-dashboard-preview {
    background: rgba(12, 16, 36, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.5), 0 0 60px rgba(0, 102, 255, 0.1);
}

.preview-topbar {
    display: flex;
    gap: 6px;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.03);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.preview-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.preview-dot.red { background: #FF5F57; }
.preview-dot.yellow { background: #FEBC2E; }
.preview-dot.green { background: #28C840; }

.preview-body {
    display: grid;
    grid-template-columns: 48px 1fr;
    min-height: 280px;
}

.preview-sidebar-mini {
    padding: 16px 8px;
    border-right: 1px solid rgba(255, 255, 255, 0.06);
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-items: center;
}

.preview-nav-item {
    width: 28px;
    height: 28px;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.04);
}

.preview-nav-item.active {
    background: rgba(0, 102, 255, 0.2);
    border: 1px solid rgba(0, 102, 255, 0.3);
}

.preview-main {
    padding: 20px;
}

.preview-stats-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-bottom: 20px;
}

.preview-stat-box {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 8px;
    padding: 12px;
}

.preview-stat-label {
    width: 60%;
    height: 8px;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 4px;
    margin-bottom: 8px;
}

.preview-stat-num {
    font-size: 16px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.8);
    font-family: 'Inter', sans-serif;
}

.preview-chart {
    margin-bottom: 20px;
    border-radius: 8px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.04);
}

.preview-chart svg {
    display: block;
    width: 100%;
    height: 80px;
}

.preview-table-rows {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.preview-table-row {
    display: flex;
    align-items: center;
    gap: 10px;
}

.preview-pill {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    flex-shrink: 0;
}

.preview-pill.blue { background: #0066FF; }
.preview-pill.green { background: #00E676; }
.preview-pill.teal { background: #00D9FF; }

.preview-row-bar {
    height: 6px;
    border-radius: 3px;
    background: rgba(255, 255, 255, 0.06);
}

.section-header {
    text-align: center;
    margin-bottom: 56px;
}

.section-badge {
    display: inline-block;
    background: rgba(0, 102, 255, 0.1);
    border: 1px solid rgba(0, 102, 255, 0.2);
    color: #6EB5FF;
    font-size: 12px;
    font-weight: 600;
    padding: 5px 14px;
    border-radius: 100px;
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.section-title {
    font-size: 40px;
    font-weight: 800;
    color: #fff;
    line-height: 1.2;
    letter-spacing: -1px;
    margin-bottom: 16px;
}

.section-subtitle {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.5);
    max-width: 560px;
    margin: 0 auto;
    line-height: 1.7;
}

.features-section {
    padding: 100px 0;
    position: relative;
}

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

.feature-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 16px;
    padding: 32px;
    transition: all 0.35s ease;
}

.feature-card:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(0, 102, 255, 0.2);
    transform: translateY(-4px);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.2);
}

.feature-icon {
    width: 48px;
    height: 48px;
    background: rgba(0, 102, 255, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #0066FF;
    margin-bottom: 20px;
}

.feature-card h3 {
    font-size: 18px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 10px;
}

.feature-card p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.45);
    line-height: 1.7;
}

.platforms-section {
    padding: 100px 0;
    background: rgba(255, 255, 255, 0.01);
}

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

.platform-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 14px;
    padding: 28px 20px;
    text-align: center;
    transition: all 0.3s ease;
}

.platform-card:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.12);
    transform: translateY(-4px);
}

.platform-icon-circle {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: 800;
    margin: 0 auto 14px;
}

.platform-name {
    font-size: 14px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.7);
}

.how-it-works-section {
    padding: 100px 0;
}

.steps-grid {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 0;
}

.step-card {
    flex: 0 0 280px;
    text-align: center;
    padding: 32px 24px;
}

.step-number-badge {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(0, 102, 255, 0.1);
    border: 2px solid rgba(0, 102, 255, 0.3);
    color: #0066FF;
    font-size: 18px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.step-card h3 {
    font-size: 18px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 10px;
}

.step-card p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.45);
    line-height: 1.7;
}

.step-connector {
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, rgba(0, 102, 255, 0.3), rgba(0, 217, 255, 0.3));
    margin-top: 55px;
    flex-shrink: 0;
}

.pricing-section {
    padding: 100px 0;
    background: rgba(255, 255, 255, 0.01);
}

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

.pricing-toggle-label {
    font-size: 14px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.35);
    transition: color 0.2s;
    cursor: default;
}

.pricing-toggle-label.active {
    color: #fff;
}

.pricing-save-badge {
    background: rgba(0, 230, 118, 0.12);
    color: #00E676;
    font-size: 11px;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: 100px;
    margin-left: 4px;
}

.pricing-toggle-switch {
    width: 44px;
    height: 24px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    cursor: pointer;
    position: relative;
    transition: background 0.25s;
}

.pricing-toggle-switch.active {
    background: rgba(0, 102, 255, 0.3);
    border-color: rgba(0, 102, 255, 0.5);
}

.pricing-toggle-knob {
    position: absolute;
    width: 18px;
    height: 18px;
    background: #fff;
    border-radius: 50%;
    top: 2px;
    left: 2px;
    transition: transform 0.25s;
}

.pricing-toggle-switch.active .pricing-toggle-knob {
    transform: translateX(20px);
}

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

.home-pricing-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 20px;
    padding: 40px 32px;
    position: relative;
    transition: all 0.35s ease;
}

.home-pricing-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.home-pricing-card.featured {
    border-color: rgba(0, 102, 255, 0.35);
    background: rgba(0, 102, 255, 0.05);
    box-shadow: 0 0 60px rgba(0, 102, 255, 0.1);
}

.pricing-popular-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: #0066FF;
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    padding: 4px 16px;
    border-radius: 100px;
    white-space: nowrap;
}

.pricing-tier-name {
    font-size: 20px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 12px;
}

.pricing-tier-price {
    margin-bottom: 28px;
}

.pricing-amount-display {
    font-size: 48px;
    font-weight: 800;
    color: #fff;
    letter-spacing: -2px;
}

.pricing-period {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.35);
    margin-left: 2px;
}

.pricing-tier-features {
    list-style: none;
    padding: 0;
    margin: 0 0 32px;
}

.pricing-tier-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 0;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
}

.pricing-tier-features li svg {
    flex-shrink: 0;
}

.btn-pricing {
    display: block;
    text-align: center;
    text-decoration: none;
    font-size: 15px;
    font-weight: 600;
    padding: 14px 24px;
    border-radius: 10px;
    transition: all 0.3s;
}

.btn-pricing-primary {
    background: #0066FF;
    color: #fff;
    box-shadow: 0 4px 16px rgba(0, 102, 255, 0.35);
}

.btn-pricing-primary:hover {
    background: #0052CC;
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(0, 102, 255, 0.5);
}

.btn-pricing-secondary {
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-pricing-secondary:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
}

.cta-section {
    padding: 80px 0 120px;
}

.cta-card {
    position: relative;
    background: rgba(0, 102, 255, 0.06);
    border: 1px solid rgba(0, 102, 255, 0.15);
    border-radius: 24px;
    padding: 64px;
    text-align: center;
    overflow: hidden;
}

.cta-glow {
    position: absolute;
    width: 400px;
    height: 400px;
    background: rgba(0, 102, 255, 0.15);
    border-radius: 50%;
    filter: blur(100px);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 0;
}

.cta-card h2 {
    font-size: 36px;
    font-weight: 800;
    color: #fff;
    margin-bottom: 16px;
    position: relative;
    z-index: 1;
}

.cta-card p {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.55);
    margin-bottom: 32px;
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    z-index: 1;
}

.cta-card .btn-hero-primary {
    position: relative;
    z-index: 1;
}

.public-footer {
    padding: 64px 0 32px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

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

.footer-logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
}

.footer-logo .brand-icon {
    width: 28px;
    height: 28px;
    flex-shrink: 0;
}

.footer-logo .brand-text {
    font-size: 20px;
    font-weight: 800;
    background: linear-gradient(135deg, #0066FF 0%, #00D9FF 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.3px;
}

.footer-tagline {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.4);
    line-height: 1.6;
    margin-bottom: 8px;
}

.footer-byline {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.25);
}

.footer-links h4 {
    font-size: 13px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 16px;
}

.footer-links a {
    display: block;
    color: rgba(255, 255, 255, 0.35);
    text-decoration: none;
    font-size: 14px;
    padding: 4px 0;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: #fff;
}

.footer-bottom {
    padding-top: 32px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-bottom p {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.25);
    text-align: center;
}

@media (max-width: 1024px) {
    .hero .public-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .hero-title {
        font-size: 40px;
    }

    .hero-visual {
        display: none;
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .platforms-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .home-pricing-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

@media (max-width: 768px) {
    .public-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        flex-direction: column;
        background: rgba(6, 9, 24, 0.97);
        backdrop-filter: blur(16px);
        padding: 16px 24px;
        gap: 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    }

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

    .public-nav a {
        padding: 12px 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .public-header-actions {
        display: none;
    }

    .hero {
        padding: 120px 0 60px;
        min-height: auto;
    }

    .hero-title {
        font-size: 32px;
    }

    .hero-subtitle {
        font-size: 15px;
    }

    .hero-actions {
        flex-direction: column;
    }

    .hero-actions a {
        text-align: center;
    }

    .hero-social-proof {
        flex-wrap: wrap;
        gap: 16px;
    }

    .section-title {
        font-size: 28px;
    }

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

    .platforms-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .steps-grid {
        flex-direction: column;
        align-items: center;
    }

    .step-connector {
        width: 2px;
        height: 40px;
        margin: 0;
    }

    .step-card {
        flex: none;
        width: 100%;
    }

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

    .cta-card {
        padding: 40px 24px;
    }

    .cta-card h2 {
        font-size: 26px;
    }

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