:root {
    --primary: #1e293b;
    --primary-hover: #0f172a;
    --bg-main: #ffffff;
    --bg-light: #f8fafc;
    --bg-card: #ffffff;
    --text-main: #0f172a;
    --text-muted: #64748b;
    --border: #e2e8f0;
    --font-main: 'Poppins', sans-serif;
}

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

html {
    scroll-behavior: smooth;
    height: 100%;
    overflow-x: hidden;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-main);
}

::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

/* Scroll Reveal Animation */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s ease-out;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--bg-main);
    color: var(--text-main);
    line-height: 1.6;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    /* Page Transition */
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.3s ease-out, transform 0.3s ease-out;
}

body.page-loaded {
    opacity: 1;
    transform: translateY(0);
}

body.page-leaving {
    opacity: 0;
    transform: translateY(-10px);
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

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

/* Typography */
h1 { font-size: 40px; font-weight: 700; line-height: 1.2; margin-bottom: 16px; color: var(--primary); }
h2 { font-size: 28px; font-weight: 600; margin-bottom: 40px; text-align: center; }
h3 { font-size: 18px; font-weight: 600; margin-bottom: 8px; }
h4 { font-size: 16px; font-weight: 600; margin-bottom: 16px; }
p { font-size: 16px; color: var(--text-muted); }

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 24px;
    border-radius: 8px;
    font-weight: 500;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
}

.btn-lg {
    padding: 14px 32px;
    font-size: 16px;
    border-radius: 10px;
}

.btn-primary {
    background-color: var(--primary);
    color: #fff;
}

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

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

.btn-outline:hover {
    background-color: var(--bg-light);
    border-color: var(--primary);
}

/* Navbar */
.navbar {
    padding: 16px 0;
    background-color: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(226, 232, 240, 0.6);
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-icon {
    width: 40px;
    height: 40px;
    background-color: var(--bg-light);
    border: 1px solid var(--border);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: var(--primary);
}

.logo-text {
    font-size: 18px;
    font-weight: 600;
    color: var(--primary);
}

.nav-links {
    display: flex;
    gap: 32px;
}

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

.nav-links a:hover, .nav-links a.active {
    color: var(--primary);
    border-bottom: 2px solid var(--primary);
    padding-bottom: 4px;
}

/* Hero Section */
.hero {
    padding: 80px 0;
    position: relative;
}

.ambient-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
    pointer-events: none;
}

.ambient-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.35;
    animation: float-ambient 10s ease-in-out infinite alternate;
}

.glow-1 {
    top: -10%;
    left: 15%;
    width: 700px;
    height: 700px;
    background-color: rgba(139, 92, 246, 0.35); /* Purple */
}

.glow-2 {
    top: 10%;
    right: 15%;
    width: 600px;
    height: 600px;
    background-color: rgba(59, 130, 246, 0.25); /* Blue */
    animation-delay: -4s;
}

@keyframes float-ambient {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(30px, 30px) scale(1.05); }
}

.hero-container {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 48px;
}

.hero-content {
    flex: 1;
}

.hero-content p {
    margin-bottom: 32px;
    font-size: 18px;
    max-width: 90%;
}

.hero-actions {
    display: flex;
    gap: 16px;
    margin-bottom: 32px;
}

.hero-badges {
    display: flex;
    gap: 24px;
    font-size: 14px;
    color: var(--text-main);
    font-weight: 500;
}

.hero-badges span {
    display: flex;
    align-items: center;
    gap: 8px;
}

.hero-badges i {
    font-size: 18px;
    color: var(--primary);
}

/* Modern Hero Mockup Illustration */
.hero-illustration {
    flex: 1;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.modern-mockup-wrapper {
    position: relative;
    width: 100%;
    max-width: 500px;
}

.mockup-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.4) 0%, rgba(139, 92, 246, 0) 70%);
    border-radius: 50%;
    z-index: 0;
    animation: pulse-glow 4s ease-in-out infinite alternate;
}

@keyframes pulse-glow {
    0% { transform: translate(-50%, -50%) scale(1); opacity: 0.6; }
    100% { transform: translate(-50%, -50%) scale(1.1); opacity: 1; }
}

.mockup-card {
    position: relative;
    z-index: 1;
    background-color: var(--bg-main);
    border: 1px solid var(--border);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
    transform: perspective(1000px) rotateY(-5deg) rotateX(5deg);
    transition: transform 0.3s ease;
    animation: float 6s ease-in-out infinite;
}

.mockup-card:hover {
    transform: perspective(1000px) rotateY(0deg) rotateX(0deg);
}

@keyframes float {
    0%, 100% { transform: perspective(1000px) rotateY(-5deg) rotateX(5deg) translateY(0); }
    50% { transform: perspective(1000px) rotateY(-5deg) rotateX(5deg) translateY(-15px); }
}

.mockup-header {
    background-color: var(--bg-light);
    padding: 12px 16px;
    display: flex;
    gap: 8px;
    border-bottom: 1px solid var(--border);
}

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

.dot-red { background-color: #ef4444; }
.dot-yellow { background-color: #f59e0b; }
.dot-green { background-color: #10b981; }

.mockup-body {
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    background-color: #f8fafc;
}

.mockup-comment {
    display: flex;
    gap: 16px;
}

.m-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #e2e8f0;
    color: #94a3b8;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
}

.m-content {
    flex: 1;
    position: relative;
}

.m-name {
    font-weight: 600;
    font-size: 14px;
    color: var(--text-main);
    margin-bottom: 4px;
}

.m-text {
    font-size: 14px;
    color: var(--text-muted);
    background-color: white;
    padding: 12px;
    border-radius: 0 12px 12px 12px;
    border: 1px solid var(--border);
}

.toxic-comment .m-text {
    filter: blur(4px);
    user-select: none;
    opacity: 0.6;
}

.ai-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -10px);
    display: flex;
    align-items: center;
    gap: 8px;
    background-color: rgba(15, 23, 42, 0.85);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    white-space: nowrap;
}

.ai-overlay i {
    color: #10b981;
    font-size: 16px;
}

/* Floating Badges */
.floating-badge {
    position: absolute;
    background-color: var(--bg-card);
    border: 1px solid var(--border);
    padding: 10px 16px;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-main);
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    z-index: 2;
}

.badge-top {
    top: -20px;
    right: -20px;
    animation: float-badge 4s ease-in-out infinite 1s;
}

.badge-bottom {
    bottom: 20px;
    left: -30px;
    animation: float-badge 5s ease-in-out infinite 0.5s;
}

@keyframes float-badge {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.badge-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

.pulse-green {
    background-color: #10b981;
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
    animation: pulse-g 2s infinite;
}

.pulse-blue {
    background-color: #3b82f6;
    box-shadow: 0 0 0 0 rgba(59, 130, 246, 0.7);
    animation: pulse-b 2s infinite;
}

@keyframes pulse-g {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
    70% { transform: scale(1); box-shadow: 0 0 0 6px rgba(16, 185, 129, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

@keyframes pulse-b {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(59, 130, 246, 0.7); }
    70% { transform: scale(1); box-shadow: 0 0 0 6px rgba(59, 130, 246, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(59, 130, 246, 0); }
}

/* Features Section */
.features {
    padding: 80px 0;
    background-color: var(--bg-main);
    border-top: 1px solid var(--border);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.feature-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 32px 24px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px -5px rgba(59, 130, 246, 0.15);
    border-color: rgba(59, 130, 246, 0.3);
}

.feature-icon {
    width: 64px;
    height: 64px;
    background-color: var(--bg-light);
    color: var(--primary);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    margin: 0 auto 24px auto;
    transition: all 0.3s ease;
}

.feature-card:hover .feature-icon {
    background-color: var(--primary);
    color: white;
    box-shadow: 0 8px 20px rgba(59, 130, 246, 0.4);
    transform: scale(1.1);
}

.feature-card p {
    font-size: 14px;
}

/* Footer */
.footer {
    background-color: var(--bg-light);
    padding: 60px 0 20px 0;
    border-top: 1px solid var(--border);
    margin-top: auto !important;
    width: 100%;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-brand p {
    margin-top: 16px;
    font-size: 14px;
    max-width: 250px;
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    color: var(--text-muted);
    font-size: 14px;
}

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

.social-icons {
    display: flex;
    gap: 16px;
}

.social-icons a {
    width: 40px;
    height: 40px;
    border: 1px solid var(--border);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    font-size: 20px;
    background-color: var(--bg-main);
    transition: all 0.2s;
}

.social-icons a:hover {
    color: var(--primary);
    border-color: var(--primary);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid var(--border);
    font-size: 14px;
}

/* About Section */
.about {
    padding: 80px 0;
    background-color: var(--bg-light);
}

.about-container {
    display: flex;
    align-items: center;
    gap: 48px;
}

.about-content {
    flex: 1;
}

.about-content p {
    color: var(--text-muted);
    font-size: 16px;
    line-height: 1.7;
    margin-bottom: 20px;
}

.about-highlights {
    display: flex;
    gap: 24px;
    margin-top: 32px;
}

.highlight-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-main);
    font-weight: 600;
}

.highlight-item i {
    color: var(--primary);
    font-size: 24px;
}

.about-image {
    flex: 1;
    display: flex;
    justify-content: center;
}

.modern-ai-core {
    position: relative;
    width: 320px;
    height: 320px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.core-glow {
    position: absolute;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.25) 0%, rgba(139, 92, 246, 0) 70%);
    border-radius: 50%;
    animation: pulse-glow 3s infinite alternate;
}

.core-center {
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, var(--primary) 0%, #3b82f6 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 56px;
    color: white;
    z-index: 10;
    box-shadow: 0 0 30px rgba(59, 130, 246, 0.5);
    animation: float 4s ease-in-out infinite;
}

.orbit {
    position: absolute;
    border-radius: 50%;
    border: 1.5px dashed rgba(59, 130, 246, 0.4);
    animation: spin linear infinite;
}

.orbit-1 {
    width: 210px;
    height: 210px;
    animation-duration: 12s;
}

.orbit-2 {
    width: 300px;
    height: 300px;
    animation-duration: 20s;
    animation-direction: reverse;
}

.orbit-node {
    position: absolute;
    width: 44px;
    height: 44px;
    background-color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 15px rgba(0,0,0,0.1);
    color: var(--primary);
    font-size: 20px;
}

/* Position the nodes on the orbit edges */
.node-1 { top: -22px; left: 50%; transform: translateX(-50%); }
.node-2 { bottom: -22px; left: 50%; transform: translateX(-50%); }
.node-3 { top: 50%; right: -22px; transform: translateY(-50%); }

@keyframes spin { 100% { transform: rotate(360deg); } }

/* Contact Section */
.contact {
    padding: 80px 0;
    background-color: var(--bg-main);
    border-top: 1px solid var(--border);
}

.contact-container {
    display: flex;
    gap: 60px;
    align-items: center;
}

.contact-info {
    flex: 1;
}

.contact-info p {
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 40px;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 16px;
}

.c-icon {
    width: 50px;
    height: 50px;
    background-color: var(--bg-light);
    color: var(--primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
}

.c-text h4 {
    margin: 0 0 4px 0;
    font-size: 14px;
    color: var(--text-muted);
    font-weight: 500;
}

.c-text p, .c-text a {
    margin: 0;
    font-size: 16px;
    color: var(--text-main);
    font-weight: 600;
    text-decoration: none;
}

.c-text a:hover {
    color: var(--primary);
}

.contact-form-wrapper {
    flex: 1;
    background-color: var(--bg-card);
    padding: 40px;
    border-radius: 16px;
    border: 1px solid var(--border);
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.05);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-main);
}

.form-group input, .form-group textarea {
    padding: 12px 16px;
    border: 1px solid var(--border);
    border-radius: 8px;
    background-color: var(--bg-main);
    color: var(--text-main);
    font-family: inherit;
    transition: border-color 0.2s;
}

.form-group input:focus, .form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
}

.w-100 {
    width: 100%;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero-container {
        flex-direction: column;
        text-align: center;
    }
    
    .hero-content p {
        margin: 0 auto 32px auto;
    }
    
    .hero-actions {
        justify-content: center;
    }
    
    .hero-badges {
        justify-content: center;
        margin-bottom: 48px;
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .about-container {
        flex-direction: column-reverse;
        text-align: center;
    }
    
    .section-title {
        text-align: center !important;
    }
    
    .about-highlights {
        justify-content: center;
    }
    
    .contact-container {
        flex-direction: column;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none; /* simple mobile nav hide for now */
    }
    
    h1 { font-size: 32px; }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
}
@media (max-width: 480px) {
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-actions {
        flex-direction: column;
    }
}
