/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #00ff88;
    --primary-dark: #00cc6a;
    --secondary-color: #ff6b6b;
    --accent-color: #4ecdc4;
    --text-primary: #ffffff;
    --text-secondary: #b0b0b0;
    --text-light: #808080;
    --bg-primary: #0a0a0a;
    --bg-secondary: #1a1a1a;
    --bg-dark: #000000;
    --bg-card: #1e1e1e;
    --border-color: #333333;
    --border-light: #2a2a2a;
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.3);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.4), 0 2px 4px -2px rgb(0 0 0 / 0.3);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.4), 0 4px 6px -4px rgb(0 0 0 / 0.3);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.4), 0 8px 10px -6px rgb(0 0 0 / 0.3);
    --gradient-primary: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    --gradient-accent: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
    --glow-primary: 0 0 20px rgba(0, 255, 136, 0.3);
    --glow-secondary: 0 0 20px rgba(255, 107, 107, 0.3);
}

body {
    font-family: 'Inter', 'SF Mono', 'Monaco', 'Inconsolata', 'Roboto Mono', monospace;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--bg-primary);
    overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

h1 { font-size: 3.5rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 1.75rem; }
h4 { font-size: 1.25rem; }

p {
    margin-bottom: 1rem;
    color: var(--text-secondary);
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
    z-index: 1000;
    transition: all 0.3s ease;
}

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

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 600;
    font-size: 1.25rem;
    color: var(--text-primary);
}

.logo-icon {
    color: var(--primary-color);
    filter: drop-shadow(0 0 10px rgba(0, 255, 136, 0.5));
}

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

.nav-links a {
    text-decoration: none;
    color: var(--text-secondary);
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

.nav-links a:hover {
    color: var(--primary-color);
    text-shadow: 0 0 10px rgba(0, 255, 136, 0.5);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.3s ease;
    box-shadow: 0 0 10px rgba(0, 255, 136, 0.5);
}

.nav-links a:hover::after {
    width: 100%;
}

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

.nav-dropdown-toggle {
    text-decoration: none;
    color: var(--text-secondary);
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.nav-dropdown-toggle::after {
    content: '▼';
    font-size: 0.75rem;
    transition: all 0.3s ease;
    opacity: 0.7;
}

.nav-dropdown:hover .nav-dropdown-toggle {
    color: var(--primary-color);
    text-shadow: 0 0 10px rgba(0, 255, 136, 0.5);
}

.nav-dropdown:hover .nav-dropdown-toggle::after {
    transform: rotate(180deg);
    color: var(--primary-color);
}

.nav-dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 0.5rem;
    box-shadow: var(--shadow-xl);
    backdrop-filter: blur(20px);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
    min-width: 320px;
    margin-top: 1rem;
}

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

.nav-dropdown-menu::before {
    content: '';
    position: absolute;
    top: -6px;
    left: 50%;
    transform: translateX(-50%);
    width: 12px;
    height: 12px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-bottom: none;
    border-right: none;
    border-radius: 2px 0 0 0;
    transform: translateX(-50%) rotate(45deg);
}

.nav-dropdown-item {
    display: block;
    padding: 1rem;
    text-decoration: none;
    color: var(--text-secondary);
    transition: all 0.3s ease;
    border-bottom: 1px solid var(--border-light);
    position: relative;
    overflow: hidden;
}

.nav-dropdown-item:last-child {
    border-bottom: none;
}

.nav-dropdown-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 255, 136, 0.1), transparent);
    transition: left 0.5s ease;
}

.nav-dropdown-item:hover::before {
    left: 100%;
}

.nav-dropdown-item:hover {
    background: rgba(0, 255, 136, 0.05);
    color: var(--primary-color);
    transform: translateX(5px);
}

.dropdown-item-content {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.dropdown-item-title {
    font-weight: 600;
    font-size: 1rem;
    color: var(--text-primary);
    transition: color 0.3s ease;
}

.nav-dropdown-item:hover .dropdown-item-title {
    color: var(--primary-color);
}

.dropdown-item-description {
    font-size: 0.875rem;
    color: var(--text-light);
    line-height: 1.4;
    transition: color 0.3s ease;
}

.nav-dropdown-item:hover .dropdown-item-description {
    color: var(--text-secondary);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    border-radius: 0.25rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid transparent;
    cursor: pointer;
    font-size: 1rem;
    font-family: inherit;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--primary-color);
    color: var(--bg-dark);
    border-color: var(--primary-color);
    box-shadow: var(--glow-primary);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--glow-primary), 0 10px 20px rgba(0, 255, 136, 0.3);
    background: var(--primary-dark);
}

.btn-secondary {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--border-color);
}

.btn-secondary:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
    box-shadow: var(--glow-primary);
}

/* Hero Section */
.hero {
    padding: 120px 0 80px;
    background: linear-gradient(135deg, var(--bg-primary) 0%, var(--bg-dark) 100%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(0, 255, 136, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 107, 107, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(78, 205, 196, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    color: var(--text-primary);
}

.gradient-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
}

.gradient-text::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--gradient-primary);
    box-shadow: 0 0 20px rgba(0, 255, 136, 0.5);
}

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

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

.hero-visual {
    position: relative;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.geometric-shapes {
    position: relative;
    width: 300px;
    height: 300px;
}

.shape {
    position: absolute;
    border: 2px solid var(--primary-color);
    background: transparent;
    opacity: 0.3;
    animation: float 6s ease-in-out infinite;
    box-shadow: 0 0 20px rgba(0, 255, 136, 0.3);
}

.shape-1 {
    width: 120px;
    height: 120px;
    top: 0;
    left: 0;
    animation-delay: 0s;
    border-radius: 50%;
}

.shape-2 {
    width: 80px;
    height: 80px;
    top: 100px;
    right: 0;
    border-color: var(--secondary-color);
    box-shadow: 0 0 20px rgba(255, 107, 107, 0.3);
    animation-delay: 2s;
    border-radius: 50%;
}

.shape-3 {
    width: 60px;
    height: 60px;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    border-color: var(--accent-color);
    box-shadow: 0 0 20px rgba(78, 205, 196, 0.3);
    animation-delay: 4s;
    border-radius: 50%;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(180deg); }
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 1rem;
}

.section-header h2 {
    margin-bottom: 1rem;
    color: var(--text-primary);
}

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

/* About Section */
.about {
    padding: 80px 0;
    background: var(--bg-secondary);
    position: relative;
}

.about::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
    box-shadow: 0 0 20px rgba(0, 255, 136, 0.5);
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
}

.about-text p {
    font-size: 1.125rem;
    margin-bottom: 2rem;
    text-align: center;
    color: var(--text-secondary);
}

.about-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.feature {
    text-align: center;
    padding: 2rem;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 0.5rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.feature::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 255, 136, 0.1), transparent);
    transition: left 0.5s ease;
}

.feature:hover::before {
    left: 100%;
}

.feature:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
    box-shadow: var(--glow-primary);
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    filter: drop-shadow(0 0 10px rgba(0, 255, 136, 0.5));
}

.feature h3 {
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.feature p {
    color: var(--text-secondary);
    margin-bottom: 0;
}

/* Products Section */
.products {
    padding: 80px 0;
    background: var(--bg-primary);
}

.product-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 0.5rem;
    padding: 3rem;
    box-shadow: var(--shadow-xl);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--gradient-primary);
    box-shadow: 0 0 20px rgba(0, 255, 136, 0.5);
}

.product-content h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.product-description {
    font-size: 1.125rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.product-features {
    margin-bottom: 2rem;
}

.product-feature {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    color: var(--text-secondary);
}

.feature-dot {
    width: 8px;
    height: 8px;
    background: var(--primary-color);
    border-radius: 50%;
    flex-shrink: 0;
    box-shadow: 0 0 10px rgba(0, 255, 136, 0.5);
}

.product-cta {
    display: flex;
    align-items: center;
    gap: 1rem;
}

/* Product Visual */
.product-visual {
    display: flex;
    justify-content: center;
}

.mockup {
    background: var(--bg-dark);
    border: 1px solid var(--border-color);
    border-radius: 0.5rem;
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    width: 100%;
    max-width: 400px;
    position: relative;
}

.mockup::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--primary-color);
    box-shadow: 0 0 10px rgba(0, 255, 136, 0.5);
}

.mockup-header {
    background: var(--bg-secondary);
    padding: 1rem;
    border-bottom: 1px solid var(--border-color);
}

.mockup-dots {
    display: flex;
    gap: 0.5rem;
}

.mockup-dots span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--text-light);
}

.mockup-dots span:nth-child(1) { background: #ff5f56; }
.mockup-dots span:nth-child(2) { background: #ffbd2e; }
.mockup-dots span:nth-child(3) { background: #27ca3f; }

.mockup-content {
    padding: 1rem;
    background: var(--bg-dark);
}

.sheet-row {
    display: grid;
    grid-template-columns: 120px 2.5fr 1fr;
    gap: 0;
    border-bottom: 1px solid var(--border-light);
}

.sheet-row:first-child {
    font-weight: 600;
    color: var(--primary-color);
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 0.5rem;
    margin-bottom: 0.75rem;
}

.cell {
    padding: 0.25rem;
    color: var(--text-secondary);
}

.image-cell {
    text-align: center;
    font-size: 1rem;
}

.demo-image {
    width: 100%;
    height: 60px;
    object-fit: cover;
    border-radius: 0.25rem;
    border: 1px solid var(--border-light);
    transition: all 0.3s ease;
}

.demo-image:hover {
    transform: scale(1.05);
    box-shadow: 0 0 10px rgba(0, 255, 136, 0.3);
}

/* Contact Section */
.contact {
    padding: 80px 0;
    background: var(--bg-secondary);
}

.contact-content {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.contact-simple p {
    font-size: 1.125rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.contact-email {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 0.5rem;
    padding: 2rem;
    display: inline-block;
    transition: all 0.3s ease;
}

.contact-email:hover {
    border-color: var(--primary-color);
    box-shadow: var(--glow-primary);
}

.contact-email h4 {
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.contact-email p {
    margin-bottom: 0;
    color: var(--primary-color);
    font-family: 'SF Mono', 'Monaco', 'Inconsolata', monospace;
    font-size: 1.125rem;
    font-weight: 500;
}

/* Footer */
.footer {
    background: var(--bg-dark);
    color: white;
    padding: 3rem 0;
    text-align: center;
    border-top: 1px solid var(--border-color);
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 600;
    font-size: 1.125rem;
}

.footer-logo .logo-icon {
    color: var(--primary-color);
    filter: drop-shadow(0 0 10px rgba(0, 255, 136, 0.5));
}

.footer-links {
    display: flex;
    gap: 2rem;
    margin: 1rem 0;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s ease;
    position: relative;
}

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

.footer-links a::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

.footer-links a:hover::after {
    width: 100%;
}

.footer p {
    color: var(--text-light);
    margin-bottom: 0;
    font-family: 'SF Mono', 'Monaco', 'Inconsolata', monospace;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-cta {
        justify-content: center;
    }
    
    .product-card {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 2rem;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .about-features {
        grid-template-columns: 1fr;
    }
    
    .nav-links {
        display: none;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .container {
        padding: 0 1rem;
    }
    
    h1 { font-size: 2.5rem; }
    h2 { font-size: 2rem; }
    h3 { font-size: 1.5rem; }
}

@media (max-width: 480px) {
    .hero {
        padding: 100px 0 60px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .btn {
        padding: 0.625rem 1.25rem;
        font-size: 0.875rem;
    }
    
    .product-card {
        padding: 1.5rem;
    }
    
    .mockup {
        max-width: 300px;
    }
    
    .sheet-row {
        grid-template-columns: 80px 1fr 1fr;
        font-size: 0.75rem;
    }
}

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

/* Loading animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-content,
.about-content,
.product-card,
.contact-content {
    animation: fadeInUp 0.8s ease-out;
}

/* Terminal-style cursor animation */
@keyframes blink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0; }
}

.terminal-cursor::after {
    content: '|';
    animation: blink 1s infinite;
    color: var(--primary-color);
    margin-left: 2px;
}

/* Product Page Styles */
.product-hero {
    padding: 120px 0 80px;
    background: linear-gradient(135deg, var(--bg-primary) 0%, var(--bg-dark) 100%);
    position: relative;
    overflow: hidden;
}

.product-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(0, 255, 136, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 107, 107, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

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

.product-hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

.product-hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 4rem;
    line-height: 1.6;
}

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

/* Overview Section */
.overview {
    padding: 80px 0;
    background: var(--bg-secondary);
}

.overview-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.overview-content p {
    font-size: 1.125rem;
    color: var(--text-secondary);
    margin-bottom: 3rem;
    line-height: 1.6;
}

.overview-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.overview-feature {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    text-align: left;
    padding: 1.5rem;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 0.5rem;
    transition: all 0.3s ease;
}

.overview-feature:hover {
    border-color: var(--primary-color);
    box-shadow: var(--glow-primary);
}

.overview-feature h4 {
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.overview-feature p {
    margin-bottom: 0;
    color: var(--text-secondary);
    font-size: 0.875rem;
}

/* Use Cases Section */
.use-cases {
    padding: 80px 0;
    background: var(--bg-primary);
}

.use-cases-container {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 3rem;
    margin-top: 3rem;
    align-items: start;
}

.use-cases-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    max-height: 440px;
    overflow-y: auto;
    padding-right: 1rem;
}

.use-case-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 0.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    min-height: 60px;
}

.use-case-item.active {
    border-color: var(--primary-color);
    background: rgba(0, 255, 136, 0.1);
    box-shadow: var(--glow-primary);
    align-items: flex-start;
    min-height: auto;
}

.use-case-emoji {
    font-size: 1.5rem;
    flex-shrink: 0;
    filter: drop-shadow(0 0 10px rgba(0, 255, 136, 0.5));
}

.use-case-info h3 {
    margin-bottom: 0;
    color: var(--text-primary);
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.2;
}

.use-case-description {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    color: var(--text-secondary);
    font-size: 0.75rem;
    line-height: 1.4;
    transition: max-height 0.3s ease, opacity 0.3s ease;
    margin-bottom: 0;
}

.use-case-item.active .use-case-description {
    max-height: 200px;
    opacity: 1;
    margin-top: 0.5rem;
}

/* Sheets Demo Section */
.sheets-demo-section {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

/* Sheets Mockup */
.sheets-mockup {
    background: var(--bg-dark);
    border: 1px solid var(--border-color);
    border-radius: 0.5rem;
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    position: relative;
}

.sheets-mockup::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--primary-color);
    box-shadow: 0 0 10px rgba(0, 255, 136, 0.5);
}

.mockup-header {
    background: var(--bg-secondary);
    padding: 1rem;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    gap: 1rem;
}

.mockup-dots {
    display: flex;
    gap: 0.5rem;
}

.mockup-dots span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--text-light);
}

.mockup-dots span:nth-child(1) { background: #ff5f56; }
.mockup-dots span:nth-child(2) { background: #ffbd2e; }
.mockup-dots span:nth-child(3) { background: #27ca3f; }

.mockup-title {
    color: var(--text-secondary);
    font-size: 0.875rem;
    font-family: 'SF Mono', 'Monaco', 'Inconsolata', monospace;
}

.formula-bar {
    background: var(--bg-secondary);
    border-bottom: 1px solid var(--border-color);
    padding: 0.75rem 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.formula-label {
    background: var(--primary-color);
    color: var(--bg-dark);
    width: 24px;
    height: 24px;
    border-radius: 0.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 600;
    font-family: 'SF Mono', 'Monaco', 'Inconsolata', monospace;
}

.formula-input {
    flex: 1;
    color: var(--primary-color);
    font-family: 'SF Mono', 'Monaco', 'Inconsolata', monospace;
    font-size: 0.875rem;
    background: transparent;
    border: none;
    outline: none;
}

.sheets-content {
    padding: 0;
    background: var(--bg-dark);
}

.sheet-row:last-child {
    border-bottom: none;
}

/* Structured Analysis section with 5 columns */
.structured-analysis .sheet-row {
    display: grid;
    grid-template-columns: 120px 1fr 1fr 1fr 1fr;
    gap: 0;
    border-bottom: 1px solid var(--border-light);
}

.header-row {
    background: var(--bg-secondary);
    font-weight: 600;
    color: var(--text-primary);
    border-bottom: 2px solid var(--border-color);
}

.cell {
    padding: 0.5rem;
    color: var(--text-secondary);
    font-size: 0.75rem;
    font-family: 'SF Mono', 'Monaco', 'Inconsolata', monospace;
    border-right: 1px solid var(--border-light);
    word-break: break-all;
    overflow: hidden;
}

.cell:last-child {
    border-right: none;
}

.image-cell {
    text-align: center;
    font-size: 1rem;
}

.result-cell {
    color: var(--text-primary);
    transition: all 0.3s ease;
}

.result-cell.pop {
    animation: cellPop 0.5s ease-out;
}

@keyframes cellPop {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); background: rgba(0, 255, 136, 0.1); }
    100% { transform: scale(1); }
}

/* Responsive adjustments for use cases */
@media (max-width: 768px) {
    .use-cases-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .use-cases-list {
        display: flex;
        flex-direction: row;
        overflow-x: auto;
        gap: 1rem;
        max-height: none;
        padding: 0 1rem 1rem 0;
        scrollbar-width: thin;
        scrollbar-color: var(--primary-color) transparent;
    }
    
    .use-cases-list::-webkit-scrollbar {
        height: 4px;
    }
    
    .use-cases-list::-webkit-scrollbar-track {
        background: transparent;
    }
    
    .use-cases-list::-webkit-scrollbar-thumb {
        background: var(--primary-color);
        border-radius: 2px;
    }
    
    .use-case-item {
        flex: 0 0 210px;
        min-height: auto;
        scroll-snap-align: start;
        align-items: flex-start;
    }
    
    .use-case-item.active {
        min-height: auto;
    }
    
    .use-case-description {
        max-height: none !important;
        opacity: 1 !important;
        margin-top: 0.5rem;
        display: block;
    }
    
    .sheet-row {
        grid-template-columns: 80px 1fr 1fr;
    }
    
    .structured-analysis .sheet-row {
        grid-template-columns: 50px 0.8fr 0.7fr 0.7fr 0.7fr;
    }
    
    .cell {
        font-size: 0.625rem;
        padding: 0.25rem;
    }
    
    /* Mobile Structured Analysis Layout */
    .structured-analysis-demo {
        flex-direction: column !important;
        gap: 0 !important;
        margin-top: 1.5rem !important;
        position: relative;
    }
    
    .wide-mockup {
        min-width: auto !important;
        max-width: 100% !important;
        flex: none !important;
        margin: 0;
    }
    
    .mockup-body {
        flex-direction: column !important;
        position: relative !important;
        overflow: hidden;
    }
    
    .sheets-content.structured-analysis {
        flex: none !important;
        width: 100%;
    }
    
    /* Mobile Sidebar Toggle Button */
    .mobile-sidebar-toggle {
        display: flex !important;
        align-items: center;
        justify-content: center;
        background: transparent;
        color: var(--primary-color);
        border: none;
        border-radius: 0.25rem;
        padding: 0.5rem;
        cursor: pointer;
        transition: all 0.3s ease;
        margin-left: auto;
    }
    
    .mobile-sidebar-toggle:hover {
        background: transparent;
        color: var(--primary-color);
    }
    
    .mobile-sidebar-toggle:active,
    .mobile-sidebar-toggle:focus {
        background: transparent;
        color: var(--primary-color);
        outline: none;
    }
    
    /* When sidebar is open, show grey styling */
    .mobile-sidebar-toggle.sidebar-open {
        background: transparent;
        color: var(--text-secondary);
        border: none;
    }
    
    .mobile-sidebar-toggle.sidebar-open:hover {
        background: transparent;
        color: var(--text-secondary);
    }
    
    .mobile-sidebar-toggle.sidebar-open:active,
    .mobile-sidebar-toggle.sidebar-open:focus {
        background: transparent;
        color: var(--text-secondary);
        outline: none;
    }
    
    /* Mobile Sidebar */
    .sheets-sidebar-mockup {
        position: absolute !important;
        top: 0;
        right: -240px;
        height: 100%;
        width: 240px !important;
        min-width: 240px !important;
        z-index: 100;
        border-radius: 0 !important;
        border-left: 1px solid var(--border-color) !important;
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.5) !important;
        transition: right 0.9s ease-in-out;
        overflow-y: auto;
    }
    
    .sheets-sidebar-mockup.open {
        right: 0;
    }
    
    /* Update mockup-body to be relative for absolute positioning */
    .mockup-body {
        flex-direction: column !important;
        position: relative !important;
        overflow: hidden;
    }
}

/* Hide mobile elements on desktop */
@media (min-width: 769px) {
    .mobile-sidebar-toggle {
        display: none !important;
    }
    
    .pricing-pagination {
        display: none !important;
    }
}

/* Pricing Section */
.pricing {
    padding: 80px 0;
    background: var(--bg-primary);
    overflow: visible;
}

.pricing .container {
    overflow: visible;
}

.pricing-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1rem;
    color: var(--text-secondary);
}

.toggle {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 28px;
}

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

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

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

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

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

.discount {
    background: var(--primary-color);
    color: var(--bg-dark);
    padding: 0.125rem 0.5rem;
    border-radius: 0.25rem;
    font-size: 0.75rem;
    font-weight: 500;
    margin-left: 0.5rem;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-top: 1rem;
    padding-top: 15px;
    overflow: visible;
}

.pricing-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 0.5rem;
    padding: 1.5rem;
    transition: all 0.3s ease;
    position: relative;
    min-width: 0; /* Allow cards to shrink below their content width */
    cursor: pointer;
    transform: translateY(0);
}

.pricing-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.pricing-card.selected {
    border-color: var(--primary-color);
    box-shadow: var(--glow-primary);
    transform: scale(1.02);
}

.pricing-card.selected:hover {
    transform: scale(1.02) translateY(-5px);
}

.pricing-card .btn {
    transition: all 0.3s ease;
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
}

.pricing-card.selected .btn {
    background: var(--primary-color);
    color: var(--bg-dark);
    border-color: var(--primary-color);
    box-shadow: var(--glow-primary);
}

.pricing-card.selected .btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--glow-primary), 0 10px 20px rgba(0, 255, 136, 0.3);
}

.pricing-badge {
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary-color);
    color: var(--bg-dark);
    padding: 0.25rem 1rem;
    border-radius: 0.25rem;
    font-size: 0.75rem;
    font-weight: 500;
    z-index: 10;
}

.pricing-header {
    text-align: center;
    margin-bottom: 1.5rem;
}

.pricing-header h3 {
    margin-bottom: 0.75rem;
    color: var(--text-primary);
    font-size: 1.5rem;
}

.price {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.25rem;
}

.price-line {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 0.25rem;
}

.amount {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-primary);
    transition: all 0.2s ease;
}

.period {
    color: var(--text-secondary);
    font-size: 0.875rem;
    transition: all 0.2s ease;
}

.billing-note {
    color: var(--text-secondary);
    font-size: 0.7rem;
    text-align: center;
}

.pricing-features {
    list-style: none;
    margin-bottom: 1.5rem;
}

.pricing-features li {
    padding: 0.375rem 0;
    color: var(--text-secondary);
    border-bottom: 1px solid var(--border-light);
    font-size: 0.875rem;
    line-height: 1.3;
}

.pricing-features li:last-child {
    border-bottom: none;
}

.pricing-features li::before {
    content: '✓';
    color: var(--primary-color);
    font-weight: bold;
    margin-right: 0.5rem;
}

/* Mobile Pagination Dots */
.pricing-pagination {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1.5rem;
}

.pagination-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--border-color);
    cursor: pointer;
    transition: all 0.3s ease;
}

.pagination-dot.active {
    background: var(--primary-color);
    box-shadow: 0 0 10px rgba(0, 255, 136, 0.5);
}

.pagination-dot:hover {
    background: var(--text-secondary);
}

.pagination-dot.active:hover {
    background: var(--primary-color);
}

/* Mobile-specific pricing layout */
@media (max-width: 768px) {
    /* Mobile Pricing Layout */
    .pricing-grid {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        gap: 1rem;
        padding: 15px 1rem 0;
        margin-top: 1rem;
        scrollbar-width: none; /* Firefox */
        -ms-overflow-style: none; /* IE and Edge */
    }
    
    .pricing-grid::-webkit-scrollbar {
        display: none; /* Chrome, Safari, Opera */
    }
    
    .pricing-card {
        flex: 0 0 280px;
        scroll-snap-align: center;
        margin: 0;
    }
    
    /* Remove hover scaling effects on mobile */
    .pricing-card:hover {
        transform: translateY(0);
        box-shadow: none;
    }
    
    .pricing-card.selected {
        transform: none;
    }
    
    .pricing-card.selected:hover {
        transform: none;
    }
    
    /* Show partial cards on sides */
    .pricing-grid::before,
    .pricing-grid::after {
        content: '';
        flex: 0 0 20px;
    }
}

/* Download Section */
.download {
    padding: 80px 0;
    background: var(--bg-secondary);
}

.download-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.download-info h3 {
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.download-info p {
    font-size: 1.125rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.download-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-bottom: 3rem;
}

.download-feature {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    justify-content: center;
    color: var(--text-secondary);
}

.download-cta {
    margin-top: 2rem;
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.125rem;
}

.how-to-use-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

/* Responsive adjustments for product page */
@media (max-width: 768px) {
    .product-hero-content h1 {
        font-size: 2.5rem;
    }
    
    .how-to-use-content {
        grid-template-columns: 1fr;
    }
    
    .use-cases-grid {
        grid-template-columns: 1fr;
    }
    
    .overview-features {
        grid-template-columns: 1fr;
    }
} 