/*
Theme Name: Ayhope
Author: Ayhope
Version: 1.0
*/

/* Variables n8n style */
/* Variables n8n style */
:root {
    --primary: #7c3aed;
    --primary-dark: #6d28d9;
    --primary-light: #8b5cf6;
    --secondary: #10b981;
    --accent: #3b82f6;
    --dark: #0f172a;
    --dark-light: #1e293b;
    --gray: #64748b;
    --gray-light: #cbd5e1;
    --light: #f8fafc;
    --background: #0f172a;
    --surface: #1e293b;
    --border: #334155;
    
    --gradient-primary: linear-gradient(135deg, #7c3aed, #8b5cf6);
    --gradient-dark: linear-gradient(135deg, #0f172a, #1e293b);
    --gradient-accent: linear-gradient(135deg, #10b981, #3b82f6);
    
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    
    --radius-sm: 4px;
    --radius: 8px;
    --radius-lg: 12px;
    --radius-xl: 20px;
}

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--background);
    color: var(--light);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Typography */
h1, h2, h3, h4 {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 600;
    line-height: 1.2;
}

.gradient-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid var(--border);
}

.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 0;
    height: 80px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.8rem;
    font-weight: 700;
    text-decoration: none;
    color: var(--light);
}

.logo-icon {
    color: var(--primary);
    font-size: 2rem;
}

.nav-menu {
    display: flex;
    gap: 40px;
    align-items: center;
}

.nav-link {
    color: var(--gray-light);
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    transition: color 0.2s;
    position: relative;
}

.nav-link:hover {
    color: var(--light);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width 0.3s;
}

.nav-link:hover::after {
    width: 100%;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    border-radius: var(--radius);
    font-weight: 500;
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
    font-family: 'Inter', sans-serif;
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-outline {
    background: transparent;
    color: var(--light);
    border: 1px solid var(--border);
}

.btn-outline:hover {
    border-color: var(--primary);
    background: rgba(124, 58, 237, 0.1);
}

.btn-ghost {
    background: transparent;
    color: var(--gray-light);
}

.btn-ghost:hover {
    color: var(--light);
}

.btn-large {
    padding: 18px 36px;
    font-size: 1.1rem;
}

.btn-block {
    width: 100%;
}

/* Hero Section */
.hero {
    padding: 100px 0 0;
    background: var(--gradient-dark);
    position: relative;
    overflow: hidden;
    min-height: 100vh;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(124, 58, 237, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(16, 185, 129, 0.15) 0%, transparent 50%);
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 20px;
    background: rgba(124, 58, 237, 0.1);
    border: 1px solid rgba(124, 58, 237, 0.2);
    border-radius: 24px;
    margin-bottom: 30px;
    font-size: 0.95rem;
    margin-top: 20px;
}

.hero-title {
    font-size: 2.4rem;
    margin-bottom: 20px;
    letter-spacing: -0.015em;
    word-break: keep-all;
}

.hero-subtitle {
    font-size: 1.05rem;
    color: var(--gray-light);
    margin-bottom: 28px;
    max-width: 600px;
    line-height: 1.6;
}

.hero-actions {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}

/*.hero-features {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
}
*/
.hero-features{
    display: none;
}

.feature {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 20px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--radius);
    font-size: 0.95rem;
}

.feature-icon {
    font-size: 1.3rem;
}

/* Code Window */
.code-window {
    background: var(--surface);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    height: 450px;
}

.window-header {
    display: flex;
    align-items: center;
    padding: 20px 30px;
    background: rgba(0, 0, 0, 0.2);
    border-bottom: 1px solid var(--border);
}

.window-dots {
    display: flex;
    gap: 10px;
    margin-right: 20px;
}

.window-dots span {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: #ef4444;
}

.window-dots span:nth-child(2) {
    background: #f59e0b;
}

.window-dots span:nth-child(3) {
    background: #10b981;
}

.window-title {
    font-family: 'Space Grotesk', monospace;
    font-size: 1rem;
    color: var(--gray-light);
}

.code-content {
    padding: 20px;
    background: rgba(0, 0, 0, 0.3);
}

.code-content pre {
    margin: 0;
    overflow-x: auto;
}

.code-content code {
    font-family: 'Space Grotesk', monospace;
    font-size: 0.4rem;
    line-height: 0.1 !important;
    color: #e2e8f0;
}

/* Services Section */
.services {
    padding: 90px 0;
    background: var(--background);
}

.section-header {
    text-align: center;
    margin-bottom: 40px;
}

.section-title {
    font-size: 2.4rem;
    margin-bottom: 15px;
}

.section-subtitle {
    color: var(--gray);
    font-size: 1.05rem;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 25px;
}

.service-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 20px 25px;
    transition: all 0.3s;
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary);
    box-shadow: var(--shadow-xl);
}

.service-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 15px;
}

.service-icon {
    width: 64px;
    height: 64px;
    background: rgba(124, 58, 237, 0.1);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: var(--primary);
}

.service-card h3 {
    font-size: 1.6rem;
    margin-bottom: 5px;
}

.service-description {
    color: var(--gray-light);
    margin-bottom: 15px;
    line-height: 1.8;
}

.service-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 15px;
    list-style: none;
}

.service-tech li {
    padding: 6px 16px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 24px;
    font-size: 0.7rem;
    color: var(--gray-light);
}

.service-footer {
    border-top: 1px solid var(--border);
    padding-top: 15px;
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--primary);
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    transition: gap 0.3s;
}

.service-link:hover {
    gap: 15px;
}

/* Solutions Section */
.solutions {
    padding: 120px 0;
    background: var(--gradient-dark);
    position: relative;
}

.solutions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    margin: 80px 0;
}

.solution-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 40px;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
}

.solution-card:hover {
    transform: translateY(-8px);
    border-color: var(--primary);
    box-shadow: var(--shadow-xl);
}

.solution-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 30px;
}

.solution-badge {
    padding: 8px 20px;
    background: rgba(124, 58, 237, 0.1);
    border: 1px solid rgba(124, 58, 237, 0.2);
    border-radius: 24px;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--primary);
}

.solution-card h3 {
    font-size: 1.6rem;
    margin-bottom: 20px;
    color: var(--light);
}

.solution-description {
    color: var(--gray-light);
    margin-bottom: 30px;
    line-height: 1.8;
}

.solution-features {
    margin-bottom: 40px;
}

.solution-feature {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.solution-feature i {
    color: var(--secondary);
    font-size: 1rem;
}

.solution-feature span {
    color: var(--gray-light);
    font-size: 1rem;
}

/* Process Section */
.process {
    padding: 120px 0;
    background: var(--background);
}

.process-timeline {
    max-width: 900px;
    margin: 0 auto;
}

.process-step {
    display: flex;
    gap: 40px;
    padding: 40px 0;
    border-bottom: 1px solid var(--border);
}

.process-step:last-child {
    border-bottom: none;
}

.step-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary);
    font-family: 'Space Grotesk', sans-serif;
    min-width: 80px;
}

.step-content h3 {
    font-size: 1.6rem;
    margin-bottom: 12px;
}

.step-content p {
    color: var(--gray-light);
    margin-bottom: 20px;
    line-height: 1.7;
}

.step-tools {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.step-tools span {
    padding: 6px 16px;
    background: rgba(124, 58, 237, 0.1);
    border-radius: 24px;
    font-size: 0.9rem;
    color: var(--primary);
}

/* Contact Section */
.contact {
    padding: 120px 0;
    background: var(--gradient-dark);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
}

.contact-subtitle {
    color: var(--gray-light);
    margin-bottom: 60px;
    font-size: 1.2rem;
    line-height: 1.6;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.contact-icon {
    width: 56px;
    height: 56px;
    background: rgba(124, 58, 237, 0.1);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: var(--primary);
    flex-shrink: 0;
}

.contact-item h4 {
    font-size: 1.2rem;
    margin-bottom: 8px;
}

.contact-item p {
    color: var(--gray-light);
}

/* Form */
.contact-form-wrapper {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 40px;
}

.form-group {
    margin-bottom: 30px;
}

.form-group label {
    display: block;
    margin-bottom: 10px;
    font-weight: 500;
    color: var(--gray-light);
    font-size: 1rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 16px 20px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    color: var(--light);
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    transition: all 0.3s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    background: rgba(124, 58, 237, 0.05);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

/* Footer */
.footer {
    background: var(--dark);
    border-top: 1px solid var(--border);
    padding: 80px 0 40px;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 80px;
    margin-bottom: 60px;
}

.footer-brand .logo {
    font-size: 2rem;
    margin-bottom: 20px;
}

.footer-tagline {
    color: var(--gray);
    margin-bottom: 30px;
    line-height: 1.7;
}

.footer-social {
    display: flex;
    gap: 20px;
}

.social-link {
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray);
    text-decoration: none;
    font-size: 1.2rem;
    transition: all 0.3s;
}

.social-link:hover {
    background: rgba(124, 58, 237, 0.2);
    color: var(--primary);
    transform: translateY(-3px);
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.footer-column h4 {
    font-size: 1.2rem;
    margin-bottom: 25px;
    color: var(--light);
}

.footer-column ul {
    list-style: none;
}

.footer-column li {
    margin-bottom: 15px;
}

.footer-column a,
.footer-column li {
    color: var(--gray);
    text-decoration: none;
    transition: color 0.3s;
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-column a:hover {
    color: var(--light);
}

.footer-bottom {
    padding-top: 40px;
    border-top: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--gray);
    font-size: 0.95rem;
}

.footer-tech {
    display: flex;
    align-items: center;
    gap: 15px;
}

.tech {
    padding: 6px 16px;
    background: rgba(124, 58, 237, 0.1);
    border-radius: 24px;
    font-size: 0.9rem;
    color: var(--primary);
}

/* Animations */
@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-15px);
    }
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.8;
        transform: scale(1.05);
    }
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive */
@media (max-width: 1024px) {
    .hero-grid,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 60px;
    }
    
    .hero-title {
        font-size: 3rem;
    }
    
    .section-title {
        font-size: 2.5rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 60px;
    }
    
    .footer-links {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .navbar {
        padding: 15px 0;
        height: auto;
    }
    
    .nav-menu {
        display: none;
        position: fixed;
        top: 80px;
        left: 0;
        width: 100%;
        background: var(--surface);
        flex-direction: column;
        padding: 30px;
        gap: 25px;
        border-bottom: 1px solid var(--border);
        box-shadow: var(--shadow-lg);
    }
    
    .nav-menu.active {
        display: flex;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .hero-actions {
        flex-direction: column;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .services-grid,
    .solutions-grid {
        grid-template-columns: 1fr;
    }
    
    .process-step {
        flex-direction: column;
        gap: 20px;
    }
    
    .footer-links {
        grid-template-columns: 1fr;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .badge{
        display: block;
        text-align: center;
    }
    .hero-title {
        font-size: 2rem;
        text-align: center;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .hero-subtitle,
    .section-subtitle {
        font-size: 1.1rem;
        max-width: 300px;
        margin-left: auto;
        margin-right: auto;
        text-align: center;
    }
    .hero-actions {
        flex-direction: column;
        max-width: 300px;
        text-align: center;
        align-items: center;
        margin: 10px auto;
    }
    .hero-visual{
        max-width: 300px;
        margin: 0 auto 10px;
    }
    .hero-actions .btn{
        width: 100%;
        justify-content: center;
    }
    .contact-form .btn{
        justify-content: center;
    }
    }
    
    .btn {
        padding: 12px 24px;
        font-size: 0.95rem;
    }
    
    .container {
        padding: 0 20px;
    }
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--dark);
}

::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-light);
}