/* PrinterShare Website - Main Stylesheet */

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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
    line-height: 1.6;
    color: #222;
    background: linear-gradient(to bottom, #f8fcfa 0%, #ffffff 300px, #f8faf9 100%);
    min-height: 100vh;
}

/* Header Styles */
header {
    background: linear-gradient(to bottom, #ffffff 0%, #f8fcfb 50%, #f3f9f7 100%);
    padding: 2rem 2rem 1.5rem 2rem;
    box-shadow: 0 3px 12px rgba(30, 130, 158, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 3px solid #1e829e;
    position: relative;
    overflow: hidden;
}

/* Abstract Background Pattern */
header::before {
    content: '';
    position: absolute;
    top: -20%;
    left: -10%;
    right: -10%;
    bottom: -20%;
    background-image:
        radial-gradient(circle at 20% 30%, rgba(30, 130, 158, 0.12) 0%, transparent 15%),
        radial-gradient(circle at 80% 60%, rgba(161, 189, 143, 0.10) 0%, transparent 18%),
        radial-gradient(circle at 50% 80%, rgba(30, 130, 158, 0.08) 0%, transparent 12%),
        radial-gradient(circle at 15% 70%, rgba(100, 180, 200, 0.09) 0%, transparent 14%);
    pointer-events: none;
}

/* Removed header::after to eliminate black circle artifact */

.header-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
}

.logo-section {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo {
    width: 56px;
    height: 56px;
    border-radius: 8px;
    background: #fafbfa;
    padding: 4px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.15);
}

.brand-name {
    font-size: 1.875rem;
    font-weight: 700;
    color: #1e829e;
    text-shadow: 1px 1px 2px rgba(30, 130, 158, 0.1);
}

/* Navigation */
nav {
    display: flex;
    gap: 2.5rem;
    align-items: center;
}

nav a {
    color: #ff7f00;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.05rem;
    transition: all 0.3s;
    padding: 0.5rem 0;
    border-bottom: 2px solid transparent;
}

nav a:hover {
    opacity: 0.8;
    border-bottom-color: #ff7f00;
}

nav a.active {
    border-bottom-color: #ff7f00;
}

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 101;
    position: relative;
}

.hamburger:focus {
    outline: none;
}

.hamburger span {
    display: block;
    width: 28px;
    height: 3px;
    background-color: #ff7f00;
    transition: all 0.3s ease;
    border-radius: 2px;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(8px, -8px);
}

/* Menu Overlay */
.menu-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 99;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.menu-overlay.active {
    display: block;
    opacity: 1;
}

/* Hero Section */
.hero {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 2rem 1rem 2rem;
    text-align: center;
}

h1 {
    font-size: 3rem;
    color: #1e829e;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.tagline {
    font-size: 1.25rem;
    color: #555;
    margin-bottom: 3rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Download Buttons */
.download-section {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.25rem;
    max-width: 900px;
    margin: 1rem auto 2rem auto;
    padding: 0 2rem;
}

.download-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 1rem 1.5rem;
    background: #1e829e;
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
    box-shadow: 0 4px 12px rgba(30, 130, 158, 0.25);
    text-align: center;
    min-height: 60px;
}

.download-button:hover {
    background: #1a6f85;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(30, 130, 158, 0.35);
}

.download-button.desktop {
    background: #ff7f00;
}

.download-button.desktop:hover {
    background: #e67300;
}

.download-button svg {
    width: 28px;
    height: 28px;
    flex-shrink: 0;
}

/* Features Section */
.features {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 2rem 3rem 2rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
}

.feature {
    background: white;
    padding: 2.25rem;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    border-top: 4px solid #ff7f00;
}

.feature h2 {
    color: #1e829e;
    font-size: 1.5rem;
    margin-bottom: 1.25rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.feature-icon {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, #f7faf5 0%, #e8f4f6 100%);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 1.5rem;
}

.feature p {
    color: #444;
    line-height: 1.75;
    margin-bottom: 0.75rem;
}

.feature p:last-child {
    margin-bottom: 0;
}

/* Footer */
footer {
    background: #f8faf9;
    padding: 2rem;
    text-align: center;
    margin-top: 4rem;
    border-top: 1px solid #e0e0e0;
}

footer a {
    color: #ff7f00;
    text-decoration: none;
    margin: 0 1rem;
}

footer a:hover {
    text-decoration: underline;
}

.footer-links {
    margin-bottom: 1rem;
}

.copyright {
    color: #666;
    font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    h1 {
        font-size: 2rem;
    }

    .tagline {
        font-size: 1.1rem;
    }

    .header-content {
        flex-direction: row;
        justify-content: space-between;
    }

    .hamburger {
        display: flex;
    }

    nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: white;
        flex-direction: column;
        gap: 0;
        padding: 5rem 0 2rem 0;
        box-shadow: -4px 0 12px rgba(0,0,0,0.15);
        transition: right 0.3s ease;
        z-index: 100;
    }

    nav.active {
        right: 0;
    }

    nav a {
        padding: 1.25rem 2rem;
        border-bottom: 1px solid #f0f0f0;
        border-left: 3px solid transparent;
        text-align: left;
        font-size: 1.1rem;
    }

    nav a:hover,
    nav a.active {
        border-bottom: 1px solid #f0f0f0;
        border-left-color: #ff7f00;
        background: #f8faf9;
    }

    .download-section {
        grid-template-columns: 1fr;
        padding: 0 1rem;
    }

    .features {
        grid-template-columns: 1fr;
        padding: 1.5rem 1rem 2rem 1rem;
    }

    .feature {
        padding: 1.75rem;
    }
}

@media (max-width: 480px) {
    .brand-name {
        font-size: 1.5rem;
    }

    .logo {
        width: 48px;
        height: 48px;
    }

    h1 {
        font-size: 1.75rem;
    }

    .download-button {
        font-size: 0.95rem;
        padding: 0.875rem 1.25rem;
    }

    .download-button svg {
        width: 24px;
        height: 24px;
    }
}
