/* TOKOKU Landing Page Styling */

:root {
    --bg-dark: #090b11;
    --bg-card: rgba(17, 22, 37, 0.7);
    --bg-sidebar: #0f131f;
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    --primary: #38bdf8;
    --primary-hover: #0ea5e9;
    --success: #10b981;
    --danger: #ef4444;
    --glass-border: rgba(255, 255, 255, 0.08);
    --font-sans: 'Outfit', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: var(--font-sans);
    scroll-behavior: smooth;
}

body.dark-theme {
    background-color: var(--bg-dark);
    color: var(--text-main);
    overflow-x: hidden;
}

/* Nav Header */
.landing-nav {
    background-color: rgba(15, 19, 31, 0.8);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--glass-border);
    padding: 20px 40px;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

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

.logo {
    font-size: 24px;
    font-weight: 800;
    color: var(--text-main);
}

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

.icon-logo {
    color: var(--primary);
    margin-right: 6px;
}

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

.nav-links a {
    text-decoration: none;
    color: var(--text-muted);
    font-size: 14px;
    font-weight: 500;
    transition: color 0.2s;
}

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

.btn-nav-login {
    background-color: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--glass-border) !important;
    padding: 8px 18px !important;
    border-radius: 20px;
}

.btn-nav-register {
    background-color: var(--primary) !important;
    color: var(--bg-dark) !important;
    padding: 8px 18px !important;
    border-radius: 20px;
    font-weight: 700 !important;
}

/* Hero Section */
.hero-section {
    padding: 160px 20px 80px;
    background: radial-gradient(circle at 50% 0%, rgba(56, 189, 248, 0.1) 0%, transparent 60%);
    text-align: center;
}

.hero-container {
    max-width: 1000px;
    margin: 0 auto;
}

.badge-hero {
    background-color: rgba(56, 189, 248, 0.1);
    border: 1px solid rgba(56, 189, 248, 0.2);
    color: var(--primary);
    font-size: 11px;
    font-weight: 700;
    padding: 6px 16px;
    border-radius: 20px;
    letter-spacing: 0.5px;
    display: inline-block;
    margin-bottom: 24px;
}

.hero-title {
    font-size: 48px;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
}

.hero-title span {
    color: var(--primary);
    background: linear-gradient(to right, #38bdf8, #818cf8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: 18px;
    color: var(--text-muted);
    line-height: 1.6;
    max-width: 800px;
    margin: 0 auto 40px;
}

.hero-ctas {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-bottom: 60px;
}

.btn-primary-hero {
    background-color: var(--primary);
    color: var(--bg-dark);
    text-decoration: none;
    font-size: 15px;
    font-weight: 700;
    padding: 14px 28px;
    border-radius: 30px;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: opacity 0.2s;
}

.btn-primary-hero:hover {
    opacity: 0.9;
}

.btn-secondary-hero {
    background-color: rgba(255,255,255,0.03);
    color: var(--text-main);
    border: 1px solid var(--glass-border);
    text-decoration: none;
    font-size: 15px;
    font-weight: 600;
    padding: 14px 28px;
    border-radius: 30px;
    transition: background-color 0.2s;
}

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

/* Dashboard Mock Frame */
.hero-preview-frame {
    background-color: var(--bg-sidebar);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    overflow: hidden;
    max-width: 800px;
    margin: 0 auto;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
}

.preview-header {
    background-color: rgba(0, 0, 0, 0.3);
    padding: 12px 20px;
    display: flex;
    align-items: center;
    gap: 8px;
    border-bottom: 1px solid var(--glass-border);
}

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

.dot.red { background-color: var(--danger); }
.dot.yellow { background-color: #f59e0b; }
.dot.green { background-color: var(--success); }

.preview-url {
    margin-left: 20px;
    font-family: monospace;
    font-size: 11px;
    color: var(--text-muted);
}

.preview-body {
    padding: 32px;
}

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

.mock-card {
    background-color: rgba(255,255,255,0.02);
    border: 1px solid var(--glass-border);
    border-radius: 10px;
    padding: 20px;
    text-align: left;
}

.mock-card span {
    font-size: 10px;
    color: var(--text-muted);
    font-weight: 600;
    letter-spacing: 1px;
    display: block;
}

.mock-card h3 {
    font-size: 20px;
    font-weight: 700;
    margin: 8px 0;
}

/* Features */
.features-section {
    padding: 100px 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px;
}

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

.section-header p {
    color: var(--text-muted);
    font-size: 15px;
}

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

.feature-card {
    background-color: var(--bg-card);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 32px;
    transition: transform 0.2s, border-color 0.2s;
}

.feature-card:hover {
    transform: translateY(-4px);
    border-color: var(--primary);
}

.feature-icon {
    font-size: 32px;
    color: var(--primary);
    margin-bottom: 20px;
}

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

.feature-card p {
    color: var(--text-muted);
    font-size: 13px;
    line-height: 1.6;
}

.feature-card p code {
    background: rgba(56, 189, 248, 0.12);
    color: var(--primary);
    padding: 1px 6px;
    border-radius: 4px;
    font-size: 12px;
}

/* Category sub-heading inside the features section */
.feature-cat {
    font-size: 14px;
    font-weight: 700;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 56px 0 24px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.feature-cat:first-of-type {
    margin-top: 8px;
}

.feature-cat i {
    font-size: 16px;
}

/* Pricing Section */
.pricing-section {
    padding: 100px 40px;
    background-color: rgba(15, 19, 31, 0.5);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    max-width: 1200px;
    margin: 0 auto;
}

.pricing-card {
    background-color: var(--bg-card);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 40px 32px;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.pricing-card.highlighted {
    border-color: var(--primary);
    background-color: rgba(56, 189, 248, 0.02);
    transform: scale(1.03);
}

.badge-premium {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--primary);
    color: var(--bg-dark);
    font-size: 9px;
    font-weight: 800;
    padding: 4px 12px;
    border-radius: 10px;
    letter-spacing: 0.5px;
}

.pricing-card h3 {
    font-size: 15px;
    font-weight: 700;
    color: var(--text-muted);
    letter-spacing: 1px;
    text-transform: uppercase;
}

.price {
    font-size: 32px;
    font-weight: 800;
    margin: 16px 0;
    color: var(--text-main);
}

.price span {
    font-size: 13px;
    color: var(--text-muted);
    font-weight: 500;
}

.divider {
    border-top: 1px solid var(--glass-border);
    margin: 20px 0;
}

.pricing-card ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 32px;
    text-align: left;
}

.pricing-card ul li {
    font-size: 13px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.btn-pricing-cta {
    display: block;
    width: 100%;
    text-align: center;
    background-color: rgba(255,255,255,0.03);
    color: var(--text-main);
    border: 1px solid var(--glass-border);
    padding: 14px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    font-size: 14px;
}

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

.btn-pricing-cta.highlighted {
    background-color: var(--primary);
    color: var(--bg-dark);
    border: none;
}

/* About Section */
.about-section {
    padding: 100px 20px;
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
    margin-top: 50px;
}

.about-card {
    background-color: var(--bg-sidebar);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 36px 28px;
    text-align: left;
    transition: transform 0.3s, border-color 0.3s;
}

.about-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
}

.about-icon {
    width: 54px;
    height: 54px;
    border-radius: 12px;
    background-color: rgba(56, 189, 248, 0.1);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin-bottom: 20px;
}

.about-card h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text-main);
}

.about-card p {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.6;
}

/* Footer */
.landing-footer {
    padding: 40px;
    border-top: 1px solid var(--glass-border);
    text-align: center;
    background-color: var(--bg-dark);
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
    font-size: 12px;
    color: var(--text-muted);
}

/* Feature Showcase Slideshow Carousel & View Toggle Styling */
.view-mode-toggle {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 28px;
}

.toggle-mode-btn {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--glass-border);
    color: var(--text-muted);
    font-size: 13px;
    font-weight: 600;
    padding: 8px 18px;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.toggle-mode-btn:hover {
    background: rgba(255, 255, 255, 0.08);
    color: var(--text-main);
}

.toggle-mode-btn.active {
    background: rgba(56, 189, 248, 0.15);
    border-color: var(--primary);
    color: var(--primary);
    box-shadow: 0 0 12px rgba(56, 189, 248, 0.2);
}

/* Category Tabs */
.cat-tabs-wrap {
    display: flex;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 30px;
}

.cat-tab-btn {
    background: rgba(15, 23, 42, 0.6);
    border: 1px solid var(--glass-border);
    color: var(--text-muted);
    font-size: 12.5px;
    font-weight: 600;
    padding: 8px 16px;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 6px;
}

.cat-tab-btn:hover {
    border-color: rgba(255, 255, 255, 0.2);
    color: var(--text-main);
}

.cat-tab-btn.active {
    background: linear-gradient(135deg, rgba(56, 189, 248, 0.2), rgba(129, 140, 248, 0.2));
    border-color: var(--primary);
    color: #fff;
    box-shadow: 0 4px 16px rgba(56, 189, 248, 0.25);
}

/* Slideshow Container */
.slideshow-container-box {
    position: relative;
    background: linear-gradient(145deg, rgba(15, 23, 42, 0.8), rgba(11, 15, 25, 0.9));
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 40px 48px;
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.1);
    min-height: 380px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.slideshow-track {
    position: relative;
    min-height: 260px;
    overflow: hidden;
}

.slideshow-item {
    position: absolute;
    inset: 0;
    opacity: 0;
    visibility: hidden;
    transform: translateX(30px) scale(0.98);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.slideshow-item.active {
    position: relative;
    opacity: 1;
    visibility: visible;
    transform: translateX(0) scale(1);
}

.slideshow-badge-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(56, 189, 248, 0.12);
    border: 1px solid rgba(56, 189, 248, 0.25);
    color: var(--primary);
    font-size: 11px;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 20px;
    margin-bottom: 16px;
    width: fit-content;
}

.slideshow-content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    align-items: center;
}

.slide-main-info h3 {
    font-size: 26px;
    font-weight: 800;
    margin-bottom: 12px;
    color: #fff;
    line-height: 1.3;
}

.slide-main-info p {
    font-size: 14.5px;
    color: var(--text-muted);
    line-height: 1.65;
    margin-bottom: 20px;
}

.slide-bullets-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.slide-bullets-list li {
    font-size: 13px;
    color: #cbd5e1;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.slide-bullets-list li i {
    color: var(--success);
    margin-top: 3px;
}

.slide-graphic-card {
    background: rgba(0, 0, 0, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.4);
    text-align: left;
}

.slide-graphic-card .mock-metric {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px dashed rgba(255, 255, 255, 0.08);
}

.slide-graphic-card .mock-metric:last-child {
    border-bottom: none;
}

/* Controls Bar */
.slideshow-controls-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 24px;
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.nav-arrow-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--glass-border);
    color: #fff;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

.nav-arrow-btn:hover {
    background: var(--primary);
    color: var(--bg-dark);
    border-color: var(--primary);
    box-shadow: 0 0 12px rgba(56, 189, 248, 0.4);
}

.dots-indicator-wrap {
    display: flex;
    align-items: center;
    gap: 8px;
}

.dot-btn {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot-btn.active {
    width: 24px;
    border-radius: 10px;
    background: var(--primary);
    box-shadow: 0 0 10px rgba(56, 189, 248, 0.5);
}

.slide-counter-badge {
    font-size: 12px;
    font-weight: 700;
    color: var(--text-muted);
    letter-spacing: 1px;
}

@media (max-width: 768px) {
    .slideshow-content-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .slideshow-container-box {
        padding: 24px 20px;
    }
    .slide-main-info h3 {
        font-size: 20px;
    }
    .cat-tabs-wrap {
        overflow-x: auto;
        justify-content: flex-start;
        padding-bottom: 8px;
    }
}

/* Pricing Card Clickable Zoom & Modal Overlay */
.pricing-card {
    cursor: pointer;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), border-color 0.3s ease, box-shadow 0.3s ease;
}

.pricing-card:hover {
    transform: translateY(-8px) scale(1.02);
    border-color: var(--primary);
    box-shadow: 0 16px 36px rgba(56, 189, 248, 0.2);
}

.pricing-card.highlighted:hover {
    transform: scale(1.05) translateY(-8px);
    box-shadow: 0 20px 44px rgba(56, 189, 248, 0.35);
}

.modal-pricing-overlay {
    position: fixed;
    inset: 0;
    background: rgba(2, 6, 23, 0.85);
    backdrop-filter: blur(12px);
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal-pricing-overlay.active {
    display: flex;
    opacity: 1;
}

.modal-pricing-content {
    background: linear-gradient(145deg, #0f172a, #0b0f19);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 20px;
    max-width: 680px;
    width: 100%;
    padding: 32px;
    position: relative;
    box-shadow: 0 32px 72px rgba(0, 0, 0, 0.8), inset 0 1px 0 rgba(255, 255, 255, 0.1);
    transform: scale(0.95);
    transition: transform 0.3s ease;
}

.modal-pricing-overlay.active .modal-pricing-content {
    transform: scale(1);
}

.modal-pricing-close {
    position: absolute;
    top: 16px;
    right: 20px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #94a3b8;
    font-size: 24px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.modal-pricing-close:hover {
    background: var(--danger);
    color: #fff;
    border-color: var(--danger);
}

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