/* ============================================
   MotionViva - Modern Design System
   ============================================ */

:root {
    /* Color Palette - Unique Purple/Blue Theme */
    --primary-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
    --secondary-gradient: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    --accent-gradient: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
    --dark-bg: #0a0e27;
    --dark-surface: #151932;
    --text-primary: #1a1f3a;
    --text-secondary: #4a5568;
    --text-light: #718096;
    --white: #ffffff;
    --shadow-sm: 0 2px 8px rgba(102, 126, 234, 0.1);
    --shadow-md: 0 8px 24px rgba(102, 126, 234, 0.15);
    --shadow-lg: 0 16px 48px rgba(102, 126, 234, 0.2);
    --shadow-xl: 0 24px 64px rgba(102, 126, 234, 0.25);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    line-height: 1.7;
    color: var(--text-primary);
    background: var(--white);
    overflow-x: hidden;
}

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

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(102, 126, 234, 0.1);
    transition: all 0.3s ease;
}

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

.nav-brand {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    position: relative;
}

.brand-text {
    font-family: 'Playfair Display', serif;
    font-size: 1.75rem;
    font-weight: 900;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.02em;
}

.brand-accent {
    width: 8px;
    height: 8px;
    background: var(--accent-gradient);
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.2); opacity: 0.7; }
}

.nav-menu {
    display: flex;
    gap: 2rem;
}

.nav-item {
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    padding: 0.5rem 1rem;
    border-radius: 12px;
    transition: all 0.3s ease;
    position: relative;
}

.nav-item::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--primary-gradient);
    transition: width 0.3s ease;
}

.nav-item:hover::after {
    width: 80%;
}

.nav-item:hover {
    color: #667eea;
}

/* Hero Section */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 8rem 0 4rem;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
    overflow: hidden;
}

.gradient-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.3;
    animation: float 20s ease-in-out infinite;
}

.orb-1 {
    width: 600px;
    height: 600px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    top: -200px;
    left: -200px;
    animation-delay: 0s;
}

.orb-2 {
    width: 500px;
    height: 500px;
    background: linear-gradient(135deg, #f093fb, #f5576c);
    bottom: -150px;
    right: -150px;
    animation-delay: 5s;
}

.orb-3 {
    width: 400px;
    height: 400px;
    background: linear-gradient(135deg, #4facfe, #00f2fe);
    top: 50%;
    right: 10%;
    animation-delay: 10s;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(30px, -30px) scale(1.1); }
    66% { transform: translate(-20px, 20px) scale(0.9); }
}

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

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

.hero-content-wrapper {
    max-width: 700px;
}

.badge-promo {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--accent-gradient);
    color: var(--white);
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.875rem;
    margin-bottom: 2rem;
    box-shadow: var(--shadow-md);
    animation: bounce 2s ease-in-out infinite;
}

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

.badge-icon {
    font-size: 1.25rem;
}

.hero-headline {
    margin-bottom: 1.5rem;
}

.headline-main {
    display: block;
    font-family: 'Playfair Display', serif;
    font-size: clamp(2.5rem, 8vw, 5rem);
    font-weight: 900;
    line-height: 1.1;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
    letter-spacing: -0.03em;
}

.headline-sub {
    display: block;
    font-size: clamp(1.25rem, 4vw, 2rem);
    font-weight: 600;
    color: var(--text-secondary);
    margin-top: 0.5rem;
}

.hero-description {
    font-size: 1.125rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 2.5rem;
    max-width: 600px;
}

.hero-cta {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.btn-hero {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    background: var(--primary-gradient);
    color: var(--white);
    padding: 1.25rem 2.5rem;
    border-radius: 16px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.125rem;
    box-shadow: var(--shadow-lg);
    transition: all 0.3s ease;
    max-width: 400px;
}

.btn-hero:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
}

.btn-price {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.price-old {
    text-decoration: line-through;
    opacity: 0.6;
    font-size: 0.9em;
}

.price-new {
    font-size: 1.2em;
}

.trust-indicators {
    display: flex;
    gap: 1.5rem;
    font-size: 0.875rem;
    color: var(--text-light);
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.product-showcase {
    position: relative;
    max-width: 500px;
}

.product-main-image {
    width: 100%;
    height: auto;
    border-radius: 24px;
    box-shadow: var(--shadow-xl);
    transform: rotate(-2deg);
    transition: transform 0.3s ease;
}

.product-showcase:hover .product-main-image {
    transform: rotate(0deg) scale(1.02);
}

.floating-badge {
    position: absolute;
    background: var(--white);
    padding: 0.75rem 1.25rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.875rem;
    box-shadow: var(--shadow-md);
    animation: float-badge 3s ease-in-out infinite;
}

.badge-1 {
    top: 10%;
    left: -10%;
    background: var(--secondary-gradient);
    color: var(--white);
    animation-delay: 0s;
}

.badge-2 {
    bottom: 15%;
    right: -10%;
    background: var(--accent-gradient);
    color: var(--white);
    animation-delay: 1.5s;
}

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

/* Capabilities Section */
.capabilities-section {
    padding: 8rem 0;
    background: linear-gradient(to bottom, #f8f9ff, #ffffff);
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 5rem;
}

.section-title-modern {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 900;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.section-intro {
    font-size: 1.25rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

.capabilities-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.capability-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 24px;
    box-shadow: var(--shadow-sm);
    transition: all 0.4s ease;
    border: 2px solid transparent;
}

.capability-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(102, 126, 234, 0.2);
}

.card-icon-wrapper {
    position: relative;
    width: 64px;
    height: 64px;
    margin-bottom: 1.5rem;
}

.icon-circle {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 16px;
    opacity: 0.2;
}

.icon-1 { background: var(--primary-gradient); }
.icon-2 { background: var(--secondary-gradient); }
.icon-3 { background: var(--accent-gradient); }
.icon-4 { background: linear-gradient(135deg, #667eea, #764ba2); }

.icon-svg {
    position: relative;
    width: 32px;
    height: 32px;
    color: #667eea;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.capability-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.capability-description {
    color: var(--text-secondary);
    line-height: 1.8;
    font-size: 1rem;
}

.capability-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    grid-column: 1;
}

.capability-image {
    width: 100%;
    max-width: 400px;
    height: auto;
    border-radius: 24px;
    box-shadow: var(--shadow-lg);
    transform: rotate(2deg);
    transition: transform 0.3s ease;
}

.capability-visual:hover .capability-image {
    transform: rotate(0deg) scale(1.05);
}

/* Use Cases Section */
.usecases-section {
    padding: 8rem 0;
    background: var(--dark-bg);
    color: var(--white);
}

.usecases-header {
    text-align: center;
    margin-bottom: 4rem;
}

.usecases-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 900;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #ffffff, #f093fb);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.usecases-subtitle {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.7);
}

.usecases-mosaic {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

.usecase-tile {
    background: var(--dark-surface);
    padding: 2.5rem;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.usecase-tile::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--primary-gradient);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.usecase-tile:hover::before {
    transform: scaleX(1);
}

.usecase-tile:hover {
    transform: translateY(-6px);
    border-color: rgba(102, 126, 234, 0.3);
    box-shadow: 0 12px 32px rgba(102, 126, 234, 0.2);
}

.tile-icon-modern {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: inline-block;
    animation: icon-float 3s ease-in-out infinite;
}

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

.tile-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--white);
}

.tile-text {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.8;
}

/* Advantages Section */
.advantages-section {
    padding: 8rem 0;
    background: linear-gradient(to bottom, #ffffff, #f8f9ff);
}

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

.advantages-visual {
    display: flex;
    justify-content: center;
}

.visual-frame {
    position: relative;
    max-width: 450px;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.advantages-image {
    width: 100%;
    height: auto;
    display: block;
}

.visual-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1), rgba(118, 75, 162, 0.1));
    pointer-events: none;
}

.advantages-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.advantage-entry {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
    padding: 1.5rem;
    background: var(--white);
    border-radius: 20px;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
}

.advantage-entry:hover {
    transform: translateX(8px);
    box-shadow: var(--shadow-md);
}

.advantage-marker {
    width: 48px;
    height: 48px;
    background: var(--primary-gradient);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--white);
}

.advantage-marker svg {
    width: 24px;
    height: 24px;
}

.advantage-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.advantage-text {
    color: var(--text-secondary);
    line-height: 1.8;
}

/* Order Section */
.order-section {
    padding: 8rem 0;
    background: var(--dark-bg);
    position: relative;
    overflow: hidden;
}

.order-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 50%, rgba(102, 126, 234, 0.1), transparent 50%);
    pointer-events: none;
}

.order-wrapper {
    max-width: 600px;
    margin: 0 auto;
    background: var(--dark-surface);
    padding: 3rem;
    border-radius: 32px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: var(--shadow-xl);
    position: relative;
    z-index: 1;
}

.order-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.order-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 900;
    color: var(--white);
    margin-bottom: 0.75rem;
    background: linear-gradient(135deg, #ffffff, #f093fb);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.order-subtitle {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.125rem;
}

.order-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-field {
    position: relative;
}

.form-input-modern {
    width: 100%;
    padding: 1.25rem 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    color: var(--white);
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.3s ease;
}

.form-input-modern::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.form-input-modern:focus {
    outline: none;
    border-color: #667eea;
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 0 4px rgba(102, 126, 234, 0.1);
}

.btn-submit-modern {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    background: var(--primary-gradient);
    color: var(--white);
    padding: 1.25rem 2rem;
    border: none;
    border-radius: 16px;
    font-weight: 700;
    font-size: 1.125rem;
    font-family: inherit;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-md);
}

.btn-submit-modern:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-submit-modern svg {
    width: 20px;
    height: 20px;
}

/* Footer */
.footer-modern {
    background: var(--dark-bg);
    color: var(--white);
    padding: 4rem 0 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-disclaimer {
    max-width: 900px;
    margin: 0 auto 3rem;
    text-align: center;
}

.disclaimer-text {
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.8;
    font-size: 0.875rem;
}

.footer-content-modern {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-contact {
    text-align: center;
}

.contact-info {
    color: rgba(255, 255, 255, 0.8);
    line-height: 2;
    font-size: 0.95rem;
}

.contact-link {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-link:hover {
    color: #f093fb;
}

.copyright {
    display: block;
    margin-top: 1rem;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.875rem;
}

.footer-legal {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    align-items: center;
}

.legal-link {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.3s ease;
    position: relative;
}

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

.legal-link:hover {
    color: var(--white);
}

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

/* Responsive Design */
@media (min-width: 768px) {
    .hero-layout {
        grid-template-columns: 1.2fr 1fr;
    }

    .capabilities-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .capability-visual {
        grid-column: span 2;
    }

    .usecases-mosaic {
        grid-template-columns: repeat(2, 1fr);
    }

    .tile-large {
        grid-column: span 2;
    }

    .advantages-layout {
        grid-template-columns: 1fr 1.2fr;
    }

    .footer-content-modern {
        grid-template-columns: 1fr 1fr;
    }

    .footer-contact {
        text-align: left;
    }

    .footer-legal {
        align-items: flex-end;
        flex-direction: row;
        justify-content: flex-end;
    }
}

@media (min-width: 1024px) {
    .capabilities-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .capability-visual {
        grid-column: 2;
        grid-row: 1 / 3;
    }

    .usecases-mosaic {
        grid-template-columns: repeat(4, 1fr);
    }

    .tile-large {
        grid-column: span 1;
    }
}

@media (max-width: 767px) {
    .container {
        padding: 0 1.5rem;
    }

    .nav-container {
        padding: 1rem 1.5rem;
    }

    .hero-section {
        padding: 6rem 0 3rem;
    }

    .capabilities-section,
    .usecases-section,
    .advantages-section,
    .order-section {
        padding: 4rem 0;
    }

    .order-wrapper {
        padding: 2rem 1.5rem;
    }
}
