/* Modern, responsive styles for RytCard website */

/* Reset and base styles */
* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: #333;
  background-color: #fff;
  scroll-behavior: smooth;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Navigation */
.nav {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  transition: all 0.3s ease;
}

.nav-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
}

.brand {
  font-size: 1.5em;
  font-weight: 700;
  color: #1a1a1a;
  display: flex;
  align-items: center;
  gap: 10px;
}

.badge {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 4px 8px;
  border-radius: 6px;
  font-size: 0.8em;
  font-weight: 600;
}

.links {
  display: flex;
  gap: 30px;
}

.links a {
  color: #666;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
  position: relative;
}

.links a:hover {
  color: #667eea;
}

.links a::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  transition: width 0.3s ease;
}

.links a:hover::after {
  width: 100%;
}

/* Hero sections */
.hero, .support-hero {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 120px 0 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before, .support-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
  opacity: 0.3;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero h1 {
  font-size: 3.5em;
  font-weight: 700;
  margin: 0 0 20px 0;
  background: linear-gradient(135deg, #fff 0%, rgba(255,255,255,0.8) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero .subtitle, .support-hero .subtitle {
  font-size: 1.3em;
  margin: 0 0 40px 0;
  opacity: 0.9;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* Buttons */
.cta-button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.2);
  color: white;
  padding: 15px 30px;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1em;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.cta-button:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.cta-button.primary {
  background: linear-gradient(135deg, #ff6b6b 0%, #ee5a24 100%);
  border: none;
}

.cta-button.secondary {
  background: transparent;
  border: 2px solid rgba(255, 255, 255, 0.3);
}

/* Features section */
.features {
  padding: 80px 0;
  background: #f8f9fa;
}

.features h2 {
  text-align: center;
  font-size: 2.5em;
  font-weight: 700;
  margin: 0 0 60px 0;
  color: #1a1a1a;
}

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

.feature-card {
  background: white;
  padding: 40px;
  border-radius: 20px;
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.feature-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.feature-icon {
  font-size: 3em;
  margin-bottom: 20px;
  display: block;
  animation: float 3s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
}

.feature-card h3 {
  font-size: 1.5em;
  font-weight: 600;
  margin: 0 0 15px 0;
  color: #1a1a1a;
}

.feature-card p {
  color: #666;
  margin: 0 0 20px 0;
}

/* Mock components */
.mock-container {
  margin-top: 20px;
}

.credit-card-mock {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 20px;
  border-radius: 15px;
  margin-bottom: 10px;
  position: relative;
  font-family: 'Courier New', monospace;
}

.credit-card-mock.secondary {
  background: linear-gradient(135deg, #ff6b6b 0%, #ee5a24 100%);
}

.card-chip {
  width: 30px;
  height: 25px;
  background: linear-gradient(135deg, #ffd700 0%, #ffed4e 100%);
  border-radius: 4px;
  margin-bottom: 15px;
}

.card-number {
  font-size: 1.2em;
  letter-spacing: 2px;
  margin-bottom: 15px;
}

.card-holder, .card-expiry {
  font-size: 0.9em;
  opacity: 0.9;
}

.transaction-list-mock {
  background: #f8f9fa;
  border-radius: 12px;
  padding: 15px;
}

.transaction-item {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 10px 0;
  border-bottom: 1px solid #e9ecef;
}

.transaction-item:last-child {
  border-bottom: none;
}

.transaction-icon {
  font-size: 1.5em;
}

.transaction-details {
  flex: 1;
}

.transaction-title {
  font-weight: 600;
  color: #333;
}

.transaction-date {
  font-size: 0.9em;
  color: #666;
}

.transaction-amount {
  font-weight: 600;
  color: #e74c3c;
}

.transaction-amount.positive {
  color: #27ae60;
}

/* Budget mock */
.budget-mock {
  background: #f8f9fa;
  border-radius: 12px;
  padding: 20px;
}

.budget-header {
  font-weight: 600;
  margin-bottom: 15px;
  color: #333;
}

.budget-item {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 15px;
}

.budget-category {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 140px;
  font-size: 0.9em;
}

.budget-bar {
  flex: 1;
  height: 8px;
  background: #e9ecef;
  border-radius: 4px;
  overflow: hidden;
}

.budget-progress {
  height: 100%;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  transition: width 0.3s ease;
}

.budget-progress.warning {
  background: linear-gradient(135deg, #ff6b6b 0%, #ee5a24 100%);
}

.budget-amount {
  font-size: 0.9em;
  font-weight: 600;
  color: #333;
  min-width: 100px;
  text-align: right;
}

/* Notification mock */
.notification-mock {
  background: #f8f9fa;
  border-radius: 12px;
  padding: 15px;
}

.notification-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px;
  background: white;
  border-radius: 8px;
  margin-bottom: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.notification-item:last-child {
  margin-bottom: 0;
}

.notification-icon {
  font-size: 1.2em;
}

.notification-title {
  font-weight: 600;
  color: #333;
  font-size: 0.95em;
}

.notification-text {
  color: #666;
  font-size: 0.9em;
}

/* Subscription mock */
.subscription-mock {
  background: #f8f9fa;
  border-radius: 12px;
  padding: 15px;
}

.subscription-item {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 12px;
  background: white;
  border-radius: 8px;
  margin-bottom: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.subscription-item:last-child {
  margin-bottom: 0;
}

.subscription-logo {
  font-size: 1.5em;
}

.subscription-details {
  flex: 1;
}

.subscription-name {
  font-weight: 600;
  color: #333;
}

.subscription-next {
  font-size: 0.9em;
  color: #666;
}

.subscription-amount {
  font-weight: 600;
  color: #667eea;
}

/* Analytics mock */
.analytics-mock {
  background: #f8f9fa;
  border-radius: 12px;
  padding: 20px;
}

.chart-title {
  font-weight: 600;
  margin-bottom: 15px;
  color: #333;
}

.bar-chart {
  display: flex;
  align-items: end;
  gap: 15px;
  height: 80px;
  margin-bottom: 20px;
}

.bar-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.bar {
  width: 100%;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border-radius: 4px 4px 0 0;
  transition: all 0.3s ease;
}

.bar.active {
  background: linear-gradient(135deg, #ff6b6b 0%, #ee5a24 100%);
}

.bar-label {
  font-size: 0.9em;
  color: #666;
  font-weight: 500;
}

.stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.stat-item {
  text-align: center;
}

.stat-value {
  font-size: 1.5em;
  font-weight: 700;
  color: #333;
}

.stat-label {
  font-size: 0.9em;
  color: #666;
}

/* App showcase section */
.app-showcase {
  padding: 100px 0;
  background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 50%, #f1f3f4 100%);
}

.app-showcase h2 {
  font-size: 3em;
  font-weight: 700;
  margin: 0 0 20px 0;
  color: #1a1a1a;
  text-align: center;
}

.app-showcase .subtitle {
  text-align: center;
  font-size: 1.3em;
  color: #666;
  margin: 0 0 60px 0;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

/* Hero Screenshot */
.hero-screenshot {
  display: flex;
  align-items: center;
  gap: 80px;
  margin: 80px 0;
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
}

.phone-frame {
  position: relative;
  background: linear-gradient(135deg, #1a1a1a 0%, #333 100%);
  border-radius: 35px;
  padding: 8px;
  box-shadow: 
    0 25px 60px rgba(0, 0, 0, 0.3),
    0 8px 25px rgba(0, 0, 0, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  transform: perspective(1000px) rotateY(-5deg);
  transition: all 0.3s ease;
}

.phone-frame:hover {
  transform: perspective(1000px) rotateY(0deg) scale(1.02);
}

.phone-notch {
  position: absolute;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  width: 120px;
  height: 25px;
  background: #000;
  border-radius: 15px;
  z-index: 10;
}

.screenshot-img {
  width: 280px;
  height: 560px;
  border-radius: 27px;
  object-fit: cover;
  display: block;
}

.screenshot-info {
  flex: 1;
  padding-left: 40px;
}

.screenshot-info h3 {
  font-size: 2.2em;
  font-weight: 700;
  margin: 0 0 20px 0;
  color: #1a1a1a;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.screenshot-info p {
  font-size: 1.2em;
  color: #666;
  line-height: 1.6;
  margin: 0;
}

/* Screenshots Grid */
.screenshots-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 60px;
  margin: 100px 0;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

.screenshot-item {
  text-align: center;
  position: relative;
  cursor: pointer;
  transition: all 0.3s ease;
}

.screenshot-item:hover {
  transform: translateY(-10px);
}

.phone-frame-small {
  position: relative;
  background: linear-gradient(135deg, #1a1a1a 0%, #333 100%);
  border-radius: 25px;
  padding: 6px;
  margin: 0 auto 30px;
  width: fit-content;
  box-shadow: 
    0 20px 40px rgba(0, 0, 0, 0.25),
    0 6px 20px rgba(0, 0, 0, 0.15),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
}

.phone-frame-small:hover {
  box-shadow: 
    0 30px 60px rgba(0, 0, 0, 0.3),
    0 10px 30px rgba(0, 0, 0, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.phone-frame-small .screenshot-img {
  width: 200px;
  height: 400px;
  border-radius: 19px;
}

.screenshot-caption h4 {
  font-size: 1.4em;
  font-weight: 600;
  margin: 0 0 12px 0;
  color: #1a1a1a;
}

.screenshot-caption p {
  color: #666;
  font-size: 1em;
  line-height: 1.5;
  margin: 0;
}

/* Feature Highlights */
.feature-highlights {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
  margin: 80px 0 0 0;
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
}

.highlight-item {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 30px;
  background: white;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.highlight-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.highlight-icon {
  font-size: 3em;
  min-width: 80px;
  text-align: center;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border-radius: 50%;
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
}

.highlight-content h4 {
  font-size: 1.3em;
  font-weight: 600;
  margin: 0 0 8px 0;
  color: #1a1a1a;
}

.highlight-content p {
  color: #666;
  margin: 0;
  line-height: 1.5;
}

/* Interactive animations */
@keyframes float-phone {
  0%, 100% { transform: perspective(1000px) rotateY(-5deg) translateY(0px); }
  50% { transform: perspective(1000px) rotateY(-5deg) translateY(-10px); }
}

.phone-frame {
  animation: float-phone 6s ease-in-out infinite;
}

.screenshot-item:nth-child(1) { animation-delay: 0s; }
.screenshot-item:nth-child(2) { animation-delay: 0.5s; }
.screenshot-item:nth-child(3) { animation-delay: 1s; }
.screenshot-item:nth-child(4) { animation-delay: 1.5s; }

/* Gradient overlays for depth */
.phone-frame::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, transparent 50%, rgba(0,0,0,0.1) 100%);
  border-radius: 35px;
  pointer-events: none;
}

.phone-frame-small::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, transparent 50%, rgba(0,0,0,0.1) 100%);
  border-radius: 25px;
  pointer-events: none;
}

/* Pricing CTA section */
.pricing-cta {
  padding: 80px 0;
  background: linear-gradient(135deg, #1a1a1a 0%, #333 100%);
  color: white;
  text-align: center;
}

.cta-content h2 {
  font-size: 2.5em;
  font-weight: 700;
  margin: 0 0 20px 0;
}

.cta-subtitle {
  font-size: 1.2em;
  opacity: 0.9;
  margin: 0 0 40px 0;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 30px;
}

.cta-guarantee {
  opacity: 0.8;
  font-size: 0.9em;
}

/* Support page styles */
.support-options {
  padding: 60px 0;
  background: #f8f9fa;
}

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

.support-card {
  background: white;
  padding: 40px;
  border-radius: 15px;
  text-align: center;
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.support-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 35px rgba(0, 0, 0, 0.15);
}

.support-icon {
  font-size: 3em;
  margin-bottom: 20px;
  display: block;
}

.support-card h3 {
  font-size: 1.5em;
  font-weight: 600;
  margin: 0 0 15px 0;
  color: #1a1a1a;
}

.support-card p {
  color: #666;
  margin: 0 0 25px 0;
}

.support-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 12px 24px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
}

.support-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
}

/* FAQ section */
.faq-section {
  padding: 80px 0;
}

.faq-section h2 {
  text-align: center;
  font-size: 2.5em;
  font-weight: 700;
  margin: 0 0 60px 0;
  color: #1a1a1a;
}

.faq-category {
  margin-bottom: 50px;
}

.faq-category h3 {
  font-size: 1.8em;
  font-weight: 600;
  margin: 0 0 30px 0;
  color: #333;
  border-bottom: 2px solid #667eea;
  padding-bottom: 10px;
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 20px;
}

.faq-item {
  background: white;
  border: 1px solid #e9ecef;
  border-radius: 12px;
  padding: 25px;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
}

.faq-item:hover {
  border-color: #667eea;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.faq-item h4 {
  font-size: 1.2em;
  font-weight: 600;
  margin: 0 0 15px 0;
  color: #1a1a1a;
  padding-right: 30px;
}

.faq-item p {
  color: #666;
  margin: 0;
  line-height: 1.6;
}

.faq-item::after {
  content: '+';
  position: absolute;
  top: 25px;
  right: 25px;
  font-size: 1.5em;
  font-weight: 600;
  color: #667eea;
  transition: transform 0.3s ease;
}

.faq-item.expanded::after {
  transform: rotate(45deg);
}

/* Contact section */
.contact-section {
  padding: 80px 0;
  background: #f8f9fa;
}

.contact-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.contact-info h2 {
  font-size: 2.2em;
  font-weight: 700;
  margin: 0 0 20px 0;
  color: #1a1a1a;
}

.contact-info p {
  color: #666;
  margin: 0 0 40px 0;
  font-size: 1.1em;
}

.contact-methods {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.contact-method {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: white;
  border-radius: 12px;
  box-shadow: 0 3px 15px rgba(0, 0, 0, 0.1);
}

.contact-method-icon {
  font-size: 2em;
  min-width: 60px;
  text-align: center;
}

.contact-method h4 {
  font-size: 1.2em;
  font-weight: 600;
  margin: 0 0 5px 0;
  color: #1a1a1a;
}

.contact-method p {
  color: #666;
  margin: 0 0 5px 0;
}

.response-time, .support-hours {
  color: #667eea;
  font-weight: 600;
}

/* Contact form */
.contact-form-container {
  background: white;
  padding: 40px;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.contact-form h3 {
  font-size: 1.8em;
  font-weight: 600;
  margin: 0 0 30px 0;
  color: #1a1a1a;
}

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

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

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid #e9ecef;
  border-radius: 8px;
  font-size: 1em;
  transition: border-color 0.3s ease;
  font-family: inherit;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #667eea;
  box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.checkbox-label {
  display: flex !important;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  font-weight: normal !important;
}

.checkbox-label input[type="checkbox"] {
  width: auto !important;
  margin: 0;
}

.submit-btn {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  border: none;
  padding: 15px 30px;
  border-radius: 8px;
  font-size: 1.1em;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 10px;
  justify-content: center;
  width: 100%;
}

.submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(102, 126, 234, 0.3);
}

.submit-btn:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none;
}

.form-note {
  margin-top: 15px;
  font-size: 0.9em;
  color: #666;
  text-align: center;
}

/* Support resources */
.support-resources {
  padding: 60px 0;
}

.support-resources h2 {
  text-align: center;
  font-size: 2.2em;
  font-weight: 700;
  margin: 0 0 50px 0;
  color: #1a1a1a;
}

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

.resource-card {
  background: white;
  padding: 30px;
  border-radius: 12px;
  text-align: center;
  border: 1px solid #e9ecef;
  transition: all 0.3s ease;
}

.resource-card:hover {
  border-color: #667eea;
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.resource-icon {
  font-size: 2.5em;
  margin-bottom: 20px;
  display: block;
}

.resource-card h4 {
  font-size: 1.3em;
  font-weight: 600;
  margin: 0 0 15px 0;
  color: #1a1a1a;
}

.resource-card p {
  color: #666;
  margin: 0 0 20px 0;
}

.resource-link {
  color: #667eea;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
}

.resource-link:hover {
  color: #764ba2;
  text-decoration: underline;
}

/* Legacy styles for privacy/terms pages */
.card {
  background: white;
  padding: 40px;
  border-radius: 15px;
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.1);
  margin-bottom: 30px;
}

.card h2 {
  font-size: 1.8em;
  font-weight: 600;
  margin: 0 0 20px 0;
  color: #1a1a1a;
}

.toc {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 20px 0;
}

.toc a {
  color: #667eea;
  text-decoration: none;
  padding: 10px 15px;
  background: #f8f9fa;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.toc a:hover {
  background: #667eea;
  color: white;
}

.section {
  background: white;
  padding: 30px;
  border-radius: 12px;
  margin-bottom: 20px;
  box-shadow: 0 3px 15px rgba(0, 0, 0, 0.1);
}

.pill {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 0.9em;
  font-weight: 600;
  display: inline-block;
  margin-bottom: 15px;
}

.muted {
  color: #666;
  font-size: 0.95em;
}

.updated {
  font-size: 0.9em;
  color: #888;
  margin-top: 20px;
}

/* Footer */
.footer {
  background: #1a1a1a;
  color: white;
  padding: 40px 0;
  text-align: center;
}

.footer p {
  margin: 0 0 10px 0;
}

.footer .muted {
  color: #999;
}

/* Animations */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease;
}

.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive design */
@media (max-width: 768px) {
  .container {
    padding: 0 15px;
  }
  
  .nav-inner {
    padding: 12px 15px;
  }
  
  .links {
    gap: 20px;
  }
  
  .hero h1 {
    font-size: 2.5em;
  }
  
  .hero .subtitle, .support-hero .subtitle {
    font-size: 1.1em;
  }
  
  .features-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .feature-card {
    padding: 30px;
  }
  
  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }
  
  .contact-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .contact-form-container {
    padding: 30px;
  }
  
  .faq-grid {
    grid-template-columns: 1fr;
  }
  
  .support-grid,
  .resources-grid {
    grid-template-columns: 1fr;
  }
  
  .links a {
    font-size: 0.9em;
  }
  
  .brand {
    font-size: 1.3em;
  }
  
  /* App showcase mobile styles */
  .app-showcase {
    padding: 60px 0;
  }
  
  .app-showcase h2 {
    font-size: 2.2em;
  }
  
  .hero-screenshot {
    flex-direction: column;
    gap: 40px;
    text-align: center;
  }
  
  .screenshot-info {
    padding-left: 0;
  }
  
  .screenshot-info h3 {
    font-size: 1.8em;
  }
  
  .phone-frame {
    animation: none;
    transform: none;
  }
  
  .phone-frame:hover {
    transform: scale(1.02);
  }
  
  .screenshot-img {
    width: 240px;
    height: 480px;
  }
  
  .phone-frame-small .screenshot-img {
    width: 160px;
    height: 320px;
  }
  
  .screenshots-grid {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin: 60px 0;
  }
  
  .feature-highlights {
    grid-template-columns: 1fr;
    gap: 25px;
  }
  
  .highlight-item {
    padding: 25px;
  }
  
  .highlight-icon {
    width: 60px;
    height: 60px;
    min-width: 60px;
    font-size: 2em;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 2em;
  }
  
  .features h2,
  .app-preview h2,
  .pricing-cta h2 {
    font-size: 2em;
  }
  
  .feature-card {
    padding: 25px;
  }
  
  .contact-form-container {
    padding: 25px;
  }
  
  .links {
    gap: 15px;
  }
}