/* ===== RESET & BASE ===== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #10b981;
    --primary-dark: #059669;
    --secondary: #f59e0b;
    --accent: #8b5cf6;
    --dark: #0f1419;
    --darker: #080b0e;
    --light: #f8fafc;
    --gray: #94a3b8;
    --gray-dark: #475569;

    --gradient-1: linear-gradient(135deg, #10b981 0%, #06b6d4 100%);
    --gradient-2: linear-gradient(135deg, #f59e0b 0%, #ef4444 100%);
    --gradient-3: linear-gradient(180deg, #0f1419 0%, #1a2332 100%);

    --font-heading: 'Space Grotesk', sans-serif;
    --font-body: 'Inter', sans-serif;

    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 8px 30px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.5);
    --shadow-glow: 0 0 40px rgba(16, 185, 129, 0.3);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background: var(--gradient-3);
    color: var(--light);
    line-height: 1.6;
    min-height: 100vh;
}

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

/* ===== NAVBAR ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 20px 0;
    background: rgba(15, 20, 25, 0.8);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

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

.logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--light);
    text-decoration: none;
    letter-spacing: -0.02em;
}

.logo span {
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-links {
    display: flex;
    gap: 32px;
}

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

.nav-links a:hover {
    color: var(--light);
}

/* ===== HERO SECTION ===== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 120px 24px 80px;
    position: relative;
    overflow: hidden;
}

.hero-content {
    max-width: 800px;
    text-align: center;
    z-index: 1;
}

.hero-badge {
    display: inline-block;
    padding: 8px 20px;
    background: rgba(16, 185, 129, 0.15);
    border: 1px solid rgba(16, 185, 129, 0.3);
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--primary);
    margin-bottom: 24px;
}

.hero h1 {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 8vw, 5rem);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 24px;
    letter-spacing: -0.03em;
}

.gradient-text {
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--gray);
    max-width: 600px;
    margin: 0 auto 40px;
    line-height: 1.7;
}

.cta-button {
    display: inline-block;
    padding: 16px 40px;
    background: var(--gradient-1);
    color: white;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    border-radius: 50px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: var(--shadow-glow);
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 60px rgba(16, 185, 129, 0.5);
}

.cta-button.secondary {
    background: transparent;
    border: 2px solid var(--primary);
    box-shadow: none;
}

.cta-button.secondary:hover {
    background: var(--primary);
    box-shadow: var(--shadow-glow);
}

/* Floating Shapes */
.hero-visual {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
}

.floating-shapes {
    position: absolute;
    width: 100%;
    height: 100%;
}

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

.shape-1 {
    width: 400px;
    height: 400px;
    background: var(--primary);
    top: 10%;
    left: -10%;
    animation-delay: 0s;
}

.shape-2 {
    width: 300px;
    height: 300px;
    background: var(--secondary);
    top: 50%;
    right: -5%;
    animation-delay: -5s;
}

.shape-3 {
    width: 250px;
    height: 250px;
    background: var(--accent);
    bottom: 10%;
    left: 30%;
    animation-delay: -10s;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    25% { transform: translate(30px, -30px) rotate(5deg); }
    50% { transform: translate(-20px, 20px) rotate(-5deg); }
    75% { transform: translate(20px, 30px) rotate(3deg); }
}

/* ===== ABOUT SECTION ===== */
.about-section {
    padding: 120px 24px;
    background: var(--darker);
}

.about-section h2,
.apps-section h2,
.features-section h2,
.showcase-section h2,
.philosophy-section h2,
.cta-section h2 {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 5vw, 3rem);
    text-align: center;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}

.section-subtitle {
    text-align: center;
    color: var(--gray);
    font-size: 1.1rem;
    margin-bottom: 60px;
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
    margin-top: 60px;
}

.about-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 20px;
    padding: 40px 30px;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.about-card:hover {
    transform: translateY(-5px);
    border-color: rgba(16, 185, 129, 0.3);
}

.card-icon {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.about-card h3 {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    margin-bottom: 12px;
    letter-spacing: -0.01em;
}

.about-card p {
    color: var(--gray);
    font-size: 0.95rem;
    line-height: 1.7;
}

/* ===== APPS SECTION ===== */
.apps-section {
    padding: 120px 24px;
}

.apps-grid {
    display: grid;
    gap: 24px;
    margin-top: 60px;
}

.app-card {
    display: flex;
    align-items: center;
    gap: 30px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 24px;
    padding: 40px;
    text-decoration: none;
    color: inherit;
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.app-card:hover {
    transform: translateY(-5px);
    border-color: rgba(16, 185, 129, 0.4);
    box-shadow: var(--shadow-glow);
}

.app-card.coming-soon {
    opacity: 0.6;
    cursor: default;
}

.app-card.coming-soon:hover {
    transform: none;
    border-color: rgba(255, 255, 255, 0.06);
    box-shadow: none;
}

.app-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-1);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    flex-shrink: 0;
}

.app-icon.softai-icon {
    background: linear-gradient(135deg, #10b981 0%, #06b6d4 100%);
}

.app-icon.poopcheck-icon {
    background: linear-gradient(135deg, #f59e0b 0%, #a16207 100%);
}

.app-info {
    flex: 1;
}

.app-info h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    margin-bottom: 8px;
    letter-spacing: -0.01em;
}

.app-info p {
    color: var(--gray);
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 16px;
}

.app-tags {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.app-tags span {
    padding: 6px 14px;
    background: rgba(16, 185, 129, 0.15);
    border-radius: 50px;
    font-size: 0.8rem;
    color: var(--primary);
    font-weight: 500;
}

.app-arrow {
    font-size: 2rem;
    color: var(--primary);
    transition: transform 0.3s ease;
}

.app-card:hover .app-arrow {
    transform: translateX(10px);
}

/* ===== PHILOSOPHY SECTION ===== */
.philosophy-section {
    padding: 120px 24px;
    background: var(--darker);
}

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

.philosophy-section blockquote {
    font-family: var(--font-heading);
    font-size: clamp(1.3rem, 3vw, 1.8rem);
    font-style: italic;
    color: var(--light);
    line-height: 1.6;
    margin: 40px 0;
    padding: 40px;
    background: rgba(255, 255, 255, 0.03);
    border-left: 4px solid var(--primary);
    border-radius: 0 16px 16px 0;
}

.philosophy-content > p {
    color: var(--gray);
    font-size: 1.1rem;
    line-height: 1.8;
}

/* ===== FOOTER ===== */
.footer {
    padding: 60px 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

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

.footer .logo {
    display: inline-block;
    margin-bottom: 16px;
}

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

/* ===== PRODUCT PAGE STYLES ===== */
.softai-page {
    background: linear-gradient(180deg, #0a1410 0%, #0a1a20 50%, #0f1419 100%);
}

.poopcheck-page {
    background: linear-gradient(180deg, #14100a 0%, #1a150a 50%, #0f1419 100%);
}

.app-hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 120px 24px 80px;
    gap: 80px;
    flex-wrap: wrap;
}

.app-hero-content {
    text-align: center;
    max-width: 600px;
}

.app-hero-icon {
    font-size: 5rem;
    margin-bottom: 24px;
    display: inline-block;
    animation: pulse 3s ease-in-out infinite;
}

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

.app-hero h1 {
    font-family: var(--font-heading);
    font-size: clamp(3rem, 10vw, 5rem);
    font-weight: 700;
    margin-bottom: 16px;
}

.app-hero h1.softai-title {
    background: linear-gradient(135deg, #10b981 0%, #06b6d4 50%, #8b5cf6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.app-hero h1.poopcheck-title {
    background: linear-gradient(135deg, #f59e0b 0%, #ef4444 50%, #a16207 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.app-hero-tagline {
    font-size: 1.3rem;
    color: var(--gray);
    margin-bottom: 40px;
}

.app-hero-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.store-button {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 28px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 14px;
    text-decoration: none;
    color: var(--light);
    transition: background 0.3s ease, transform 0.3s ease;
}

.store-button:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-3px);
}

.store-icon {
    font-size: 1.8rem;
}

.store-text {
    text-align: left;
}

.store-label {
    display: block;
    font-size: 0.7rem;
    color: var(--gray);
}

.store-name {
    display: block;
    font-weight: 600;
    font-size: 1.1rem;
}

/* Phone Mockup */
.app-hero-visual {
    perspective: 1000px;
}

.phone-mockup {
    width: 280px;
    height: 560px;
    background: linear-gradient(145deg, #2a2a3a 0%, #1a1a2a 100%);
    border-radius: 40px;
    padding: 12px;
    box-shadow: var(--shadow-lg), 0 0 80px rgba(16, 185, 129, 0.2);
    transform: rotateY(-5deg) rotateX(5deg);
    animation: phoneFloat 6s ease-in-out infinite;
}

.phone-mockup.poopcheck-mockup {
    box-shadow: var(--shadow-lg), 0 0 80px rgba(245, 158, 11, 0.2);
}

@keyframes phoneFloat {
    0%, 100% { transform: rotateY(-5deg) rotateX(5deg) translateY(0); }
    50% { transform: rotateY(-5deg) rotateX(5deg) translateY(-15px); }
}

.phone-screen {
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, #0f1419 0%, #1a2332 100%);
    border-radius: 32px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.phone-screen.poopcheck-screen {
    background: linear-gradient(180deg, #14100a 0%, #1a150a 100%);
}

.mockup-content {
    text-align: center;
    padding: 20px;
}

.ai-circle {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: linear-gradient(135deg, #10b981 0%, #06b6d4 100%);
    margin: 0 auto 30px;
    animation: aiPulse 4s ease-in-out infinite;
    box-shadow: 0 0 60px rgba(16, 185, 129, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
}

@keyframes aiPulse {
    0%, 100% { transform: scale(1); box-shadow: 0 0 60px rgba(16, 185, 129, 0.5); }
    50% { transform: scale(1.1); box-shadow: 0 0 80px rgba(6, 182, 212, 0.6); }
}

.poop-circle {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: linear-gradient(135deg, #f59e0b 0%, #a16207 100%);
    margin: 0 auto 30px;
    animation: poopPulse 4s ease-in-out infinite;
    box-shadow: 0 0 60px rgba(245, 158, 11, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
}

@keyframes poopPulse {
    0%, 100% { transform: scale(1); box-shadow: 0 0 60px rgba(245, 158, 11, 0.5); }
    50% { transform: scale(1.1); box-shadow: 0 0 80px rgba(239, 68, 68, 0.6); }
}

.chat-bubbles {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.chat-bubble {
    padding: 10px 16px;
    border-radius: 16px;
    font-size: 0.75rem;
    max-width: 180px;
}

.chat-bubble.user {
    background: rgba(16, 185, 129, 0.2);
    align-self: flex-end;
    border-bottom-right-radius: 4px;
}

.chat-bubble.ai {
    background: rgba(255, 255, 255, 0.1);
    align-self: flex-start;
    border-bottom-left-radius: 4px;
}

.health-bars {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
}

.health-bar {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    height: 8px;
    overflow: hidden;
}

.health-bar-fill {
    height: 100%;
    border-radius: 8px;
    animation: barFill 2s ease-in-out infinite alternate;
}

.health-bar-fill.good {
    background: linear-gradient(90deg, #10b981 0%, #06b6d4 100%);
    width: 85%;
}

.health-bar-fill.medium {
    background: linear-gradient(90deg, #f59e0b 0%, #ef4444 100%);
    width: 60%;
}

@keyframes barFill {
    0% { opacity: 0.7; }
    100% { opacity: 1; }
}

/* Features Section */
.features-section {
    padding: 120px 24px;
    background: var(--darker);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.feature-card {
    padding: 40px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 24px;
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
}

.feature-number {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 700;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 20px;
}

.feature-number.poopcheck-number {
    background: var(--gradient-2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.feature-card h3 {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    margin-bottom: 12px;
}

.feature-card p {
    color: var(--gray);
    line-height: 1.7;
}

/* Showcase Section */
.showcase-section {
    padding: 120px 24px;
}

.showcase-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

@media (max-width: 900px) {
    .showcase-grid {
        grid-template-columns: 1fr;
        gap: 60px;
    }
}

.showcase-content h2 {
    text-align: left;
    margin-bottom: 24px;
}

.showcase-content > p {
    color: var(--gray);
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 32px;
}

.feature-list {
    list-style: none;
}

.feature-list li {
    padding: 12px 0;
    font-size: 1.05rem;
    display: flex;
    align-items: center;
    gap: 12px;
}

/* CTA Section */
.cta-section {
    padding: 120px 24px;
    text-align: center;
}

.cta-section p {
    color: var(--gray);
    font-size: 1.2rem;
    margin-bottom: 40px;
}

.cta-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .nav-links {
        gap: 20px;
    }

    .app-card {
        flex-direction: column;
        text-align: center;
    }

    .app-arrow {
        display: none;
    }

    .app-hero {
        flex-direction: column;
        text-align: center;
    }

    .phone-mockup {
        width: 240px;
        height: 480px;
    }
}

/* ===== LEGAL PAGES ===== */
.legal-page {
    background: var(--gradient-3);
}

.legal-content {
    padding: 140px 24px 80px;
    max-width: 800px;
    margin: 0 auto;
}

.legal-content h1 {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 5vw, 3rem);
    margin-bottom: 8px;
    letter-spacing: -0.02em;
}

.last-updated {
    color: var(--gray);
    font-size: 0.9rem;
    margin-bottom: 48px;
}

.legal-section {
    margin-bottom: 40px;
}

.legal-section h2 {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    margin-bottom: 16px;
    color: var(--light);
}

.legal-section h3 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    margin: 20px 0 12px;
    color: var(--light);
}

.legal-section p {
    color: var(--gray);
    line-height: 1.8;
    margin-bottom: 12px;
}

.legal-section ul {
    list-style: none;
    margin: 16px 0;
}

.legal-section ul li {
    color: var(--gray);
    padding: 8px 0 8px 24px;
    position: relative;
    line-height: 1.6;
}

.legal-section ul li::before {
    content: "";
    position: absolute;
    left: 0;
    color: var(--primary);
}

/* Legal Links in Footer */
.legal-links {
    margin-top: 20px;
    display: flex;
    justify-content: center;
    gap: 8px;
    align-items: center;
}

.legal-links a {
    color: var(--gray);
    text-decoration: none;
    font-size: 0.85rem;
    transition: color 0.3s ease;
}

.legal-links a:hover {
    color: var(--light);
}

.legal-links .divider {
    color: var(--gray-dark);
    font-size: 0.8rem;
}
