/*
Theme Name: Smart Receipt Tracker Theme
Theme URI: https://smartreceipt.cloud/
Author: Smart Receipt Team
Author URI: https://smartreceipt.cloud/
Description: A premium, modern, glassmorphism-based WordPress theme built for the Smart Receipt Tracker iOS & Android app. Ensures cross-platform compliance.
Version: 1.0.1
License: Proprietary
Text Domain: smart-receipt-theme
*/

:root {
  --primary-color: #E26D51;
  --bg-color: #0d0f11;
  --surface-color: rgba(255, 255, 255, 0.05);
  --text-main: #ffffff;
  --text-muted: #9ca3af;
  --border-color: rgba(255, 255, 255, 0.1);
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

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

body {
  font-family: var(--font-sans);
  background-color: var(--bg-color);
  color: var(--text-main);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--primary-color);
  text-decoration: none;
  transition: color 0.3s;
}

a:hover {
  text-decoration: underline;
}

/* Header */
.site-header {
  padding: 24px 5%;
  background: rgba(13, 15, 17, 0.8);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid var(--border-color);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.site-branding a {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-main);
  text-decoration: none;
}

.main-navigation ul {
  list-style: none;
  display: flex;
  gap: 24px;
}

.main-navigation a {
  color: var(--text-muted);
  font-weight: 500;
}
.main-navigation a:hover {
  color: var(--text-main);
  text-decoration: none;
}

/* Container */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 40px 5%;
}

/* Hero Section */
.hero {
  text-align: center;
  padding: 100px 5%;
  background: radial-gradient(circle at center, rgba(226, 109, 81, 0.15) 0%, transparent 60%);
}

.hero h1 {
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 24px;
  line-height: 1.2;
}

.hero p {
  font-size: 1.2rem;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto 40px;
}

/* Page Content */
.page-header {
  text-align: center;
  margin-bottom: 40px;
}
.page-header h1 {
  font-size: 2.5rem;
}

.page-content {
  background: var(--surface-color);
  border: 1px solid var(--border-color);
  border-radius: 24px;
  padding: 40px;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.page-content h2, .page-content h3 {
  margin-top: 32px;
  margin-bottom: 16px;
  color: var(--primary-color);
}

.page-content ul {
  margin-left: 24px;
  margin-bottom: 24px;
  color: var(--text-muted);
}

.page-content p {
  margin-bottom: 24px;
  color: var(--text-muted);
}

/* Custom Form Styles */
form.support-form {
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.support-form .form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
}
.support-form label {
  font-weight: 600;
  color: var(--text-main);
  font-size: 14px;
}
.support-form input, 
.support-form textarea {
  width: 100%;
  padding: 14px 16px;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  color: var(--text-main);
  font-family: inherit;
  font-size: 1rem;
  box-sizing: border-box;
}
.support-form input:focus, .support-form textarea:focus {
  outline: none;
  border-color: var(--primary-color);
  background: rgba(255,255,255,0.08);
}
.support-form button {
  background: var(--primary-color) !important;
  color: #fff !important;
  padding: 16px !important;
  border-radius: 8px !important;
  font-weight: bold !important;
  font-size: 1.1rem !important;
  border: none !important;
  cursor: pointer !important;
  transition: opacity 0.2s;
}
.support-form button:hover {
  opacity: 0.9;
}
.alert {
  padding: 16px;
  border-radius: 8px;
  margin-bottom: 24px;
}
.alert-success {
  background: rgba(46, 204, 113, 0.1);
  border: 1px solid #2ecc71;
  color: #2ecc71;
}
.alert-error {
  background: rgba(231, 76, 60, 0.1);
  border: 1px solid #e74c3c;
  color: #e74c3c;
}

/* App Download Buttons */
.hero-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--primary-color);
  color: #fff;
  padding: 16px 32px;
  border-radius: 100px;
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.3s, box-shadow 0.3s, filter 0.3s;
  font-size: 1rem;
}
.btn-apple {
  background: #ffffff;
  color: #000000;
}
.btn-apple:hover {
  box-shadow: 0 10px 20px rgba(255, 255, 255, 0.2);
}
.btn-google {
  background: #101010;
  color: #ffffff;
  border: 1px solid var(--border-color);
}
.btn-google:hover {
  background: #1a1a1a;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

/* Footer */
.site-footer {
  text-align: center;
  padding: 40px 5%;
  border-top: 1px solid var(--border-color);
  margin-top: 80px;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.footer-links {
  margin-top: 16px;
  display: flex;
  justify-content: center;
  gap: 24px;
}

.footer-links a {
  color: var(--text-muted);
}

.footer-links a:hover {
  color: var(--text-main);
}
