:root {
    --primary: #0066ff;
    --secondary: #00d2ff;
    --dark: #0a0b10;
    --light: #f4f7fe;
    --text: #333;
    --text-muted: #666;
    --glass: rgba(255, 255, 255, 0.8);
    --container-width: 1200px;
}

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

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--text);
    background-color: #fff;
    overflow-x: hidden;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

a {
    text-decoration: none;
    transition: 0.3s;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
}

/* Header & Nav */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    transition: 0.3s;
}

header.scrolled {
    background: var(--glass);
    backdrop-filter: blur(10px);
    padding: 10px 0;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
    font-size: 1.4rem;
    color: var(--dark);
}

.logo img {
    height: 50px;
    width: 50px;
    min-width: 50px;
    object-fit: contain;
    border-radius: 8px;
    display: block;
}

.ai-text {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-links a {
    color: var(--text);
    font-weight: 500;
}

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

.btn-smurf {
    background: var(--dark);
    color: #fff !important;
    padding: 8px 20px;
    border-radius: 50px;
}

.btn-demo {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: #fff !important;
    padding: 8px 25px;
    border-radius: 50px;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(0, 102, 255, 0.2);
}

.btn-demo:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 102, 255, 0.3);
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.6);
    backdrop-filter: blur(5px);
    overflow-y: auto;
}

.modal-content {
    background-color: #fff;
    margin: 10% auto;
    padding: 40px;
    border-radius: 25px;
    width: 90%;
    max-width: 500px;
    position: relative;
    box-shadow: 0 25px 50px rgba(0,0,0,0.2);
    animation: modalSlide 0.4s ease-out;
}

@keyframes modalSlide {
    from { transform: translateY(-50px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.close-demo {
    position: absolute;
    right: 25px;
    top: 20px;
    font-size: 28px;
    font-weight: bold;
    color: #aaa;
    cursor: pointer;
    transition: 0.3s;
}

.close-demo:hover {
    color: var(--dark);
}

.modal-content h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
    color: var(--dark);
}

.modal-content p {
    color: var(--text-muted);
    margin-bottom: 25px;
}

.success-icon {
    font-size: 4rem;
    color: #22c55e;
    margin-bottom: 20px;
    text-align: center;
}

.resend-text {
    margin-top: 20px;
    font-size: 0.9rem;
    text-align: center;
}

.resend-text a {
    color: var(--primary);
    font-weight: 600;
}

.menu-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Hero Section */
.hero {
    padding: 160px 0 100px;
    background: radial-gradient(circle at top right, rgba(0,102,255,0.05), transparent),
                radial-gradient(circle at bottom left, rgba(0,210,255,0.05), transparent);
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero-content {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 50px;
    align-items: center;
}

.hero-text h1 {
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 25px;
    font-weight: 800;
    color: var(--dark);
}

.hero-text p {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 40px;
}

.hero-btns {
    display: flex;
    gap: 20px;
}

.btn {
    padding: 15px 35px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1rem;
    display: inline-block;
}

.btn-primary {
    background: var(--primary);
    color: #fff;
    box-shadow: 0 10px 25px rgba(0, 102, 255, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(0, 102, 255, 0.4);
}

.btn-secondary {
    background: #fff;
    color: var(--dark);
    border: 1px solid #ddd;
}

.btn-secondary:hover {
    background: var(--light);
}

.hero-image {
    position: relative;
    z-index: 1;
}

.hero-image img {
    border-radius: 20px;
    box-shadow: 0 30px 60px rgba(0,0,0,0.15);
    transform: perspective(1000px) rotateY(-10deg);
}

.scroll-down {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
    color: var(--primary);
    font-size: 1.5rem;
}

/* Features */
.features {
    padding: 100px 0;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 60px;
}

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

.feature-card {
    padding: 40px;
    border-radius: 20px;
    background: #fff;
    border: 1px solid #eee;
    transition: 0.3s;
}

.feature-card:hover {
    border-color: var(--primary);
    box-shadow: 0 20px 40px rgba(0,0,0,0.05);
    transform: translateY(-10px);
}

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

.feature-card h3 {
    margin-bottom: 15px;
    font-size: 1.3rem;
}

/* Story Section */
.story-section {
    padding: 100px 0;
    background-color: #fff;
}

.story-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 60px;
    align-items: center;
}

.story-visual {
    text-align: center;
}

.story-visual img {
    height: 200px;
    width: 200px;
    object-fit: contain;
    opacity: 0.15;
    filter: grayscale(100%);
}

.story-text h3 {
    font-size: 2.2rem;
    margin-bottom: 20px;
}

.story-text p {
    color: var(--text-muted);
    margin-bottom: 20px;
}

/* Modules */
.modules {
    padding: 100px 0;
    background-color: var(--light);
}

.module-item {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 80px;
    align-items: center;
    margin-bottom: 100px;
}

.module-item.reverse {
    direction: rtl;
}

.module-item.reverse .module-info {
    direction: ltr;
}

.module-tag {
    color: var(--primary);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.8rem;
    display: block;
    margin-bottom: 15px;
}

.module-info h3 {
    font-size: 2.2rem;
    margin-bottom: 20px;
}

.module-info p {
    color: var(--text-muted);
    margin-bottom: 30px;
}

.module-info ul {
    display: grid;
    gap: 15px;
}

.module-info ul li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 500;
}

.module-info ul li i {
    color: #22c55e;
}

.module-visual img {
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.1);
}

/* AI Section */
.ai-section {
    padding: 120px 0;
    background: linear-gradient(135deg, var(--dark), #1a1c2e);
    color: #fff;
    border-radius: 50px;
    margin: 50px 20px;
}

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

.ai-badge {
    display: inline-block;
    padding: 5px 15px;
    background: rgba(255,255,255,0.1);
    border-radius: 50px;
    font-size: 0.9rem;
    margin-bottom: 20px;
    border: 1px solid rgba(255,255,255,0.2);
}

.ai-section h2 {
    font-size: 3rem;
    margin-bottom: 30px;
}

.ai-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-top: 50px;
    text-align: left;
}

.ai-feature {
    background: rgba(255,255,255,0.05);
    padding: 30px;
    border-radius: 20px;
    border: 1px solid rgba(255,255,255,0.1);
}

.ai-feature h4 {
    color: var(--secondary);
    margin-bottom: 10px;
}

/* Contact Section */
.contact {
    padding: 100px 0;
    background-color: var(--light);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
}

.contact-info h3 {
    font-size: 2rem;
    margin-bottom: 30px;
}

.info-item {
    display: flex;
    gap: 20px;
    margin-bottom: 25px;
    align-items: start;
}

.info-item i {
    font-size: 1.5rem;
    color: var(--primary);
    margin-top: 5px;
}

.info-item p {
    font-size: 1.1rem;
    color: var(--text-muted);
}

.map-container {
    margin-top: 40px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.contact-form-container {
    background: #fff;
    padding: 50px;
    border-radius: 25px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.05);
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--dark);
}

.form-group input, .form-group textarea {
    width: 100%;
    padding: 15px;
    border-radius: 12px;
    border: 1px solid #ddd;
    font-family: inherit;
    font-size: 1rem;
    transition: 0.3s;
}

.form-group input:focus, .form-group textarea:focus {
    border-color: var(--primary);
    outline: none;
    box-shadow: 0 0 0 4px rgba(0,102,255,0.1);
}

.w-100 {
    width: 100%;
}

/* Footer */
footer {
    padding: 100px 0 50px;
    background: #fdfdfd;
    border-top: 1px solid #eee;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 50px;
    margin-bottom: 60px;
}

.footer-about .logo {
    margin-bottom: 20px;
}

.footer-about p {
    color: var(--text-muted);
}

.footer-links h4, .footer-contact h4 {
    margin-bottom: 25px;
    font-weight: 700;
}

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

.footer-links ul li a {
    color: var(--text-muted);
}

.footer-links ul li a:hover {
    color: var(--primary);
}

.footer-contact p {
    color: var(--text-muted);
    margin-bottom: 15px;
}

.footer-bottom {
    text-align: center;
    padding-top: 40px;
    border-top: 1px solid #eee;
}

.footer-bottom p {
    color: var(--text-muted);
}

/* Animations */
@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {transform: translateY(0) translateX(-50%);}
    40% {transform: translateY(-10px) translateX(-50%);}
    60% {transform: translateY(-5px) translateX(-50%);}
}

/* Responsive */
@media (max-width: 992px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .hero-btns {
        justify-content: center;
    }
    .module-item {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    .module-item.reverse {
        direction: ltr;
    }
    .module-info h3 {
        font-size: 1.8rem;
    }
    .hero-text h1 {
        font-size: 2.8rem;
    }
    .ai-features {
        grid-template-columns: 1fr;
    }
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .contact-form-container {
        padding: 30px;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    .menu-toggle {
        display: block;
    }
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .footer-about .logo {
        justify-content: center;
    }
}
