/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #ffffff;
    background-color: #000000;
    overflow-x: hidden;
}

/* Color Variables */
:root {
    --primary-black: #000000;
    --secondary-black: #0d0d0d;
    --light-black: #1a1a1a;
    --dark-black: #000000;
    --accent-black: #262626;
    --gray-50: #0d0d0d;
    --gray-100: #1a1a1a;
    --gray-200: #262626;
    --gray-300: #333333;
    --gray-600: #b3b3b3;
    --gray-800: #d9d9d9;
    --gray-900: #ffffff;
    --white: #000000;
    --gradient: linear-gradient(135deg, #1a1a1a, #404040);
}

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

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(0, 0, 0, 1);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--gray-200);
    z-index: 1000;
    transition: all 0.3s ease;
}

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

.nav-logo img {
    height: 40px;
    width: auto;
    filter: invert(1) brightness(0.8);
    transition: filter 0.3s ease;
}

.nav-logo img:hover {
    filter: invert(1) brightness(1);
}

.nav-logo h1 {
    font-size: 28px;
    font-weight: 700;
    background: var(--gray-600);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-menu {
    display: flex;
    gap: 30px;
}

.nav-link {
    text-decoration: none;
    color: var(--gray-600);
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

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

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

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

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, var(--primary-black) 0%, var(--dark-black) 30%, var(--secondary-black) 70%, var(--light-black) 100%);
    padding-top: 70px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="%23262626" stroke-width="0.2"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>') repeat;
    opacity: 0.15;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-content {
    animation: slideInLeft 1s ease-out;
}

.hero-title {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 20px;
    color: var(--gray-900);
}

.brand-highlight {
    background: var(--gray-600);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 4rem;
    display: block;
    margin-bottom: 10px;
    animation: glow 2s ease-in-out infinite alternate;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--gray-600);
    margin-bottom: 40px;
    line-height: 1.6;
}

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

.cta-button {
    padding: 15px 30px;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    position: relative;
    overflow: hidden;
}

.cta-button.primary {
    background: var(--gradient);
    color: white;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.cta-button.primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

.cta-button.secondary {
    background: transparent;
    color: var(--gray-900);
    border: 2px solid var(--gray-600);
}

.cta-button.secondary:hover {
    background: var(--gray-600);
    color: var(--primary-black);
    transform: translateY(-2px);
}

/* Hero Visual */
.hero-visual {
    display: flex;
    justify-content: center;
    animation: slideInRight 1s ease-out;
}

.app-mockup {
    position: relative;
    animation: float 6s ease-in-out infinite;
}

.mockup-screen {
    width: 400px;
    height: 500px;
    background: var(--secondary-black);
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(255, 255, 255, 0.1);
    overflow: hidden;
    border: 1px solid var(--gray-200);
}

.mockup-header {
    background: var(--gradient);
    color: white;
    padding: 15px 20px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.mockup-dots {
    display: flex;
    gap: 5px;
}

.mockup-dots span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
}

.mockup-title {
    font-weight: 600;
    font-size: 16px;
}

.mockup-content {
    padding: 20px;
}

.inbox-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    border-radius: 12px;
    margin-bottom: 10px;
    background: var(--gray-50);
    transition: all 0.3s ease;
    animation: fadeInUp 0.5s ease-out;
}

.inbox-item:hover {
    background: var(--light-black);
    transform: translateX(5px);
}

.avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--gradient);
}

.message-preview {
    flex: 1;
}

.sender {
    font-weight: 600;
    color: var(--gray-800);
    margin-bottom: 5px;
}

.preview {
    color: var(--gray-600);
    font-size: 14px;
}

.ai-badge {
    background: var(--gradient);
    color: white;
    padding: 4px 8px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    animation: pulse 2s infinite;
}

/* Demo Section */
.demo {
    padding: 100px 0;
    background: var(--primary-black);
}

.demo-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-top: 60px;
}

.video-container {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(255, 255, 255, 0.15);
    background: var(--secondary-black);
}

.demo-video {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 20px;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.video-container:hover .video-overlay {
    opacity: 0;
}

.play-button {
    width: 80px;
    height: 80px;
    background: var(--gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    animation: pulse 2s infinite;
    pointer-events: auto;
}

.play-button:hover {
    transform: scale(1.1);
}

.play-button svg {
    width: 30px;
    height: 30px;
    margin-left: 5px;
}

.demo-description h3 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--gray-900);
}

.demo-description p {
    font-size: 1.1rem;
    color: var(--gray-600);
    margin-bottom: 30px;
    line-height: 1.7;
}

.demo-features {
    list-style: none;
    padding: 0;
}

.demo-features li {
    padding: 10px 0;
    font-size: 1.1rem;
    color: var(--gray-700);
    display: flex;
    align-items: center;
    gap: 10px;
}

.demo-features li i {
    width: 20px;
    height: 20px;
    color: var(--primary-color);
    flex-shrink: 0;
}

.card-content {
    display: flex;
    align-items: center;
    gap: 4px;
    flex-wrap: wrap;
}

.card-content i {
    width: 16px;
    height: 16px;
    color: var(--primary-color);
    flex-shrink: 0;
}

/* Features Section */
.features {
    padding: 100px 0;
    background: var(--secondary-black);
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 60px;
    color: var(--gray-900);
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: var(--gradient);
    border-radius: 2px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.feature-card {
    text-align: center;
    padding: 40px 30px;
    border-radius: 20px;
    background: var(--light-black);
    border: 1px solid var(--gray-200);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 0, 0, 0.1), transparent);
    transition: left 0.5s ease;
}

.feature-card:hover::before {
    left: 100%;
}

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

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: var(--gradient);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: all 0.3s ease;
}

.feature-icon svg {
    width: 40px;
    height: 40px;
}

.feature-card:hover .feature-icon {
    transform: scale(1.1) rotate(5deg);
}

.feature-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--gray-900);
}

.feature-card p {
    color: var(--gray-600);
    line-height: 1.6;
}

/* About Section */
.about {
    padding: 100px 0;
    background: var(--primary-black);
}

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

.about-text h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--gray-900);
}

.about-text p {
    font-size: 1.1rem;
    color: var(--gray-600);
    margin-bottom: 40px;
    line-height: 1.7;
}

.stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.stat {
    text-align: center;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 5px;
}

.stat-label {
    color: var(--gray-600);
    font-weight: 500;
}

.about-visual {
    position: relative;
    height: 400px;
}

.floating-cards {
    position: relative;
    height: 100%;
}

.floating-card {
    position: absolute;
    background: var(--light-black);
    border-radius: 15px;
    padding: 20px;
    box-shadow: 0 10px 30px rgba(255, 255, 255, 0.1);
    border: 1px solid var(--gray-200);
    min-width: 200px;
}

.card-1 {
    top: 20px;
    left: 20px;
    animation: floatCard1 4s ease-in-out infinite;
}

.card-2 {
    bottom: 20px;
    right: 20px;
    animation: floatCard2 4s ease-in-out infinite;
}

.card-header {
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 10px;
}

.card-content {
    color: var(--gray-600);
    font-size: 14px;
}

/* Contact Section */
.contact {
    padding: 100px 0;
    background: var(--secondary-black);
    color: white;
    text-align: center;
}

.contact-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.contact-content p {
    font-size: 1.1rem;
    margin-bottom: 40px;
    color: var(--gray-300);
}

.contact-form {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.email-input {
    padding: 15px 20px;
    border: 1px solid var(--gray-200);
    border-radius: 12px;
    font-size: 16px;
    min-width: 300px;
    background: var(--light-black);
    color: var(--gray-900);
}

.submit-btn {
    padding: 15px 30px;
    background: var(--gradient);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

.contact-info a {
    color: var(--accent-black);
    text-decoration: none;
}

.contact-info a:hover {
    text-decoration: underline;
}

/* Footer */
.footer {
    background: var(--secondary-black);
    color: white;
    padding: 40px 0 20px;
    border-top: 1px solid var(--gray-800);
}

.footer-logo {
    height: 32px;
    width: auto;
    filter: invert(1) brightness(0.8);
    margin-bottom: 8px;
}
.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.footer-brand h3 {
    font-size: 1.5rem;
    font-weight: 700;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 5px;
}

.footer-brand p {
    color: var(--gray-400);
}

.footer-links {
    display: flex;
    gap: 30px;
}

.footer-links a {
    color: var(--gray-400);
    text-decoration: none;
    transition: color 0.3s ease;
}

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

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid var(--gray-800);
    color: var(--gray-400);
}

/* Animations */
@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

@keyframes floatCard1 {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }
    50% {
        transform: translateY(-15px) rotate(2deg);
    }
}

@keyframes floatCard2 {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }
    50% {
        transform: translateY(-10px) rotate(-2deg);
    }
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.7;
    }
}

@keyframes glow {
    from {
        text-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
    }
    to {
        text-shadow: 0 0 30px rgba(0, 0, 0, 0.6);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }

    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }

    .hero-title {
        font-size: 2.5rem;
        color: var(--gray-600);
    }

    .brand-highlight {
        font-size: 3rem;
    }

    .mockup-screen {
        width: 300px;
        height: 400px;
    }

    .demo-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .about-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .stats {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }

    .contact-form {
        flex-direction: column;
        align-items: center;
    }

    .email-input {
        min-width: 250px;
    }

    .footer-content {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }

    .brand-highlight {
        font-size: 2.5rem;
    }

    .section-title {
        font-size: 2rem;
    }

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

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