/* Landing Page Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.landing-body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    overflow-x: hidden;
    min-height: 100vh;
    position: relative;
    background: var(--gradient-bg);
}

/* Constellation Background */
.constellation-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

.constellation {
    position: absolute;
    width: 200px;
    height: 200px;
    opacity: 0.6;
    animation: constellationFloat 30s ease-in-out infinite;
}

.constellation-zeus {
    top: 10%;
    left: 10%;
    background: radial-gradient(circle, rgba(255, 215, 0, 0.8) 0%, rgba(255, 165, 0, 0.4) 30%, transparent 70%);
    border-radius: 50%;
    animation-delay: 0s;
}

.constellation-athena {
    top: 20%;
    right: 15%;
    background: radial-gradient(circle, rgba(138, 43, 226, 0.8) 0%, rgba(75, 0, 130, 0.4) 30%, transparent 70%);
    border-radius: 50%;
    animation-delay: 6s;
}

.constellation-apollo {
    top: 60%;
    left: 5%;
    background: radial-gradient(circle, rgba(255, 215, 0, 0.8) 0%, rgba(255, 140, 0, 0.4) 30%, transparent 70%);
    border-radius: 50%;
    animation-delay: 12s;
}

.constellation-hermes {
    bottom: 20%;
    right: 10%;
    background: radial-gradient(circle, rgba(0, 191, 255, 0.8) 0%, rgba(30, 144, 255, 0.4) 30%, transparent 70%);
    border-radius: 50%;
    animation-delay: 18s;
}

.constellation-ares {
    top: 40%;
    left: 50%;
    background: radial-gradient(circle, rgba(220, 20, 60, 0.8) 0%, rgba(178, 34, 34, 0.4) 30%, transparent 70%);
    border-radius: 50%;
    animation-delay: 24s;
}

@keyframes constellationFloat {
    0%, 100% {
        transform: translate(0, 0) scale(1) rotate(0deg);
        opacity: 0.6;
    }
    25% {
        transform: translate(30px, -20px) scale(1.1) rotate(90deg);
        opacity: 0.8;
    }
    50% {
        transform: translate(-20px, 30px) scale(0.9) rotate(180deg);
        opacity: 0.7;
    }
    75% {
        transform: translate(40px, 10px) scale(1.05) rotate(270deg);
        opacity: 0.9;
    }
}

/* Disable background/ornamental animations on mobile/tablet */
@media (max-width: 1024px), (pointer: coarse) {
    .constellation-bg {
        display: none;
    }

    .constellation {
        animation: none;
    }

    .divine-circle,
    .orbit {
        animation: none;
    }
}

/* Navigation */
.landing-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(124, 58, 237, 0.25);
    padding: 1rem 0;
    box-shadow: 0 12px 30px rgba(12, 8, 32, 0.45);
}

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

.nav-logo h2 {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 1.5rem;
    font-weight: 700;
}

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

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

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

.nav-btn {
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.nav-btn-outline {
    color: var(--primary-color);
    border-color: var(--primary-color);
    background: rgba(107, 70, 193, 0.1);
}

.nav-btn-outline:hover {
    background: rgba(107, 70, 193, 0.2);
    color: #ffffff;
}

.nav-btn-primary {
    background: linear-gradient(135deg, #7c3aed, #5b21b6);
    color: #ffffff;
    box-shadow: 0 12px 24px rgba(91, 33, 182, 0.35);
}

.nav-btn-primary:hover {
    background: linear-gradient(135deg, #9d4edd, #6d28d9);
    transform: translateY(-2px);
    box-shadow: 0 16px 30px rgba(91, 33, 182, 0.45);
}

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

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

.hero-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.hero-services-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
    max-width: 100%;
    justify-content: center;
}

.hero-service-card {
    background: linear-gradient(155deg, rgba(255, 255, 255, 0.08), rgba(91, 33, 182, 0.18));
    backdrop-filter: blur(22px);
    border: 1px solid rgba(124, 58, 237, 0.25);
    border-radius: 20px;
    padding: 2.75rem;
    text-align: center;
    transition: all 0.35s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 20px 45px rgba(21, 16, 41, 0.55);
}

.hero-service-card::before {
    content: '';
    position: absolute;
    top: -40%;
    left: -30%;
    width: 70%;
    height: 70%;
    background: radial-gradient(circle, rgba(124, 58, 237, 0.55), transparent 70%);
    opacity: 0;
    transition: opacity 0.35s ease, transform 0.35s ease;
    z-index: -1;
}

.hero-service-card::after {
    content: '';
    position: absolute;
    bottom: -45%;
    right: -30%;
    width: 65%;
    height: 65%;
    background: radial-gradient(circle, rgba(0, 191, 255, 0.45), transparent 70%);
    opacity: 0;
    transition: opacity 0.35s ease, transform 0.35s ease;
    z-index: -1;
}

.hero-service-card:hover {
    transform: translateY(-14px) scale(1.02);
    border-color: rgba(124, 58, 237, 0.55);
    box-shadow: 0 32px 55px rgba(21, 16, 41, 0.6);
}

.hero-service-card:hover::before,
.hero-service-card:hover::after {
    opacity: 1;
    transform: scale(1.05);
}

.hero-service-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, #9d4edd, #5b21b6);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
    box-shadow: 0 15px 30px rgba(91, 33, 182, 0.45);
}

.hero-service-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.hero-service-card p {
    color: var(--text-tertiary);
    margin-bottom: 2rem;
    line-height: 1.6;
    font-size: 1rem;
}

.hero-service-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.hero-service-link:hover {
    color: var(--primary-light);
    transform: translateX(5px);
}

.hero-title {
    margin-bottom: 2rem;
}

.hero-title-main {
    display: block;
    font-size: 4rem;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
    text-shadow: 0 0 30px var(--shadow-primary);
}

.hero-title-sub {
    display: block;
    font-size: 1.5rem;
    font-weight: 300;
    color: var(--text-secondary);
    font-style: normal;
}

.hero-description {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 3rem;
    line-height: 1.8;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-actions {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    margin-bottom: 4rem;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    min-width: 180px;
    justify-content: center;
}

.btn-primary {
    background: var(--gradient-secondary);
    color: var(--text-primary);
    box-shadow: 0 6px 20px var(--shadow-primary);
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--primary-light), var(--primary-color));
    transform: translateY(-3px);
    box-shadow: 0 10px 30px var(--shadow-primary);
}

.btn-outline {
    background: transparent;
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-outline:hover {
    background: var(--surface-primary);
    border-color: var(--primary-light);
    color: var(--primary-light);
    transform: translateY(-3px);
}

.btn-large {
    padding: 1.25rem 2.5rem;
    font-size: 1.2rem;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    background: var(--gradient-secondary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    display: block;
    font-size: 0.9rem;
    color: var(--text-quaternary);
    margin-top: 0.5rem;
}

/* Services Section */
.services {
    padding: 6rem 0;
    background: rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(10px);
}

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

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

.section-title {
    font-size: 3rem;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--text-tertiary);
    font-style: normal;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(350px, 1fr));
    gap: 2rem;
}

.service-card {
    background: var(--surface-secondary);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border-secondary);
    border-radius: 16px;
    padding: 2.5rem;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(138, 43, 226, 0.1), rgba(148, 0, 211, 0.05));
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: rgba(138, 43, 226, 0.3);
    box-shadow: 0 20px 40px rgba(138, 43, 226, 0.2);
}

.service-card:hover::before {
    opacity: 1;
}

.service-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, #8a2be2, #9400d3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
}

.service-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.service-card p {
    color: var(--text-tertiary);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.service-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.service-link:hover {
    color: var(--primary-light);
    transform: translateX(5px);
}

/* Features Section */
.features {
    padding: 6rem 0;
}

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

.features-text h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 2rem;
    background: var(--gradient-secondary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.feature-item i {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-top: 0.25rem;
    flex-shrink: 0;
}

.feature-item h4 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.feature-item p {
    color: var(--text-tertiary);
    line-height: 1.6;
}

.features-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.divine-circle {
    position: relative;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(138, 43, 226, 0.1), transparent);
    display: flex;
    align-items: center;
    justify-content: center;
    animation: divineRotate 20s linear infinite;
}

.circle-center {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #8a2be2, #9400d3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
    z-index: 2;
}

.orbit {
    position: absolute;
    border: 2px solid rgba(138, 43, 226, 0.3);
    border-radius: 50%;
    animation: orbitRotate 15s linear infinite;
}

.orbit-1 {
    width: 200px;
    height: 200px;
    animation-duration: 10s;
}

.orbit-2 {
    width: 250px;
    height: 250px;
    animation-duration: 15s;
    animation-direction: reverse;
}

.orbit-3 {
    width: 300px;
    height: 300px;
    animation-duration: 20s;
}

@keyframes divineRotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes orbitRotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* CTA Section */
.cta {
    padding: 6rem 0;
    background: linear-gradient(135deg, rgba(138, 43, 226, 0.1), rgba(148, 0, 211, 0.05));
    backdrop-filter: blur(10px);
}

.cta-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.cta-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    background: var(--gradient-secondary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.cta-content p {
    font-size: 1.2rem;
    color: var(--text-tertiary);
    margin-bottom: 2.5rem;
    line-height: 1.6;
}

.cta-actions {
    display: flex;
    justify-content: center;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-container {
        padding: 0 1rem;
    }
    
    .nav-links {
        gap: 1rem;
    }

    .nav-logo h2 {
        font-size: 1.2rem;
    }

    .nav-btn {
        font-size: 0.8rem;
        padding: 0.5rem 1rem;
    }
    
    .nav-link {
        display: none;
    }
    
    .hero-title-main {
        font-size: 2.5rem;
    }
    
    .hero-title-sub {
        font-size: 1.2rem;
    }
    
    .hero-description {
        font-size: 1rem;
    }
    
    .hero-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: 100%;
        max-width: 300px;
    }

    .features {
        padding: 4rem 0;
    }

    /* Extra breathing room for features section on phones */
    .hero-stats {
        padding-left: 0.5rem;
        padding-right: 0.5rem;
    }

    .stat-number {
        font-size: 1.8rem;
    }

    /* Center most sections on mobile (keep features left-aligned) */
    .hero-content,
    .services,
    .video-tutorials,
    .cta,
    .stats {
        text-align: center;
    }
    
    .hero-stats {
        gap: 2rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }

    .hero-services-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .hero-service-card {
        padding: 2rem;
    }
    
    .hero-service-icon {
        width: 70px;
        height: 70px;
        font-size: 1.75rem;
    }
    
    .hero-service-card h3 {
        font-size: 1.3rem;
    }
    
    .features-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .divine-circle {
        width: 250px;
        height: 250px;
    }
    
    .orbit-1 {
        width: 150px;
        height: 150px;
    }
    
    .orbit-2 {
        width: 200px;
        height: 200px;
    }
    
    .orbit-3 {
        width: 250px;
        height: 250px;
    }
}

@media (max-width: 480px) {
    .nav-logo h2 {
        font-size: 1.2rem;
    }

    .nav-btn {
        font-size: 0.9rem;
        padding: 0.4rem 0.8rem;
    }

    .hero-title-main {
        font-size: 2rem;
    }

    .features-text h2 {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .cta-content h2 {
        font-size: 2rem;
    }
    
    .service-card {
        padding: 2rem;
    }
}

/* Video Tutorials Section */
.video-tutorials {
    padding: 6rem 0;
    background: var(--surface-secondary);
    backdrop-filter: blur(10px);
    border-top: 1px solid var(--border-secondary);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.video-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.video-card {
    background: var(--surface-secondary);
    border: 1px solid var(--border-secondary);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.video-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    border-color: rgba(122, 92, 245, 0.3);
}

.video-container {
    position: relative;
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.video-container iframe {
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 0;
}

.video-content {
    padding: 1.5rem;
}

.video-content h3 {
    color: var(--text-primary);
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.video-content h3::before {
    content: '\f04b';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    color: #7a5cf5;
    font-size: 1rem;
}

.video-content p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Responsive Design for Videos */
@media (max-width: 1024px) {
    .video-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    .video-tutorials {
        padding: 4rem 0;
    }
    
    .video-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        margin-top: 2rem;
    }
    
    .video-container {
        height: 180px;
    }
    
    .video-content {
        padding: 1.25rem;
    }
    
    .video-content h3 {
        font-size: 1.1rem;
    }
}
