/* CSS Custom Properties (Variables) */
:root {
    --bg-primary: #16213e;
    --bg-secondary: #1e2a4a;
    --accent-teal: #4fd1c7;
    --accent-lavender: #c084fc;
    --accent-burgundy: #8b1538;
    --text-primary: #e2e8f0;
    --text-secondary: #cbd5e1;
    --text-muted: #94a3b8;
    --border-color: #334155;
    --shadow-color: rgba(0, 0, 0, 0.3);
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(22, 33, 62, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 1rem 0;
    transition: all 0.3s ease;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.nav-logo .logo-img {
    height: 35px;
    width: auto;
    margin-bottom: 2px;
}

.division-text {
    font-size: 0.7rem;
    color: var(--text-muted);
    font-style: italic;
    margin-left: 2px;
}

.nav-menu {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-link {
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: var(--accent-teal);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-teal);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.nav-link.active {
    color: var(--accent-teal);
}

.cta-button {
    background: #0f766e;
    padding: 0.5rem 1.5rem;
    border-radius: 25px;
    color: white !important;
    font-weight: 600;
}

.cta-button::after {
    display: none;
}

.cta-button:hover {
    background: #0d5d56;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(15, 118, 110, 0.3);
}

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background: var(--text-primary);
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 80px;
    background: linear-gradient(135deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 80%, rgba(79, 209, 199, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 80% 20%, rgba(192, 132, 252, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-content {
    animation: fadeInUp 1s ease-out;
}

.hero-logo-img {
    height: 220px;
    width: auto;
    margin-bottom: 2rem;
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.3));
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--accent-teal), var(--accent-lavender));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    max-width: 500px;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 3rem;
}

.btn {
    padding: 1rem 2rem;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary {
    background: #0f766e;
    color: white;
    box-shadow: 0 5px 15px rgba(15, 118, 110, 0.3);
}

.btn-primary:hover {
    background: #0d5d56;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(15, 118, 110, 0.4);
}

.btn-secondary {
    background: transparent;
    color: var(--accent-teal);
    border: 2px solid var(--accent-teal);
}

.btn-secondary:hover {
    background: var(--accent-teal);
    color: white;
    transform: translateY(-3px);
}

/* Hero Visual - Floating Cards */
.hero-visual {
    position: relative;
    height: 600px;
    animation: fadeInRight 1s ease-out 0.3s both;
}

.floating-cards {
    position: relative;
    width: 100%;
    max-width: 600px;
    margin-left: auto;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Section banners */
.section-banner {
    text-align: center;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 10;
}

.section-banner h3 {
    font-size: 1.5rem;
    color: var(--accent-teal);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    margin: 0;
}

.available-banner {
    transform: translateX(-100px);
    margin-bottom: 1.5rem;
}

.coming-soon-banner {
    transform: translateX(100px);
    margin-top: 3rem;
    margin-bottom: 1.5rem;
}

/* Apps Grid Layout for Hero Section */
.floating-cards .apps-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 1rem;
    width: 320px;
    height: 220px;
    margin: 0 auto;
}

.available-grid {
    transform: translateX(-100px);
    margin-bottom: 2rem;
}

.coming-soon-grid {
    transform: translateX(100px);
}

.floating-cards .app-card {
    width: 150px;
    height: 100px;
    border-radius: 15px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(15px);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    animation: float 6s ease-in-out infinite;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.floating-cards .app-card img {
    width: 135px;
    height: 85px;
    object-fit: contain;
    border-radius: 8px;
}

.floating-cards .app-card:hover {
    transform: scale(1.05);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.4);
}

/* Available vs Coming Soon styling */
.app-card.available {
    border-color: rgba(79, 209, 199, 0.5);
}

.app-card.available:hover {
    border-color: var(--accent-teal);
    box-shadow: 0 12px 30px rgba(79, 209, 199, 0.5);
}

.app-card.coming-soon {
    opacity: 0.8;
    border-color: rgba(192, 132, 252, 0.5);
}

.app-card.coming-soon:hover {
    border-color: var(--accent-lavender);
    box-shadow: 0 12px 30px rgba(192, 132, 252, 0.5);
}

/* Animation delays for floating cards */
.daily-tools { animation-delay: 0s; }
.as-needed-tools { animation-delay: 1.5s; }
.weekly-tools { animation-delay: 3s; }
.full-suite { animation-delay: 4.5s; }
.session-planner { animation-delay: 6s; }
.craving-crusher { animation-delay: 7.5s; }
.supervisor-compass { animation-delay: 9s; }
.supervisee-companion { animation-delay: 10.5s; }

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-5px); }
}

/* Simple Header for Other Pages */
.simple-header {
    background: linear-gradient(135deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
    text-align: center;
    padding: 100px 0 40px;
    position: relative;
}

.simple-header h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--accent-teal), var(--accent-lavender));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.simple-header p {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 1rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Apps Section */
.apps-section {
    padding: 3rem 0;
    background: var(--bg-secondary);
}

.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--text-primary);
}

/* Apps Grid for Main Content Pages */
.apps-section .apps-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-top: 2rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.app-item {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 1.5rem;
    text-align: center;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.app-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(79, 209, 199, 0.1), rgba(192, 132, 252, 0.1));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.app-item:hover::before {
    opacity: 1;
}

.app-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    border-color: var(--accent-teal);
}

.app-item.featured {
    border: 2px solid var(--accent-lavender);
    background: rgba(192, 132, 252, 0.1);
}

.app-icon {
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 280px;
    width: 100%;
}

.app-icon img {
    width: 250px;
    height: 250px;
    border-radius: 15px;
    object-fit: contain;
}

.app-item h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
    position: relative;
    z-index: 1;
}

.app-item p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.6;
    position: relative;
    z-index: 1;
}

.app-link {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background: linear-gradient(135deg, var(--accent-teal), var(--accent-lavender));
    color: white;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
}

.app-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(79, 209, 199, 0.4);
}

/* About Section */
.about-section {
    padding: 3rem 0;
    background: var(--bg-primary);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: var(--text-primary);
}

.about-text h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: var(--accent-teal);
}

.about-text p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.about-visual {
    text-align: center;
}

.about-logo {
    max-width: 300px;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

/* Pricing Section */
.pricing-section {
    background: var(--bg-primary);
    padding: 4rem 0;
}

.pricing-grid-simple {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    max-width: 800px;
    margin: 0 auto;
    padding: 1rem 0;
}

.pricing-card-gradient {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 1.5rem;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
}

.pricing-card-gradient:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.pricing-card-gradient.featured {
    border: 2px solid var(--accent-teal);
    box-shadow: 0 10px 30px rgba(78, 205, 196, 0.2);
}

.pricing-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent-teal);
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
}

.pricing-logo {
    width: 100%;
    max-width: 300px;
    height: auto;
    margin-bottom: 1.5rem;
    border-radius: 15px;
}

.pricing-features-simple {
    margin: 1.5rem 0;
}

.pricing-features-simple ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.pricing-features-simple li {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 0.75rem;
    font-size: 0.95rem;
    position: relative;
    padding-left: 1.5rem;
}

.pricing-features-simple li:before {
    content: "✓";
    color: var(--accent-teal);
    font-weight: bold;
    position: absolute;
    left: 0;
}

.pricing-action {
    margin-top: 2rem;
}

.pricing-action .btn {
    width: 100%;
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 10px;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
}

/* Footer */
.footer {
    background: var(--bg-primary);
    padding: 0.5rem 0;
    border-top: 1px solid var(--border-color);
}

.footer-content-compact {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 1rem;
    align-items: start;
    padding: 1rem 0 0.5rem;
}

.footer-brand-compact {
    max-width: 300px;
}

.footer-brand-compact .footer-logo-small {
    height: 60px;
    width: auto;
    margin-bottom: 0.5rem;
}

.footer-brand-compact p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.4;
    margin: 0;
}

.footer-links-compact {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.footer-column h4 {
    color: var(--accent-teal);
    margin-bottom: 0.75rem;
    font-size: 1rem;
    font-weight: 600;
}

.footer-column a {
    display: block;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    transition: color 0.3s ease;
}

.footer-column a:hover {
    color: var(--accent-teal);
}

.footer-2col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.footer-2col div {
    display: flex;
    flex-direction: column;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 0.5rem 0;
    text-align: center;
}

.footer-bottom p {
    margin: 0;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.6);
}

/* Center Apps heading over its columns */
.apps-column h4 {
    text-align: center;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Support Page Icon Styling */
.support-icon {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, var(--accent-teal), var(--accent-lavender));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2.5rem;
    box-shadow: 0 10px 25px rgba(79, 209, 199, 0.3);
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: var(--bg-primary);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 2rem 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .hamburger {
        display: flex;
    }

    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-visual {
        height: auto;
        min-height: 600px;
        overflow: visible;
    }

    .floating-cards {
        height: auto;
        max-width: 100%;
        padding: 1rem;
    }

    .section-banner h3 {
        font-size: 1.3rem;
        margin-bottom: 1rem;
    }

    .floating-cards .apps-grid {
        width: 100%;
        max-width: 320px;
        height: auto;
        margin: 0 auto 2rem;
        gap: 0.75rem;
    }

    .floating-cards .app-card {
        width: 100%;
        height: 80px;
        min-width: 140px;
    }

    .floating-cards .app-card img {
        width: 90px;
        height: 60px;
    }

    .available-banner,
    .coming-soon-banner {
        transform: translateX(0);
        margin: 1rem 0;
    }

    .available-grid,
    .coming-soon-grid {
        transform: translateX(0);
        margin-bottom: 1.5rem;
    }

    .coming-soon-grid {
        margin-bottom: 0;
    }

    .about-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-content-compact {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 1.5rem 0 1rem;
    }
    
    .footer-links-compact {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .footer-2col {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }
    
    .footer-brand-compact {
        max-width: 100%;
        text-align: center;
    }

    .pricing-grid-simple {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 1rem;
    }
    
    .pricing-card-gradient {
        padding: 1.5rem;
    }
    
    .pricing-logo {
        max-width: 250px;
    }

    .apps-section .apps-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .btn {
        padding: 0.75rem 1.5rem;
        font-size: 0.9rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .apps-section .apps-grid {
        grid-template-columns: 1fr;
    }

    .simple-header h1 {
        font-size: 2.2rem;
    }

    .floating-cards .apps-grid {
        max-width: 280px;
    }

    .floating-cards .app-card {
        height: 70px;
    }

    .floating-cards .app-card img {
        width: 80px;
        height: 50px;
    }
}