/* Eyes Website Stylesheet */

:root {
    --primary-color: #007AFF;
    --primary-dark: #0056b3;
    --secondary-color: #5856D6;
    --accent-color: #FF9500;
    --background-color: #f5f5f7;
    --surface-color: #ffffff;
    --text-color: #1d1d1f;
    --text-secondary: #6e6e73;
    --border-color: #d2d2d7;
    --shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    --shadow-hover: 0 8px 30px rgba(0, 0, 0, 0.12);
    --radius: 12px;
    --radius-lg: 20px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--background-color);
}

/* Header & Navigation */
header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
    z-index: 1000;
}

nav {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-color);
    text-decoration: none;
}

.logo-icon {
    width: 32px;
    height: 32px;
    border-radius: 6px;
}

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

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
}

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

/* Main Content */
main {
    padding-top: 80px;
}

section {
    padding: 4rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

h2 {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--text-color);
}

h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--text-color);
}

/* Hero Section */
.hero {
    text-align: center;
    padding: 6rem 2rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    max-width: none;
}

.hero h1 {
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.hero .tagline {
    font-size: 1.5rem;
    opacity: 0.9;
    margin-bottom: 1.5rem;
}

.hero .description {
    max-width: 700px;
    margin: 0 auto 2rem;
    font-size: 1.1rem;
    opacity: 0.85;
    line-height: 1.8;
}

.hero-badges {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.badge {
    background: rgba(255, 255, 255, 0.2);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
    backdrop-filter: blur(10px);
}

/* Features Section */
.features {
    background: var(--surface-color);
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: var(--background-color);
    padding: 2rem;
    border-radius: var(--radius);
    transition: transform 0.3s, box-shadow 0.3s;
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.feature-card h3 {
    color: var(--primary-color);
}

.feature-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* Screenshots Section */
.screenshots {
    background: var(--background-color);
}

.screenshot-gallery {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.screenshot {
    background: var(--surface-color);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.screenshot img {
    width: 100%;
    height: auto;
    display: block;
}

.screenshot figcaption {
    padding: 1.5rem 2rem;
}

.screenshot figcaption strong {
    display: block;
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: var(--text-color);
}

.screenshot figcaption p {
    color: var(--text-secondary);
}

/* Technologies Section */
.technologies {
    background: var(--surface-color);
}

.tech-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 3rem;
    font-size: 1.1rem;
    color: var(--text-secondary);
}

.tech-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.tech-category {
    background: var(--background-color);
    padding: 2rem;
    border-radius: var(--radius);
}

.tech-category h3 {
    color: var(--secondary-color);
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--secondary-color);
}

.tech-category ul {
    list-style: none;
}

.tech-category li {
    padding: 0.5rem 0;
    color: var(--text-secondary);
    border-bottom: 1px solid var(--border-color);
}

.tech-category li:last-child {
    border-bottom: none;
}

.tech-category li strong {
    color: var(--text-color);
}

/* Dependencies */
.dependency {
    background: var(--surface-color);
    padding: 1.5rem;
    border-radius: var(--radius);
    margin-top: 1rem;
    border-left: 4px solid var(--primary-color);
}

.dependency h4 {
    color: var(--primary-color);
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.dependency p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 0.75rem;
}

.dep-details {
    list-style: none;
    font-size: 0.85rem;
}

.dep-details li {
    padding: 0.25rem 0;
    border: none !important;
}

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

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

/* Licenses Section */
.licenses {
    background: var(--background-color);
}

.license-info {
    background: var(--surface-color);
    padding: 2rem;
    border-radius: var(--radius);
    margin-bottom: 1.5rem;
}

.license-info h3 {
    color: var(--secondary-color);
}

.license-info p {
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

.license-link {
    display: inline-block;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
}

.license-link:hover {
    text-decoration: underline;
}

/* Mobile Section */
.mobile-section {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
}

.mobile-section h2 {
    color: white;
}

.mobile-intro {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 2rem;
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.1rem;
}

.mobile-gallery {
    justify-content: center;
}

.mobile-screenshot {
    max-width: 300px;
    margin: 0 auto;
    background: transparent;
    box-shadow: none;
}

.mobile-screenshot img {
    border-radius: var(--radius-lg);
    max-height: 600px;
    width: auto;
    object-fit: contain;
}

.mobile-screenshot figcaption {
    color: rgba(255, 255, 255, 0.9);
}

.mobile-screenshot figcaption strong {
    color: white;
}

.mobile-screenshot figcaption p {
    color: rgba(255, 255, 255, 0.7);
}

/* Requirements Section */
.requirements {
    background: var(--surface-color);
}

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

.req-column h3 {
    color: var(--secondary-color);
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--secondary-color);
}

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

.req-list li {
    padding: 1rem;
    background: var(--background-color);
    border-radius: var(--radius);
    margin-bottom: 0.75rem;
    color: var(--text-secondary);
}

.req-list li strong {
    color: var(--text-color);
}

/* Contact Section */
.contact {
    text-align: center;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    color: white;
    max-width: none;
    padding: 5rem 2rem;
}

.contact h2 {
    color: white;
}

.contact p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 1.5rem;
}

.contact-email {
    display: inline-block;
    font-size: 1.5rem;
    color: white;
    text-decoration: none;
    padding: 1rem 2rem;
    background: var(--primary-color);
    border-radius: 30px;
    transition: background 0.3s, transform 0.3s;
}

.contact-email:hover {
    background: var(--primary-dark);
    transform: scale(1.05);
}

.copyright {
    margin-top: 3rem;
    font-size: 0.9rem;
    opacity: 0.6;
}

/* Footer */
footer {
    background: #1a1a2e;
    color: rgba(255, 255, 255, 0.6);
    text-align: center;
    padding: 2rem;
    font-size: 0.9rem;
}

footer a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
}

footer a:hover {
    color: white;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

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

    h2 {
        font-size: 2rem;
    }

    section {
        padding: 3rem 1rem;
    }

    .feature-grid {
        grid-template-columns: 1fr;
    }

    .tech-grid {
        grid-template-columns: 1fr;
    }

    .hero-badges {
        gap: 0.5rem;
    }

    .badge {
        font-size: 0.8rem;
        padding: 0.4rem 0.8rem;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 2rem;
    }

    nav {
        padding: 1rem;
    }

    .logo {
        font-size: 1.25rem;
    }

    .logo-icon {
        font-size: 1.5rem;
    }
}

/* Print Styles */
@media print {
    header, footer {
        display: none;
    }

    .hero {
        background: none;
        color: var(--text-color);
    }

    section {
        page-break-inside: avoid;
    }
}
