/* Navigation */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--color-border-light);
    transition: var(--transition-normal);
}

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

.nav-logo {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.logo-icon {
    height: 40px;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: var(--font-weight-bold);
    color: var(--color-text-primary);
}

.nav-links {
    display: none;
    align-items: center;
    gap: var(--space-xl);
}

@media (min-width: 768px) {
    .nav-links {
        display: flex;
    }
}

.nav-link {
    color: var(--color-text-secondary);
    font-weight: var(--font-weight-medium);
    transition: var(--transition-fast);
}

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

.nav-cta {
    position: relative;
}

.btn-text {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
}

.btn-icon {
    transition: var(--transition-fast);
    width: 20px;
    height: 20px;
}

.dropdown-container {
    position: relative;
}

.dropdown {
    position: absolute;
    top: calc(100% + var(--space-sm));
    right: 0;
    background: white;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: var(--transition-normal);
    min-width: 200px;
    overflow: hidden;
    z-index: 1100;
}

.dropdown.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-item {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-md);
    color: var(--color-text-primary);
    transition: var(--transition-fast);
}

.dropdown-item:hover {
    background: var(--color-surface);
}

.dropdown-icon {
    width: 20px;
    height: 20px;
}

/* Hero Section */
.hero {
    position: relative;
    padding-top: 140px;
    padding-bottom: var(--space-4xl);
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at top, rgba(255, 87, 87, 0.1) 0%, transparent 50%),
        radial-gradient(ellipse at bottom right, rgba(248, 207, 41, 0.1) 0%, transparent 50%);
    z-index: -1;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-md);
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-2xl);
    align-items: center;
}

@media (min-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr 1fr;
        gap: var(--space-4xl);
    }
}

.hero-content {
    text-align: center;
}

@media (min-width: 1024px) {
    .hero-content {
        text-align: left;
    }
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    padding: var(--space-sm) var(--space-md);
    background: rgba(255, 87, 87, 0.1);
    border: 1px solid rgba(255, 87, 87, 0.2);
    border-radius: var(--radius-full);
    margin-bottom: var(--space-lg);
}

.badge-text {
    font-size: 0.875rem;
    font-weight: var(--font-weight-medium);
    color: var(--color-primary-dark);
}

.hero-title {
    font-size: 3rem;
    font-weight: var(--font-weight-extrabold);
    line-height: 1.1;
    margin-bottom: var(--space-lg);
    color: var(--color-text-primary);
}

@media (min-width: 768px) {
    .hero-title {
        font-size: 4rem;
    }
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--color-text-secondary);
    margin-bottom: var(--space-2xl);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

@media (min-width: 1024px) {
    .hero-subtitle {
        margin-left: 0;
        margin-right: 0;
    }
}

.hero-actions {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
    margin-bottom: var(--space-2xl);
}

@media (min-width: 640px) {
    .hero-actions {
        flex-direction: row;
        justify-content: center;
    }
}

@media (min-width: 1024px) {
    .hero-actions {
        justify-content: flex-start;
    }
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg);
    max-width: 400px;
    margin: 0 auto;
}

@media (min-width: 1024px) {
    .hero-stats {
        margin: 0;
    }
}

.stat-item {
    text-align: center;
}

@media (min-width: 1024px) {
    .stat-item {
        text-align: left;
    }
}

.stat-value {
    font-size: 1.5rem;
    font-weight: var(--font-weight-bold);
    color: var(--color-primary);
}

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

/* Hero Visual */
.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
}

.demo-container {
    position: relative;
    max-width: 500px;
    width: 100%;
}

.demo-card {
    background: white;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-2xl);
    overflow: hidden;
}

.demo-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--space-md);
    background: var(--color-surface);
    border-bottom: 1px solid var(--color-border);
}

.demo-dots {
    display: flex;
    gap: var(--space-xs);
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: var(--radius-full);
}

.dot.red {
    background: #ef4444;
}

.dot.yellow {
    background: #f59e0b;
}

.dot.green {
    background: #10b981;
}

.demo-title {
    font-size: 0.875rem;
    font-weight: var(--font-weight-medium);
    color: var(--color-text-secondary);
}

.demo-content {
    padding: var(--space-lg);
}

.demo-image {
    width: 100%;
    height: auto;
    border-radius: var(--radius-md);
}

.notification-cards-container {
    grid-column: 1 / -1;
    display: flex;
    justify-content: center;
    gap: var(--space-lg);
    margin-top: var(--space-2xl);
}

@media (min-width: 1024px) {
    .notification-cards-container {
        grid-column: 2 / 3;
        justify-content: flex-start;
        margin-top: 0;
    }
}

.notification-card {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-md);
    background: white;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    min-width: 200px;
    border-left: 4px solid transparent;
}

.notification-card.discord {
    border-left-color: #5865f2;
}

.notification-card.slack {
    border-left-color: #4a154b;
}

.notif-icon {
    width: 32px;
    height: 32px;
    border-radius: var(--radius-sm);
}

.notif-title {
    font-weight: var(--font-weight-semibold);
    font-size: 0.875rem;
    color: var(--color-text-primary);
}

.notif-desc {
    font-size: 0.75rem;
    color: var(--color-text-muted);
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: var(--space-4xl);
}

.section-title {
    font-size: 2.5rem;
    font-weight: var(--font-weight-extrabold);
    margin-bottom: var(--space-md);
    color: var(--color-text-primary);
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--color-text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

/* Features Section */
.features {
    padding: var(--space-4xl) 0;
    background: var(--color-surface);
}

.features-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-xl);
}

@media (min-width: 640px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .features-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.feature-card {
    background: white;
    padding: var(--space-2xl);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--color-border-light);
    transition: var(--transition-slow);
    position: relative;
    overflow: hidden;
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: var(--transition-slow);
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: var(--space-lg);
    display: block;
}

.feature-title {
    font-size: 1.25rem;
    font-weight: var(--font-weight-semibold);
    margin-bottom: var(--space-md);
    color: var(--color-text-primary);
}

.feature-desc {
    color: var(--color-text-secondary);
    margin-bottom: var(--space-lg);
    line-height: 1.6;
}

.feature-highlight {
    display: inline-flex;
    align-items: center;
    padding: var(--space-xs) var(--space-sm);
    background: rgba(255, 87, 87, 0.1);
    color: var(--color-primary-dark);
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: var(--font-weight-medium);
}

/* Integrations Section */
.integrations {
    padding: var(--space-4xl) 0;
}

.integrations-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-xl);
    max-width: 1000px;
    margin: 0 auto;
}

@media (min-width: 768px) {
    .integrations-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 1024px) {
    .integrations-grid {
        grid-template-columns: repeat(6, 1fr);
    }
}

.integration-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-md);
    padding: var(--space-xl);
    background: white;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    transition: var(--transition-normal);
}

.integration-item:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.integration-item img {
    width: 48px;
    height: 48px;
    object-fit: contain;
}

.webhook-icon {
    font-size: 3rem;
}

.integration-item span {
    font-weight: var(--font-weight-medium);
    color: var(--color-text-primary);
    text-align: center;
}

/* Pricing Section */
.pricing {
    padding: var(--space-4xl) 0;
    background: var(--color-surface);
}

.pricing-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-md);
    margin-bottom: var(--space-4xl);
}

.toggle-label {
    font-weight: var(--font-weight-medium);
    color: var(--color-text-secondary);
}

.toggle-switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 34px;
}

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

.toggle-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: var(--transition-normal);
    border-radius: var(--radius-full);
}

.toggle-slider:before {
    position: absolute;
    content: "";
    height: 26px;
    width: 26px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    transition: var(--transition-normal);
    border-radius: var(--radius-full);
}

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

input:checked+.toggle-slider:before {
    transform: translateX(26px);
}

.toggle-discount {
    background: var(--gradient-secondary);
    color: white;
    padding: var(--space-xs) var(--space-sm);
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: var(--font-weight-semibold);
    margin-left: var(--space-sm);
}

.pricing-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-xl);
    max-width: 1100px;
    margin: 0 auto;
}

@media (min-width: 768px) {
    .pricing-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .pricing-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.pricing-card {
    background: white;
    border-radius: var(--radius-2xl);
    padding: var(--space-2xl);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--color-border-light);
    position: relative;
    transition: var(--transition-slow);
    display: flex;
    flex-direction: column;
}

.pricing-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
}

.pricing-card.popular {
    border-color: var(--color-primary);
    box-shadow: var(--shadow-lg);
}

.popular-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gradient-primary);
    color: white;
    padding: var(--space-sm) var(--space-lg);
    border-radius: var(--radius-full);
    font-size: 0.875rem;
    font-weight: var(--font-weight-semibold);
}

.pricing-header {
    text-align: center;
    margin-bottom: var(--space-2xl);
    padding-bottom: var(--space-lg);
    border-bottom: 1px solid var(--color-border-light);
}

.pricing-title {
    font-size: 1.5rem;
    font-weight: var(--font-weight-bold);
    margin-bottom: var(--space-sm);
    color: var(--color-text-primary);
}

.pricing-price {
    margin-bottom: var(--space-md);
}

.price-amount {
    font-size: 3rem;
    font-weight: var(--font-weight-extrabold);
    color: var(--color-primary);
}

.price-period {
    font-size: 1rem;
    color: var(--color-text-muted);
}

.pricing-subtitle {
    color: var(--color-text-secondary);
    line-height: 1.5;
}

.pricing-features {
    margin-bottom: var(--space-2xl);
    flex-grow: 1;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    margin-bottom: var(--space-md);
}

.check-icon {
    color: var(--color-primary);
    flex-shrink: 0;
}

.pricing-btn {
    display: block;
    width: 100%;
    text-align: center;
    padding: var(--space-md) var(--space-lg);
    border: 2px solid var(--color-border);
    border-radius: var(--radius-lg);
    font-weight: var(--font-weight-semibold);
    color: var(--color-text-primary);
    background: white;
    transition: var(--transition-normal);
    margin-top: auto;
}

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

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

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

/* Testimonials Section */
.testimonials {
    padding: var(--space-4xl) 0;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-xl);
}

@media (min-width: 768px) {
    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .testimonials-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.testimonial-card {
    background: white;
    padding: var(--space-2xl);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--color-border-light);
    transition: var(--transition-slow);
}

.testimonial-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.testimonial-rating {
    font-size: 1.25rem;
    margin-bottom: var(--space-lg);
}

.testimonial-text {
    color: var(--color-text-secondary);
    line-height: 1.6;
    margin-bottom: var(--space-lg);
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: var(--space-md);
}

.author-avatar {
    width: 48px;
    height: 48px;
    background: var(--gradient-primary);
    color: white;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: var(--font-weight-semibold);
}

.author-name {
    font-weight: var(--font-weight-semibold);
    color: var(--color-text-primary);
}

.author-role {
    font-size: 0.875rem;
    color: var(--color-text-muted);
}

/* FAQ Section */
.faq {
    padding: var(--space-4xl) 0;
    background: var(--color-surface);
}

.faq-item {
    max-width: 800px;
    margin: 0 auto;
    background: white;
    border-radius: var(--radius-lg);
    margin-bottom: var(--space-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--color-border-light);
}

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--space-xl);
    cursor: pointer;
    font-weight: var(--font-weight-semibold);
    color: var(--color-text-primary);
    transition: var(--transition-fast);
    background-color: transparent;
    border: none;
    text-align: left;
    font-size: 1.125rem;
}

.faq-question:hover {
    background: var(--color-surface);
}

.faq-icon {
    transition: transform 0.3s ease;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-answer p {
    padding: 0 var(--space-xl) var(--space-xl);
    color: var(--color-text-secondary);
    line-height: 1.7;
}

/* Footer */
.footer {
    background: var(--color-text-primary);
    color: white;
    padding: var(--space-4xl) 0 var(--space-xl);
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-2xl);
    margin-bottom: var(--space-2xl);
}

@media (min-width: 768px) {
    .footer-content {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }
}

.footer-brand {
    max-width: 400px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    margin-bottom: var(--space-md);
}

.footer-logo-text {
    font-size: 1.5rem;
    font-weight: var(--font-weight-bold);
}

.footer-description {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.125rem;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-xl);
}

@media (min-width: 768px) {
    .footer-links {
        grid-template-columns: repeat(3, 1fr);
    }
}

.footer-column h4 {
    font-weight: var(--font-weight-semibold);
    margin-bottom: var(--space-md);
}

.footer-column a {
    display: block;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: var(--space-sm);
    transition: var(--transition-fast);
}

.footer-column a:hover {
    color: white;
}

.footer-bottom {
    padding-top: var(--space-xl);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    color: rgba(255, 255, 255, 0.5);
}
