/* Theme Name: Payfrit v1 Theme URI: https://payfrit.com Author: Payfrit Description: Clean, minimal theme for Payfrit - Pay the way you already live. Version: 1.0 License: Proprietary Text Domain: payfrit-v1 */ /* ======================================== CSS Variables ======================================== */ :root { --black: #0a0a0a; --black-light: #141414; --black-lighter: #1a1a1a; --green: #00ff88; --green-hover: #00cc6a; --green-dim: rgba(0, 255, 136, 0.1); --white: #ffffff; --gray: #a0a0a0; --gray-dark: #666666; --border: #2a2a2a; --font: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif; --max-width: 1200px; --nav-height: 72px; } /* ======================================== Reset & Base ======================================== */ *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; } html { font-size: 16px; scroll-behavior: smooth; } body { font-family: var(--font); background: var(--black); color: var(--white); line-height: 1.6; -webkit-font-smoothing: antialiased; } a { color: inherit; text-decoration: none; } img { max-width: 100%; height: auto; display: block; } /* ======================================== Typography ======================================== */ h1, h2, h3, h4 { font-weight: 600; line-height: 1.2; } h1 { font-size: clamp(2.5rem, 6vw, 4rem); letter-spacing: -0.02em; } h2 { font-size: clamp(1.75rem, 4vw, 2.5rem); letter-spacing: -0.01em; } h3 { font-size: 1.25rem; } p { color: var(--gray); } .subhead { font-size: clamp(1.1rem, 2.5vw, 1.35rem); color: var(--gray); max-width: 540px; } /* ======================================== Layout ======================================== */ .container { width: 100%; max-width: var(--max-width); margin: 0 auto; padding: 0 24px; } section { padding: 100px 0; } @media (max-width: 768px) { section { padding: 64px 0; } } /* ======================================== Navigation ======================================== */ .site-header { position: fixed; top: 0; left: 0; right: 0; height: var(--nav-height); background: rgba(10, 10, 10, 0.95); backdrop-filter: blur(12px); z-index: 1000; border-bottom: 1px solid var(--border); } .nav-container { display: flex; align-items: center; justify-content: space-between; height: 100%; max-width: var(--max-width); margin: 0 auto; padding: 0 24px; } .logo { font-size: 1.5rem; font-weight: 700; color: var(--white); letter-spacing: -0.02em; } .logo span { color: var(--green); } .nav-links { display: flex; align-items: center; gap: 32px; list-style: none; } .nav-links a { font-size: 0.95rem; color: var(--gray); transition: color 0.2s; } .nav-links a:hover { color: var(--white); } .nav-links .btn-login { padding: 10px 20px; background: var(--black-lighter); border: 1px solid var(--border); border-radius: 8px; color: var(--white); transition: all 0.2s; } .nav-links .btn-login:hover { background: var(--black-light); border-color: var(--gray-dark); } /* Mobile Nav */ .nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; } .nav-toggle span { display: block; width: 24px; height: 2px; background: var(--white); margin: 6px 0; transition: all 0.3s; } @media (max-width: 768px) { .nav-toggle { display: block; } .nav-links { position: fixed; top: var(--nav-height); left: 0; right: 0; bottom: 0; flex-direction: column; background: var(--black); padding: 32px 24px; gap: 24px; transform: translateX(100%); transition: transform 0.3s ease; } .nav-links.active { transform: translateX(0); } .nav-links a { font-size: 1.25rem; } } /* ======================================== Buttons ======================================== */ .btn { display: inline-flex; align-items: center; justify-content: center; padding: 16px 32px; font-size: 1rem; font-weight: 600; border-radius: 10px; cursor: pointer; transition: all 0.2s; border: none; } .btn-primary { background: var(--green); color: var(--black); } .btn-primary:hover { background: var(--green-hover); transform: translateY(-1px); } .btn-secondary { background: transparent; color: var(--white); border: 1px solid var(--border); } .btn-secondary:hover { background: var(--black-lighter); border-color: var(--gray-dark); } .btn-link { background: none; padding: 0; color: var(--green); font-weight: 500; } .btn-link:hover { text-decoration: underline; } /* ======================================== Hero Section ======================================== */ .hero { min-height: 100vh; display: flex; align-items: center; padding-top: var(--nav-height); position: relative; overflow: hidden; } .hero-bg { position: absolute; inset: 0; z-index: -1; } .hero-bg img { width: 100%; height: 100%; object-fit: cover; opacity: 0.4; } .hero-bg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(10, 10, 10, 0.3) 0%, rgba(10, 10, 10, 0.7) 50%, rgba(10, 10, 10, 1) 100% ); } .hero-content { position: relative; z-index: 1; max-width: 700px; } .hero h1 { margin-bottom: 24px; } .hero .subhead { margin-bottom: 40px; } .hero-ctas { display: flex; gap: 16px; flex-wrap: wrap; } @media (max-width: 480px) { .hero-ctas { flex-direction: column; } .hero-ctas .btn { width: 100%; } } /* ======================================== Features Grid ======================================== */ .features { background: var(--black-light); } .features-header { text-align: center; margin-bottom: 64px; } .features-header h2 { margin-bottom: 16px; } .features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 32px; } .feature-card { padding: 32px; background: var(--black); border: 1px solid var(--border); border-radius: 16px; } .feature-card h3 { margin-bottom: 12px; color: var(--white); } .feature-card p { font-size: 0.95rem; } /* ======================================== For Restaurants Section ======================================== */ .for-restaurants { background: var(--black); } .split-content { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; } @media (max-width: 768px) { .split-content { grid-template-columns: 1fr; gap: 40px; } } .split-text h2 { margin-bottom: 24px; } .split-text ul { list-style: none; margin: 24px 0 32px; } .split-text li { padding: 12px 0; padding-left: 28px; position: relative; color: var(--gray); } .split-text li::before { content: ''; position: absolute; left: 0; top: 50%; transform: translateY(-50%); width: 8px; height: 8px; background: var(--green); border-radius: 50%; } .split-image { border-radius: 16px; overflow: hidden; } .small-text { font-size: 0.875rem; color: var(--gray-dark); margin-top: 16px; } /* ======================================== How It Works Section ======================================== */ .how-it-works { background: var(--black-light); text-align: center; } .how-it-works h2 { margin-bottom: 64px; } .steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px; margin-bottom: 64px; } @media (max-width: 768px) { .steps { grid-template-columns: 1fr; gap: 40px; } } .step { text-align: center; } .step-number { display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; background: var(--green-dim); color: var(--green); font-size: 1.25rem; font-weight: 700; border-radius: 12px; margin-bottom: 20px; } .step h3 { margin-bottom: 8px; color: var(--white); } /* ======================================== Page Headers ======================================== */ .page-header { padding-top: calc(var(--nav-height) + 80px); padding-bottom: 64px; text-align: center; } .page-header h1 { margin-bottom: 20px; } .page-header .subhead { margin: 0 auto; } /* ======================================== Content Sections ======================================== */ .content-section { padding: 80px 0; } .content-section:nth-child(even) { background: var(--black-light); } .content-section.reverse .split-content { direction: rtl; } .content-section.reverse .split-content > * { direction: ltr; } /* ======================================== Large Venues ======================================== */ .venue-qualifier { font-size: 0.95rem; color: var(--gray-dark); margin-top: 12px; } /* ======================================== Footer ======================================== */ .site-footer { padding: 48px 0; border-top: 1px solid var(--border); } .footer-content { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 24px; } .footer-links { display: flex; gap: 32px; list-style: none; } .footer-links a { font-size: 0.95rem; color: var(--gray); transition: color 0.2s; } .footer-links a:hover { color: var(--white); } .footer-copy { font-size: 0.875rem; color: var(--gray-dark); } @media (max-width: 600px) { .footer-content { flex-direction: column; text-align: center; } .footer-links { flex-wrap: wrap; justify-content: center; } } /* ======================================== Utilities ======================================== */ .text-center { text-align: center; } .text-green { color: var(--green); } .mt-16 { margin-top: 16px; } .mt-24 { margin-top: 24px; } .mt-32 { margin-top: 32px; } .mb-16 { margin-bottom: 16px; } .mb-24 { margin-bottom: 24px; } .mb-32 { margin-bottom: 32px; }