/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #2563eb;
    --primary-dark: #1e40af;
    --secondary-color: #0f172a;
    --accent-color: #3b82f6;
    --text-primary: #1e293b;
    --text-secondary: #64748b;
    --bg-light: #f8fafc;
    --bg-white: #ffffff;
    --border-color: #e2e8f0;
    --success-color: #10b981;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', sans-serif;
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

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

/* Navigation */
.navbar {
    background: var(--bg-white);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow-sm);
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
}

.logo {
    display: flex;
    align-items: center;
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-color);
    flex-direction: row-reverse;
}

.logo-icon {
    width: 25px;
    height: 25px;
    color: var(--primary-color);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 32px;
    align-items: center;
}

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

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

.nav-links a:not(.btn-secondary)::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-color), #8b5cf6);
    transition: width 0.3s ease;
}

.nav-links a:not(.btn-secondary):hover::after {
    width: 100%;
}

/* Buttons */
.btn-primary, .btn-secondary, .btn-outline {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    font-size: 16px;
}

.btn-primary {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 50%, #1e40af 100%);
    color: white !important;
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.4);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-primary::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #2563eb 0%, #1e40af 50%, #1e3a8a 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.btn-primary:hover::before {
    opacity: 1;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(37, 99, 235, 0.5);
    color: white !important;
}

.btn-secondary {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    color: white !important;
    padding: 10px 20px;
    font-size: 14px;
    box-shadow: 0 2px 10px rgba(15, 23, 42, 0.3);
}

.btn-secondary:hover {
    background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(15, 23, 42, 0.4);
    color: white !important;
}

.btn-outline {
    background: transparent;
    color: var(--primary-color) !important;
    border: 2px solid var(--primary-color);
}

.btn-outline:hover {
    background: var(--primary-color);
    color: white !important;
    transform: translateY(-2px);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #0a0f1e 0%, #1e293b 50%, #334155 100%);
    padding: 120px 0 140px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(59, 130, 246, 0.2) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(147, 51, 234, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 50% 20%, rgba(37, 99, 235, 0.15) 0%, transparent 60%);
    pointer-events: none;
    animation: gradientShift 15s ease-in-out infinite;
}

@keyframes gradientShift {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.8; }
}

.hero::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.15) 0%, rgba(147, 51, 234, 0.1) 40%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    animation: float 20s ease-in-out infinite;
    filter: blur(40px);
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(-50px, 50px) scale(1.15); }
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-text h1 {
    font-size: 58px;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 28px;
    color: white;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
    animation: fadeInUp 0.8s ease forwards;
}

.subheadline {
    font-size: 22px;
    color: #cbd5e1;
    margin-bottom: 40px;
    line-height: 1.7;
    animation: fadeInUp 0.8s ease 0.2s forwards;
    opacity: 0;
}

.cta-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s ease 0.4s forwards;
    opacity: 0;
}

.hero .btn-primary {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 50%, #1e40af 100%);
    box-shadow: 
        0 10px 30px rgba(37, 99, 235, 0.5),
        0 0 0 1px rgba(255, 255, 255, 0.1);
    font-size: 18px;
    padding: 16px 36px;
    font-weight: 700;
    letter-spacing: 0.3px;
    color: white !important;
}

.hero .btn-primary::before {
    background: linear-gradient(135deg, #2563eb 0%, #1e40af 50%, #1e3a8a 100%);
}

.hero .btn-primary:hover {
    box-shadow: 
        0 15px 45px rgba(37, 99, 235, 0.6),
        0 0 0 1px rgba(255, 255, 255, 0.2);
    transform: translateY(-3px);
    color: white !important;
}

.hero .btn-outline {
    border-color: rgba(255, 255, 255, 0.8);
    color: white !important;
    font-size: 18px;
    padding: 16px 36px;
    font-weight: 600;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.hero .btn-outline:hover {
    background: white;
    color: var(--primary-color) !important;
    border-color: white;
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.3);
}

/* Hero Visual */
.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    animation: fadeInRight 1s ease 0.3s forwards;
    opacity: 0;
    perspective: 1000px;
}

.flow-diagram {
    display: flex;
    align-items: center;
    gap: 40px;
    padding: 60px 50px;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    border-radius: 24px;
    box-shadow: 
        0 30px 80px rgba(0, 0, 0, 0.35),
        0 0 0 1px rgba(255, 255, 255, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
    position: relative;
    transform-style: preserve-3d;
    transition: transform 0.5s ease;
}

.flow-diagram::before {
    content: '';
    position: absolute;
    inset: -3px;
    background: linear-gradient(135deg, 
        rgba(59, 130, 246, 0.8) 0%, 
        rgba(147, 51, 234, 0.6) 50%,
        rgba(37, 99, 235, 0.8) 100%);
    border-radius: 24px;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.5s ease;
    filter: blur(8px);
}

.flow-diagram:hover::before {
    opacity: 1;
    animation: glowPulse 2s ease-in-out infinite;
}

@keyframes glowPulse {
    0%, 100% { filter: blur(8px) brightness(1); }
    50% { filter: blur(12px) brightness(1.2); }
}

.flow-diagram:hover {
    transform: translateY(-5px) rotateX(2deg);
}

.flow-diagram::after {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(147, 51, 234, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    animation: floatOrb 8s ease-in-out infinite;
}

@keyframes floatOrb {
    0%, 100% { transform: translate(0, 0) scale(1); opacity: 0.5; }
    50% { transform: translate(-30px, 30px) scale(1.2); opacity: 0.8; }
}

.form-icon {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 50%, #1d4ed8 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    box-shadow: 
        0 15px 40px rgba(37, 99, 235, 0.5),
        0 5px 15px rgba(37, 99, 235, 0.3),
        inset 0 -2px 10px rgba(0, 0, 0, 0.2),
        inset 0 2px 10px rgba(255, 255, 255, 0.3);
    animation: formIconPulse 3s ease-in-out infinite;
    position: relative;
    overflow: hidden;
}

.form-icon::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, 
        transparent 30%, 
        rgba(255, 255, 255, 0.3) 50%, 
        transparent 70%);
    animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {
    0% { transform: translateX(-100%) translateY(-100%) rotate(45deg); }
    100% { transform: translateX(100%) translateY(100%) rotate(45deg); }
}

@keyframes formIconPulse {
    0%, 100% { 
        transform: scale(1) rotate(0deg); 
        box-shadow: 
            0 15px 40px rgba(37, 99, 235, 0.5),
            0 5px 15px rgba(37, 99, 235, 0.3),
            inset 0 -2px 10px rgba(0, 0, 0, 0.2),
            inset 0 2px 10px rgba(255, 255, 255, 0.3);
    }
    50% { 
        transform: scale(1.08) rotate(2deg); 
        box-shadow: 
            0 20px 50px rgba(37, 99, 235, 0.6),
            0 8px 20px rgba(37, 99, 235, 0.4),
            inset 0 -2px 10px rgba(0, 0, 0, 0.2),
            inset 0 2px 10px rgba(255, 255, 255, 0.3);
    }
}

@keyframes fadeInRight {
    to {
        opacity: 1;
        transform: translateX(0);
    }
    from {
        transform: translateX(30px);
    }
}

.form-icon svg {
    width: 52px;
    height: 52px;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
    position: relative;
    z-index: 1;
}

.flow-arrows {
    display: flex;
    flex-direction: column;
    gap: 12px;
    position: relative;
}

.arrow {
    width: 60px;
    height: 5px;
    background: linear-gradient(90deg, 
        var(--primary-color) 0%, 
        var(--accent-color) 50%,
        #8b5cf6 100%);
    position: relative;
    animation: slideArrow 2s ease-in-out infinite;
    border-radius: 3px;
    box-shadow: 0 2px 8px rgba(37, 99, 235, 0.4);
}

.arrow:nth-child(1) {
    animation-delay: 0s;
}

.arrow:nth-child(2) {
    animation-delay: 0.3s;
}

.arrow:nth-child(3) {
    animation-delay: 0.6s;
}

@keyframes slideArrow {
    0%, 100% { 
        opacity: 0.3; 
        transform: translateX(0) scaleX(0.8); 
    }
    50% { 
        opacity: 1; 
        transform: translateX(8px) scaleX(1); 
        box-shadow: 0 2px 12px rgba(37, 99, 235, 0.6);
    }
}

.arrow::after {
    content: '';
    position: absolute;
    right: -12px;
    top: -6px;
    width: 0;
    height: 0;
    border-left: 14px solid #8b5cf6;
    border-top: 8.5px solid transparent;
    border-bottom: 8.5px solid transparent;
    filter: drop-shadow(0 2px 4px rgba(139, 92, 246, 0.4));
}

.platform-logos {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.platform-badge {
    background: linear-gradient(135deg, #ffffff 0%, #f0f9ff 100%);
    padding: 14px 28px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 15px;
    color: var(--text-primary);
    border: 2px solid transparent;
    background-clip: padding-box;
    box-shadow: 
        0 4px 15px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.platform-badge::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 12px;
    padding: 2px;
    background: linear-gradient(135deg, var(--primary-color), #8b5cf6, var(--accent-color));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.platform-badge:hover::before {
    opacity: 1;
}

.platform-badge:hover {
    transform: translateX(8px) scale(1.05);
    box-shadow: 
        0 8px 25px rgba(37, 99, 235, 0.25),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.platform-badge:nth-child(1) {
    animation: badgeFadeIn 0.6s ease 0.8s backwards;
}

.platform-badge:nth-child(2) {
    animation: badgeFadeIn 0.6s ease 1s backwards;
}

.platform-badge:nth-child(3) {
    animation: badgeFadeIn 0.6s ease 1.2s backwards;
}

@keyframes badgeFadeIn {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Trusted By Section */
.trusted-by {
    padding: 60px 0;
    background: var(--bg-white);
    border-bottom: 1px solid var(--border-color);
}

.trusted-text {
    text-align: center;
    color: var(--text-secondary);
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 32px;
}

.logo-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 48px;
    flex-wrap: wrap;
}

.partner-logo {
    font-weight: 600;
    color: var(--text-secondary);
    font-size: 18px;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.partner-logo:hover {
    opacity: 1;
}

/* Value Propositions */
.value-props {
    padding: 120px 0;
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 50%, #ffffff 100%);
    position: relative;
    overflow: hidden;
}

.value-props::before {
    content: '';
    position: absolute;
    top: 0;
    left: -50%;
    width: 200%;
    height: 100%;
    background: radial-gradient(circle at 30% 50%, rgba(59, 130, 246, 0.03) 0%, transparent 50%),
                radial-gradient(circle at 70% 80%, rgba(147, 51, 234, 0.03) 0%, transparent 50%);
    pointer-events: none;
}

.value-props h2 {
    text-align: center;
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 20px;
    color: var(--secondary-color);
    position: relative;
    background: linear-gradient(135deg, #0f172a 0%, #1e40af 50%, #7c3aed 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: fadeInUp 0.8s ease;
}

.value-props h2::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), #8b5cf6);
    border-radius: 2px;
}

.value-subtitle {
    text-align: center;
    font-size: 20px;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
    animation: fadeInUp 0.8s ease 0.2s backwards;
}

.value-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 32px;
    margin-top: 80px;
    position: relative;
}

.value-card {
    padding: 40px 32px;
    background: linear-gradient(135deg, #ffffff 0%, #fefefe 100%);
    border-radius: 20px;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    box-shadow: 
        0 4px 20px rgba(0, 0, 0, 0.06),
        0 1px 4px rgba(0, 0, 0, 0.04);
}

.value-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 20px;
    padding: 2px;
    background: linear-gradient(135deg, var(--primary-color), #8b5cf6, var(--accent-color));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.value-card::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
}

.value-card:hover::before {
    opacity: 1;
}

.value-card:hover::after {
    opacity: 1;
    animation: rotateGradient 3s linear infinite;
}

@keyframes rotateGradient {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.value-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 
        0 20px 40px rgba(37, 99, 235, 0.15),
        0 10px 20px rgba(0, 0, 0, 0.08);
}

.value-icon {
    width: 72px;
    height: 72px;
    background: linear-gradient(135deg, var(--primary-color) 0%, #1e40af 50%, #7c3aed 100%);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    color: white;
    position: relative;
    box-shadow: 
        0 8px 24px rgba(37, 99, 235, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.value-icon::before {
    content: '';
    position: absolute;
    inset: -4px;
    background: linear-gradient(135deg, var(--primary-color), #8b5cf6);
    border-radius: 18px;
    opacity: 0;
    filter: blur(12px);
    transition: opacity 0.5s ease;
    z-index: -1;
}

.value-card:hover .value-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 
        0 12px 32px rgba(37, 99, 235, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.value-card:hover .value-icon::before {
    opacity: 1;
}

.value-icon svg {
    width: 36px;
    height: 36px;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
    transition: transform 0.5s ease;
}

.value-card:hover .value-icon svg {
    transform: scale(1.1);
}

.value-card h3 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 14px;
    color: var(--secondary-color);
    line-height: 1.3;
    transition: color 0.3s ease;
}

.value-card:hover h3 {
    background: linear-gradient(135deg, var(--primary-color), #7c3aed);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.value-card p {
    color: var(--text-secondary);
    line-height: 1.8;
    font-size: 16px;
    transition: color 0.3s ease;
}

.value-card:hover p {
    color: var(--text-primary);
}

/* Setup Guide */
.setup-guide {
    padding: 120px 0;
    background: linear-gradient(180deg, #0f172a 0%, #1e293b 100%);
    position: relative;
    overflow: hidden;
}

.setup-guide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 30%, rgba(59, 130, 246, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(147, 51, 234, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.setup-guide h2 {
    text-align: center;
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 20px;
    color: white;
    position: relative;
    animation: fadeInUp 0.8s ease;
}

.setup-subtitle {
    text-align: center;
    font-size: 20px;
    color: #cbd5e1;
    max-width: 600px;
    margin: 0 auto 80px;
    line-height: 1.6;
    animation: fadeInUp 0.8s ease 0.2s backwards;
}

.setup-steps {
    max-width: 1100px;
    margin: 0 auto;
    position: relative;
}

.setup-steps::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(180deg, 
        transparent 0%,
        rgba(59, 130, 246, 0.5) 10%,
        rgba(147, 51, 234, 0.5) 50%,
        rgba(59, 130, 246, 0.5) 90%,
        transparent 100%);
    transform: translateX(-50%);
}

.setup-step {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-bottom: 100px;
    position: relative;
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards;
}

.setup-step:nth-child(1) { animation-delay: 0.1s; }
.setup-step:nth-child(2) { animation-delay: 0.2s; }
.setup-step:nth-child(3) { animation-delay: 0.3s; }
.setup-step:nth-child(4) { animation-delay: 0.4s; }
.setup-step:nth-child(5) { animation-delay: 0.5s; }
.setup-step:nth-child(6) { animation-delay: 0.6s; }

.setup-step.reverse {
    direction: rtl;
}

.setup-step.reverse > * {
    direction: ltr;
}

.setup-image-wrapper {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 
        0 20px 60px rgba(0, 0, 0, 0.4),
        0 0 0 1px rgba(255, 255, 255, 0.1);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1), rgba(147, 51, 234, 0.1));
}

.setup-image-wrapper::before {
    content: '';
    position: absolute;
    inset: -3px;
    background: linear-gradient(135deg, 
        rgba(59, 130, 246, 0.6) 0%, 
        rgba(147, 51, 234, 0.6) 50%,
        rgba(59, 130, 246, 0.6) 100%);
    border-radius: 16px;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.5s ease;
    filter: blur(20px);
}

.setup-image-wrapper:hover::before {
    opacity: 1;
}

.setup-image-wrapper:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 
        0 30px 80px rgba(59, 130, 246, 0.3),
        0 0 0 1px rgba(255, 255, 255, 0.2);
}

.step-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    background: linear-gradient(135deg, var(--primary-color), #8b5cf6);
    color: white;
    padding: 8px 20px;
    border-radius: 20px;
    font-weight: 700;
    font-size: 14px;
    z-index: 10;
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.4);
    animation: badgePulse 2s ease-in-out infinite;
}

@keyframes badgePulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.setup-screenshot {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 16px;
    transition: transform 0.5s ease;
}

.setup-image-wrapper:hover .setup-screenshot {
    transform: scale(1.05);
}

.image-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, 
        rgba(59, 130, 246, 0.1) 0%, 
        rgba(147, 51, 234, 0.1) 100%);
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
}

.setup-image-wrapper:hover .image-overlay {
    opacity: 1;
}

.setup-content {
    padding: 20px;
}

.setup-content h3 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 16px;
    color: white;
    position: relative;
    display: inline-block;
}

.setup-content h3::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), #8b5cf6);
    border-radius: 2px;
}

.setup-content p {
    font-size: 18px;
    line-height: 1.8;
    color: #cbd5e1;
    margin-top: 20px;
}

.setup-cta {
    text-align: center;
    margin-top: 80px;
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s ease 0.8s backwards;
}

.setup-cta .btn-primary {
    font-size: 18px;
    padding: 16px 36px;
    font-weight: 700;
    color: white !important;
}

.setup-cta .btn-outline {
    font-size: 18px;
    padding: 16px 36px;
    border-color: rgba(255, 255, 255, 0.8);
    color: white !important;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    font-weight: 600;
}

.setup-cta .btn-outline:hover {
    background: white;
    color: var(--primary-color) !important;
    border-color: white;
}

/* How It Works */
.how-it-works {
    padding: 100px 0;
    background: linear-gradient(135deg, #f8fafc 0%, #e0e7ff 100%);
}

.how-it-works h2 {
    text-align: center;
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 60px;
    color: var(--secondary-color);
}

.steps {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    margin-bottom: 48px;
    flex-wrap: wrap;
}

.step {
    flex: 1;
    min-width: 250px;
    max-width: 300px;
    text-align: center;
    padding: 32px;
    background: white;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
}

.step-number {
    width: 60px;
    height: 60px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    font-weight: 700;
    margin: 0 auto 20px;
}

.step h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--secondary-color);
}

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

.step-arrow {
    font-size: 32px;
    color: var(--primary-color);
    font-weight: 700;
}

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

/* Integrations */
.integrations {
    padding: 100px 0;
    background: var(--bg-white);
}

.integrations h2 {
    text-align: center;
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 60px;
    color: var(--secondary-color);
}

.integration-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 24px;
    margin-bottom: 48px;
}

.integration-card {
    padding: 32px;
    background: var(--bg-light);
    border: 2px solid var(--border-color);
    border-radius: 12px;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
}

.integration-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.integration-logo {
    font-weight: 600;
    font-size: 18px;
    color: var(--text-primary);
}

.request-integration {
    text-align: center;
}

/* Testimonial */
.testimonial {
    padding: 100px 0;
    background: var(--secondary-color);
    color: white;
}

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

.quote-icon {
    font-size: 80px;
    color: var(--primary-color);
    line-height: 1;
    margin-bottom: 20px;
}

blockquote p {
    font-size: 24px;
    line-height: 1.6;
    margin-bottom: 32px;
    font-style: italic;
}

.author-name {
    font-weight: 700;
    font-size: 18px;
}

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

/* Security */
.security {
    padding: 100px 0;
    background: var(--bg-white);
}

.security h2 {
    text-align: center;
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 60px;
    color: var(--secondary-color);
}

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

.security-list {
    list-style: none;
    margin-bottom: 32px;
}

.security-list li {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px 0;
    border-bottom: 1px solid var(--border-color);
}

.security-list li:last-child {
    border-bottom: none;
}

.security-list svg {
    width: 24px;
    height: 24px;
    color: var(--success-color);
    flex-shrink: 0;
}

.security-list span {
    font-size: 18px;
    color: var(--text-primary);
}

.link-arrow {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: gap 0.3s ease;
    display: inline-block;
}

.link-arrow:hover {
    text-decoration: underline;
}

/* Pricing Preview */
.pricing-preview {
    padding: 100px 0;
    background: linear-gradient(135deg, #f8fafc 0%, #e0e7ff 100%);
    text-align: center;
}

.pricing-preview h2 {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--secondary-color);
}

.pricing-tagline {
    font-size: 20px;
    color: var(--text-secondary);
    margin-bottom: 36px;
}

/* FAQ */
.faq {
    padding: 100px 0;
    background: var(--bg-white);
}

.faq h2 {
    text-align: center;
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 60px;
    color: var(--secondary-color);
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid var(--border-color);
}

.faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 0;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
    text-align: left;
    transition: color 0.3s ease;
}

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

.faq-icon {
    font-size: 28px;
    color: var(--primary-color);
    transition: transform 0.3s ease;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

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

.faq-item.active .faq-answer {
    max-height: 500px;
}

.faq-answer p {
    padding-bottom: 24px;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* Closing CTA */
.closing-cta {
    padding: 100px 0;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.closing-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 30% 50%, rgba(59, 130, 246, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 70% 50%, rgba(147, 51, 234, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.closing-cta h2 {
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 20px;
    position: relative;
}

.closing-cta p {
    font-size: 20px;
    margin-bottom: 36px;
    color: #cbd5e1;
    position: relative;
}

.closing-cta .cta-buttons {
    position: relative;
}

.closing-cta .btn-outline {
    border-color: rgba(255, 255, 255, 0.8);
    color: white !important;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
}

.closing-cta .btn-outline:hover {
    background: white;
    color: var(--primary-color) !important;
    border-color: white;
}

/* Footer */
.footer {
    background: #0f172a;
    color: white;
    padding: 60px 0 30px;
}

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

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
    flex-direction: row-reverse;
}

.footer-logo .logo-icon {
    width: 32px;
    height: 32px;
}

.footer-section h4 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 0;
}

.footer-section p {
    color: #94a3b8;
    line-height: 1.6;
}

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

.footer-section ul li {
    margin-bottom: 12px;
}

.footer-section a {
    color: #94a3b8;
    text-decoration: none;
    transition: color 0.3s ease;
}

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

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid #334155;
    color: #94a3b8;
}

/* Animations */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.6s ease forwards;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.value-card:nth-child(1) { 
    animation-delay: 0.1s;
}
.value-card:nth-child(2) { 
    animation-delay: 0.2s;
}
.value-card:nth-child(3) { 
    animation-delay: 0.3s;
}
.value-card:nth-child(4) { 
    animation-delay: 0.4s;
}

/* Unique gradient for each value card icon */
.value-card:nth-child(1) .value-icon {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
}

.value-card:nth-child(2) .value-icon {
    background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%);
}

.value-card:nth-child(3) .value-icon {
    background: linear-gradient(135deg, #06b6d4 0%, #0891b2 100%);
}

.value-card:nth-child(4) .value-icon {
    background: linear-gradient(135deg, #ec4899 0%, #db2777 100%);
}

.step:nth-child(1) { animation-delay: 0.1s; }
.step:nth-child(3) { animation-delay: 0.2s; }
.step:nth-child(5) { animation-delay: 0.3s; }

/* Particle Effects */
.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.8), rgba(147, 51, 234, 0.4));
    border-radius: 50%;
    pointer-events: none;
    animation: particleFloat 15s linear infinite;
    opacity: 0;
    box-shadow: 0 0 10px rgba(59, 130, 246, 0.5);
}

@keyframes particleFloat {
    0% {
        transform: translateY(100vh) scale(0);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateY(-100vh) scale(1);
        opacity: 0;
    }
}

.particle:nth-child(even) {
    width: 3px;
    height: 3px;
    animation-duration: 20s;
}

.particle:nth-child(3n) {
    width: 2px;
    height: 2px;
    animation-duration: 25s;
}

/* Ripple Effect */
.ripple {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.4), transparent);
    transform: scale(0);
    animation: rippleEffect 0.6s ease-out;
    pointer-events: none;
}

@keyframes rippleEffect {
    to {
        transform: scale(2);
        opacity: 0;
    }
}

/* Platform Badge Enhancements */
.platform-badge {
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

/* Image Modal */
.image-modal {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.image-modal.active {
    opacity: 1;
}

.modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
    cursor: pointer;
}

.modal-content {
    position: relative;
    max-width: 90vw;
    max-height: 90vh;
    z-index: 10001;
    animation: modalZoomIn 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes modalZoomIn {
    from {
        transform: scale(0.8);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

.modal-content img {
    max-width: 100%;
    max-height: 90vh;
    border-radius: 12px;
    box-shadow: 0 25px 100px rgba(0, 0, 0, 0.5);
    display: block;
}

.modal-close {
    position: absolute;
    top: -50px;
    right: 0;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 28px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    line-height: 1;
    padding: 0;
}

.modal-close:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: rotate(90deg);
}

/* Sparkle Effect */
.sparkle {
    position: absolute;
    width: 8px;
    height: 8px;
    background: radial-gradient(circle, rgba(255, 255, 255, 1), rgba(59, 130, 246, 0.8));
    border-radius: 50%;
    pointer-events: none;
    animation: sparkleAnimation 1s ease-out forwards;
    box-shadow: 0 0 10px rgba(59, 130, 246, 0.8);
    z-index: 10;
}

@keyframes sparkleAnimation {
    0% {
        transform: scale(0) rotate(0deg);
        opacity: 1;
    }
    50% {
        transform: scale(1.5) rotate(180deg);
        opacity: 0.8;
    }
    100% {
        transform: scale(0) rotate(360deg);
        opacity: 0;
    }
}

.sparkle::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 12px;
    height: 2px;
    background: linear-gradient(90deg, transparent, white, transparent);
    animation: sparkleBeam 1s ease-out;
}

.sparkle::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(90deg);
    width: 12px;
    height: 2px;
    background: linear-gradient(90deg, transparent, white, transparent);
    animation: sparkleBeam 1s ease-out;
}

@keyframes sparkleBeam {
    0%, 100% {
        opacity: 0;
        width: 0;
    }
    50% {
        opacity: 1;
        width: 16px;
    }
}

/* Responsive Design */
@media (max-width: 968px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-text h1 {
        font-size: 40px;
    }
    
    .cta-buttons {
        justify-content: center;
    }
    
    .flow-diagram {
        flex-direction: column;
    }
    
    .flow-arrows {
        flex-direction: row;
        transform: rotate(90deg);
    }
    
    .steps {
        flex-direction: column;
    }
    
    .step-arrow {
        transform: rotate(90deg);
    }
    
    .nav-links {
        display: none;
    }
    
    /* Setup Guide Responsive */
    .setup-steps::before {
        display: none;
    }
    
    .setup-step,
    .setup-step.reverse {
        grid-template-columns: 1fr;
        gap: 30px;
        margin-bottom: 60px;
        direction: ltr;
    }
    
    .setup-content {
        text-align: center;
    }
    
    .setup-content h3::after {
        left: 50%;
        transform: translateX(-50%);
    }
}

@media (max-width: 640px) {
    .hero-text h1 {
        font-size: 32px;
    }
    
    .subheadline {
        font-size: 18px;
    }
    
    h2 {
        font-size: 32px !important;
    }
    
    .value-grid {
        grid-template-columns: 1fr;
    }
    
    .integration-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
