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

:root {
    --primary-color: #6366f1;
    --secondary-color: #8b5cf6;
    --accent-color: #ec4899;
    --dark-bg: #0f172a;
    --light-bg: #1e293b;
    --text-primary: #f1f5f9;
    --text-secondary: #94a3b8;
    --border-color: #334155;
    --gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background: var(--dark-bg);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

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

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 1rem 0;
    border-bottom: 1px solid var(--border-color);
}

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

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

.logo-icon {
    width: 40px;
    height: 40px;
    transition: transform 0.3s ease;
}

.logo:hover .logo-icon {
    transform: rotate(10deg) scale(1.05);
}

.logo-text {
    font-family: 'flux-regular', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 1.5rem;
    font-weight: bold;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-decoration: none;
}

.logo-tagline {
    font-family: 'flux-regular', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 0.85rem;
    color: var(--text-secondary);
    border-left: 1px solid var(--border-color);
    padding-left: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s;
}

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

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

.btn-login {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--border-color);
    padding: 0.5rem 1.5rem;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-login:hover {
    background: var(--light-bg);
}

.btn-signup {
    background: var(--gradient);
    color: white;
    border: none;
    padding: 0.5rem 1.5rem;
    border-radius: 8px;
    cursor: pointer;
    transition: transform 0.3s;
}

.btn-signup:hover {
    transform: translateY(-2px);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--text-primary);
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    padding: 120px 20px 80px;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    gap: 60px;
}

.hero-content {
    flex: 1;
    max-width: 600px;
}

.hero-badge {
    display: inline-block;
    background: rgba(99, 102, 241, 0.1);
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1.5rem;
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: bold;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

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

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

.hero-buttons {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
}

.btn-primary, a.btn-primary {
    background: var(--gradient);
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 12px;
    font-size: 1.1rem;
    cursor: pointer;
    transition: transform 0.3s, box-shadow 0.3s;
    text-decoration: none;
    display: inline-block;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 20px 40px rgba(99, 102, 241, 0.3);
}

.btn-secondary {
    background: transparent;
    color: var(--text-primary);
    border: 2px solid var(--border-color);
    padding: 1rem 2rem;
    border-radius: 12px;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-secondary:hover {
    background: var(--light-bg);
    border-color: var(--primary-color);
}

.hero-stats {
    display: flex;
    gap: 3rem;
}

.stat {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-size: 2rem;
    font-weight: bold;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.stat-label {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.hero-visual {
    flex: 1;
    max-width: 600px;
}

.code-preview {
    background: var(--light-bg);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: float 6s ease-in-out infinite;
}

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

.code-header {
    background: #1a202c;
    padding: 12px;
    display: flex;
    gap: 8px;
}

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

.dot.red { background: #ff605c; }
.dot.yellow { background: #ffbd44; }
.dot.green { background: #00ca4e; }

.code-content {
    padding: 20px;
    font-family: 'Monaco', 'Courier New', monospace;
    font-size: 14px;
    line-height: 1.6;
}

.code-content .keyword { color: #c792ea; }
.code-content .function { color: #82aaff; }
.code-content .string { color: #c3e88d; }
.code-content .boolean { color: #ff9800; }

/* Reviews Section */
.reviews-section {
    padding: 80px 20px;
    background: linear-gradient(180deg, var(--dark-bg) 0%, rgba(30, 41, 59, 0.5) 100%);
    overflow: hidden;
}

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

.reviews-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
}

.reviews-wrapper {
    position: relative;
    width: 100%;
    overflow: hidden;
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.reviews-track {
    display: flex;
    gap: 2rem;
    animation: scrollReviews 30s linear infinite;
}

@keyframes scrollReviews {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

.review-card {
    min-width: 400px;
    background: rgba(30, 41, 59, 0.8);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 2rem;
    backdrop-filter: blur(10px);
}

.review-card:hover {
    animation-play-state: paused;
}

.reviews-track:hover {
    animation-play-state: paused;
}

.review-stars {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: #fbbf24;
}

.review-text {
    color: var(--text-primary);
    line-height: 1.8;
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
}

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

.reviewer img {
    width: 48px;
    height: 48px;
    border-radius: 50%;
}

.reviewer-name {
    font-weight: 600;
    color: var(--text-primary);
}

.reviewer-role {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* Features Section */
.features {
    padding: 80px 20px;
    background: linear-gradient(180deg, rgba(30, 41, 59, 0.5) 0%, var(--light-bg) 100%);
}

.section-title {
    text-align: center;
    font-size: 3rem;
    margin-bottom: 1rem;
}

.section-subtitle {
    text-align: center;
    color: var(--text-secondary);
    font-size: 1.25rem;
    margin-bottom: 3rem;
}

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

.main-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 4rem;
    padding: 3rem 0;
    border-top: 1px solid var(--border-color);
}

.main-feature {
    text-align: center;
    padding: 2rem;
    background: rgba(99, 102, 241, 0.05);
    border-radius: 16px;
    border: 1px solid rgba(99, 102, 241, 0.2);
    transition: all 0.3s;
}

.main-feature:hover {
    transform: translateY(-5px);
    background: rgba(99, 102, 241, 0.1);
    border-color: var(--primary-color);
}

.main-feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.main-feature h3 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.main-feature p {
    color: var(--text-secondary);
    font-size: 1.1rem;
}

.feature-card {
    background: rgba(30, 41, 59, 0.5);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 2rem;
    transition: transform 0.3s, box-shadow 0.3s;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(99, 102, 241, 0.1);
    border-color: var(--primary-color);
}

.feature-icon {
    width: 50px;
    height: 50px;
    background: var(--gradient);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.feature-icon svg {
    width: 24px;
    height: 24px;
    color: white;
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.feature-card p {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* How It Works */
.how-it-works {
    padding: 80px 20px;
    background: var(--dark-bg);
}

.steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-top: 3rem;
}

.step {
    text-align: center;
    position: relative;
}

.step-number {
    width: 60px;
    height: 60px;
    background: var(--gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    margin: 0 auto 1.5rem;
}

.step h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.step p {
    color: var(--text-secondary);
}

/* Pricing Section */
.pricing {
    padding: 80px 20px;
    background: linear-gradient(180deg, var(--light-bg) 0%, var(--dark-bg) 100%);
}

.pricing-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.pricing-card {
    background: rgba(30, 41, 59, 0.5);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 2.5rem;
    position: relative;
    transition: transform 0.3s;
}

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

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

.badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gradient);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.875rem;
}

.pricing-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.price {
    display: flex;
    align-items: baseline;
    margin-bottom: 2rem;
}

.currency {
    font-size: 1.5rem;
    color: var(--text-secondary);
}

.amount {
    font-size: 3rem;
    font-weight: bold;
    margin: 0 0.5rem;
}

.period {
    color: var(--text-secondary);
}

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

.features-list li {
    padding: 0.75rem 0;
    color: var(--text-secondary);
    border-bottom: 1px solid rgba(51, 65, 85, 0.3);
}

.btn-pricing {
    width: 100%;
    background: transparent;
    color: var(--text-primary);
    border: 2px solid var(--border-color);
    padding: 1rem;
    border-radius: 8px;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-featured {
    background: var(--gradient);
    color: white;
    border: none;
}

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

/* CTA Section */
.cta {
    padding: 100px 20px;
    background: var(--gradient);
    text-align: center;
}

.cta h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.cta p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.btn-cta {
    background: white;
    color: var(--primary-color);
    border: none;
    padding: 1.25rem 3rem;
    border-radius: 12px;
    font-size: 1.25rem;
    font-weight: bold;
    cursor: pointer;
    transition: transform 0.3s, box-shadow 0.3s;
}

.btn-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

/* Footer */
.footer {
    background: var(--dark-bg);
    padding: 60px 20px 20px;
    border-top: 1px solid var(--border-color);
}

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

.footer-section h4 {
    margin-bottom: 1.5rem;
}

.footer-section p {
    color: var(--text-secondary);
    line-height: 1.6;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.75rem;
}

.footer-section a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s;
}

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

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
    color: var(--text-secondary);
}

.footer-legal-links {
    margin-top: 1rem;
}

.footer-legal-links a {
    color: var(--text-secondary);
    text-decoration: none;
    margin: 0 0.5rem;
    transition: color 0.3s;
}

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

.footer-legal-links span {
    color: var(--text-secondary);
    margin: 0 0.5rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }
    
    .nav-buttons {
        display: none;
    }
    
    .hamburger {
        display: flex;
    }
    
    .hero {
        flex-direction: column;
        text-align: center;
        padding: 100px 20px 60px;
    }
    
    .hero-content {
        max-width: 100%;
    }
    
    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }
    
    .hero-buttons button {
        width: 100%;
    }
    
    .hero-stats {
        justify-content: center;
    }
    
    .hero-visual {
        max-width: 100%;
    }
    
    .reviews-track {
        animation-duration: 20s;
    }
    
    .review-card {
        min-width: 300px;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .main-features {
        grid-template-columns: 1fr;
    }
    
    .steps {
        grid-template-columns: 1fr;
    }
    
    .pricing-cards {
        grid-template-columns: 1fr;
    }
    
    .pricing-card.featured {
        transform: scale(1);
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .cta h2 {
        font-size: 2rem;
    }
}

/* Beta Badge Styles - Hanging Under Drytis */
.logo-wrapper {
    position: relative;
    display: inline-flex;
    align-items: center;
}

.logo-text-wrapper {
    position: relative;
    display: inline-block;
}

.beta-hanging {
    position: absolute;
    left: 50%;
    top: 100%;
    transform: translateX(-50%);
    color: #AF272F;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, Helvetica, sans-serif;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    user-select: none;
    pointer-events: none;
    padding: 3px 8px;
    background: linear-gradient(135deg, #fff 0%, #f8f8f8 100%);
    border: 1px solid #AF272F;
    border-radius: 4px;
    box-shadow: 0 2px 4px rgba(175, 39, 47, 0.2);
    white-space: nowrap;
    z-index: 10;
    transform-origin: top center;
    animation: hanging-swing 4s ease-in-out infinite;
}

/* Hanging string effect */
.beta-hanging::before {
    content: '';
    position: absolute;
    top: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 1px;
    height: 8px;
    background: linear-gradient(to bottom, transparent, rgba(175, 39, 47, 0.3));
}

/* Hanging animation */
@keyframes hanging-swing {
    0%, 100% {
        transform: translateX(-50%) rotate(-2deg);
    }
    25% {
        transform: translateX(-50%) rotate(2deg);
    }
    50% {
        transform: translateX(-50%) rotate(-1deg);
    }
    75% {
        transform: translateX(-50%) rotate(1deg);
    }
}

/* Hover effect - more pronounced swing */
.logo:hover .beta-hanging {
    animation: hanging-swing-active 2s ease-in-out infinite;
}

@keyframes hanging-swing-active {
    0%, 100% {
        transform: translateX(-50%) rotate(-4deg);
    }
    25% {
        transform: translateX(-50%) rotate(4deg);
    }
    50% {
        transform: translateX(-50%) rotate(-3deg);
    }
    75% {
        transform: translateX(-50%) rotate(3deg);
    }
}

/* Legacy styles - removed */
.beta-label {
    display: none;
}

.beta-badge {
    display: none;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .beta-hanging {
        font-size: 10px;
        padding: 2px 6px;
    }

    /* Adjust animation for smaller screens */
    @keyframes hanging-swing {
        0%, 100% {
            transform: translateX(-50%) rotate(-1deg);
        }
        50% {
            transform: translateX(-50%) rotate(1deg);
        }
    }
}

@media (max-width: 480px) {
    .beta-hanging {
        font-size: 9px;
        padding: 2px 5px;
    }

    .beta-hanging::before {
        height: 6px;
    }
}

/* Ensure proper positioning in navbar */
.navbar .logo-text-wrapper {
    position: relative;
    display: inline-block;
}

.navbar .beta-hanging {
    margin-top: -2px;
}