:root {
    --primary: #000000;
    --secondary: #1a1a1a;
    --accent: #C5A022; /* Subtle Gold */
    --accent-hover: #b08d1a;
    --bg-white: #ffffff;
    --bg-grey: #f5f5f5;
    --text-main: #1a1a1a;
    --text-muted: #666666;
    --border: #e0e0e0;
    --shadow: 0 10px 30px rgba(0,0,0,0.05);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
    font-family: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    color: var(--text-main);
    background-color: var(--bg-white);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4 {
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

/* Layout Utilities */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

@media (max-width: 768px) {
    .container {
        padding: 0 20px;
    }
}

.section {
    padding: 100px 0;
}

@media (max-width: 768px) {
    .section {
        padding: 60px 0;
    }
}

/* Typography */
.text-gold { color: var(--accent); }
.text-center { text-align: center; }

.headline-xl {
    font-size: 84px;
    margin-bottom: 24px;
}

.headline-lg {
    font-size: 56px;
    margin-bottom: 20px;
}

.headline-md {
    font-size: 32px;
    margin-bottom: 16px;
}

@media (max-width: 768px) {
    .headline-xl { font-size: 48px; }
    .headline-lg { font-size: 36px; }
    .headline-md { font-size: 24px; }
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 32px;
    font-weight: 600;
    font-size: 16px;
    border-radius: 4px;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    gap: 10px;
}

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

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

.btn-outline {
    background-color: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
}

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

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

.btn-accent:hover {
    background-color: var(--accent-hover);
}

/* Navigation */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
    height: 80px;
    display: flex;
    align-items: center;
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo {
    font-size: 24px;
    font-weight: 800;
    color: var(--primary);
    letter-spacing: -0.04em;
}

.logo span {
    color: var(--accent);
}

.nav-links {
    display: flex;
    gap: 40px;
}

.nav-links a {
    font-weight: 500;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-muted);
}

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

@media (max-width: 992px) {
    .nav-links { display: none; }
}

/* Hero Section */
.hero {
    min-height: 90vh;
    display: flex;
    align-items: center;
    padding-top: 80px;
    background: radial-gradient(circle at top right, #fbfbfb 0%, #ffffff 100%);
    position: relative;
    overflow: hidden;
}

.hero-grid {
    display: grid;
    grid-template-cols: 1.2fr 0.8fr;
    gap: 60px;
    align-items: center;
}

@media (max-width: 992px) {
    .hero-grid {
        grid-template-cols: 1fr;
        text-align: center;
    }
}

.hero-content {
    animation: fadeInUp 1s ease;
}

.hero-sub {
    font-size: 20px;
    color: var(--text-muted);
    margin-bottom: 40px;
    max-width: 600px;
}

@media (max-width: 992px) {
    .hero-sub { margin-left: auto; margin-right: auto; }
}

/* App Mockup */
.mockup-container {
    position: relative;
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
    perspective: 1000px;
}

.iphone-frame {
    width: 300px;
    height: 600px;
    background: #000;
    border-radius: 40px;
    border: 8px solid #333;
    box-shadow: 0 50px 100px rgba(0,0,0,0.15);
    overflow: hidden;
    position: relative;
    margin: 0 auto;
    transform: rotateY(-10deg) rotateX(10deg);
}

.iphone-screen {
    width: 100%;
    height: 100%;
    background: white;
    border-radius: 32px;
    overflow-y: auto;
    position: relative;
}

/* Vertical Blocks */
.verticals-grid {
    display: grid;
    grid-template-cols: repeat(3, 1fr);
    gap: 30px;
}

@media (max-width: 992px) {
    .verticals-grid {
        grid-template-cols: 1fr;
    }
}

.vertical-card {
    background: white;
    padding: 60px 40px;
    border: 1px solid var(--border);
    transition: var(--transition);
    display: flex;
    flex-col: column;
    height: 100%;
    position: relative;
}

.vertical-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 4px;
    background: var(--accent);
    transition: var(--transition);
}

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

.vertical-card:hover::after {
    width: 100%;
}

.vertical-card .icon-box {
    width: 60px;
    height: 60px;
    background: var(--bg-grey);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 30px;
    border-radius: 8px;
    color: var(--primary);
}

.vertical-card p {
    color: var(--text-muted);
    margin-bottom: 30px;
    flex-grow: 1;
}

.vertical-card .subtext {
    font-size: 14px;
    margin-top: -15px;
    margin-bottom: 25px;
    opacity: 0.8;
}

/* Trust Section */
.trust-section {
    background: var(--bg-grey);
    padding: 80px 0;
    text-align: center;
}

.trust-icons {
    display: flex;
    justify-content: center;
    gap: 80px;
    flex-wrap: wrap;
    margin-top: 40px;
}

.trust-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.trust-item i {
    font-size: 40px;
    color: var(--accent);
}

.trust-item span {
    font-weight: 600;
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: 0.1em;
}

/* Order Section Split */
.order-section {
    display: grid;
    grid-template-cols: 1fr 1fr;
    align-items: center;
}

@media (max-width: 992px) {
    .order-section {
        grid-template-cols: 1fr;
        padding: 40px 0;
    }
}

.order-visual {
    background: var(--primary);
    height: 100%;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    padding: 60px;
}

.order-content {
    padding: 80px;
}

@media (max-width: 768px) {
    .order-content { padding: 40px 20px; }
}

/* Contact Section */
.contact-cta {
    background: #000;
    color: white;
    text-align: center;
    padding: 120px 0;
}

.contact-btns {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-top: 40px;
}

@media (max-width: 768px) {
    .contact-btns { flex-direction: column; align-items: center; }
}

/* Footer */
footer {
    padding: 80px 0 40px;
    border-top: 1px solid var(--border);
}

.footer-grid {
    display: grid;
    grid-template-cols: 1.5fr repeat(3, 1fr);
    gap: 40px;
    margin-bottom: 60px;
}

@media (max-width: 768px) {
    .footer-grid { grid-template-cols: 1fr; text-align: center; }
}

.footer-bottom {
    padding-top: 40px;
    border-top: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    font-size: 14px;
    color: var(--text-muted);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Buildify Integration Overrides */
.ordering-app-embed {
    width: 100%;
    height: 100%;
}

.ordering-app-embed .view {
    display: none;
    padding: 20px;
}

.ordering-app-embed .view.active {
    display: block;
}

.material-card {
    border: 1px solid var(--border);
    padding: 15px;
    border-radius: 8px;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
}

.product-card.active, .material-card.active {
    border-color: var(--accent) !important;
    background: rgba(197, 160, 34, 0.08) !important;
    box-shadow: 0 10px 30px rgba(197, 160, 34, 0.1);
}

.check-indicator i {
    color: white;
    width: 12px;
    height: 12px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
}

.form-group input, .form-group select {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--border);
    border-radius: 4px;
}
