/* Reset y variables */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #6366f1;
    --primary-dark: #4f46e5;
    --primary-light: #818cf8;
    --secondary-color: #ec4899;
    --accent-color: #14b8a6;
    --success-color: #10b981;
    --warning-color: #f59e0b;
    --danger-color: #ef4444;
    --dark-bg: #0f172a;
    --dark-surface: #1e293b;
    --dark-border: #334155;
    --text-primary: #f1f5f9;
    --text-secondary: #cbd5e1;
    --text-muted: #94a3b8;
    --gradient-1: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-2: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --gradient-3: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    --gradient-primary: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
}

body {
    font-family: 'Poppins', sans-serif;
    background: var(--dark-bg);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--dark-border);
    z-index: 1000;
    padding: 1rem 0;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.5rem;
    font-weight: 700;
}

.logo-icon {
    font-size: 2rem;
}

.logo-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s;
    font-weight: 500;
}

.nav-menu a:hover {
    color: var(--primary-light);
}

.menu-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    gap: 5px;
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--text-primary);
    border-radius: 3px;
    transition: all 0.3s;
}

/* Hero Section */
.hero {
    padding: 120px 0 80px;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero .container {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.gradient-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
}

.btn {
    padding: 1rem 2rem;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(99, 102, 241, 0.4);
}

.btn-secondary {
    background: var(--dark-surface);
    color: var(--text-primary);
    border: 2px solid var(--dark-border);
}

.btn-secondary:hover {
    border-color: var(--primary-color);
    color: var(--primary-light);
}

.btn-large {
    padding: 1.5rem 3rem;
    font-size: 1.1rem;
}

.hero-stats {
    display: flex;
    gap: 3rem;
}

.stat {
    text-align: left;
}

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.hero-image {
    position: relative;
    height: 500px;
}

.floating-card {
    position: absolute;
    background: var(--dark-surface);
    padding: 1.5rem;
    border-radius: 16px;
    border: 1px solid var(--dark-border);
    display: flex;
    align-items: center;
    gap: 1rem;
    animation: float 3s ease-in-out infinite;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.card-icon {
    font-size: 2rem;
}

.card-text {
    font-weight: 600;
    color: var(--text-primary);
}

.card-1 {
    top: 10%;
    left: 10%;
    animation-delay: 0s;
}

.card-2 {
    top: 30%;
    right: 10%;
    animation-delay: 0.5s;
}

.card-3 {
    bottom: 30%;
    left: 0;
    animation-delay: 1s;
}

.card-4 {
    bottom: 10%;
    right: 5%;
    animation-delay: 1.5s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-20px);
    }
}

/* Section Header */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
}

/* Features Section */
.features {
    padding: 80px 0;
    background: linear-gradient(180deg, var(--dark-bg) 0%, var(--dark-surface) 100%);
}

/* Problem-Solution Section */
.problem-solution {
    padding: 80px 0;
    background: linear-gradient(180deg, var(--dark-bg) 0%, var(--dark-surface) 100%);
}

.ps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
    gap: 3rem;
    margin-bottom: 4rem;
}

.ps-card {
    background: var(--dark-surface);
    padding: 3rem;
    border-radius: 20px;
    border: 2px solid var(--dark-border);
    position: relative;
    overflow: hidden;
}

.ps-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
}

.ps-card.problem::before {
    background: var(--danger-color);
}

.ps-card.solution::before {
    background: var(--success-color);
}

.ps-icon {
    font-size: 4rem;
    margin-bottom: 1.5rem;
}

.ps-card h3 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

.ps-card ul {
    list-style: none;
    padding: 0;
}

.ps-card ul li {
    padding: 0.8rem 0;
    padding-left: 2rem;
    position: relative;
    color: var(--text-secondary);
    line-height: 1.6;
}

.ps-card.problem ul li::before {
    content: '×';
    position: absolute;
    left: 0;
    color: var(--danger-color);
    font-size: 1.5rem;
    font-weight: bold;
}

.ps-card.solution ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--success-color);
    font-size: 1.2rem;
    font-weight: bold;
}

.ps-card.solution ul li strong {
    color: var(--primary-light);
}

.use-cases {
    margin-top: 4rem;
}

.use-cases-title {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 3rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.use-case-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.use-case {
    background: var(--dark-bg);
    padding: 2.5rem;
    border-radius: 16px;
    border: 1px solid var(--dark-border);
    transition: all 0.3s;
}

.use-case:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
    box-shadow: 0 10px 40px rgba(99, 102, 241, 0.3);
}

.uc-icon {
    font-size: 3.5rem;
    margin-bottom: 1rem;
}

.use-case h4 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--primary-light);
}

.use-case p {
    color: var(--text-secondary);
    line-height: 1.8;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: var(--dark-surface);
    padding: 2rem;
    border-radius: 20px;
    border: 1px solid var(--dark-border);
    transition: all 0.3s;
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
    box-shadow: 0 10px 40px rgba(99, 102, 241, 0.2);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.feature-card p {
    color: var(--text-secondary);
    margin-bottom: 1rem;
    line-height: 1.8;
}

.feature-list {
    list-style: none;
    padding-left: 0;
}

.feature-list li {
    padding: 0.5rem 0;
    color: var(--text-muted);
    padding-left: 1.5rem;
    position: relative;
}

.feature-list li:before {
    content: "→";
    position: absolute;
    left: 0;
    color: var(--primary-color);
}

/* Architecture Section */
.architecture {
    padding: 80px 0;
    background: var(--dark-bg);
}

.architecture-diagram {
    max-width: 900px;
    margin: 0 auto;
}

.arch-layer {
    background: var(--dark-surface);
    padding: 2rem;
    border-radius: 16px;
    border: 1px solid var(--dark-border);
    margin-bottom: 1rem;
}

.arch-layer h3 {
    text-align: center;
    margin-bottom: 1.5rem;
    color: var(--primary-light);
    font-size: 1.3rem;
}

.arch-components {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.arch-component {
    background: var(--dark-bg);
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid var(--dark-border);
    text-align: center;
    min-width: 200px;
    transition: all 0.3s;
}

.arch-component:hover {
    border-color: var(--primary-color);
    transform: scale(1.05);
}

.component-icon {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.component-name {
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.component-desc {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.arch-arrow {
    text-align: center;
    font-size: 2rem;
    color: var(--primary-color);
    margin: 1rem 0;
}

/* Processes Section */
.processes {
    padding: 80px 0;
    background: linear-gradient(180deg, var(--dark-surface) 0%, var(--dark-bg) 100%);
}

.process-card {
    background: var(--dark-surface);
    border-radius: 20px;
    border: 1px solid var(--dark-border);
    margin-bottom: 3rem;
    overflow: hidden;
}

.process-header {
    background: var(--gradient-primary);
    padding: 2rem;
}

.process-number {
    font-size: 3rem;
    font-weight: 700;
    opacity: 0.8;
    display: inline-block;
    margin-right: 1rem;
}

.process-header h3 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.process-desc {
    font-size: 1rem;
    opacity: 0.9;
    margin: 0.5rem 0 0 0;
}

.process-content {
    padding: 2rem;
}

.process-flow {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
    overflow-x: auto;
    padding: 1rem 0;
}

.flow-step {
    background: var(--dark-bg);
    padding: 1.5rem;
    border-radius: 12px;
    border: 2px solid var(--dark-border);
    min-width: 200px;
    text-align: center;
    transition: all 0.3s;
}

.flow-step:hover {
    border-color: var(--primary-color);
    transform: translateY(-5px);
}

.step-icon {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.step-title {
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.step-desc {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
    line-height: 1.5;
}

.step-detail {
    font-size: 0.75rem;
    color: var(--text-muted);
    font-style: italic;
}

.step-result {
    font-size: 0.8rem;
    color: var(--success-color);
    font-weight: 600;
    margin-top: 0.5rem;
    padding: 0.5rem;
    background: rgba(16, 185, 129, 0.1);
    border-radius: 6px;
}

.step-badge {
    display: inline-block;
    background: var(--primary-color);
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.step-tech {
    font-size: 0.75rem;
    color: var(--primary-light);
    font-family: 'Courier New', monospace;
    background: rgba(99, 102, 241, 0.1);
    padding: 0.3rem 0.5rem;
    border-radius: 4px;
    margin-top: 0.5rem;
}

.flow-arrow {
    font-size: 2rem;
    color: var(--primary-color);
    flex-shrink: 0;
}

.flow-arrow-down {
    text-align: center;
    font-size: 2.5rem;
    color: var(--primary-color);
    margin: 1rem 0;
}

.flow-step-large {
    background: var(--dark-bg);
    padding: 2rem;
    border-radius: 16px;
    border: 2px solid var(--dark-border);
    margin-bottom: 1rem;
    transition: all 0.3s;
}

.flow-step-large:hover {
    border-color: var(--primary-color);
    box-shadow: 0 5px 20px rgba(99, 102, 241, 0.3);
}

.flow-step-large .step-icon {
    font-size: 3rem;
}

.process-flow-vertical {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.decision-branches {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-top: 2rem;
}

.branch-yes, .branch-no {
    padding: 2rem;
    border-radius: 16px;
    border: 2px solid var(--dark-border);
}

.branch-yes {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.05) 0%, rgba(16, 185, 129, 0.02) 100%);
    border-color: var(--success-color);
}

.branch-no {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.05) 0%, rgba(239, 68, 68, 0.02) 100%);
    border-color: var(--danger-color);
}

.branch-badge {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    border-radius: 20px;
    font-weight: 700;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.branch-badge.success {
    background: var(--success-color);
    color: white;
}

.branch-badge.danger {
    background: var(--danger-color);
    color: white;
}

.branch-content {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.or-divider {
    text-align: center;
    font-weight: 600;
    color: var(--text-muted);
    margin: 1rem 0;
    position: relative;
}

.or-divider::before,
.or-divider::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 40%;
    height: 1px;
    background: var(--dark-border);
}

.or-divider::before {
    left: 0;
}

.or-divider::after {
    right: 0;
}

.process-highlight {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1) 0%, rgba(236, 72, 153, 0.1) 100%);
    padding: 2rem;
    border-radius: 16px;
    border: 2px solid var(--primary-color);
    margin-top: 2rem;
}

.process-highlight h4 {
    color: var(--primary-light);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.process-highlight ul {
    list-style: none;
    padding: 0;
}

.process-highlight ul li {
    padding: 0.8rem 0;
    padding-left: 2rem;
    position: relative;
    color: var(--text-secondary);
    line-height: 1.6;
}

.process-highlight ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--success-color);
    font-size: 1.2rem;
    font-weight: bold;
}

.process-highlight ul li strong {
    color: var(--text-primary);
}

.flow-arrow {
    font-size: 2rem;
    color: var(--primary-color);
    flex-shrink: 0;
}

.process-branches {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

.branch {
    background: var(--dark-bg);
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid var(--dark-border);
}

.branch h4 {
    margin-bottom: 1rem;
    color: var(--text-primary);
    font-size: 1.2rem;
}

.branch-flow {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 1rem;
}

.branch-flow .flow-step {
    min-width: auto;
}

.branch-flow .flow-arrow {
    text-align: center;
    transform: rotate(90deg);
    margin: 0;
}

.process-code {
    background: #1e1e1e;
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid var(--dark-border);
}

.process-code h4 {
    color: var(--primary-light);
    margin-bottom: 1rem;
}

.process-code pre {
    overflow-x: auto;
}

.process-code code {
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
    color: #d4d4d4;
    line-height: 1.6;
}

/* Technologies Section */
.technologies {
    padding: 80px 0;
    background: var(--dark-bg);
}

.tech-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.tech-category {
    background: var(--dark-surface);
    padding: 2rem;
    border-radius: 16px;
    border: 1px solid var(--dark-border);
}

.tech-category h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--primary-light);
}

.tech-items {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.tech-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: var(--dark-bg);
    border-radius: 8px;
    border: 1px solid var(--dark-border);
    transition: all 0.3s;
}

.tech-item:hover {
    border-color: var(--primary-color);
    transform: translateX(5px);
}

.tech-logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-light);
    min-width: 50px;
    text-align: center;
}

.tech-name {
    color: var(--text-primary);
    font-weight: 500;
}

/* Demo Section */
.demo {
    padding: 80px 0;
    background: linear-gradient(180deg, var(--dark-surface) 0%, var(--dark-bg) 100%);
}

.demo-content {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 3rem;
    align-items: start;
}

.demo-info h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.demo-info p {
    color: var(--text-secondary);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.credentials {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.credential-card {
    background: var(--dark-bg);
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid var(--dark-border);
}

.credential-card h4 {
    margin-bottom: 1rem;
    color: var(--primary-light);
}

.credential-item {
    display: flex;
    justify-content: space-between;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--dark-border);
}

.credential-item:last-child {
    border-bottom: none;
}

.credential-item .label {
    color: var(--text-muted);
}

.credential-item .value {
    color: var(--text-primary);
    font-family: 'Courier New', monospace;
    font-weight: 600;
}

.demo-features-list {
    background: var(--dark-bg);
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid var(--dark-border);
}

.demo-features-list h4 {
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.demo-features-list ul {
    list-style: none;
}

.demo-features-list li {
    padding: 0.5rem 0;
    color: var(--text-secondary);
}

.demo-browser {
    background: var(--dark-surface);
    border-radius: 12px;
    border: 1px solid var(--dark-border);
    overflow: hidden;
    margin-bottom: 2rem;
}

.browser-header {
    background: var(--dark-bg);
    padding: 1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    border-bottom: 1px solid var(--dark-border);
}

.browser-dots {
    display: flex;
    gap: 0.5rem;
}

.browser-dots span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--dark-border);
}

.browser-dots span:nth-child(1) {
    background: #ef4444;
}

.browser-dots span:nth-child(2) {
    background: #f59e0b;
}

.browser-dots span:nth-child(3) {
    background: #10b981;
}

.browser-url {
    flex: 1;
    background: var(--dark-surface);
    padding: 0.5rem 1rem;
    border-radius: 6px;
    color: var(--text-muted);
    font-size: 0.9rem;
    font-family: 'Courier New', monospace;
}

.browser-content {
    padding: 2rem;
    min-height: 300px;
}

.mockup-screen {
    text-align: center;
}

.mockup-header {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 2rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.mockup-cards {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.mockup-card {
    background: var(--dark-bg);
    padding: 2rem 3rem;
    border-radius: 8px;
    border: 1px solid var(--dark-border);
    font-weight: 600;
    color: var(--text-primary);
}

.demo-link {
    text-align: center;
}

/* Pricing Section */
.pricing {
    padding: 80px 0;
    background: linear-gradient(180deg, var(--dark-bg) 0%, var(--dark-surface) 50%, var(--dark-bg) 100%);
    position: relative;
    overflow: hidden;
}

.pricing::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 50%, rgba(99, 102, 241, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 80% 50%, rgba(236, 72, 153, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.pricing .container {
    position: relative;
    z-index: 1;
}

.pricing-intro {
    max-width: 900px;
    margin: 0 auto 4rem;
}

.pricing-reason {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1) 0%, rgba(236, 72, 153, 0.1) 100%);
    padding: 3rem;
    border-radius: 20px;
    border: 2px solid var(--dark-border);
    display: flex;
    align-items: flex-start;
    gap: 2rem;
    transition: all 0.3s;
}

.pricing-reason:hover {
    border-color: var(--primary-color);
    transform: translateY(-5px);
    box-shadow: 0 20px 60px rgba(99, 102, 241, 0.3);
}

.reason-icon {
    font-size: 4rem;
    flex-shrink: 0;
}

.reason-content h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.reason-content p {
    color: var(--text-secondary);
    line-height: 1.8;
    font-size: 1.05rem;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
    margin-bottom: 4rem;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.pricing-card {
    background: var(--dark-surface);
    border-radius: 24px;
    border: 2px solid var(--dark-border);
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.pricing-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.05) 0%, rgba(236, 72, 153, 0.05) 100%);
    opacity: 0;
    transition: opacity 0.3s;
}

.pricing-card:hover::before {
    opacity: 1;
}

.pricing-card:hover {
    transform: translateY(-10px) scale(1.02);
    border-color: var(--primary-color);
    box-shadow: 0 30px 80px rgba(99, 102, 241, 0.4);
}

.pricing-card.featured {
    border-color: var(--primary-color);
    box-shadow: 0 20px 60px rgba(99, 102, 241, 0.3);
    transform: scale(1.05);
}

.pricing-card.featured:hover {
    transform: translateY(-10px) scale(1.07);
    box-shadow: 0 40px 100px rgba(99, 102, 241, 0.5);
}

.pricing-badge {
    background: var(--dark-bg);
    color: var(--text-primary);
    padding: 0.5rem 1.5rem;
    border-radius: 0 0 12px 12px;
    display: inline-block;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.pricing-badge.popular {
    background: var(--gradient-primary);
    color: white;
    font-weight: 700;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

.pricing-header {
    padding: 2.5rem 2rem 1.5rem;
    text-align: center;
    position: relative;
}

.pricing-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
    display: block;
}

.pricing-header h3 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

.pricing-amount {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.pricing-amount .currency {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary-light);
}

.pricing-amount .price {
    font-size: 4rem;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
}

.pricing-amount .period {
    font-size: 1.2rem;
    color: var(--text-muted);
}

.pricing-savings {
    color: var(--success-color);
    font-weight: 600;
    font-size: 0.95rem;
    background: rgba(16, 185, 129, 0.1);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    display: inline-block;
    margin-top: 0.5rem;
}

.pricing-features {
    padding: 2rem;
    background: var(--dark-bg);
    border-top: 1px solid var(--dark-border);
}

.pricing-features h4 {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    color: var(--primary-light);
    text-align: center;
}

.pricing-features ul {
    list-style: none;
    padding: 0;
}

.pricing-features li {
    padding: 0.8rem 0;
    color: var(--text-secondary);
    display: flex;
    align-items: flex-start;
    gap: 0.8rem;
    line-height: 1.6;
    transition: all 0.3s;
}

.pricing-features li:hover {
    color: var(--text-primary);
    transform: translateX(5px);
}

.pricing-features li::before {
    content: '✅';
    flex-shrink: 0;
}

.pricing-features li strong {
    color: var(--primary-light);
}

.pricing-footer {
    padding: 2rem;
    text-align: center;
}

.pricing-comparison {
    max-width: 900px;
    margin: 4rem auto;
    background: var(--dark-surface);
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid var(--dark-border);
}

.pricing-comparison h3 {
    text-align: center;
    padding: 2rem;
    font-size: 1.8rem;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1) 0%, rgba(236, 72, 153, 0.1) 100%);
    border-bottom: 1px solid var(--dark-border);
}

.comparison-table {
    padding: 1rem;
}

.comparison-row {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 1rem;
    padding: 1.5rem 1rem;
    border-bottom: 1px solid var(--dark-border);
    align-items: center;
    transition: all 0.3s;
}

.comparison-row:hover {
    background: rgba(99, 102, 241, 0.05);
}

.comparison-row.header {
    background: var(--dark-bg);
    font-weight: 700;
    color: var(--primary-light);
    border-bottom: 2px solid var(--primary-color);
}

.comparison-row:last-child {
    border-bottom: none;
}

.comparison-cell {
    text-align: left;
    color: var(--text-secondary);
}

.comparison-cell:first-child {
    font-weight: 600;
    color: var(--text-primary);
}

.comparison-cell:not(:first-child) {
    text-align: center;
}

.comparison-cell.featured {
    color: var(--primary-light);
    font-weight: 600;
}

.badge-small {
    display: inline-block;
    background: var(--success-color);
    color: white;
    padding: 0.2rem 0.6rem;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 700;
    margin-left: 0.5rem;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-3px);
    }
}

.pricing-value {
    margin: 4rem 0;
    padding: 3rem;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.05) 0%, rgba(236, 72, 153, 0.05) 100%);
    border-radius: 20px;
    border: 1px solid var(--dark-border);
}

.pricing-value h3 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 3rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.value-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.value-card {
    background: var(--dark-surface);
    padding: 2rem;
    border-radius: 16px;
    border: 1px solid var(--dark-border);
    text-align: center;
    transition: all 0.3s;
}

.value-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-5px);
    box-shadow: 0 10px 40px rgba(99, 102, 241, 0.3);
}

.value-icon {
    font-size: 3.5rem;
    margin-bottom: 1rem;
}

.value-card h4 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--primary-light);
}

.value-card p {
    color: var(--text-secondary);
    line-height: 1.8;
}

.value-highlight {
    background: var(--dark-surface);
    padding: 2rem;
    border-radius: 16px;
    border: 2px solid var(--primary-color);
    text-align: center;
}

.value-highlight p {
    font-size: 1.15rem;
    color: var(--text-secondary);
    line-height: 1.8;
}

.value-highlight strong {
    color: var(--primary-light);
    font-size: 1.3rem;
}

.pricing-faq {
    margin: 4rem 0;
}

.pricing-faq h3 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 3rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.faq-item {
    background: var(--dark-surface);
    padding: 2rem;
    border-radius: 16px;
    border: 1px solid var(--dark-border);
    transition: all 0.3s;
}

.faq-item:hover {
    border-color: var(--primary-color);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(99, 102, 241, 0.2);
}

.faq-item h4 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: var(--primary-light);
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
}

.faq-item h4::before {
    content: '❓';
    flex-shrink: 0;
}

.faq-item p {
    color: var(--text-secondary);
    line-height: 1.8;
}

.faq-item a {
    color: var(--primary-light);
    text-decoration: underline;
    transition: color 0.3s;
}

.faq-item a:hover {
    color: var(--primary-color);
}

.pricing-cta {
    text-align: center;
    padding: 4rem 2rem;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1) 0%, rgba(236, 72, 153, 0.1) 100%);
    border-radius: 24px;
    border: 2px solid var(--dark-border);
    position: relative;
    overflow: hidden;
}

.pricing-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at center, rgba(99, 102, 241, 0.2) 0%, transparent 70%);
    pointer-events: none;
}

.pricing-cta h3 {
    font-size: 2.2rem;
    margin-bottom: 1rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
}

.pricing-cta p {
    font-size: 1.15rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.8;
    position: relative;
}

.cta-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
    position: relative;
}

.cta-buttons .btn {
    animation: fadeInUp 0.6s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Footer */
.footer {
    background: var(--dark-surface);
    border-top: 1px solid var(--dark-border);
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-section h3,
.footer-section h4 {
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.footer-section p {
    color: var(--text-secondary);
    margin-bottom: 1rem;
    line-height: 1.8;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    padding: 0.5rem 0;
}

.footer-section a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-section a:hover {
    color: var(--primary-light);
}

.footer-social {
    display: flex;
    gap: 1rem;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--dark-border);
    color: var(--text-muted);
}

/* Responsive */
@media (max-width: 1024px) {
    .hero .container {
        grid-template-columns: 1fr;
    }

    .hero-image {
        display: none;
    }

    .process-branches {
        grid-template-columns: 1fr;
    }

    .demo-content {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }

    .menu-toggle {
        display: flex;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-stats {
        flex-direction: column;
        gap: 1rem;
    }

    .features-grid,
    .tech-grid {
        grid-template-columns: 1fr;
    }
    
    .ps-grid {
        grid-template-columns: 1fr;
    }
    
    .use-case-grid {
        grid-template-columns: 1fr;
    }
    
    .decision-branches {
        grid-template-columns: 1fr;
    }

    .process-flow {
        flex-direction: column;
    }

    .flow-arrow {
        transform: rotate(90deg);
    }

    .branch-flow .flow-arrow {
        transform: rotate(90deg);
    }

    /* Pricing Responsive Styles */
    .pricing {
        padding: 40px 0;
    }

    .pricing-intro {
        margin-bottom: 2rem;
    }

    .pricing-reason {
        flex-direction: column;
        padding: 2rem;
        gap: 1rem;
    }

    .reason-icon {
        font-size: 3rem;
    }

    .reason-content h3 {
        font-size: 1.5rem;
    }

    .reason-content p {
        font-size: 0.95rem;
    }

    .pricing-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        margin-bottom: 2rem;
    }

    .pricing-card.featured {
        transform: scale(1);
    }

    .pricing-card.featured:hover {
        transform: translateY(-10px) scale(1.02);
    }

    .pricing-header {
        padding: 2rem 1.5rem 1rem;
    }

    .pricing-icon {
        font-size: 3rem;
    }

    .pricing-header h3 {
        font-size: 1.5rem;
    }

    .pricing-amount .price {
        font-size: 3rem;
    }

    .pricing-amount .currency {
        font-size: 1.2rem;
    }

    .pricing-amount .period {
        font-size: 1rem;
    }

    .pricing-features {
        padding: 1.5rem;
    }

    .pricing-features h4 {
        font-size: 1rem;
    }

    .pricing-footer {
        padding: 1.5rem;
    }

    .pricing-comparison {
        margin: 2rem 0;
    }

    .pricing-comparison h3 {
        font-size: 1.5rem;
        padding: 1.5rem;
    }

    .comparison-table {
        padding: 0.5rem;
    }

    .comparison-row {
        grid-template-columns: 1fr;
        gap: 0.5rem;
        padding: 1rem;
    }

    .comparison-row.header {
        display: none;
    }

    .comparison-cell {
        text-align: left !important;
        padding: 0.3rem 0;
    }

    .comparison-cell:first-child {
        font-size: 1.05rem;
        margin-bottom: 0.5rem;
        padding-bottom: 0.5rem;
        border-bottom: 1px solid var(--dark-border);
    }

    .pricing-value {
        padding: 2rem 1rem;
        margin: 2rem 0;
    }

    .pricing-value h3 {
        font-size: 1.5rem;
        margin-bottom: 2rem;
    }

    .value-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .value-card {
        padding: 1.5rem;
    }

    .value-icon {
        font-size: 3rem;
    }

    .value-card h4 {
        font-size: 1.2rem;
    }

    .value-highlight {
        padding: 1.5rem;
    }

    .value-highlight p {
        font-size: 1rem;
    }

    .value-highlight strong {
        font-size: 1.1rem;
    }

    .pricing-faq {
        margin: 2rem 0;
    }

    .pricing-faq h3 {
        font-size: 1.5rem;
        margin-bottom: 2rem;
    }

    .faq-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .faq-item {
        padding: 1.5rem;
    }

    .faq-item h4 {
        font-size: 1.1rem;
    }

    .pricing-cta {
        padding: 2rem 1rem;
    }

    .pricing-cta h3 {
        font-size: 1.8rem;
    }

    .pricing-cta p {
        font-size: 1rem;
        margin-bottom: 2rem;
    }

    .cta-buttons {
        flex-direction: column;
        gap: 1rem;
    }

    .cta-buttons .btn {
        width: 100%;
    }
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Selection */
::selection {
    background: var(--primary-color);
    color: white;
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--dark-bg);
}

::-webkit-scrollbar-thumb {
    background: var(--dark-border);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-color);
}