/* =========================================
   Variables & Reset
   ========================================= */
:root {
    --bg-dark: #0b0213;
    --bg-card: rgba(30, 10, 50, 0.4);
    --primary: #8a2be2; /* BlueViolet */
    --primary-glow: rgba(138, 43, 226, 0.5);
    --secondary: #b200ff;
    --text-main: #f8f9fa;
    --text-muted: #a095b0;
    
    --font-main: 'Inter', sans-serif;
    --font-cursive: 'Playfair Display', serif;
    
    --glass-border: rgba(255, 255, 255, 0.1);
    --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    background-color: var(--bg-dark);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

/* =========================================
   Typography & Utilities
   ========================================= */
.cursive-text {
    font-family: var(--font-cursive);
    font-size: 1.2em;
    font-weight: 700;
    font-style: italic;
}

.highlight {
    color: var(--primary);
    position: relative;
}

.glow-text {
    text-shadow: 0 0 15px var(--primary-glow);
}

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

.section-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    font-weight: 800;
}

.section-desc {
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-bottom: 3rem;
    max-width: 600px;
}

.section-header {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* =========================================
   Buttons
   ========================================= */
.btn-primary, .btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 1.8rem;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    font-family: inherit;
    font-size: 1rem;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    box-shadow: 0 4px 15px var(--primary-glow);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px var(--primary-glow);
}

.btn-secondary {
    background: transparent;
    color: var(--text-main);
    border: 1px solid var(--glass-border);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--primary);
}

.btn-small {
    padding: 0.5rem 1.2rem;
    font-size: 0.9rem;
}

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

/* =========================================
   Navbar
   ========================================= */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 1.5rem 0;
    transition: all 0.4s ease;
}

.navbar.scrolled {
    background: rgba(11, 2, 19, 0.8);
    backdrop-filter: blur(10px);
    padding: 1rem 0;
    border-bottom: 1px solid var(--glass-border);
}

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

.logo-placeholder {
    font-size: 1.5rem;
    font-weight: 800;
    display: flex;
    align-items: center;
}

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

.nav-links a:not(.btn-primary) {
    color: var(--text-main);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.3s;
}

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

.mobile-menu-btn {
    display: none;
    font-size: 1.8rem;
    cursor: pointer;
}

/* =========================================
   Hero Section
   ========================================= */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 5rem;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.hero-waves {
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 60%;
    opacity: 0.8;
}

.wave {
    transform-origin: center;
}

.wave1 {
    animation: moveWave 12s linear infinite alternate;
}
.wave2 {
    animation: moveWave 15s linear infinite alternate-reverse;
}
.wave3 {
    animation: moveWave 10s linear infinite alternate;
}

@keyframes moveWave {
    0% { transform: translateX(0) scaleY(1); }
    100% { transform: translateX(-50px) scaleY(1.1); }
}

.glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    z-index: -1;
}

.glow-1 {
    width: 300px;
    height: 300px;
    background: rgba(138, 43, 226, 0.3);
    top: 20%;
    left: -100px;
}

.glow-2 {
    width: 400px;
    height: 400px;
    background: rgba(178, 0, 255, 0.2);
    bottom: -100px;
    right: -100px;
}

.hero-content {
    text-align: left;
    max-width: 600px;
    padding: 0;
}

.hero-title {
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    font-weight: 800;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    max-width: 600px;
}

.hero-buttons {
    display: flex;
    justify-content: flex-start;
    gap: 1rem;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    width: 100%;
}

.badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: rgba(138, 43, 226, 0.1);
    border: 1px solid rgba(138, 43, 226, 0.3);
    border-radius: 50px;
    color: var(--primary);
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.social-proof {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: 2.5rem;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.avatars {
    display: flex;
}

.avatars img {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    border: 2px solid var(--bg-dark);
    margin-left: -10px;
}
.avatars img:first-child { margin-left: 0; }

.hero-graphic {
    position: relative;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.floating-elements {
    position: relative;
    width: 100%;
    max-width: 500px;
    height: 400px;
}

.float-item {
    position: absolute;
    background: rgba(30, 10, 50, 0.6);
    backdrop-filter: blur(10px);
    border: 1px solid var(--primary);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--text-main);
    box-shadow: 0 10px 25px rgba(138, 43, 226, 0.2);
    z-index: 2;
    animation: float 6s ease-in-out infinite;
}

.float-1 { top: 10%; left: 0; padding: 1rem; animation-delay: 0s; color: #b200ff; }
.float-2 { bottom: 20%; right: -20px; padding: 1.2rem; animation-delay: 2s; color: #ff00ff; }
.float-3 { top: 40%; right: 10%; padding: 0.8rem; animation-delay: 4s; color: #00ffff; }

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

.main-graphic {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    z-index: 1;
}

.graphic-mockup {
    transform: perspective(1000px) rotateY(-15deg) rotateX(10deg);
    transition: transform 0.5s ease;
}

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

.mockup-url {
    flex-grow: 1;
    text-align: center;
    background: rgba(0,0,0,0.5);
    border-radius: 10px;
    font-size: 0.7rem;
    padding: 0.2rem;
    color: var(--text-muted);
    font-family: monospace;
}

.mockup-hero-body {
    height: 250px;
    padding: 1.5rem;
}

.mockup-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.nav-logo {
    width: 40px;
    height: 12px;
    background: var(--primary);
    border-radius: 4px;
}

.nav-links-mock {
    display: flex;
    gap: 0.5rem;
}

.nav-links-mock span {
    width: 20px;
    height: 4px;
    background: rgba(255,255,255,0.2);
    border-radius: 2px;
}

.mockup-hero-section {
    display: flex;
    gap: 1.5rem;
    height: 100%;
}

.hero-text-mock {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.hero-text-mock .btn-mock {
    margin-top: 1rem;
    width: 80px;
    height: 20px;
    background: var(--secondary);
    border-radius: 10px;
}

.hero-img-mock {
    flex: 1;
    background: linear-gradient(135deg, rgba(138,43,226,0.3), rgba(178,0,255,0.1));
    border-radius: 8px;
    border: 1px solid rgba(255,255,255,0.1);
}

/* =========================================
   Problem Section
   ========================================= */
.problem-section {
    padding: 8rem 0;
    position: relative;
}

.grid-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.glass-card {
    background: linear-gradient(135deg, rgba(45, 18, 75, 0.9) 0%, rgba(12, 4, 20, 0.95) 100%);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid #8a2be2;
    border-radius: 16px;
    padding: 2.5rem 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    transition: transform 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease;
    text-align: center;
}

.glass-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(138, 43, 226, 0.2);
    border-color: #b200ff;
}

.card-icon {
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 1.5rem;
}

.glass-card h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
}

.glass-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* =========================================
   Solution Section
   ========================================= */
.solution-section {
    padding: 8rem 0;
    background: linear-gradient(to bottom, transparent, rgba(30, 10, 50, 0.3));
    position: relative;
}

.glow-3 {
    width: 500px;
    height: 500px;
    background: rgba(138, 43, 226, 0.15);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.solution-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.feature-list {
    list-style: none;
    margin-top: 2rem;
}

.feature-list li {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.feature-icon {
    font-size: 2.5rem;
    color: var(--primary);
    background: rgba(138, 43, 226, 0.1);
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 15px;
    flex-shrink: 0;
}

.feature-info h4 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

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

.glass-mockup {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--glass-shadow);
    transform: perspective(1000px) rotateY(-10deg) rotateX(5deg);
    transition: transform 0.5s ease;
}

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

.mockup-header {
    background: rgba(0, 0, 0, 0.3);
    padding: 0.8rem 1rem;
    display: flex;
    gap: 0.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}
.dot.red { background: #ff5f56; }
.dot.yellow { background: #ffbd2e; }
.dot.green { background: #27c93f; }

.mockup-body {
    padding: 2rem;
    height: 350px;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.mockup-line {
    height: 12px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 6px;
}
.w-80 { width: 80%; }
.w-60 { width: 60%; }
.w-40 { width: 40%; }

.mockup-hero {
    height: 120px;
    background: linear-gradient(135deg, rgba(138,43,226,0.2), rgba(178,0,255,0.1));
    border-radius: 8px;
    margin-top: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: rgba(255,255,255,0.2);
}

.mockup-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-top: auto;
}

.mockup-box {
    height: 60px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
}

/* =========================================
   Contact Section
   ========================================= */
.contact-section {
    padding: 8rem 0;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 3rem;
    padding: 4rem;
}

.contact-info p {
    color: var(--text-muted);
    margin-bottom: 2rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.contact-item i {
    font-size: 1.5rem;
    color: var(--primary);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: var(--text-main);
    font-family: var(--font-main);
    font-size: 1rem;
    transition: border-color 0.3s;
}

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

/* =========================================
   Footer
   ========================================= */
footer {
    border-top: 1px solid var(--glass-border);
    padding: 2rem 0;
    text-align: center;
}

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

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

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    color: var(--text-muted);
    font-size: 1.5rem;
    transition: color 0.3s;
}

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

/* =========================================
   Animations & Responsive
   ========================================= */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

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

@media (max-width: 992px) {
    .solution-content, .contact-wrapper, .hero-container {
        grid-template-columns: 1fr;
    }
    
    .hero-container {
        text-align: center;
        padding-top: 4rem;
        padding-bottom: 2rem;
    }

    .hero-content {
        max-width: 100%;
        text-align: center;
    }

    .hero-buttons, .social-proof {
        justify-content: center;
    }
    
    .hero-title {
        font-size: 2.8rem;
    }

    .graphic-mockup {
        transform: perspective(1000px) rotateY(0deg) rotateX(0deg);
    }
    
    .hero-graphic {
        margin-top: 2rem;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .hero-title {
        font-size: 2.2rem;
    }
    
    .hero-subtitle {
        font-size: 1.05rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }
    
    .btn-primary, .btn-secondary {
        width: 100%;
        justify-content: center;
    }
    
    .social-proof {
        flex-direction: column;
        text-align: center;
    }
    
    .contact-wrapper {
        padding: 2rem 1.5rem;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 1rem;
    }
    
    .floating-elements {
        height: 280px;
        transform: scale(0.8);
        transform-origin: center top;
    }
    
    .problem-section, .solution-section, .contact-section {
        padding: 5rem 0;
    }
    
    .section-title {
        font-size: 2rem;
    }
}
