/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --purple: #8B5CF6;
    --fuchsia: #EC4899;
    --yellow: #F59E0B;
    --orange: #F97316;
    --white: #FFFFFF;
    --dark: #333333;
    --gradient-primary: linear-gradient(135deg, var(--purple), var(--fuchsia));
    --gradient-secondary: linear-gradient(135deg, var(--yellow), var(--orange));
    --gradient-dark: linear-gradient(135deg, var(--dark), #1a1a1a);
}

body {
    font-family: 'Space Grotesk', sans-serif;
    background: var(--dark);
    color: var(--white);
    overflow-x: hidden;
}

/* Navigation */
.nav-container {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 1rem 2rem;
    background: rgba(51, 51, 51, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 2px solid var(--purple);
}

.nav-logo {
    display: flex;
    align-items: center;
    position: relative;
}

.logo-container {
    position: relative;
    display: flex;
    align-items: center;
}

.logo-image {
    height: 40px;
    width: auto;
    filter: drop-shadow(0 0 10px rgba(139, 92, 246, 0.5));
    transition: all 0.3s ease;
    z-index: 2;
    position: relative;
}

.logo-image:hover {
    filter: drop-shadow(0 0 15px rgba(139, 92, 246, 0.8));
    transform: scale(1.05);
}

.logo-text-yellow {
    font-family: 'Orbitron', monospace;
    font-weight: 700;
    font-size: 1.2rem;
    color: var(--yellow);
    margin-left: 1rem;
    text-shadow: 0 0 10px rgba(245, 158, 11, 0.5);
    transition: all 0.3s ease;
}

.logo-text-yellow:hover {
    color: var(--orange);
    text-shadow: 0 0 15px rgba(249, 115, 22, 0.8);
    transform: scale(1.05);
}

.logo-text {
    font-family: 'Orbitron', monospace;
    font-weight: 900;
    font-size: 1.5rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    z-index: 2;
}

            .logo-pulse {
                position: absolute;
                width: 50px;
                height: 50px;
                background: var(--gradient-primary);
                border-radius: 50%;
                opacity: 0.3;
                animation: pulse 2s infinite;
                left: -1px;
                top: -5px;
                transform: translate(-50%, -50%);
            }

@keyframes pulse {
    0% { transform: scale(1); opacity: 0.3; }
    50% { transform: scale(1.1); opacity: 0.1; }
    100% { transform: scale(1); opacity: 0.3; }
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-link {
    color: var(--white);
    text-decoration: none;
    font-weight: 500;
    position: relative;
    transition: all 0.3s ease;
    padding: 0.5rem 1rem;
    border-radius: 25px;
}

.nav-link:hover {
    background: var(--gradient-primary);
    transform: translateY(-2px);
}

.nav-link.active {
    background: var(--gradient-primary);
    box-shadow: 0 4px 15px rgba(139, 92, 246, 0.4);
}

.demo-btn {
    background: var(--gradient-secondary);
    color: var(--dark);
    font-weight: 700;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-5px); }
    60% { transform: translateY(-3px); }
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    background: var(--gradient-dark);
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.floating-shapes {
    position: relative;
    width: 100%;
    height: 100%;
}

.shape {
    position: absolute;
    border-radius: 50%;
    background: var(--gradient-primary);
    opacity: 0.1;
    animation: float 6s ease-in-out infinite;
}

.shape-1 {
    width: 100px;
    height: 100px;
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.shape-2 {
    width: 150px;
    height: 150px;
    top: 60%;
    right: 15%;
    background: var(--gradient-secondary);
    animation-delay: 2s;
}

.shape-3 {
    width: 80px;
    height: 80px;
    top: 80%;
    left: 20%;
    animation-delay: 4s;
}

.shape-4 {
    width: 120px;
    height: 120px;
    top: 30%;
    right: 30%;
    animation-delay: 1s;
}

.shape-5 {
    width: 60px;
    height: 60px;
    top: 70%;
    right: 60%;
    background: var(--gradient-secondary);
    animation-delay: 3s;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(180deg); }
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    z-index: 2;
}

.hero-text {
    animation: slideInLeft 1s ease-out;
}

.hero-logo {
    margin-bottom: 2rem;
    animation: fadeIn 1s ease 0.5s both;
}

.hero-logo-image {
    height: 80px;
    width: auto;
    filter: drop-shadow(0 0 20px rgba(139, 92, 246, 0.6));
    transition: all 0.3s ease;
}

.hero-logo-image:hover {
    filter: drop-shadow(0 0 30px rgba(139, 92, 246, 0.9));
    transform: scale(1.1);
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.hero-title {
    font-family: 'Orbitron', monospace;
    font-size: 3.5rem;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.title-line {
    display: block;
    animation: titleReveal 0.8s ease-out forwards;
    opacity: 0;
    transform: translateY(30px);
}

.title-line:nth-child(1) { animation-delay: 0.2s; }
.title-line:nth-child(2) { animation-delay: 0.4s; }
.title-line:nth-child(3) { animation-delay: 0.6s; }

@keyframes titleReveal {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.highlight {
    background: var(--gradient-secondary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    animation: fadeIn 1s ease-out 0.8s forwards;
    opacity: 0;
}

@keyframes fadeIn {
    to { opacity: 0.9; }
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    animation: slideInUp 1s ease-out 1s forwards;
    opacity: 0;
    transform: translateY(30px);
}

@keyframes slideInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.btn-primary, .btn-secondary {
    padding: 1rem 2rem;
    border: none;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(139, 92, 246, 0.4);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(139, 92, 246, 0.6);
}

.btn-secondary {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--purple);
}

.btn-secondary:hover {
    background: var(--purple);
    transform: translateY(-3px);
}

/* Hero Visual */
.hero-visual {
    animation: slideInRight 1s ease-out 0.5s forwards;
    opacity: 0;
    transform: translateX(50px);
}

@keyframes slideInRight {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.dashboard-preview {
    position: relative;
    width: 100%;
    height: 400px;
}

.screen {
    position: absolute;
    background: var(--gradient-primary);
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    animation: screenFloat 4s ease-in-out infinite;
}

.screen-1 {
    width: 300px;
    height: 200px;
    top: 0;
    left: 0;
    animation-delay: 0s;
}

.screen-2 {
    width: 250px;
    height: 180px;
    top: 50px;
    right: 0;
    background: var(--gradient-secondary);
    animation-delay: 1s;
}

.screen-3 {
    width: 280px;
    height: 160px;
    bottom: 0;
    left: 50px;
    animation-delay: 2s;
}

@keyframes screenFloat {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-10px) rotate(2deg); }
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
}

.scroll-arrow {
    width: 30px;
    height: 30px;
    border: 2px solid var(--purple);
    border-top: none;
    border-left: none;
    transform: rotate(45deg);
}

/* Features Section */
.features {
    padding: 6rem 2rem;
    background: var(--dark);
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-family: 'Orbitron', monospace;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-header p {
    font-size: 1.2rem;
    opacity: 0.8;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.feature-card {
    background: rgba(255, 255, 255, 0.05);
    padding: 2rem;
    border-radius: 20px;
    border: 1px solid rgba(139, 92, 246, 0.2);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    opacity: 0.1;
    transition: left 0.3s ease;
}

.feature-card:hover::before {
    left: 0;
}

.feature-card:hover {
    transform: translateY(-10px);
    border-color: var(--purple);
    box-shadow: 0 10px 30px rgba(139, 92, 246, 0.3);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: block;
}

.feature-card h3 {
    font-family: 'Orbitron', monospace;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--white);
}

.feature-card p {
    opacity: 0.8;
    line-height: 1.6;
}

/* CTA Section */
.cta-section {
    padding: 6rem 2rem;
    background: var(--gradient-primary);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="white" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

.cta-content {
    position: relative;
    z-index: 2;
}

.cta-content h2 {
    font-family: 'Orbitron', monospace;
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--white);
}

.cta-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.btn-large {
    padding: 1.5rem 3rem;
    font-size: 1.2rem;
    background: var(--gradient-secondary);
    color: var(--dark);
}

/* Contact Section */
.contact {
    padding: 6rem 2rem;
    background: var(--dark);
    text-align: center;
}

.contact-content h2 {
    font-family: 'Orbitron', monospace;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.contact-content p {
    font-size: 1.2rem;
    margin-bottom: 3rem;
    opacity: 0.8;
}

.contact-info {
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.1rem;
    padding: 1rem 2rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50px;
    border: 1px solid rgba(139, 92, 246, 0.2);
    transition: all 0.3s ease;
}

.contact-item:hover {
    border-color: var(--purple);
    transform: translateY(-2px);
}

.contact-icon {
    font-size: 1.5rem;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .hero-content {
        padding: 4rem 2rem;
    }
    
    .hero-title {
        font-size: 3.5rem;
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    /* Navigation */
    .nav-container {
        padding: 0.8rem 1rem;
    }
    
    .logo-image {
        height: 30px;
    }
    
    .logo-text-yellow {
        font-size: 0.9rem;
        margin-left: 0.5rem;
    }
    
    .nav-links {
        display: none;
    }
    
    .nav-toggle {
        display: block;
    }
    
    .nav-toggle.active span:nth-child(1) {
        transform: rotate(-45deg) translate(-5px, 6px);
    }
    
    .nav-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .nav-toggle.active span:nth-child(3) {
        transform: rotate(45deg) translate(-5px, -6px);
    }
    
    /* Hero Section */
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        padding: 2rem 1rem;
        gap: 2rem;
    }
    
    .hero-title {
        font-size: 2rem;
        line-height: 1.2;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .hero-logo-image {
        height: 60px;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 1rem;
        align-items: center;
    }
    
    .btn-primary,
    .btn-secondary {
        width: 100%;
        max-width: 300px;
    }
    
    /* Features */
    .features-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 0 1rem;
    }
    
    .feature-card {
        padding: 1.5rem;
    }
    
    /* Contact */
    .contact-info {
        flex-direction: column;
        align-items: center;
        gap: 2rem;
        text-align: center;
        padding: 0 1rem;
    }
    
    .contact-item {
        padding: 1rem;
    }
}

@media (max-width: 480px) {
    /* Navigation */
    .nav-container {
        padding: 0.5rem 0.8rem;
    }
    
    .logo-image {
        height: 25px;
    }
    
    .logo-text-yellow {
        font-size: 0.8rem;
        margin-left: 0.3rem;
    }
    
    /* Hero Section */
    .hero-content {
        padding: 1.5rem 0.8rem;
    }
    
    .hero-title {
        font-size: 1.5rem;
        line-height: 1.3;
    }
    
    .hero-subtitle {
        font-size: 0.9rem;
    }
    
    .hero-logo-image {
        height: 50px;
    }
    
    /* Features */
    .feature-card {
        padding: 1rem;
    }
    
    .feature-card h3 {
        font-size: 1.2rem;
    }
    
    /* Contact */
    .contact-item {
        padding: 0.8rem;
    }
    
    .contact-item h3 {
        font-size: 1.1rem;
    }
}

@media (max-width: 360px) {
    .hero-title {
        font-size: 1.3rem;
    }
    
    .hero-subtitle {
        font-size: 0.8rem;
    }
    
    .feature-card {
        padding: 0.8rem;
    }
    
    .feature-card h3 {
        font-size: 1.1rem;
    }
}

/* Landscape orientation for mobile */
@media (max-width: 768px) and (orientation: landscape) {
    .hero-content {
        padding: 1rem 0;
    }
    
    .hero-title {
        font-size: 1.8rem;
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Tablet specific adjustments */
@media (min-width: 769px) and (max-width: 1024px) {
    .hero-title {
        font-size: 3rem;
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .contact-info {
        gap: 1.5rem;
    }
}

/* Touch-friendly improvements for mobile */
@media (max-width: 768px) {
    .btn-primary,
    .btn-secondary {
        min-height: 44px; /* Apple's recommended minimum touch target */
        padding: 12px 20px;
    }
    
    .nav-link {
        padding: 15px 20px;
        min-height: 44px;
        display: flex;
        align-items: center;
    }
    
    .feature-card {
        cursor: pointer;
        -webkit-tap-highlight-color: transparent;
    }
    
    /* Prevent zoom on input focus */
    input[type="text"],
    input[type="email"],
    input[type="tel"] {
        font-size: 16px;
    }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .feature-card {
        border: 2px solid var(--white);
    }
    
    .btn-primary,
    .btn-secondary {
        border: 2px solid var(--white);
    }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Mobile Navigation Toggle */
.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: var(--purple);
    margin: 3px 0;
    transition: 0.3s;
}

@media (max-width: 768px) {
    .nav-toggle {
        display: flex;
    }
    
    .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: rgba(51, 51, 51, 0.95);
        flex-direction: column;
        padding: 2rem;
        transform: translateY(-100%);
        opacity: 0;
        transition: all 0.3s ease;
    }
    
    .nav-links.active {
        transform: translateY(0);
        opacity: 1;
    }
} 