/* 
   Stoxfi.com - Main Stylesheet with Altcase Theme
   A modern, responsive website for an algorithmic trading platform
*/

/* ===== Base Styles ===== */
:root {
    /* Altcase-inspired Colors */
    --primary-color: #21b546;      /* Bright green from Altcase buttons */
    --primary-dark: #189a3a;       /* Darker shade of the primary green */
    --secondary-color: #4cc986;    /* Lighter green for accents */
    --dark-bg: #001107;            /* Dark green background from Altcase */
    --darker-bg: #000a04;          /* Slightly darker version for contrast */
    --light-bg: #0a2213;           /* Lighter green background for cards */
    --text-primary: #f8fafc;
    --text-secondary: #cbd5e1;
    --text-muted: #94a3b8;
    --success-color: #10b981;
    --warning-color: #f59e0b;
    --danger-color: #ef4444;
    --border-color: #1a3a20;       /* Adjusted to match green theme */
    --card-bg: #0a2213;            /* Adjusted to match green theme */
    --gradient-primary: linear-gradient(135deg, #21b546 0%, #4cc986 100%);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--dark-bg);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 {
    font-size: 3.5rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

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

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

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: var(--secondary-color);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

section {
    padding: 5rem 0;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header p {
    max-width: 600px;
    margin: 0 auto;
}

/* ===== Buttons ===== */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    outline: none;
}

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

.btn-primary:hover {
    background-color: var(--primary-dark);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(33, 181, 70, 0.2);
}

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

.btn-secondary:hover {
    background-color: rgba(33, 181, 70, 0.1);
    color: var(--text-primary);
    transform: translateY(-2px);
}

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

/* ===== Header/Navigation ===== */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: rgba(0, 17, 7, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(26, 58, 32, 0.5);
    padding: 1rem 0;
    transition: all 0.3s ease;
}

header.scrolled {
    padding: 0.75rem 0;
    background-color: rgba(0, 17, 7, 0.95);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

.logo img {
    height: 40px;
}

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

.nav-links a {
    color: var(--text-secondary);
    font-weight: 500;
    position: relative;
}

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

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

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

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

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
}

.mobile-menu-toggle span {
    display: block;
    width: 30px;
    height: 3px;
    background-color: var(--text-primary);
    transition: all 0.3s ease;
}

/* ===== Hero Section ===== */
#hero {
    padding: 10rem 0 5rem;
    background: radial-gradient(circle at 10% 20%, rgba(33, 181, 70, 0.1) 0%, rgba(0, 17, 7, 0) 80%);
    position: relative;
    overflow: hidden;
}

#hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 80% 10%, rgba(76, 201, 134, 0.1) 0%, rgba(0, 17, 7, 0) 50%),
        radial-gradient(circle at 20% 80%, rgba(33, 181, 70, 0.1) 0%, rgba(0, 17, 7, 0) 50%);
    z-index: -1;
}

#hero .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 4rem;
}

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

.hero-content h1 {
    margin-bottom: 1.5rem;
}

.hero-content p {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
}

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

.hero-image {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    position: relative;
}

.hero-image img {
    max-width: 100%;
    animation: float 6s ease-in-out infinite;
}

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

/* Animated background elements */
.bg-element {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.2;
    z-index: -1;
}

.bg-element-1 {
    width: 300px;
    height: 300px;
    background-color: var(--primary-color);
    top: -100px;
    right: -100px;
    animation: pulse 8s ease-in-out infinite alternate;
}

.bg-element-2 {
    width: 200px;
    height: 200px;
    background-color: var(--secondary-color);
    bottom: -50px;
    left: -50px;
    animation: pulse 6s ease-in-out infinite alternate-reverse;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 0.2;
    }
    50% {
        transform: scale(1.2);
        opacity: 0.3;
    }
    100% {
        transform: scale(1);
        opacity: 0.2;
    }
}

/* Animated dots pattern */
.dots-pattern {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background-image: radial-gradient(var(--text-muted) 1px, transparent 1px);
    background-size: 30px 30px;
    opacity: 0.05;
    z-index: -1;
}

/* Animated gradient border */
.gradient-border {
    position: relative;
}

.gradient-border::before {
    content: '';
    position: absolute;
    top: -3px;
    left: -3px;
    right: -3px;
    bottom: -3px;
    background: var(--gradient-primary);
    border-radius: 0.6rem;
    z-index: -1;
    animation: border-animation 3s linear infinite;
}

@keyframes border-animation {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

/* How It Works Section Styles */
#how-it-works {
    background-color: var(--darker-bg);
    position: relative;
    overflow: hidden;
}

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

.step {
    background-color: var(--light-bg);
    border-radius: 1rem;
    padding: 2rem;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.step:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.step::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: var(--gradient-primary);
    z-index: 1;
}

.step-number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    color: white;
    font-weight: 700;
    font-size: 1.5rem;
    border-radius: 50%;
    margin-bottom: 1.5rem;
    position: relative;
}

.step-number::after {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    background: var(--gradient-primary);
    border-radius: 50%;
    opacity: 0.3;
    z-index: -1;
    animation: pulse 2s infinite;
}

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

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

/* Connection lines between steps */
.steps-container {
    position: relative;
}

.steps-container::before {
    content: '';
    position: absolute;
    top: 25px;
    left: calc(12.5% + 25px);
    width: calc(75% - 50px);
    height: 3px;
    background: var(--border-color);
    z-index: 0;
}

/* Animated step hover effect */
.step:hover .step-number {
    animation: bounce 0.5s ease;
}

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

/* Background elements */
#how-it-works::after {
    content: '';
    position: absolute;
    bottom: -50px;
    right: -50px;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(33, 181, 70, 0.1) 0%, rgba(0, 10, 4, 0) 70%);
    border-radius: 50%;
    z-index: 0;
}

/* Features Section Styles */
#features {
    background-color: var(--dark-bg);
    position: relative;
    overflow: hidden;
}

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

.feature-card {
    background-color: var(--light-bg);
    border-radius: 1rem;
    padding: 2.5rem 2rem;
    transition: all 0.4s ease;
    position: relative;
    z-index: 1;
    overflow: hidden;
    border: 1px solid var(--border-color);
    opacity: 0;
    transform: translateY(30px);
}

.feature-card.animate {
    opacity: 1;
    transform: translateY(0);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
    border-color: var(--primary-color);
}

.feature-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 70px;
    height: 70px;
    background: rgba(33, 181, 70, 0.1);
    color: var(--primary-color);
    font-size: 1.8rem;
    border-radius: 20px;
    margin-bottom: 1.5rem;
    position: relative;
    transition: all 0.3s ease;
}

.feature-card:hover .feature-icon {
    background: var(--gradient-primary);
    color: white;
    transform: scale(1.1);
}

.feature-card h3 {
    margin-bottom: 1rem;
    color: var(--text-primary);
    transition: all 0.3s ease;
}

.feature-card:hover h3 {
    color: var(--primary-color);
}

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

/* Staggered animation for feature cards */
.features-grid .feature-card:nth-child(1) {
    transition-delay: 0.1s;
}

.features-grid .feature-card:nth-child(2) {
    transition-delay: 0.2s;
}

.features-grid .feature-card:nth-child(3) {
    transition-delay: 0.3s;
}

.features-grid .feature-card:nth-child(4) {
    transition-delay: 0.4s;
}

.features-grid .feature-card:nth-child(5) {
    transition-delay: 0.5s;
}

.features-grid .feature-card:nth-child(6) {
    transition-delay: 0.6s;
}

/* Background elements */
#features::before {
    content: '';
    position: absolute;
    top: -150px;
    left: -150px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(76, 201, 134, 0.1) 0%, rgba(0, 17, 7, 0) 70%);
    border-radius: 50%;
    z-index: 0;
}

/* Feature card hover effect with gradient border */
.feature-card::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 1rem;
    padding: 2px;
    background: var(--gradient-primary);
    -webkit-mask: 
        linear-gradient(#fff 0 0) content-box, 
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.feature-card:hover::after {
    opacity: 1;
}

/* Pricing Section Styles */
#pricing {
    background-color: var(--darker-bg);
    position: relative;
    overflow: hidden;
}

.pricing-container {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 3rem;
}

.pricing-card {
    background-color: var(--light-bg);
    border-radius: 1rem;
    padding: 3rem 2rem;
    transition: all 0.4s ease;
    position: relative;
    z-index: 1;
    overflow: hidden;
    border: 1px solid var(--border-color);
    flex: 1;
    max-width: 350px;
}

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

.pricing-card.featured {
    border-color: var(--primary-color);
    transform: scale(1.05);
    z-index: 2;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.pricing-card.featured:hover {
    transform: scale(1.05) translateY(-10px);
}

.pricing-badge {
    position: absolute;
    top: 0;
    right: 2rem;
    background: var(--gradient-primary);
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 0 0 0.5rem 0.5rem;
    font-weight: 600;
    font-size: 0.9rem;
}

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

.pricing-header h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.price {
    font-size: 3rem;
    font-weight: 700;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    justify-content: center;
}

.price span {
    font-size: 1rem;
    font-weight: 400;
    color: var(--text-muted);
    margin-left: 0.5rem;
}

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

.pricing-features ul {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.pricing-features li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--text-secondary);
}

.pricing-features li i {
    font-size: 1rem;
    width: 20px;
    text-align: center;
}

.pricing-features li i.fa-check {
    color: var(--success-color);
}

.pricing-features li i.fa-times {
    color: var(--danger-color);
}

.pricing-cta {
    text-align: center;
}

.pricing-cta .btn {
    width: 100%;
    padding: 1rem;
}

/* Animated gradient border for featured plan */
.pricing-card.featured::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 1rem;
    padding: 3px;
    background: var(--gradient-primary);
    -webkit-mask: 
        linear-gradient(#fff 0 0) content-box, 
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
}

/* Background elements */
#pricing::after {
    content: '';
    position: absolute;
    bottom: -150px;
    right: -150px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(33, 181, 70, 0.1) 0%, rgba(0, 10, 4, 0) 70%);
    border-radius: 50%;
    z-index: 0;
}

/* Testimonials Section Styles */
#testimonials {
    background-color: var(--dark-bg);
    position: relative;
    overflow: hidden;
}

.testimonials-slider {
    position: relative;
    max-width: 800px;
    margin: 0 auto 2rem;
}

.testimonial {
    background-color: var(--light-bg);
    border-radius: 1rem;
    padding: 3rem;
    display: none;
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
}

.testimonial-content {
    margin-bottom: 2rem;
}

.testimonial-content p {
    font-size: 1.2rem;
    line-height: 1.8;
    color: var(--text-primary);
    font-style: italic;
    position: relative;
}

.testimonial-content p::before,
.testimonial-content p::after {
    content: '"';
    font-size: 2.5rem;
    color: var(--primary-color);
    position: absolute;
    opacity: 0.3;
}

.testimonial-content p::before {
    top: -1.5rem;
    left: -1rem;
}

.testimonial-content p::after {
    bottom: -2.5rem;
    right: -1rem;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.testimonial-author img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--primary-color);
}

.author-info h4 {
    margin-bottom: 0.25rem;
    color: var(--text-primary);
}

.author-info p {
    margin-bottom: 0;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.testimonial-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
}

.prev-btn,
.next-btn {
    background-color: transparent;
    border: none;
    color: var(--text-secondary);
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.prev-btn:hover,
.next-btn:hover {
    color: var(--primary-color);
    transform: scale(1.2);
}

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

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

.dot.active {
    background-color: var(--primary-color);
    transform: scale(1.3);
}

/* Background elements */
#testimonials::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(76, 201, 134, 0.1) 0%, rgba(0, 17, 7, 0) 70%);
    border-radius: 50%;
    z-index: 0;
}

/* Integrations Section Styles */
#integrations {
    background-color: var(--darker-bg);
    position: relative;
    overflow: hidden;
}

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

.integration-logo {
    background-color: var(--light-bg);
    border-radius: 1rem;
    padding: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
    filter: grayscale(100%);
    opacity: 0.7;
}

.integration-logo:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
    filter: grayscale(0%);
    opacity: 1;
    border-color: var(--primary-color);
}

.integration-logo img {
    max-width: 100%;
    max-height: 50px;
    transition: all 0.3s ease;
}

.integration-logo:hover img {
    transform: scale(1.1);
}

/* Background elements */
#integrations::before {
    content: '';
    position: absolute;
    bottom: -100px;
    left: -100px;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(33, 181, 70, 0.1) 0%, rgba(0, 10, 4, 0) 70%);
    border-radius: 50%;
    z-index: 0;
}

/* Integration logo hover effect with pulse */
.integration-logo::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 1rem;
    padding: 2px;
    background: var(--gradient-primary);
    -webkit-mask: 
        linear-gradient(#fff 0 0) content-box, 
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.integration-logo:hover::after {
    opacity: 1;
}

/* Footer Section Styles */
footer {
    background-color: var(--darker-bg);
    padding: 5rem 0 2rem;
    position: relative;
    overflow: hidden;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-column h4 {
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
    position: relative;
    display: inline-block;
}

.footer-column h4::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--gradient-primary);
    border-radius: 3px;
}

.footer-column ul {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-column ul li a {
    color: var(--text-secondary);
    transition: all 0.3s ease;
    position: relative;
    padding-left: 0;
}

.footer-column ul li a:hover {
    color: var(--primary-color);
    padding-left: 8px;
}

.footer-column ul li a::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    background-color: var(--primary-color);
    border-radius: 50%;
    transition: all 0.3s ease;
    opacity: 0;
}

.footer-column ul li a:hover::before {
    width: 4px;
    height: 4px;
    opacity: 1;
}

.footer-logo {
    margin-bottom: 1.5rem;
}

.footer-logo img {
    height: 40px;
}

.social-icons {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: var(--light-bg);
    color: var(--text-secondary);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.social-icons a:hover {
    background-color: var(--primary-color);
    color: white;
    transform: translateY(-5px);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Background elements */
footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: var(--gradient-primary);
    opacity: 0.3;
}

footer::after {
    content: '';
    position: absolute;
    top: -150px;
    right: -150px;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(33, 181, 70, 0.05) 0%, rgba(0, 10, 4, 0) 70%);
    border-radius: 50%;
    z-index: 0;
}

/* Waitlist Section Styles */
#waitlist {
    background-color: var(--dark-bg);
    padding: 5rem 0;
    position: relative;
    overflow: hidden;
}

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

.waitlist-content h2 {
    margin-bottom: 1rem;
}

.waitlist-content p {
    margin-bottom: 2rem;
}

.waitlist-form {
    display: flex;
    gap: 1rem;
    margin: 0 auto;
    max-width: 500px;
}

.waitlist-form input {
    flex: 1;
    padding: 1rem 1.5rem;
    border-radius: 0.5rem;
    border: 1px solid var(--border-color);
    background-color: var(--light-bg);
    color: var(--text-primary);
    font-size: 1rem;
    outline: none;
    transition: all 0.3s ease;
}

.waitlist-form input:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(33, 181, 70, 0.2);
}

.waitlist-form button {
    padding: 1rem 2rem;
    white-space: nowrap;
}

.success-message {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    color: var(--success-color);
    font-weight: 500;
    padding: 1rem;
    background-color: rgba(16, 185, 129, 0.1);
    border-radius: 0.5rem;
    border: 1px solid var(--success-color);
}

.success-message i {
    font-size: 1.5rem;
}

/* Background gradient for waitlist */
#waitlist::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 50%, rgba(33, 181, 70, 0.1) 0%, rgba(0, 17, 7, 0) 50%),
        radial-gradient(circle at 80% 50%, rgba(76, 201, 134, 0.1) 0%, rgba(0, 17, 7, 0) 50%);
    z-index: -1;
}

/* Responsive Styles */

/* Large Desktops (1200px and up) */
@media (min-width: 1200px) {
    .container {
        max-width: 1140px;
    }
}

/* Medium Desktops (992px to 1199px) */
@media (max-width: 1199px) {
    .container {
        max-width: 960px;
    }
    
    h1 {
        font-size: 3rem;
    }
    
    h2 {
        font-size: 2.2rem;
    }
    
    .hero-image img {
        max-width: 90%;
    }
    
    .features-grid, 
    .integrations-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    /* Pricing adjustments */
    .pricing-card {
        padding: 2.5rem 1.5rem;
    }
    
    /* Testimonial adjustments */
    .testimonial {
        padding: 2.5rem;
    }
}

/* Tablets and Small Desktops (768px to 991px) */
@media (max-width: 991px) {
    .container {
        max-width: 720px;
    }
    
    h1 {
        font-size: 2.5rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    h3 {
        font-size: 1.3rem;
    }
    
    /* Header/Navigation */
    .nav-links {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .mobile-menu-active .nav-links {
        display: block;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--darker-bg);
        padding: 1rem 0;
        border-bottom: 1px solid var(--border-color);
        z-index: 100;
    }
    
    .mobile-menu-active .nav-links ul {
        flex-direction: column;
        gap: 0;
    }
    
    .mobile-menu-active .nav-links li {
        padding: 1rem 2rem;
    }
    
    .mobile-menu-active .mobile-menu-toggle span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .mobile-menu-active .mobile-menu-toggle span:nth-child(2) {
        opacity: 0;
    }
    
    .mobile-menu-active .mobile-menu-toggle span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }
    
    /* Hero Section */
    #hero {
        padding: 8rem 0 4rem;
    }
    
    #hero .container {
        flex-direction: column;
        text-align: center;
        gap: 3rem;
    }
    
    .hero-content {
        max-width: 100%;
    }
    
    .hero-cta {
        justify-content: center;
    }
    
    .hero-image {
        justify-content: center;
    }
    
    /* How It Works Section */
    .steps-container {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }
    
    .steps-container::before {
        display: none; /* Hide connection line on smaller screens */
    }
    
    /* Features Section */
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
    
    /* Pricing Section */
    .pricing-container {
        flex-direction: column;
        align-items: center;
        gap: 2rem;
    }
    
    .pricing-card {
        width: 100%;
        max-width: 400px;
    }
    
    .pricing-card.featured {
        transform: scale(1);
        margin: 2rem 0;
    }
    
    .pricing-card.featured:hover {
        transform: translateY(-10px);
    }
    
    /* Testimonials Section */
    .testimonials-slider {
        padding: 0 1rem;
    }
    
    .testimonial {
        padding: 2rem;
    }
    
    /* Integrations Section */
    .integrations-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 2rem;
    }
    
    /* Footer */
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 3rem;
    }
}

/* Mobile Devices (576px to 767px) */
@media (max-width: 767px) {
    .container {
        max-width: 540px;
    }
    
    h1 {
        font-size: 2.2rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    section {
        padding: 4rem 0;
    }
    
    /* Header/Navigation */
    .cta-buttons .btn-secondary {
        display: none;
    }
    
    .logo img {
        height: 32px;
    }
    
    /* How It Works Section */
    .steps-container {
        grid-template-columns: 1fr;
    }
    
    .step {
        padding: 1.5rem;
    }
    
    /* Features Section */
    .features-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .feature-card {
        padding: 2rem 1.5rem;
    }
    
    /* Pricing Section */
    .pricing-card {
        padding: 2rem 1.5rem;
    }
    
    /* Testimonials Section */
    .testimonial {
        padding: 1.5rem;
    }
    
    .testimonial-content p {
        font-size: 1rem;
    }
    
    /* Integrations Section */
    .integrations-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .integration-logo {
        padding: 1.5rem;
    }
    
    /* Waitlist Section */
    .waitlist-form {
        flex-direction: column;
        gap: 1rem;
    }
    
    .waitlist-form input,
    .waitlist-form button {
        width: 100%;
    }
    
    /* Footer */
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    footer {
        padding: 4rem 0 2rem;
    }
}

/* Small Mobile Devices (Up to 575px) */
@media (max-width: 575px) {
    .container {
        padding: 0 1.5rem;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.6rem;
    }
    
    /* Hero Section */
    #hero {
        padding: 7rem 0 3rem;
    }
    
    .hero-cta {
        flex-direction: column;
        gap: 1rem;
    }
    
    .hero-cta .btn {
        width: 100%;
    }
    
    /* Testimonials Section */
    .testimonial-author {
        flex-direction: column;
        text-align: center;
    }
    
    .testimonial-author img {
        margin-bottom: 1rem;
    }
    
    .testimonial-controls {
        gap: 1rem;
    }
    
    /* Integrations Section */
    .integrations-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .integration-logo img {
        max-height: 40px;
    }
    
    /* Pricing Section */
    .price {
        font-size: 2.5rem;
    }
    
    /* Footer */
    .social-icons {
        justify-content: center;
    }
    
    .footer-column h4::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .footer-column {
        text-align: center;
    }
    
    .footer-column ul li a:hover {
        padding-left: 0;
    }
    
    .footer-column ul li a::before {
        display: none;
    }
}
