/* Goldplated Photos Marketing Website Styles */

:root {
    --color-black: #0a0a0a;
    --color-white: #ffffff;
    --color-gray-100: #f5f5f5;
    --color-gray-200: #e5e5e5;
    --color-gray-600: #666666;
    --color-gray-800: #333333;
    --color-accent: #2563eb;

    --font-heading: "Syne", sans-serif;
    --font-body: "DM Sans", sans-serif;

    --container-max: 1200px;
    --container-narrow: 800px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    font-size: 18px;
    line-height: 1.6;
    color: var(--color-black);
    background: var(--color-white);
}

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

/* Navigation */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid var(--color-gray-200);
}

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

.nav-logo {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--color-black);
    text-decoration: none;
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-links a {
    color: var(--color-gray-800);
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.2s;
}

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

.nav-cta {
    background: var(--color-black);
    color: var(--color-white) !important;
    padding: 0.5rem 1rem;
    border-radius: 6px;
}

.nav-cta:hover {
    background: var(--color-gray-800);
}

/* Mobile Hamburger Menu */
.nav-hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 32px;
    height: 32px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    z-index: 1001;
}

.nav-hamburger span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--color-black);
    border-radius: 1px;
    transition:
        transform 0.3s,
        opacity 0.3s;
}

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

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

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

/* Hero */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 4rem 2rem 4rem;
    background: linear-gradient(
        135deg,
        var(--color-gray-100) 0%,
        var(--color-white) 100%
    );
}

.hero-content {
    max-width: var(--container-narrow);
}

.hero-title {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 8vw, 5rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--color-gray-600);
    margin-bottom: 2.5rem;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 3rem;
}

.hero-credit {
    font-size: 0.9rem;
    color: var(--color-gray-600);
}

.hero-credit a {
    color: var(--color-black);
    text-decoration: underline;
}

/* Screenshot Showcase */
.hero-showcase {
    margin-top: 4rem;
    perspective: 1000px;
}

.browser-frame {
    max-width: 900px;
    margin: 0 auto;
    background: var(--color-white);
    border-radius: 12px;
    box-shadow:
        0 25px 50px -12px rgba(0, 0, 0, 0.25),
        0 0 0 1px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    transform: rotateX(2deg);
    transition:
        transform 0.4s ease,
        box-shadow 0.4s ease;
}

.browser-frame:hover {
    transform: rotateX(0deg) translateY(-8px);
    box-shadow:
        0 35px 60px -15px rgba(0, 0, 0, 0.3),
        0 0 0 1px rgba(0, 0, 0, 0.05);
}

.browser-header {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 16px;
    background: var(--color-gray-100);
    border-bottom: 1px solid var(--color-gray-200);
}

.browser-dots {
    display: flex;
    gap: 6px;
}

.browser-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--color-gray-200);
}

.browser-dot:nth-child(1) {
    background: #ff5f57;
}
.browser-dot:nth-child(2) {
    background: #febc2e;
}
.browser-dot:nth-child(3) {
    background: #28c840;
}

.browser-url {
    flex: 1;
    background: var(--color-white);
    border-radius: 6px;
    padding: 6px 12px;
    font-size: 0.8rem;
    color: var(--color-gray-600);
    font-family: var(--font-body);
    text-align: center;
    border: 1px solid var(--color-gray-200);
}

.browser-content {
    position: relative;
    overflow: hidden;
    height: 420px;
    background: var(--color-gray-100);
    display: flex;
    align-items: center;
    justify-content: center;
}

.browser-content img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* Screenshot carousel for multiple images */
.screenshot-carousel {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.screenshot-thumb {
    width: 80px;
    height: 50px;
    border-radius: 6px;
    overflow: hidden;
    cursor: pointer;
    opacity: 0.5;
    transition: all 0.2s ease;
    border: 2px solid transparent;
}

.screenshot-thumb:hover,
.screenshot-thumb.active {
    opacity: 1;
    border-color: var(--color-black);
}

.screenshot-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Floating Support Widget */
.support-widget {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 999;
    font-family: var(--font-body);
}

.support-trigger {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--color-black);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow:
        0 4px 12px rgba(0, 0, 0, 0.15),
        0 0 0 0 rgba(10, 10, 10, 0.1);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.support-trigger:hover {
    transform: scale(1.05);
    box-shadow:
        0 6px 20px rgba(0, 0, 0, 0.2),
        0 0 0 8px rgba(10, 10, 10, 0.05);
}

.support-trigger:active {
    transform: scale(0.98);
}

.support-trigger svg {
    width: 24px;
    height: 24px;
    fill: var(--color-white);
    transition: transform 0.3s ease;
}

.support-widget.open .support-trigger svg {
    transform: rotate(45deg);
}

/* Subtle pulse animation */
.support-trigger::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: var(--color-black);
    animation: pulse-ring 3s ease-out infinite;
    z-index: -1;
}

@keyframes pulse-ring {
    0% {
        transform: scale(1);
        opacity: 0.4;
    }
    70%,
    100% {
        transform: scale(1.5);
        opacity: 0;
    }
}

.support-widget.open .support-trigger::after {
    animation: none;
}

/* Support Panel */
.support-panel {
    position: absolute;
    bottom: 70px;
    right: 0;
    width: 320px;
    background: var(--color-white);
    border-radius: 16px;
    box-shadow:
        0 25px 50px -12px rgba(0, 0, 0, 0.25),
        0 0 0 1px rgba(0, 0, 0, 0.05);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px) scale(0.95);
    transform-origin: bottom right;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
}

.support-widget.open .support-panel {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.support-panel-header {
    background: var(--color-black);
    color: var(--color-white);
    padding: 1.25rem 1.5rem;
}

.support-panel-header h4 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.support-panel-header p {
    font-size: 0.85rem;
    color: var(--color-gray-200);
    line-height: 1.5;
}

.support-panel-body {
    padding: 1.25rem 1.5rem;
}

.support-links {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.support-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.875rem 1rem;
    background: var(--color-gray-100);
    border-radius: 10px;
    text-decoration: none;
    color: var(--color-black);
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.2s ease;
    border: 1px solid transparent;
}

.support-link:hover {
    background: var(--color-white);
    border-color: var(--color-black);
    transform: translateX(4px);
}

.support-link svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.support-link.kofi svg {
    fill: #ff5e5b;
}
.support-link.wise svg {
    fill: #9fe870;
}

.support-link span {
    flex: 1;
}

.support-link .arrow {
    opacity: 0;
    transform: translateX(-4px);
    transition: all 0.2s ease;
}

.support-link:hover .arrow {
    opacity: 1;
    transform: translateX(0);
}

.support-divider {
    height: 1px;
    background: var(--color-gray-200);
    margin: 1rem 0;
}

.support-contact {
    font-size: 0.85rem;
    color: var(--color-gray-600);
    text-align: center;
}

.support-contact a {
    color: var(--color-black);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.support-contact a:hover {
    text-decoration-thickness: 2px;
}

/* Mobile responsive */
@media (max-width: 768px) {
    .browser-content {
        height: 280px;
    }

    .support-widget {
        bottom: 1rem;
        right: 1rem;
    }

    .support-trigger {
        width: 50px;
        height: 50px;
    }

    .support-trigger svg {
        width: 22px;
        height: 22px;
    }

    .support-panel {
        width: calc(100vw - 2rem);
        right: 0;
        bottom: 65px;
    }
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 1rem 2rem;
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.2s;
}

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

.btn-primary:hover {
    background: var(--color-gray-800);
    transform: translateY(-2px);
}

.btn-secondary {
    background: var(--color-white);
    color: var(--color-black);
    border: 2px solid var(--color-black);
}

.btn-secondary:hover {
    background: var(--color-black);
    color: var(--color-white);
}

/* Sections */
.section {
    padding: 6rem 0;
}

.section-title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 700;
    text-align: center;
    margin-bottom: 4rem;
}

/* Why Section */
.why {
    background: var(--color-white);
}

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

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

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

.feature-card h3 {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

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

/* Features Preview */
.features-preview {
    background: var(--color-gray-100);
}

.features-list {
    max-width: var(--container-narrow);
    margin: 0 auto;
}

.feature-row {
    padding: 2rem 0;
    border-bottom: 1px solid var(--color-gray-200);
}

.feature-row:last-child {
    border-bottom: none;
}

.feature-text h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.feature-text p {
    color: var(--color-gray-600);
}

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

/* Use Cases */
.use-cases {
    background: var(--color-white);
}

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

.use-case {
    padding: 1.5rem;
}

.use-case h3 {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.use-case p {
    color: var(--color-gray-600);
    font-size: 0.95rem;
}

/* Workflow Bar (compact infographic) */
.workflow-bar {
    background: var(--color-gray-100);
    border-bottom: 1px solid var(--color-gray-200);
    padding: 0.75rem 0;
    margin-top: 73px; /* Account for fixed nav height */
}

.workflow-bar-inner {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0 1rem;
}

.workflow-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.workflow-icon {
    width: 32px;
    height: 32px;
    background: var(--color-white);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.workflow-icon svg {
    width: 18px;
    height: 18px;
    stroke: var(--color-black);
}

.workflow-text {
    display: flex;
    flex-direction: column;
}

.workflow-label {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--color-black);
}

.workflow-desc {
    font-size: 0.7rem;
    color: var(--color-gray-500);
    line-height: 1.2;
}

.workflow-item code {
    background: var(--color-black);
    color: var(--color-white);
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    font-family: "SF Mono", "Monaco", "Inconsolata", monospace;
    font-size: 0.7rem;
}

.workflow-divider {
    color: var(--color-gray-400);
    font-size: 0.9rem;
    padding: 0 0.25rem;
}

/* Workflow bar responsive - horizontal swipe slider */
@media (max-width: 768px) {
    .workflow-bar {
        padding: 1rem 0;
    }

    .workflow-bar-inner {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        gap: 1rem;
        padding: 0.5rem 1rem;
        scrollbar-width: none;
        justify-content: flex-start;
    }

    .workflow-bar-inner::-webkit-scrollbar {
        display: none;
    }

    .workflow-item {
        flex: 0 0 80%;
        scroll-snap-align: center;
        min-width: 260px;
        background: var(--color-white);
        padding: 1rem;
        border-radius: 12px;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }

    .workflow-item .workflow-icon {
        width: 40px;
        height: 40px;
        background: var(--color-gray-100);
    }

    .workflow-item .workflow-desc {
        display: block;
        font-size: 0.8rem;
    }

    .workflow-item code {
        display: inline-block;
        margin-top: 0.5rem;
    }

    .workflow-divider {
        display: none;
    }
}

/* CTA Section */
.cta-section {
    background: var(--color-black);
    color: var(--color-white);
    text-align: center;
}

.cta-section h2 {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 700;
    margin-bottom: 1rem;
}

.cta-section p {
    color: var(--color-gray-200);
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

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

.cta-section .btn-primary {
    background: var(--color-white);
    color: var(--color-black);
    box-shadow: 0 4px 14px rgba(255, 255, 255, 0.25);
}

.cta-section .btn-primary:hover {
    background: var(--color-gray-100);
    box-shadow: 0 6px 20px rgba(255, 255, 255, 0.35);
}

.cta-section .btn-secondary {
    background: transparent;
    border-color: var(--color-white);
    color: var(--color-white);
}

.cta-section .btn-secondary:hover {
    background: var(--color-white);
    color: var(--color-black);
}

/* Footer */
.footer {
    background: var(--color-gray-100);
    padding: 4rem 0 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 4rem;
    margin-bottom: 3rem;
}

.footer-brand h3 {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.footer-brand p {
    color: var(--color-gray-600);
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.footer-column h4 {
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.footer-column a {
    display: block;
    color: var(--color-gray-600);
    text-decoration: none;
    font-size: 0.95rem;
    margin-bottom: 0.5rem;
    transition: color 0.2s;
}

.footer-column a:hover {
    color: var(--color-black);
}

.footer-bottom {
    border-top: 1px solid var(--color-gray-200);
    padding-top: 2rem;
    text-align: center;
    color: var(--color-gray-600);
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 768px) {
    .nav-hamburger {
        display: flex;
    }

    .nav-container {
        position: relative;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        flex-direction: column;
        background: var(--color-white);
        padding: 1rem 1.5rem;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
        gap: 0;
        border-radius: 0 0 8px 8px;
    }

    .nav-links.open {
        display: flex;
    }

    .nav-links a {
        padding: 0.75rem 0;
        border-bottom: 1px solid var(--color-gray-200);
    }

    .nav-links a:last-child {
        border-bottom: none;
    }

    .nav-cta {
        margin-top: 0.5rem;
        text-align: center;
    }

    .hero {
        padding: 6rem 1.5rem 3rem;
    }

    .hero-cta {
        flex-direction: column;
    }

    .hero-showcase {
        margin-top: 2rem;
    }

    .browser-frame {
        border-radius: 8px;
        transform: none;
    }

    .browser-frame:hover {
        transform: none;
    }

    .browser-header {
        padding: 8px 12px;
    }

    .browser-dot {
        width: 8px;
        height: 8px;
    }

    .browser-url {
        font-size: 0.7rem;
        padding: 4px 8px;
    }

    .screenshot-carousel {
        gap: 0.5rem;
    }

    .screenshot-thumb {
        width: 50px;
        height: 32px;
    }

    .section {
        padding: 4rem 0;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-links {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
}

@media (max-width: 480px) {
    .footer-links {
        grid-template-columns: 1fr;
    }
}

/* Page-specific styles */
.page-hero {
    padding-top: 8rem;
    padding-bottom: 4rem;
    text-align: center;
    background: var(--color-gray-100);
}

.page-content {
    padding: 4rem 0;
}

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

.prose h2 {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    font-weight: 600;
    margin-top: 3rem;
    margin-bottom: 1rem;
}

.prose h3 {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 600;
    margin-top: 2rem;
    margin-bottom: 0.75rem;
}

.prose p {
    margin-bottom: 1.5rem;
}

.prose ul,
.prose ol {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
}

.prose li {
    margin-bottom: 0.5rem;
}

.prose code {
    background: var(--color-gray-100);
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-size: 0.9rem;
}

.prose pre {
    background: var(--color-black);
    color: var(--color-white);
    padding: 1.5rem;
    border-radius: 8px;
    overflow-x: auto;
    margin-bottom: 1.5rem;
}

.prose pre code {
    background: none;
    padding: 0;
    color: inherit;
}

.prose h4 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 600;
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
}

/* Compatibility Table */
.compatibility-table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5rem 0;
    font-size: 0.95rem;
}

.compatibility-table th,
.compatibility-table td {
    padding: 0.75rem 1rem;
    text-align: center;
    border: 1px solid var(--color-gray-200);
}

.compatibility-table th {
    background: var(--color-gray-100);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.9rem;
}

.compatibility-table th:first-child,
.compatibility-table td:first-child {
    text-align: left;
    font-weight: 500;
}

.compatibility-table tbody tr:hover {
    background: var(--color-gray-100);
}

@media (max-width: 600px) {
    .compatibility-table {
        font-size: 0.85rem;
    }

    .compatibility-table th,
    .compatibility-table td {
        padding: 0.5rem;
    }
}
