@import url('https://fonts.googleapis.com/css2?family=Inter:wght@100..900&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg-primary: #0b0b0d;
    --bg-secondary: #111216;
    --bg-tertiary: #171920;
    --text-primary: #f3f4f6;
    --text-secondary: #a9adb8;
    --accent: #d92d3a;
    --accent-hover: #a91f2a;
    --border: #343843;
    --gradient: linear-gradient(135deg, #d92d3a 0%, #a91f2a 100%);
    --shadow: 0 14px 30px rgba(0, 0, 0, 0.35);
    --pattern-fine-grid:
        linear-gradient(rgba(255, 255, 255, 0.016) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.016) 1px, transparent 1px);
    --pattern-diagonal:
        repeating-linear-gradient(
            135deg,
            rgba(255, 255, 255, 0.012) 0 1px,
            transparent 1px 13px
        );
    --pattern-dot:
        radial-gradient(circle at 1px 1px, rgba(255, 255, 255, 0.028) 1px, transparent 0);
    --site-panel-bg:
        linear-gradient(180deg, rgba(13, 15, 21, 0.95), rgba(12, 14, 19, 0.95)),
        var(--pattern-dot),
        var(--pattern-fine-grid);
    --site-panel-bg-size:
        auto,
        24px 24px,
        26px 26px;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background:
        var(--pattern-dot),
        var(--pattern-fine-grid),
        radial-gradient(circle at 85% 10%, rgba(217, 45, 58, 0.045), transparent 28%),
        radial-gradient(circle at 20% 70%, rgba(217, 45, 58, 0.03), transparent 35%),
        var(--bg-primary);
    background-size:
        24px 24px,
        28px 28px,
        auto,
        auto,
        auto;
    color: var(--text-primary);
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background:
        linear-gradient(rgba(11, 11, 13, 0.92), rgba(11, 11, 13, 0.92)),
        var(--pattern-dot),
        var(--pattern-fine-grid);
    background-size:
        auto,
        22px 22px,
        22px 22px;
    backdrop-filter: blur(8px);
    border-bottom: 1px solid #22252f;
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 64px;
}

.logo {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-size: 18px;
    font-weight: 600;
    letter-spacing: -0.02em;
    text-decoration: none;
    color: var(--text-primary);
    transition: opacity 0.2s;
}

.logo:hover {
    opacity: 0.8;
}

.logo-img {
    width: 36px;
    height: 36px;
    object-fit: contain;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.2s;
}

.nav-links a:hover {
    color: var(--text-primary);
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.mobile-menu-toggle span {
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    transition: all 0.3s;
    border-radius: 2px;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(7px, 7px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* Buttons */
.btn-primary {
    background: var(--accent);
    color: white;
    border: 1px solid #f0626e;
    padding: 8px 16px;
    border-radius: 0;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    font-family: 'Inter', sans-serif;
    text-decoration: none;
    display: inline-block;
}

.btn-primary:hover {
    background: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(217, 45, 58, 0.4);
}

.btn-secondary {
    background: var(--bg-tertiary);
    color: var(--text-primary);
    border: 1px solid var(--border);
    padding: 8px 16px;
    border-radius: 0;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    font-family: 'Inter', sans-serif;
    text-decoration: none;
    display: inline-block;
}

.btn-secondary:hover {
    background: var(--bg-secondary);
    border-color: var(--accent);
    transform: translateY(-2px);
}

.btn-large {
    padding: 14px 28px;
    font-size: 15px;
}

/* Hero Section */
.hero {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    padding: 140px 0 100px;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background:
        linear-gradient(
            90deg,
            rgba(8, 10, 14, 0.82) 0%,
            rgba(8, 10, 14, 0.6) 42%,
            rgba(8, 10, 14, 0.42) 68%,
            rgba(8, 10, 14, 0.6) 100%
        );
}

.hero::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 110px;
    z-index: 1;
    pointer-events: none;
    background: linear-gradient(to bottom, rgba(12, 14, 19, 0), rgba(13, 15, 21, 0.9));
}

.matrix-container {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(13, 16, 21, 0.9) 0%, rgba(14, 18, 24, 0.9) 55%, rgba(11, 14, 19, 0.9) 100%);
    display: block;
    pointer-events: none;
    z-index: 0;
    mix-blend-mode: lighten;
}

.matrix-pattern {
    position: absolute;
    inset: 0;
    opacity: 0.62;
    mix-blend-mode: screen;
}

.matrix-pattern:nth-child(2) {
    opacity: 0.42;
    transform: translateX(1.8%);
    mix-blend-mode: screen;
}

.matrix-column {
    position: absolute;
    top: -130%;
    width: 3.9%;
    height: 250%;
    animation: matrix-fall linear infinite;
}

.matrix-column::before {
    content: attr(data-code);
    position: absolute;
    inset: 0;
    white-space: pre;
    writing-mode: vertical-rl;
    letter-spacing: 1px;
    font-size: 11px;
    font-weight: 700;
    line-height: 1.15;
    background: linear-gradient(
        to bottom,
        #f0f4f8 0%,
        #d6dde5 14%,
        #acb4bf 35%,
        #828c99 56%,
        #5e6874 76%,
        rgba(168, 178, 190, 0.44) 90%,
        transparent 100%
    );
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

@keyframes matrix-fall {
    0% {
        transform: translateY(-8%);
        opacity: 0.95;
    }
    100% {
        transform: translateY(185%);
        opacity: 0.1;
    }
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.9fr;
    gap: 3rem;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-copy {
    position: relative;
    max-width: 60ch;
}

.hero-copy > * {
    position: relative;
    z-index: 1;
}

.badge {
    display: inline-block;
    padding: 6px 12px;
    background: var(--bg-tertiary);
    border: 1px solid var(--border);
    border-radius: 20px;
    font-size: 13px;
    font-weight: 500;
    color: var(--text-secondary);
    margin-bottom: 24px;
}

.hero-title {
    font-size: clamp(36px, 6vw, 56px);
    font-weight: 800;
    letter-spacing: -0.04em;
    line-height: 1.1;
    margin-bottom: 24px;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.5);
    text-align: left;
}

.gradient-text {
    color: var(--accent);
    display: block;
    text-shadow: 0 0 40px rgba(217, 45, 58, 0.3);
}

.hero-description {
    font-size: clamp(15px, 2vw, 18px);
    color: #b8bdc8;
    margin-bottom: 32px;
    line-height: 1.65;
    max-width: 58ch;
}

.hero-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

/* Responsive Hero */
@media (max-width: 920px) {
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .hero-title {
        text-align: center;
    }
    
    .hero-description {
        text-align: center;
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero-actions {
        justify-content: center;
    }
}

.hero-quote {
    background:
        linear-gradient(135deg, rgba(20, 23, 31, 0.94), rgba(18, 19, 26, 0.94)),
        var(--pattern-dot),
        var(--pattern-diagonal);
    background-size:
        auto,
        20px 20px,
        18px 18px;
    border: 1px solid #333845;
    border-left: 3px solid var(--accent);
    padding: 28px;
    box-shadow: var(--shadow);
    position: relative;
}

.hero-quote::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 0% 0%, rgba(217, 45, 58, 0.08), transparent 60%);
    pointer-events: none;
}

.hero-quote .quote-text {
    font-size: 18px;
    font-weight: 500;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.95);
    margin: 0 0 12px;
    position: relative;
    z-index: 1;
}

.hero-quote .quote-text::before {
    content: '"';
    position: absolute;
    left: -16px;
    top: -4px;
    font-size: 32px;
    color: var(--accent);
    opacity: 0.5;
}

.hero-quote .quote-text::after {
    content: '"';
    position: absolute;
    right: -16px;
    bottom: -8px;
    font-size: 32px;
    color: var(--accent);
    opacity: 0.5;
}

.hero-quote .quote-author {
    font-size: 14px;
    color: var(--muted);
    font-weight: 500;
    margin: 0;
    position: relative;
    z-index: 1;
}

.hero-quote .quote-tagline {
    font-size: 16px;
    font-weight: 700;
    color: #f06974;
    margin: 20px 0 0;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    position: relative;
    z-index: 1;
}

/* Features Section */
.features {
    padding: 120px 0;
    background: var(--site-panel-bg);
    background-size: var(--site-panel-bg-size);
}

.section-title {
    text-align: center;
    font-size: clamp(32px, 5vw, 48px);
    font-weight: 800;
    letter-spacing: -0.03em;
    margin-bottom: 64px;
    line-height: 1.15;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -16px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--accent);
}

.pricing-subtitle {
    text-align: center;
    font-size: 18px;
    color: var(--text-secondary);
    margin-top: -48px;
    margin-bottom: 64px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: 1200px;
    margin: 0 auto;
}

.feature-card {
    background:
        linear-gradient(180deg, rgba(24, 27, 36, 0.94), rgba(20, 23, 31, 0.94)),
        var(--pattern-dot),
        var(--pattern-fine-grid);
    background-size:
        auto,
        20px 20px,
        20px 20px;
    border: 1px solid var(--border);
    border-radius: 0;
    padding: 32px;
    transition: all 0.3s;
    box-shadow: var(--shadow);
}

.feature-card:hover {
    border-color: var(--accent);
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.4);
}

.feature-icon {
    margin-bottom: 16px;
    color: var(--accent);
}

.feature-icon svg {
    display: block;
}

.feature-card h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 12px;
}

.feature-card p {
    color: var(--text-secondary);
    font-size: 15px;
    line-height: 1.6;
}

/* Team Section */
.team {
    padding: 120px 0;
    background: var(--site-panel-bg);
    background-size: var(--site-panel-bg-size);
}

.team-subtitle {
    text-align: center;
    font-size: 18px;
    color: var(--text-secondary);
    margin-top: -48px;
    margin-bottom: 64px;
}

.team-container {
    max-width: 1200px;
    margin: 0 auto;
}

.team-row {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 32px;
    flex-wrap: wrap;
}

.team-row-top {
    margin-bottom: 32px;
}

.team-row-bottom {
    margin-top: 0;
}

.team-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 32px;
    max-width: 1400px;
    margin: 0 auto;
    flex-wrap: wrap;
}

.team-card {
    text-align: center;
    padding: 32px;
    background:
        linear-gradient(180deg, rgba(24, 27, 36, 0.94), rgba(20, 23, 31, 0.94)),
        var(--pattern-dot);
    background-size:
        auto,
        20px 20px;
    border: 1px solid var(--border);
    border-radius: 0;
    transition: all 0.3s;
    flex: 0 0 auto;
    width: 220px;
    box-shadow: var(--shadow);
}

.team-card-featured {
    border-color: var(--accent);
    background:
        linear-gradient(180deg, rgba(35, 19, 24, 0.95), rgba(24, 26, 33, 0.95)),
        var(--pattern-dot);
    background-size:
        auto,
        20px 20px;
}

.team-card:hover {
    border-color: var(--accent);
    transform: translateY(-6px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.4);
}

.team-avatar {
    width: 120px;
    height: 120px;
    margin: 0 auto 20px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid var(--border);
    transition: border-color 0.3s;
}

.team-card:hover .team-avatar {
    border-color: var(--accent);
}

.team-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.team-card h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.team-role {
    font-size: 14px;
    color: var(--text-secondary);
    font-weight: 500;
}

/* Pricing Section */
.pricing {
    padding: 120px 0;
    background: var(--site-panel-bg);
    background-size: var(--site-panel-bg-size);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: 1200px;
    margin: 0 auto;
}

.pricing-card {
    background:
        linear-gradient(180deg, rgba(24, 27, 36, 0.94), rgba(20, 23, 31, 0.94)),
        var(--pattern-dot),
        var(--pattern-fine-grid);
    background-size:
        auto,
        20px 20px,
        20px 20px;
    border: 1px solid var(--border);
    border-radius: 0;
    padding: 40px 32px;
    transition: all 0.3s;
    position: relative;
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow);
}

.pricing-card:hover {
    border-color: var(--accent);
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5);
}

.pricing-card-featured {
    border-color: var(--accent);
    background:
        linear-gradient(180deg, rgba(35, 19, 24, 0.95), rgba(24, 26, 33, 0.95)),
        var(--pattern-dot);
    background-size:
        auto,
        20px 20px;
}

.pricing-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent);
    color: white;
    padding: 6px 18px;
    border-radius: 0;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    box-shadow: 0 4px 12px rgba(217, 45, 58, 0.4);
}

.pricing-header {
    text-align: center;
    margin-bottom: 32px;
}

.pricing-header h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 16px;
}

.pricing-price {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 16px;
}

.price-amount {
    font-size: 32px;
    font-weight: 700;
    color: var(--text-primary);
}

.price-divider {
    font-size: 14px;
    color: var(--text-secondary);
    font-weight: 400;
}

.pricing-description {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.5;
}

.pricing-features {
    list-style: none;
    margin-bottom: 32px;
    flex-grow: 1;
}

.pricing-features li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 16px;
    font-size: 15px;
    color: var(--text-secondary);
}

.pricing-features li svg {
    flex-shrink: 0;
    margin-top: 2px;
    color: var(--accent);
}

.pricing-btn {
    width: 100%;
    text-align: center;
}

/* FAQ Section */
.faq {
    padding: 120px 0;
    background: var(--site-panel-bg);
    background-size: var(--site-panel-bg-size);
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 16px;
    background:
        linear-gradient(180deg, rgba(24, 27, 36, 0.94), rgba(20, 23, 31, 0.94)),
        var(--pattern-dot);
    background-size:
        auto,
        20px 20px;
    border: 1px solid var(--border);
    border-radius: 0;
    overflow: hidden;
    transition: all 0.3s;
}

.faq-item:hover {
    border-color: var(--accent);
}

.faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px;
    background: transparent;
    border: none;
    color: var(--text-primary);
    font-size: 18px;
    font-weight: 600;
    text-align: left;
    cursor: pointer;
    font-family: 'Inter', sans-serif;
    transition: all 0.3s;
}

.faq-question:hover {
    color: var(--accent);
}

.faq-icon {
    flex-shrink: 0;
    margin-left: 16px;
    transition: transform 0.3s;
    color: var(--text-secondary);
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
    color: var(--accent);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out, padding 0.3s ease-out;
}

.faq-item.active .faq-answer {
    max-height: 500px;
    padding: 0 24px 24px;
}

.faq-answer p {
    color: var(--text-secondary);
    font-size: 16px;
    line-height: 1.7;
    margin: 0;
}

/* CTA Section */
.cta {
    padding: 120px 0;
    background: var(--site-panel-bg);
    background-size: var(--site-panel-bg-size);
}

.cta-content {
    text-align: center;
    background:
        linear-gradient(180deg, rgba(24, 27, 36, 0.94), rgba(20, 23, 31, 0.94)),
        var(--pattern-dot);
    background-size:
        auto,
        20px 20px;
    border: 1px solid var(--border);
    border-radius: 0;
    padding: 80px 40px;
}

.cta-content h2 {
    font-size: clamp(32px, 6vw, 48px);
    font-weight: 800;
    letter-spacing: -0.03em;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.cta-content p {
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 32px;
}

/* Responsive */
@media (max-width: 768px) {
    .container {
        padding: 0 16px;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: 64px;
        left: 0;
        right: 0;
        background: var(--bg-primary);
        border-bottom: 1px solid var(--border);
        flex-direction: column;
        gap: 0;
        padding: 16px 0;
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s;
        z-index: 999;
    }

    .nav-links.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    .nav-links a {
        padding: 12px 24px;
        display: block;
        border-bottom: 1px solid var(--border);
    }

    .nav-links a:last-child {
        border-bottom: none;
    }

    .nav-links .btn-primary {
        margin: 8px 24px;
        text-align: center;
    }
    
    .hero {
        padding: 100px 0 60px;
    }

    .hero-actions {
        flex-direction: column;
        gap: 12px;
    }

    .hero-actions .btn-large {
        width: 100%;
    }

    .hero-quote {
        padding: 24px;
    }
    
    .section-title {
        font-size: 32px;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }

    .faq-question {
        font-size: 16px;
        padding: 20px;
    }

    .faq-answer p {
        font-size: 15px;
    }

    .team-row {
        flex-direction: column;
        gap: 24px;
    }

    .team-row-top,
    .team-row-bottom {
        margin: 0;
    }

    .team-card {
        width: 100%;
        max-width: 300px;
    }

    .pricing-grid {
        grid-template-columns: 1fr;
    }

    .pricing-card {
        max-width: 400px;
        margin: 0 auto;
    }
    
    .cta-content {
        padding: 60px 24px;
    }

    .cta-content h2 {
        font-size: 32px;
    }

    .cta-content p {
        font-size: 16px;
    }
}
