/* ============================================
   AUTOMATEK - GLOBAL STYLES
   ============================================ */

:root {
    --primary: #00d9ff;
    --primary-dark: #0098b2;
    --secondary: #ff006e;
    --accent: #8338ec;
    --background: #0a0e27;
    --surface: #16213e;
    --surface-light: #1f3a52;
    --text-primary: #ffffff;
    --text-secondary: #b0b9c1;
    --border: #2a3f5f;
    
    --transition: all 0.3s cubic-bezier(0.23, 1, 0.320, 1);
    --transition-slow: all 0.6s cubic-bezier(0.23, 1, 0.320, 1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background: linear-gradient(135deg, var(--background) 0%, #0f1629 100%);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

/* Animated background stars */
.stars {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

.stars::before {
    content: '';
    position: absolute;
    width: 2px;
    height: 2px;
    background: var(--primary);
    border-radius: 50%;
    top: 20%;
    left: 30%;
    opacity: 0.5;
    animation: twinkle 3s infinite;
}

.stars::after {
    content: '';
    position: absolute;
    width: 1px;
    height: 1px;
    background: var(--text-secondary);
    border-radius: 50%;
    top: 50%;
    right: 20%;
    opacity: 0.3;
    animation: twinkle 4s infinite 1s;
}

@keyframes twinkle {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 1; }
}

/* ============================================
   NAVIGATION
   ============================================ */

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(10, 14, 39, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
    padding: 1.5rem 0;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 700;
    font-size: 1.25rem;
    cursor: pointer;
    transition: var(--transition);
}

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

.logo-icon {
    font-size: 1.5rem;
    animation: spin 3s linear infinite;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.95rem;
    transition: var(--transition);
    position: relative;
}

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

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    transition: width 0.3s ease;
}

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

/* ============================================
   MAIN CONTENT
   ============================================ */

main {
    position: relative;
    z-index: 1;
    padding-top: 80px;
}

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

/* ============================================
   HERO SECTION
   ============================================ */

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 4rem;
    padding: 4rem 0;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(0, 217, 255, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    filter: blur(40px);
    pointer-events: none;
}

.hero-content {
    flex: 1;
    z-index: 2;
}

.ai-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: rgba(0, 217, 255, 0.1);
    border: 1px solid var(--primary);
    border-radius: 50px;
    padding: 0.75rem 1.5rem;
    margin-bottom: 2rem;
    font-size: 0.875rem;
    color: var(--primary);
    font-weight: 600;
}

.pulse {
    width: 8px;
    height: 8px;
    background: var(--primary);
    border-radius: 50%;
    animation: pulse-animation 2s infinite;
}

@keyframes pulse-animation {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.5;
        transform: scale(1.2);
    }
}

.hero-title {
    font-size: clamp(2.5rem, 8vw, 4.5rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}

.gradient-text {
    background: linear-gradient(90deg, var(--primary), var(--secondary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradient-shift 3s ease infinite;
}

@keyframes gradient-shift {
    0%, 100% {
        filter: hue-rotate(0deg);
    }
    50% {
        filter: hue-rotate(30deg);
    }
}

.hero-subtitle {
    font-size: 1.125rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    line-height: 1.7;
    max-width: 500px;
}

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

.btn {
    padding: 1rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: var(--background);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 217, 255, 0.3);
}

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

.btn-secondary:hover {
    background: rgba(0, 217, 255, 0.1);
    transform: translateY(-3px);
}

.arrow {
    transition: transform 0.3s ease;
}

.btn:hover .arrow {
    transform: translateX(4px);
}

.coming-soon {
    font-size: 0.875rem;
    color: var(--primary);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    opacity: 0.8;
}

/* Hero Animation */
.hero-animation {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    perspective: 1000px;
}

.ai-brain {
    width: 300px;
    height: 300px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.neuron {
    position: absolute;
    width: 60px;
    height: 60px;
    border: 2px solid var(--primary);
    border-radius: 50%;
    animation: orbit 6s linear infinite;
}

.neuron:nth-child(1) {
    animation-delay: 0s;
    width: 60px;
    height: 60px;
}

.neuron:nth-child(2) {
    animation-delay: 1.2s;
    width: 80px;
    height: 80px;
}

.neuron:nth-child(3) {
    animation-delay: 2.4s;
    width: 100px;
    height: 100px;
}

.neuron:nth-child(4) {
    animation-delay: 3.6s;
    width: 80px;
    height: 80px;
}

.neuron:nth-child(5) {
    animation-delay: 4.8s;
    width: 60px;
    height: 60px;
}

@keyframes orbit {
    0% { transform: rotate(0deg) translateX(100px) rotate(0deg); }
    100% { transform: rotate(360deg) translateX(100px) rotate(-360deg); }
}

/* ============================================
   ABOUT SECTION
   ============================================ */

.about {
    padding: 6rem 0;
    background: linear-gradient(180deg, transparent, rgba(0, 217, 255, 0.05));
}

.about h2,
.vision h2,
.notify h2 {
    font-size: clamp(2rem, 5vw, 3rem);
    margin-bottom: 2rem;
    text-align: center;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-lead {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 3rem;
    font-size: 1.125rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

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

.feature-card {
    background: rgba(31, 58, 82, 0.5);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 2rem;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.feature-card:hover {
    background: rgba(31, 58, 82, 0.8);
    border-color: var(--primary);
    transform: translateY(-5px);
}

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

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.feature-card h3 {
    margin-bottom: 0.75rem;
    font-size: 1.25rem;
}

.feature-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* ============================================
   VISION SECTION
   ============================================ */

.vision {
    padding: 6rem 0;
    position: relative;
}

.vision::before {
    content: '';
    position: absolute;
    bottom: -50%;
    left: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255, 0, 110, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    filter: blur(40px);
    pointer-events: none;
}

.vision-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 2;
}

.vision-text h3 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.vision-list {
    list-style: none;
    margin: 1.5rem 0;
}

.vision-list li {
    margin-bottom: 1rem;
    padding-left: 2rem;
    position: relative;
    color: var(--text-secondary);
}

.vision-list li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: bold;
}

.vision-list strong {
    color: var(--primary);
}

.vision-cta {
    margin-top: 2rem;
    color: var(--primary);
    font-weight: 600;
}

.vision-visual {
    display: flex;
    align-items: center;
    justify-content: center;
}

.orbit-diagram {
    position: relative;
    width: 300px;
    height: 300px;
}

.center-circle {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 50%;
    box-shadow: 0 0 30px rgba(0, 217, 255, 0.5);
}

.orbit {
    position: absolute;
    top: 50%;
    left: 50%;
    border: 1px solid var(--border);
    border-radius: 50%;
    transform: translate(-50%, -50%);
}

.orbit-1 {
    width: 120px;
    height: 120px;
    animation: rotate 8s linear infinite;
}

.orbit-2 {
    width: 180px;
    height: 180px;
    animation: rotate 10s linear infinite reverse;
}

.orbit-3 {
    width: 240px;
    height: 240px;
    animation: rotate 12s linear infinite;
}

@keyframes rotate {
    from { transform: translate(-50%, -50%) rotate(0deg); }
    to { transform: translate(-50%, -50%) rotate(360deg); }
}

.dot {
    position: absolute;
    top: 0;
    left: 50%;
    width: 8px;
    height: 8px;
    background: var(--primary);
    border-radius: 50%;
    transform: translateX(-50%);
}

/* ============================================
   NOTIFY SECTION
   ============================================ */

.notify {
    padding: 6rem 0;
    background: linear-gradient(180deg, rgba(131, 56, 236, 0.05), transparent);
}

.notify-form {
    max-width: 500px;
    margin: 3rem auto;
}

.form-group {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.notify-form input {
    flex: 1;
    min-width: 250px;
    padding: 1rem;
    background: rgba(31, 58, 82, 0.6);
    border: 2px solid var(--border);
    border-radius: 8px;
    color: var(--text-primary);
    font-size: 1rem;
    transition: var(--transition);
}

.notify-form input:focus {
    outline: none;
    border-color: var(--primary);
    background: rgba(31, 58, 82, 0.9);
    box-shadow: 0 0 20px rgba(0, 217, 255, 0.2);
}

.notify-form input::placeholder {
    color: var(--text-secondary);
}

.form-message {
    margin-top: 1rem;
    text-align: center;
    min-height: 1.5rem;
    font-size: 0.875rem;
}

.form-message.success {
    color: var(--primary);
}

.form-message.error {
    color: var(--secondary);
}

.privacy-notice {
    text-align: center;
    color: var(--text-secondary);
    font-size: 0.875rem;
    margin-top: 2rem;
}

/* ============================================
   FOOTER
   ============================================ */

.footer {
    background: rgba(10, 14, 39, 0.8);
    border-top: 1px solid var(--border);
    padding: 3rem 0 1rem;
    margin-top: 4rem;
}

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

.footer-section h4 {
    font-size: 1rem;
    margin-bottom: 0.75rem;
    color: var(--primary);
}

.footer-section p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.footer-section a {
    color: var(--primary);
    text-decoration: none;
    transition: var(--transition);
}

.footer-section a:hover {
    opacity: 0.8;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--border);
    color: var(--text-secondary);
    font-size: 0.875rem;
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

@media (max-width: 768px) {
    .hero {
        flex-direction: column;
        gap: 2rem;
        min-height: auto;
        padding: 2rem 0;
    }

    .hero-animation {
        order: -1;
    }

    .ai-brain {
        width: 200px;
        height: 200px;
    }

    .nav-links {
        gap: 1rem;
        font-size: 0.85rem;
    }

    .cta-buttons {
        flex-direction: column;
        gap: 0.5rem;
    }

    .btn {
        width: 100%;
        justify-content: center;
    }

    .vision-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .vision-text h3 {
        font-size: 1.5rem;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .notify-form {
        padding: 0 1rem;
    }

    .form-group {
        flex-direction: column;
    }

    .notify-form input {
        width: 100%;
        min-width: unset;
    }
}

@media (max-width: 480px) {
    .nav-container {
        padding: 0 1rem;
    }

    .nav-links {
        display: none;
    }

    .hero-title {
        font-size: 1.75rem;
    }

    .hero-subtitle {
        font-size: 0.95rem;
    }

    .about,
    .vision,
    .notify {
        padding: 3rem 0;
    }
}
