/* 
   OrkSoftware Modern Theme - Fresh Start 
   Palette: Gray, Light Blue, Light Orange 
*/

:root {
    /* Color Palette */
    --primary-blue: #0ea5e9;
    /* Sky 500 - Light Blue */
    --primary-hover: #0284c7;
    /* Sky 600 */

    --secondary-orange: #f97316;
    /* Orange 500 - Light Orange */
    --secondary-hover: #ea580c;
    /* Orange 600 */

    --bg-main: #f9fafb;
    /* Gray 50 - Very Light Gray Background */
    --bg-secondary: #f3f4f6;
    /* Gray 100 - Section Background */
    --bg-card: #ffffff;
    /* White - Card Background */

    --text-main: #1f2937;
    /* Gray 900 - Dark Gray Text */
    --text-muted: #6b7280;
    /* Gray 500 - Muted Text */

    --border-color: #e5e7eb;
    /* Gray 200 */

    /* Spacing & Layout */
    --container-width: 1200px;
    --header-height: 80px;
    --radius-md: 12px;
    --radius-lg: 24px;
    --shadow-soft: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    --shadow-hover: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

/* Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    background-color: var(--bg-main);
    color: var(--text-main);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.2s ease;
}

ul {
    list-style: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    line-height: 1.2;
    color: var(--text-main);
    font-weight: 700;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
}

/* Navbar - White Clean Look */
.navbar {
    height: var(--header-height);
    background-color: rgba(255, 255, 255, 0.98);
    /* White Background */
    border-bottom: 1px solid var(--border-color);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    display: flex;
    align-items: center;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--primary-blue);
    /* Ork -> Light Blue */
    letter-spacing: -0.5px;
}

.logo span {
    color: var(--secondary-orange);
    /* Software -> Orange */
    text-shadow: none;
}

.nav-links {
    display: flex;
    gap: 32px;
    align-items: center;
}

.nav-links a {
    font-weight: 600;
    color: var(--text-main);
    /* Dark Text */
    font-size: 1rem;
}

.nav-links a:hover {
    color: var(--primary-blue);
    opacity: 1;
    transform: translateY(-1px);
}

/* Contact Button in Nav */
.nav-links .btn-primary {
    background-color: var(--primary-blue);
    /* Blue Button */
    color: white;
    /* White Text */
    padding: 10px 24px;
    box-shadow: 0 4px 10px rgba(14, 165, 233, 0.3);
}

.nav-links .btn-primary:hover {
    background-color: var(--secondary-orange);
    /* Hover -> Orange */
    color: white;
    box-shadow: 0 6px 15px rgba(249, 115, 22, 0.4);
    transform: translateY(-2px);
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--text-main);
    /* Dark Icon */
    cursor: pointer;
}

/* Hero Section */
.hero {
    margin-top: var(--header-height);
    padding: 100px 0;
    text-align: center;
    background: linear-gradient(180deg, var(--bg-main) 0%, #e0f2fe 100%);
    /* Light Blue Fade */
    position: relative;
    overflow: hidden;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 24px;
    letter-spacing: -0.02em;
}

.hero h1 span {
    color: var(--primary-blue);
}

.hero p {
    font-size: 1.25rem;
    color: var(--text-muted);
    max-width: 700px;
    margin: 0 auto 40px;
}

/* Buttons */
.btn-primary {
    display: inline-block;
    background-color: var(--primary-blue);
    color: white;
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 6px rgba(14, 165, 233, 0.3);
}

.btn-primary:hover {
    background-color: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(14, 165, 233, 0.4);
}

.btn-secondary {
    display: inline-block;
    background-color: white;
    color: var(--text-main);
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 600;
    border: 1px solid var(--border-color);
    cursor: pointer;
    margin-left: 16px;
}

.btn-secondary:hover {
    border-color: var(--secondary-orange);
    color: var(--secondary-orange);
    background-color: #fff7ed;
    /* Very Light Orange tint */
}

/* Sections */
.section {
    padding: 80px 0;
}

.section-title {
    font-size: 2.25rem;
    text-align: center;
    margin-bottom: 16px;
    color: var(--text-main);
}

.section-subtitle {
    text-align: center;
    color: var(--text-muted);
    margin-bottom: 64px;
    font-size: 1.1rem;
}

/* Cards (Services, features, stats) */
.about-grid,
.portfolio-grid,
.services-grid,
.app-features-list,
.process-grid {
    display: grid;
    gap: 32px;
}

.about-grid {
    grid-template-columns: 1fr 1fr;
    align-items: center;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.portfolio-grid,
.services-grid,
.app-features-list {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.card-base,
.stat-item,
.portfolio-card,
.service-item,
.feature-box {
    background: var(--bg-card);
    padding: 32px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
    box-shadow: var(--shadow-soft);
}

.stat-item:hover,
.portfolio-card:hover,
.service-item:hover,
.feature-box:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
    border-color: var(--primary-blue);
}

/* Card Icons & Colors */
.stat-item i,
.card-icon i,
.service-item i,
.feature-box i {
    font-size: 2rem;
    color: var(--secondary-orange);
    /* Use Orange for icons */
    margin-bottom: 20px;
    display: inline-block;
}

.card-icon,
.service-item i {
    width: 64px;
    height: 64px;
    background-color: #fff7ed;
    /* Light Orange bg */
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin-bottom: 24px;
}

.stat-item h3 {
    font-size: 1.5rem;
    color: var(--primary-blue);
    margin: 8px 0;
}

.portfolio-card h3,
.service-item h3,
.feature-box h3 {
    font-size: 1.25rem;
    margin-bottom: 12px;
}

.portfolio-card p,
.service-item p,
.feature-box p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 24px;
}

.btn-text {
    color: var(--primary-blue);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-text:hover {
    gap: 12px;
}

/* Contact Section - Orange Accent */
.contact-container {
    background: linear-gradient(135deg, var(--secondary-orange) 0%, #fb923c 100%);
    border-radius: var(--radius-lg);
    padding: 64px;
    text-align: center;
    color: white;
}

.contact-info .section-title {
    color: white;
}

.contact-info p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 32px;
}

.contact-link {
    display: inline-block;
    background: white;
    color: var(--secondary-orange);
    padding: 16px 40px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.1rem;
}

.contact-link:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

/* Footer */
.footer {
    background-color: white;
    padding: 60px 0 30px;
    border-top: 1px solid var(--border-color);
    text-align: center;
}

.footer-logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-main);
    margin-bottom: 24px;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 32px;
    margin-bottom: 32px;
}

.copyright {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Sub-page Specifics */
.app-detail-hero {
    background-color: #f0f9ff;
    /* Very very light blue */
    padding: 120px 0 60px;
    text-align: center;
}

.app-icon-large {
    font-size: 4rem;
    color: var(--secondary-orange);
    margin-bottom: 24px;
}

.process-grid {
    grid-template-columns: repeat(4, 1fr);
    margin-top: 40px;
}

.process-step {
    width: 40px;
    height: 40px;
    background-color: var(--primary-blue);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    margin: 0 auto 16px;
}

.process-item h4 {
    text-align: center;
    margin-bottom: 8px;
}

.process-item p {
    text-align: center;
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Privacy Page */
.privacy-content {
    padding: 120px 0 60px;
    max-width: 800px;
    margin: 0 auto;
}

.privacy-content h1 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.privacy-content p {
    color: var(--text-muted);
    margin-bottom: 15px;
}

/* Responsive */
@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: white;
        flex-direction: column;
        padding: 24px;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
        border-bottom: 1px solid var(--border-color);
    }

    .nav-links.active {
        display: flex;
    }

    .mobile-menu-btn {
        display: block;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .about-grid,
    .process-grid {
        grid-template-columns: 1fr;
    }

    .contact-container {
        padding: 32px 16px;
    }
}