:root {
    --primary: #2563eb;
    --primary-dark: #1d4ed8;
    --secondary: #10b981;
    --dark: #1e293b;
    --light: #f8fafc;
    --gray: #64748b;
    --danger: #ef4444;
    --text-primary: #0f172a;
    --text-secondary: #475569;
    --bg-primary: #f8fafc;
    --bg-secondary: #f1f5f9;
    --border: #e2e8f0;
    --card-background: #ffffff;
    --card-shadow: 0 4px 6px rgba(0, 0, 0, 0.05), 0 1px 3px rgba(0, 0, 0, 0.1);
    --background-terminal: #1e1e1e;
    --terminal-text: #f8f8f8;
    --terminal-green: #4ade80;
    --terminal-yellow: #facc15;
    --terminal-red: #f87171;
    --accent-color: #3b82f6;
    --accent-secondary: #60a5fa;
    --success-color: #22c55e;
}

[data-theme="dark"] {
    --text-primary: #f8fafc;
    --text-secondary: #cbd5e1;
    --bg-primary: #0f172a;
    --bg-secondary: #1e293b;
    --border: #334155;
    --primary-hover: #60a5fa;
    --card-background: #1e293b;
    --card-shadow: 0 4px 6px rgba(0, 0, 0, 0.25), 0 1px 3px rgba(0, 0, 0, 0.2);
    --background-terminal: #1e1e1e;
    --terminal-text: #f8f8f8;
    --accent-color: #3b82f6;
    --accent-secondary: #60a5fa;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    transition: background-color 0.3s, color 0.3s;
}

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

header {
    background-color: var(--dark);
    color: white;
    padding: 16px 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

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

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    letter-spacing: -0.5px;
}

.logo span {
    color: var(--primary);
}

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

.nav-links li {
    margin-left: 32px;
}

.nav-links a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
    font-size: 0.95rem;
}

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

.theme-switch {
    display: flex;
    align-items: center;
    margin-left: 32px;
}

.theme-switch-btn {
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    transition: background-color 0.2s;
}

.theme-switch-btn:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.cta-button {
    background-color: var(--primary);
    color: white;
    padding: 8px 20px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    transition: background-color 0.2s;
    font-size: 0.95rem;
}

.cta-button:hover {
    background-color: var(--primary-dark);
}

.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, var(--dark) 0%, #334155 100%);
    color: white;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 580px;
}

.hero h1 {
    font-size: 2.75rem;
    margin-bottom: 24px;
    line-height: 1.2;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.hero p {
    font-size: 1.15rem;
    opacity: 0.9;
    font-weight: 400;
}

.platform-badges {
    gap: 12px;
    margin-bottom: 32px;
    margin-top: 16px;
}

.platform-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.7);
}

.hero-image-container {
    position: absolute;
    right: -5%;
    top: 50%;
    transform: translateY(-50%);
    width: 55%;
    max-width: 650px;
    transition: all 0.5s ease;
}

.hero-image {
    width: 100%;
    height: auto;
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.25);
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.features {
    padding: 120px 0;
    background-color: var(--bg-primary);
}

.section-title {
    text-align: center;
    margin-bottom: 64px;
}

.section-title h2 {
    font-size: 2.25rem;
    margin-bottom: 16px;
    color: var(--text-primary);
    font-weight: 800;
    letter-spacing: -0.5px;
}

.section-title p {
    color: var(--text-secondary);
    max-width: 680px;
    margin: 0 auto;
    font-size: 1.15rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 32px;
}

.feature-card {
    background-color: var(--bg-secondary);
    padding: 32px;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.03);
    transition: transform 0.3s, box-shadow 0.3s;
    border: 1px solid var(--border);
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 32px rgba(0, 0, 0, 0.06);
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: var(--primary);
}

.feature-card h3 {
    margin-bottom: 12px;
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--text-primary);
}

.feature-card p {
    color: var(--text-secondary);
    font-size: 1rem;
}

.how-it-works {
    padding: 120px 0;
    background-color: var(--bg-secondary);
}

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

.step {
    display: flex;
    margin-bottom: 52px;
    align-items: flex-start;
}

.step:last-child {
    margin-bottom: 0;
}

.step-number {
    background-color: var(--primary);
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: 700;
    margin-right: 24px;
    flex-shrink: 0;
}

.step-content h3 {
    margin-bottom: 12px;
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--text-primary);
}

.step-content p {
    color: var(--text-secondary);
    font-size: 1.05rem;
}

.step-content code {
    background-color: var(--bg-primary);
    padding: 2px 6px;
    border-radius: 4px;
    font-family: 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, monospace;
    font-size: 0.9rem;
    border: 1px solid var(--border);
}

.demo {
    padding: 8rem 0;
    background-color: var(--background-color);
    position: relative;
}

.demo-animation {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 2rem;
    margin-top: 3rem;
    perspective: 1000px;
}

.demo-terminal-window, .demo-app-window {
    width: 100%;
    max-width: 500px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transition: transform 0.5s ease, opacity 0.5s ease;
    background-color: var(--background-terminal);
}

.demo-terminal-window {
    transform: translateX(-20px) rotate3d(0, 1, 0, 5deg);
    opacity: 0.8;
}

.demo-terminal-window.active {
    transform: translateX(0) rotate3d(0, 0, 0, 0deg);
    opacity: 1;
}

.demo-app-window {
    transform: translateX(20px) rotate3d(0, 1, 0, -5deg);
    opacity: 0.8;
    background-color: var(--card-background);
}

.demo-app-window.active {
    transform: translateX(0) rotate3d(0, 0, 0, 0deg);
    opacity: 1;
}

.demo-bar {
    display: flex;
    align-items: center;
    background-color: #2d2d2d;
    padding: 0.5rem 1rem;
}

.demo-app-window .demo-bar {
    background-color: var(--background-secondary);
}

.demo-buttons {
    display: flex;
    gap: 0.5rem;
}

.demo-button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.demo-button.demo-close {
    background-color: var(--terminal-red);
}

.demo-button.demo-minimize {
    background-color: var(--terminal-yellow);
}

.demo-button.demo-maximize {
    background-color: var(--terminal-green);
}

.demo-title {
    margin-left: 1rem;
    font-size: 0.9rem;
    color: #aaa;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.demo-app-window .demo-title {
    color: var(--text-color);
}

.demo-favicon {
    width: 16px;
    height: 16px;
}

.demo-terminal-content {
    padding: 1.5rem;
    color: var(--terminal-text);
    font-family: 'Menlo', 'Monaco', 'Courier New', monospace;
    line-height: 1.6;
    font-size: 0.9rem;
    height: 300px;
    overflow-y: auto;
}

.demo-browser-content {
    height: 300px;
    background-color: white;
    overflow: hidden;
    position: relative;
}

.demo-result-iframe {
    width: 100%;
    height: 100%;
    opacity: 0;
    transform: scale(0.95);
    transition: opacity 1s ease, transform 1s ease;
    border: none;
}

.demo-result-iframe.loaded {
    opacity: 1;
    transform: scale(1);
}

@keyframes typing {
    from {
        width: 0;
        opacity: 1;
    }
    to {
        width: 100%;
        opacity: 1;
    }
}

.terminal-cursor {
    display: inline-block;
    width: 10px;
    height: 1.2em;
    background-color: var(--terminal-text);
    animation: blink 1s step-end infinite;
    vertical-align: middle;
}

.demo-arrow {
    font-size: 2rem;
    color: var(--primary-color);
    animation: pulse-arrow 2s infinite;
}

@keyframes pulse-arrow {
    0% {
        transform: scale(1);
        opacity: 0.7;
    }
    50% {
        transform: scale(1.2);
        opacity: 1;
    }
    100% {
        transform: scale(1);
        opacity: 0.7;
    }
}

@media screen and (max-width: 1100px) {
    .demo-animation {
        flex-direction: column;
    }
    
    .demo-arrow {
        transform: rotate(90deg);
    }
    
    .demo-terminal-window, .demo-app-window {
        max-width: 80%;
    }
}

@media screen and (max-width: 768px) {
    .demo {
        padding: 3rem 0;
    }
    
    .section-title h2 {
        font-size: 1.75rem;
    }
    
    .section-title p {
        font-size: 1rem;
    }
    
    .demo-terminal-window, .demo-app-window {
        max-width: 90%;
        transform: none;
        opacity: 1;
    }
    
    .demo-terminal-content {
        height: 250px;
        font-size: 0.8rem;
    }
    
    .demo-browser-content {
        height: 250px;
    }
    
    .demo-title {
        font-size: 0.8rem;
    }
    
    .demo-button {
        width: 10px;
        height: 10px;
    }
}

@media screen and (max-width: 480px) {
    .demo {
        padding: 2rem 0;
    }
    
    .demo-animation {
        margin-top: 2rem;
    }
    
    .demo-terminal-window, .demo-app-window {
        max-width: 95%;
    }
    
    .demo-terminal-content {
        padding: 1rem;
        height: 200px;
        font-size: 0.75rem;
    }
    
    .demo-browser-content {
        height: 200px;
    }
    
    .demo-title {
        margin-left: 0.5rem;
        font-size: 0.7rem;
    }
    
    .demo-buttons {
        gap: 0.3rem;
    }
    
    .demo-button {
        width: 8px;
        height: 8px;
    }
    
    .demo-arrow {
        font-size: 1.5rem;
    }
}

.cta {
    padding: 8rem 0;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    position: relative;
    overflow: hidden;
    color: white;
}

.cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><rect width="100" height="100" fill="none"/><path d="M0,0L100,100" stroke="rgba(255,255,255,0.1)" stroke-width="1"/></svg>');
    opacity: 0.2;
}

.cta .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 3rem;
    position: relative;
    z-index: 2;
}

.cta-content {
    flex: 1;
}

.cta-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: white;
}

.cta-content p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

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

.cta-terminal {
    flex: 1;
    max-width: 500px;
    background-color: var(--background-terminal);
    font-family: 'Inter', sans-serif;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    transform: perspective(1000px) rotateY(-5deg);
    transition: transform 0.5s ease;
}

.cta-terminal:hover {
    transform: perspective(1000px) rotateY(0deg);
}

.cursor-line {
    display: flex;
    align-items: center;
}

.secondary-button {
    background-color: transparent;
    border: 2px solid white;
    color: white;
    padding: 8px 20px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    transition: background-color 0.2s, color 0.2s;
    font-size: 0.95rem;
}

.secondary-button:hover {
    background-color: white;
    color: var(--primary);
}

.terminal-hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 6rem 0;
    background-color: var(--background-terminal);
    position: relative;
    overflow: hidden;
}

.terminal-container {
    width: 100%;
    max-width: 800px;
    background-color: var(--background-terminal);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    transform: perspective(1000px) rotateX(5deg);
    transition: transform 0.5s ease;
}

.terminal-container:hover {
    transform: perspective(1000px) rotateX(0deg);
}

.terminal-header {
    display: flex;
    align-items: center;
    background-color: #2d2d2d;
    padding: 0.5rem 1rem;
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
}

.terminal-buttons {
    display: flex;
    gap: 0.5rem;
}

.terminal-button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.terminal-button.close {
    background-color: var(--terminal-red);
}

.terminal-button.minimize {
    background-color: var(--terminal-yellow);
}

.terminal-button.maximize {
    background-color: var(--terminal-green);
}

.terminal-title {
    margin-left: 1rem;
    font-size: 0.9rem;
    color: #aaa;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.terminal-content {
    padding: 1.5rem;
    color: var(--terminal-text);
    font-family: 'Menlo', 'Monaco', 'Courier New', monospace;
    line-height: 1.6;
    font-size: 0.95rem;
}

.terminal-content .line {
    margin-bottom: 0.75rem;
    white-space: nowrap;
}

.typing-text {
    display: inline;
}

.cursor {
    display: inline-block;
    width: 8px;
    height: 1rem;
    background-color: white;
    animation: blink 1s step-end infinite;
    vertical-align: middle;
}

@keyframes blink {
    from, to { opacity: 1; }
    50% { opacity: 0; }
}

@media screen and (max-width: 1100px) {
    .cta {
        padding: 6rem 0;
    }
    
    .cta .container {
        gap: 2rem;
    }
    
    .cta-content h2 {
        font-size: 2.2rem;
    }
    
    .cta-content p {
        font-size: 1.1rem;
    }
    
    .cta-terminal {
        max-width: 450px;
    }
}

@media screen and (max-width: 992px) {
    .cta .container {
        flex-direction: column;
    }
    
    .cta-content {
        text-align: center;
        max-width: 600px;
        margin: 0 auto;
    }
    
    .cta-buttons {
        justify-content: center;
    }
    
    .cta-terminal {
        max-width: 600px;
        width: 100%;
        transform: perspective(1000px) rotateY(0deg);
    }
}

@media screen and (max-width: 768px) {
    .cta {
        padding: 4rem 0;
    }
    
    .cta-content h2 {
        font-size: 2rem;
    }
    
    .cta-content p {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
    }
    
    .cta-button, .secondary-button {
        width: 100%;
        text-align: center;
        padding: 12px 20px;
    }
}

@media screen and (max-width: 480px) {
    .cta {
        padding: 3rem 0;
    }
    
    .cta-content h2 {
        font-size: 1.75rem;
    }
    
    .terminal-content {
        padding: 1rem;
        font-size: 0.85rem;
    }
    
    .terminal-header {
        padding: 0.4rem 0.8rem;
    }
    
    .terminal-button {
        width: 10px;
        height: 10px;
    }
    
    .terminal-title {
        font-size: 0.8rem;
    }
}

footer {
    background-color: var(--dark);
    color: white;
    padding: 60px 0 30px;
}

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

.footer-column h3 {
    margin-bottom: 20px;
    font-size: 1.15rem;
    font-weight: 700;
}

.footer-links {
    list-style: none;
}

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

.footer-links a, .footer-links span {
    color: var(--gray);
    text-decoration: none;
    transition: color 0.2s;
    font-size: 0.95rem;
}

.footer-links a:hover, .footer-links span:hover {
    color: white;
}

.copyright {
    text-align: center;
    color: var(--gray);
    border-top: 1px solid #3d4f5d;
    padding-top: 30px;
    font-size: 0.9rem;
}

@media (max-width: 1024px) {
    .hero {
        padding: 60px 0;
    }

    .hero h1 {
        font-size: 2.75rem;
    }

    .hero-image-container {
        width: 50%;
    }
}

@media (max-width: 768px) {
    .hero {
        text-align: center;
        padding: 140px 0 80px;
        height: auto;
    }

    .hero h1 {
        font-size: 2.25rem;
    }

    .hero-content {
        margin: 0 auto;
    }

    .hero-image-container {
        position: relative;
        width: 80%;
        right: auto;
        transform: none;
        margin: 40px auto 0;
        top: auto;
    }

    .nav-links {
        display: none;
    }

    .step {
        flex-direction: column;
    }

    .step-number {
        margin-bottom: 16px;
    }

    .platform-badges {
        justify-content: center;
    }
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
}

@media (max-width: 768px) {
    .mobile-menu-btn {
        display: block;
    }
}

.ri {
    vertical-align: middle;
}

* {
    scrollbar-width: thin;
    scrollbar-color: #404040 #1a1a1a;
}

::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: #1a1a1a;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb {
    background: #404040;
    border-radius: 4px;
    transition: background 0.2s ease;
}

::-webkit-scrollbar-thumb:hover {
    background: #525252;
}

body {
    -ms-overflow-style: -ms-autohiding-scrollbar;
}

.horizontal-scroll {
    overflow-x: auto;
    overflow-y: hidden;
}

@media (max-width: 768px) {
* {
    scrollbar-width: none;
}

::-webkit-scrollbar {
    display: none;
}
}

.trust {
    padding: 120px 0;
    background-color: var(--bg-secondary);
}

.trust-container {
    position: relative;
}

.trust-logos {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
    max-height: 350px;
    overflow: hidden;
    transition: max-height 0.5s ease;
}

.trust-logos.expanded {
    max-height: 2000px;
}

.trust-logo-item {
    text-align: center;
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    background-color: var(--bg-primary);
    padding: 20px;
    border: 1px solid var(--border);
    transition: transform 0.3s, box-shadow 0.3s;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.trust-logo-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.trust-logo-image {
    width: 80px;
    height: 80px;
    object-fit: contain;
    margin-bottom: 10px;
    border-radius: 20px;
}

.trust-logo-name {
    position: absolute;
    bottom: -40px;
    left: 0;
    right: 0;
    background-color: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 8px;
    transition: bottom 0.3s ease;
    font-size: 0.9rem;
    font-weight: 500;
}

.trust-logo-item:hover .trust-logo-name {
    bottom: 0;
}

.trust-expand {
    text-align: center;
    margin-top: 20px;
}

.expand-button {
    background-color: var(--bg-primary);
    color: var(--text-primary);
    border: 1px solid var(--border);
    padding: 8px 20px;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    transition: background-color 0.3s;
}

.expand-button:hover {
    background-color: var(--primary);
    color: white;
}

.expand-button i {
    margin-left: 8px;
    transition: transform 0.3s;
}

.expand-button.expanded i {
    transform: rotate(180deg);
}

.trust-description {
    height: auto;
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    background-color: var(--bg-primary);
    border: 1px solid var(--border);
    border-radius: 8px;
    margin-top: 20px;
    text-align: center;
    transition: all 0.4s ease;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 0 20px;
}

.trust-description.visible {
    max-height: 500px;
    height: auto;
    opacity: 1;
    padding: 20px;
    margin-bottom: 20px;
}

.trust-description-text {
    font-size: 1.05rem;
    color: var(--text-primary);
    width: 100%;
}

.trust-description-name {
    font-weight: 700;
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: var(--primary);
    width: 100%;
}

@media (max-width: 768px) {
    .trust-logos {
        grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
        gap: 20px;
    }

    .trust-logo-image {
        width: 60px;
        height: 60px;
    }

    .trust-description {
        display: none;
    }
}

