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

:root {
    /* Linear-inspired colors - Light Mode */
    --primary-color: #5E6AD2;
    --primary-hover: #4B57C1;
    --text-primary: #222326;
    --text-secondary: #6B6F76;
    --text-tertiary: #95989F;
    --background: #FFFFFF;
    --background-secondary: #F7F8F8;
    --background-tertiary: #F2F3F3;
    --border-color: #E1E4E8;
    --border-light: #F0F2F4;
    
    /* Glass morphism effects */
    --glass-bg: rgba(255, 255, 255, 0.7);
    --glass-border: rgba(255, 255, 255, 0.18);
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.04);
    --shadow-md: 0 4px 8px -2px rgba(0, 0, 0, 0.05), 0 2px 4px -2px rgba(0, 0, 0, 0.04);
    --shadow-lg: 0 12px 24px -4px rgba(0, 0, 0, 0.08), 0 8px 16px -4px rgba(0, 0, 0, 0.06);
    --shadow-xl: 0 24px 48px -8px rgba(0, 0, 0, 0.10), 0 16px 32px -8px rgba(0, 0, 0, 0.08);
    
    /* Layout */
    --max-width: 1200px;
    --nav-height: 64px;
    
    /* Transitions */
    --transition-fast: all 0.15s cubic-bezier(0.4, 0, 0.2, 1);
    --transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Dark Mode */
[data-theme="dark"] {
    --primary-color: #6B77E5;
    --primary-hover: #7B86EC;
    --text-primary: #E8E9EA;
    --text-secondary: #B3B6BA;
    --text-tertiary: #8B8E93;
    --background: #0A0A0B;
    --background-secondary: #141416;
    --background-tertiary: #1E1E21;
    --border-color: #2A2A2E;
    --border-light: #242428;
    --glass-bg: rgba(20, 20, 22, 0.8);
    --glass-border: rgba(255, 255, 255, 0.08);
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 8px -2px rgba(0, 0, 0, 0.25), 0 2px 4px -2px rgba(0, 0, 0, 0.15);
    --shadow-lg: 0 12px 24px -4px rgba(0, 0, 0, 0.4), 0 8px 16px -4px rgba(0, 0, 0, 0.25);
    --shadow-xl: 0 24px 48px -8px rgba(0, 0, 0, 0.5), 0 16px 32px -8px rgba(0, 0, 0, 0.35);
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
    height: 100%;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.5;
    color: var(--text-primary);
    background-color: var(--background);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-feature-settings: 'liga' 1, 'calt' 1;
    min-height: 100%;
    transition: background-color var(--transition), color var(--transition);
}

/* Homepage specific body styling */
body.homepage {
    height: 100%;
    overflow: hidden;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: -0.02em;
    color: var(--text-primary);
}

h1 {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 700;
    letter-spacing: -0.03em;
}

h2 {
    font-size: clamp(1.75rem, 4vw, 2.25rem);
    margin-bottom: 1.5rem;
    font-weight: 600;
}

h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

p {
    margin-bottom: 1.25rem;
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.6;
}

/* Minimal Navigation for Landing Page */
.navigation-minimal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 2rem;
}

.nav-minimal-container {
    max-width: var(--max-width);
    margin: 0 auto;
    text-align: right;
}

.privacy-link {
    color: var(--text-tertiary);
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
    transition: var(--transition-fast);
    padding: 0.5rem 1rem;
    border-radius: 6px;
}

.privacy-link:hover {
    color: var(--text-secondary);
    background-color: rgba(0, 0, 0, 0.04);
}

/* Dark Mode Toggle */
.theme-toggle {
    position: fixed;
    top: 2rem;
    left: 2rem;
    z-index: 1001;
    background: var(--glass-bg);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid var(--border-light);
    border-radius: 12px;
    padding: 0.5rem;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

.theme-toggle:hover {
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.theme-toggle-inner {
    position: relative;
    width: 44px;
    height: 24px;
    background: var(--background-secondary);
    border-radius: 12px;
    transition: var(--transition);
}

.theme-toggle-thumb {
    position: absolute;
    top: 2px;
    left: 2px;
    width: 20px;
    height: 20px;
    background: var(--primary-color);
    border-radius: 50%;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
}

[data-theme="dark"] .theme-toggle-thumb {
    transform: translateX(20px);
    background: var(--primary-color);
}

.theme-icon {
    opacity: 0.8;
    transition: var(--transition);
}

[data-theme="dark"] .theme-icon-sun {
    opacity: 0;
}

[data-theme="light"] .theme-icon-moon {
    opacity: 0;
}

.theme-icon-sun,
.theme-icon-moon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

/* Minimal Hero Section */
.hero-minimal {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.hero-minimal-content {
    text-align: center;
    z-index: 2;
    max-width: 800px;
    padding: 3rem 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 70vh;
}

.logo-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 0 auto 3rem;
}

.simple-prefix {
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--text-tertiary);
    letter-spacing: 0.15em;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
    opacity: 0.8;
    animation: fadeInGlow 2s ease-in-out 1s forwards;
}

.logo-mark {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.1rem;
    height: 120px;
}

.logo-stud {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: -0.03em;
}

.logo-dot-container {
    position: relative;
    width: 16px;
    height: 16px;
    margin-top: -0.5rem;
}

.logo-dot {
    position: absolute;
    width: 16px;
    height: 16px;
    background: var(--primary-color);
    border-radius: 50%;
    box-shadow: 0 0 24px rgba(94, 106, 210, 0.5);
    animation: dotBounce 3s ease-in-out infinite;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.logo-i {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--primary-color);
    letter-spacing: -0.03em;
    animation: letterGlow 4s ease-in-out infinite;
    text-shadow: 0 0 24px rgba(94, 106, 210, 0.4);
    transition: all 0.3s ease;
}

.logo-o {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: -0.03em;
}

.hero-tagline {
    font-size: 1.5rem;
    color: var(--text-secondary);
    font-weight: 400;
    line-height: 1.6;
    max-width: 500px;
    margin: 0 auto;
    letter-spacing: -0.01em;
}

.background-gradient {
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(circle at 20% 30%, rgba(94, 106, 210, 0.04) 0%, transparent 40%),
        radial-gradient(circle at 80% 70%, rgba(94, 106, 210, 0.03) 0%, transparent 40%),
        radial-gradient(circle at 50% 50%, rgba(94, 106, 210, 0.02) 0%, transparent 60%);
    z-index: 1;
    pointer-events: none;
}

/* Original Navigation (for privacy page) */
.navigation {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: var(--glass-bg);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--border-light);
    z-index: 1000;
    transition: var(--transition);
}

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

.logo {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-primary);
    text-decoration: none;
    letter-spacing: -0.02em;
    transition: var(--transition-fast);
}

.logo:hover {
    opacity: 0.8;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 0.5rem;
}

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.875rem;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    transition: var(--transition-fast);
    position: relative;
}

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

.nav-link.active {
    color: var(--primary-color);
    background-color: rgba(94, 106, 210, 0.1);
}

/* Privacy Page Styles */
.privacy-content {
    padding: calc(var(--nav-height) + 3rem) 2rem 4rem;
    min-height: 100vh;
    background: linear-gradient(180deg, var(--background) 0%, var(--background-secondary) 100%);
    overflow-y: auto;
}

.privacy-title {
    text-align: center;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
}

.privacy-update {
    text-align: center;
    color: var(--text-tertiary);
    margin-bottom: 3rem;
    font-size: 0.875rem;
}

.privacy-section {
    margin-bottom: 2.5rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    padding: 2rem;
    background: var(--background);
    border-radius: 12px;
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow-sm);
}

.privacy-section h2 {
    color: var(--text-primary);
    margin-bottom: 1.25rem;
    font-size: 1.5rem;
    font-weight: 600;
}

.privacy-section h3 {
    color: var(--text-primary);
    margin-top: 1.25rem;
    margin-bottom: 0.75rem;
    font-size: 1.125rem;
    font-weight: 600;
}

.privacy-section p {
    color: var(--text-secondary);
    font-size: 0.9375rem;
}

.privacy-section ul {
    margin-left: 1.5rem;
    margin-bottom: 1.25rem;
}

.privacy-section li {
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
    line-height: 1.6;
    font-size: 0.9375rem;
}

.contact-info {
    background-color: var(--background-secondary);
    padding: 1.5rem;
    border-radius: 8px;
    margin-top: 1rem;
    border: 1px solid var(--border-light);
}

.contact-info p {
    margin-bottom: 0.5rem;
    font-size: 0.875rem;
}

/* Footer */
.footer {
    background-color: var(--background);
    padding: 2.5rem 2rem;
    border-top: 1px solid var(--border-light);
}

.footer-container {
    max-width: var(--max-width);
    margin: 0 auto;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
}

.footer-copyright {
    color: var(--text-tertiary);
    font-size: 0.8125rem;
    margin: 0;
}

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

.footer-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.8125rem;
    font-weight: 500;
    transition: var(--transition-fast);
}

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

/* Animations */
@keyframes dotBounce {
    0%, 15% {
        transform: translateX(0) translateY(0) scale(1);
        opacity: 1;
    }
    25% {
        transform: translateX(-25px) translateY(-12px) scale(0.9);
        opacity: 0.8;
    }
    40%, 60% {
        transform: translateX(-50px) translateY(0) scale(1);
        opacity: 1;
    }
    75% {
        transform: translateX(-25px) translateY(-12px) scale(0.9);
        opacity: 0.8;
    }
    85%, 100% {
        transform: translateX(0) translateY(0) scale(1);
        opacity: 1;
    }
}

@keyframes letterGlow {
    0%, 35%, 85%, 100% {
        color: var(--primary-color);
        text-shadow: 0 0 24px rgba(94, 106, 210, 0.4);
    }
    50%, 70% {
        color: var(--text-primary);
        text-shadow: 0 0 12px rgba(94, 106, 210, 0.2);
    }
}

@keyframes fadeInGlow {
    0% {
        opacity: 0;
        transform: translateY(10px);
    }
    100% {
        opacity: 0.8;
        transform: translateY(0);
    }
}

.fade-in {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeIn 1s cubic-bezier(0.16, 1, 0.3, 1) 0.2s forwards;
}

.fade-in-delay {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeIn 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.6s forwards;
}

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

/* Responsive Design */
@media (max-width: 768px) {
    :root {
        --nav-height: 56px;
    }

    .navigation-minimal {
        padding: 1.5rem;
    }

    .hero-minimal-content {
        padding: 2rem 1.5rem;
        min-height: 60vh;
    }

    .simple-prefix {
        font-size: 1.4rem;
        margin-bottom: 0.4rem;
    }

    .logo-mark {
        height: 90px;
        gap: 0.08rem;
    }

    .logo-stud, .logo-i, .logo-o {
        font-size: 2.5rem;
    }

    .logo-dot-container {
        width: 12px;
        height: 12px;
    }

    .logo-dot {
        width: 12px;
        height: 12px;
    }
    
    @keyframes dotBounce {
        0%, 15% {
            transform: translateX(0) translateY(0) scale(1);
            opacity: 1;
        }
        25% {
            transform: translateX(-18px) translateY(-8px) scale(0.9);
            opacity: 0.8;
        }
        40%, 60% {
            transform: translateX(-36px) translateY(0) scale(1);
            opacity: 1;
        }
        75% {
            transform: translateX(-18px) translateY(-8px) scale(0.9);
            opacity: 0.8;
        }
        85%, 100% {
            transform: translateX(0) translateY(0) scale(1);
            opacity: 1;
        }
    }

    .hero-tagline {
        font-size: 1.25rem;
    }

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

    .nav-links {
        gap: 0.25rem;
    }

    .nav-link {
        padding: 0.5rem 0.75rem;
        font-size: 0.8125rem;
    }

    .privacy-content {
        padding: calc(var(--nav-height) + 2rem) 1rem 3rem;
    }

    .privacy-section {
        padding: 1.5rem;
        margin-bottom: 1.5rem;
    }

    .privacy-section h2 {
        font-size: 1.25rem;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .simple-prefix {
        font-size: 1.3rem;
        margin-bottom: 0.3rem;
    }

    .logo-mark {
        height: 80px;
        gap: 0.06rem;
    }

    .logo-stud, .logo-i, .logo-o {
        font-size: 2rem;
    }

    .logo-dot-container {
        width: 10px;
        height: 10px;
    }

    .logo-dot {
        width: 10px;
        height: 10px;
    }
    
    @keyframes dotBounce {
        0%, 15% {
            transform: translateX(0) translateY(0) scale(1);
            opacity: 1;
        }
        25% {
            transform: translateX(-12px) translateY(-6px) scale(0.9);
            opacity: 0.8;
        }
        40%, 60% {
            transform: translateX(-24px) translateY(0) scale(1);
            opacity: 1;
        }
        75% {
            transform: translateX(-12px) translateY(-6px) scale(0.9);
            opacity: 0.8;
        }
        85%, 100% {
            transform: translateX(0) translateY(0) scale(1);
            opacity: 1;
        }
    }

    .hero-tagline {
        font-size: 1.125rem;
    }

    .privacy-section ul {
        margin-left: 1.25rem;
    }
}

/* Accessibility */
:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

:focus:not(:focus-visible) {
    outline: none;
}

:focus-visible {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Print Styles */
@media print {
    .navigation,
    .navigation-minimal,
    .footer,
    .background-gradient,
    .logo-mark {
        display: none;
    }

    body {
        font-size: 12pt;
        line-height: 1.5;
        overflow: visible;
    }

    .hero-minimal,
    .privacy-content {
        padding: 0;
        height: auto;
    }
}

/* Business Info Section */
.business-info {
    padding: 5rem 2rem;
    background: var(--background-secondary);
    min-height: auto;
}

.business-info h2 {
    color: var(--text-primary);
    text-align: center;
    margin-bottom: 2rem;
}

.business-info p {
    max-width: 800px;
    margin: 0 auto 1.5rem;
    text-align: center;
    color: var(--text-secondary);
    line-height: 1.7;
}

.services {
    margin-top: 3rem;
    text-align: center;
}

.services h3 {
    color: var(--text-primary);
    margin-bottom: 1.5rem;
}

.services ul {
    list-style: none;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    max-width: 600px;
    margin: 0 auto;
}

.services li {
    background: var(--background);
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
}

/* Portfolio Section */
.portfolio {
    padding: 5rem 2rem;
    background: var(--background);
}

.portfolio h2 {
    text-align: center;
    margin-bottom: 2rem;
}

.portfolio > p {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 3rem;
}

.app-categories {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 900px;
    margin: 0 auto;
}

.category {
    background: var(--background-secondary);
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    text-align: center;
}

.category h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

/* Contact Section */
.contact-section {
    padding: 5rem 2rem;
    background: var(--background-secondary);
}

.contact-section h2 {
    text-align: center;
    margin-bottom: 2rem;
}

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

.contact-details p {
    margin-bottom: 0.75rem;
}

.contact-details a {
    color: var(--primary-color);
    text-decoration: none;
}

.contact-details a:hover {
    text-decoration: underline;
}

/* Footer */
.site-footer {
    background: var(--background-tertiary);
    padding: 3rem 2rem;
    border-top: 1px solid var(--border-color);
}

.footer-container {
    max-width: var(--max-width);
    margin: 0 auto;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
}

.company-info {
    flex: 1;
}

.footer-copyright {
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.footer-dba {
    font-size: 0.875rem;
    color: var(--text-tertiary);
    margin: 0;
}

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

.footer-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.875rem;
    transition: var(--transition-fast);
}

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

/* Container utility */
.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 2rem;
}

/* Apps Pages Styles */
.apps-hero {
    padding: calc(var(--nav-height) + 2rem) 2rem 2rem;
    background: linear-gradient(135deg, var(--background) 0%, var(--background-secondary) 100%);
    text-align: center;
}

.apps-hero-content h1 {
    color: var(--text-primary);
    margin-bottom: 0.75rem;
    font-size: 2rem;
}

.apps-hero-tagline {
    font-size: 1rem;
    color: var(--text-secondary);
    max-width: 500px;
    margin: 0 auto;
}

.apps-grid {
    padding: 2rem 2rem 3rem;
    background: var(--background);
}

.apps-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 1.5rem;
    max-width: 900px;
    margin: 0 auto;
}

.app-card {
    background: var(--background);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    position: relative;
}

.app-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.placeholder-card {
    opacity: 0.7;
    border-style: dashed;
}

.placeholder-card:hover {
    transform: none;
    box-shadow: var(--shadow-sm);
}

.app-icon {
    display: flex;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.app-icon-placeholder {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-hover));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-md);
}

.app-icon-text {
    color: white;
    font-size: 1.25rem;
    font-weight: 700;
}

.app-content {
    flex: 1;
    text-align: center;
    margin-bottom: 1rem;
}

.app-title {
    color: var(--text-primary);
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.app-subtitle {
    color: var(--primary-color);
    font-size: 1rem;
    font-weight: 500;
    margin-bottom: 1rem;
}

.app-description {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.app-features {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
    margin-bottom: 1rem;
}

.feature-tag {
    background: var(--background-secondary);
    color: var(--text-secondary);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8125rem;
    font-weight: 500;
    border: 1px solid var(--border-color);
}

.app-status {
    margin-bottom: 1rem;
}

.status-badge {
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.8125rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.025em;
}

.coming-soon {
    background: linear-gradient(135deg, #FFB800, #FF8C00);
    color: white;
}

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

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9375rem;
    transition: var(--transition);
    border: none;
    cursor: pointer;
}

.btn-primary {
    background: var(--primary-color);
    color: white;
}

.btn-primary:hover {
    background: var(--primary-hover);
    transform: translateY(-1px);
}

.philosophy-section {
    padding: 2.5rem 2rem;
    background: var(--background-secondary);
}

.philosophy-section h2 {
    text-align: center;
    margin-bottom: 2rem;
    color: var(--text-primary);
    font-size: 1.75rem;
}

.philosophy-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 900px;
    margin: 0 auto;
}

.philosophy-item {
    text-align: center;
    padding: 1.5rem;
}

.philosophy-item h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.125rem;
}

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

/* Individual App Page Styles */
.app-header {
    padding: calc(var(--nav-height) + 3rem) 2rem 3rem;
    background: linear-gradient(135deg, var(--background) 0%, var(--background-secondary) 100%);
}

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

.app-header-icon {
    width: 120px;
    height: 120px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-hover));
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-lg);
}

.app-header-icon .app-icon-text {
    font-size: 2.5rem;
    color: white;
}

.app-header h1 {
    margin-bottom: 0.5rem;
}

.app-header-subtitle {
    font-size: 1.25rem;
    color: var(--primary-color);
    font-weight: 500;
    margin-bottom: 1rem;
}

.app-header-description {
    font-size: 1.125rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 2rem;
}

.app-download-section {
    margin-top: 2rem;
}

.download-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.download-btn {
    background: var(--background);
    color: var(--text-primary);
    border: 2px solid var(--border-color);
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    opacity: 0.6;
    cursor: not-allowed;
}

.download-btn.available {
    opacity: 1;
    cursor: pointer;
    border-color: var(--primary-color);
}

.download-btn.available:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-1px);
}

.app-content-section {
    padding: 4rem 2rem;
}

.app-features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.feature-card {
    background: var(--background);
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    text-align: center;
}

.feature-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

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

.app-links {
    background: var(--background-secondary);
    padding: 3rem 2rem;
    text-align: center;
}

.app-links h2 {
    margin-bottom: 2rem;
}

.app-link-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.app-link-btn {
    background: var(--background);
    color: var(--text-primary);
    border: 1px solid var(--border-color);
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
}

.app-link-btn:hover {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
    transform: translateY(-1px);
}

/* Support Page Styles */
.support-content {
    padding: calc(var(--nav-height) + 3rem) 2rem 4rem;
    min-height: 100vh;
    background: linear-gradient(180deg, var(--background) 0%, var(--background-secondary) 100%);
}

.support-header {
    text-align: center;
    margin-bottom: 3rem;
}

.support-header h1 {
    margin-bottom: 1rem;
}

.support-header p {
    font-size: 1.125rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

.support-sections {
    max-width: 800px;
    margin: 0 auto;
}

.support-section {
    background: var(--background);
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    margin-bottom: 2rem;
    box-shadow: var(--shadow-sm);
}

.support-section h2 {
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

.support-section h3 {
    color: var(--primary-color);
    margin-top: 1.5rem;
    margin-bottom: 1rem;
    font-size: 1.125rem;
}

.support-section p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.support-section ul {
    color: var(--text-secondary);
    margin-left: 1.5rem;
    margin-bottom: 1rem;
}

.support-section li {
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

.contact-highlight {
    background: var(--background-secondary);
    padding: 1.5rem;
    border-radius: 8px;
    text-align: center;
    margin: 2rem 0;
    border: 1px solid var(--border-light);
}

.contact-highlight p {
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.contact-highlight a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
}

.contact-highlight a:hover {
    text-decoration: underline;
}

/* Featured App on Homepage */
.featured-app-content .btn:hover {
    background: var(--primary-hover) !important;
    transform: translateY(-1px);
}

.featured-app-content .btn:hover:not(.btn-primary) {
    background: var(--primary-color) !important;
    color: white !important;
    border-color: var(--primary-color) !important;
}

/* Responsive adjustments for apps */
@media (max-width: 768px) {
    .featured-app-content {
        flex-direction: column !important;
        text-align: center !important;
        gap: 1.5rem !important;
    }
    
    .featured-app-info {
        text-align: center !important;
    }
    
    .apps-container {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .app-card {
        padding: 1.5rem;
    }
    
    .philosophy-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .app-features-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .download-buttons,
    .app-link-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .app-header-icon {
        width: 100px;
        height: 100px;
    }
    
    .app-header-icon .app-icon-text {
        font-size: 2rem;
    }
    
    .support-section {
        padding: 1.5rem;
    }
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .footer-content {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-nav {
        justify-content: center;
    }
}