:root {
    --primary: #0d6efd;
    --primary-dark: #0a58ca;
    --secondary: #6c757d;
    --success: #198754;
    --danger: #dc3545;
    --warning: #ffc107;
    --light: #f8f9fa;
    --dark: #212529;
}

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

body {
    font-family: 'Inter', sans-serif;
    color: #212529;
    line-height: 1.6;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
}

/* Navbar */
.navbar {
    background: #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.navbar-brand {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--dark) !important;
}

.navbar-brand strong {
    color: var(--primary);
}

.navbar-nav .nav-link {
    font-weight: 500;
    color: #6c757d !important;
    transition: color 0.3s ease;
    margin-left: 0.5rem;
    margin-right: 0.5rem;
}

.navbar-nav .nav-link:hover {
    color: var(--primary) !important;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 100px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    animation: float 6s ease-in-out infinite;
}

.hero-section::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -5%;
    width: 300px;
    height: 300px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    animation: float 8s ease-in-out infinite reverse;
}

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

.hero-content {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-section h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.hero-section p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

.hero-image {
    width: 100%;
    max-width: 900px;
    height: auto;
    margin: 2rem auto;
    border-radius: 12px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
    display: block;
}

.cta-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    margin-top: 2rem;
}

.btn-hero {
    padding: 12px 28px;
    font-weight: 600;
    border-radius: 8px;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-hero-primary {
    background: white;
    color: #667eea;
    border: 2px solid white;
}

.btn-hero-primary:hover {
    background: transparent;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.btn-hero-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn-hero-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

/* Feature Intro Section */
.feature-intro {
    padding: 60px 0;
    background: #f8f9fa;
}

.feature-intro-card {
    padding: 2rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
}

.feature-intro-card:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    transform: translateY(-4px);
}

.feature-intro-card h3 {
    color: var(--dark);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.feature-intro-card p {
    color: #6c757d;
    margin: 0;
}

/* Features Section */
.features-section {
    padding: 80px 0;
    background: white;
}

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

.section-header h2 {
    font-size: 2.5rem;
    color: var(--dark);
    margin-bottom: 1rem;
}

.section-header .divider {
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, #667eea, #764ba2);
    margin: 1rem auto;
    border-radius: 2px;
}

.feature-card {
    text-align: center;
    padding: 2rem;
    border-radius: 12px;
    transition: all 0.3s ease;
    background: #f8f9fa;
    margin-bottom: 2rem;
}

.feature-card:hover {
    background: white;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1);
    transform: translateY(-8px);
}

.feature-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.feature-card h3 {
    color: var(--dark);
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.feature-card p {
    color: #6c757d;
    font-size: 0.95rem;
    margin: 0;
}

.feature-card ul {
    text-align: left;
    list-style: none;
    color: #6c757d;
    font-size: 0.95rem;
}

.feature-card ul li {
    margin-bottom: 0.5rem;
    padding-left: 1.5rem;
    position: relative;
}

.feature-card ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #667eea;
    font-weight: 700;
}

/* Media Section */
.media-section {
    padding: 80px 0;
    background: white;
}

.media-section iframe {
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

/* CTA Button */
.cta-button {
    display: inline-block;
    padding: 14px 32px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    margin-top: 2rem;
    text-align: center;
}

.cta-button:hover {
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(102, 126, 234, 0.3);
    text-decoration: none;
}

/* Screenshot Gallery */
.gallery-section {
    padding: 80px 0;
    background: #f8f9fa;
}

.gallery-groups {
    margin-top: 2.5rem;
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

.gallery-group {
    background: transparent;
}

.gallery-group-header h3 {
    margin: 0 0 1rem 0;
    font-size: 1.35rem;
    color: var(--dark);
    text-transform: none;
    letter-spacing: 0;
}

.group-links {
    margin-top: 0.5rem;
    display: flex;
    gap: 0.75rem;
    align-items: center;
    justify-content: flex-start;
}

.group-link {
    font-size: 0.95rem;
    color: var(--primary);
    text-decoration: none;
    background: transparent;
    padding: 6px 10px;
    border-radius: 6px;
    border: 1px solid rgba(102,126,234,0.08);
}

.group-link:hover {
    background: rgba(102,126,234,0.06);
    text-decoration: none;
}

.group-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(480px, 1fr));
    gap: 1.5rem;
    align-items: start;
}

.gallery-item {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    background: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.gallery-item:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 50px rgba(102, 126, 234, 0.12);
}

.gallery-item img {
    width: 100%;
    height: auto;
    max-height: 560px;
    object-fit: contain;
    display: block;
}

.gallery-caption {
    padding: 1rem 1.25rem 1.5rem 1.25rem;
}

.gallery-caption h4 {
    color: var(--dark);
    margin-bottom: 0.5rem;
    font-size: 1.05rem;
}

.gallery-caption p {
    color: #6c757d;
    font-size: 0.95rem;
    margin: 0;
}

/* Small demo CTA inside gallery captions */
.cta-demo {
    display: inline-block;
    padding: 6px 12px;
    font-size: 0.9rem;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    border-radius: 6px;
    text-decoration: none;
    margin-left: 0.5rem;
}

.cta-demo:hover {
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(102,126,234,0.2);
    text-decoration: none;
}

/* Footer */
footer {
    background: #212529;
    color: white;
    padding: 40px 0;
    text-align: center;
}

footer a {
    color: #667eea;
    text-decoration: none;
    transition: color 0.3s ease;
}

footer a:hover {
    color: #764ba2;
}

.footer-links {
    margin-bottom: 1rem;
}

.footer-links a {
    margin: 0 0.75rem;
    display: inline-block;
}

.footer-credit {
    font-size: 0.9rem;
    color: #adb5bd;
    margin-top: 1.5rem;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-section h1 {
        font-size: 2.5rem;
    }

    .hero-section p {
        font-size: 1rem;
    }

    .cta-buttons {
        flex-direction: column;
    }

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

    .section-header h2 {
        font-size: 1.75rem;
    }

    .hero-section::before,
    .hero-section::after {
        display: none;
    }
}

/* Scroll Behavior */
html {
    scroll-behavior: smooth;
}

/* Loading Animation */
.fade-in {
    animation: fadeIn 0.6s ease-in;
}

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