/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary-color: #4caf50;
  --primary-dark: #369b3a;
  --secondary-color: #2a2a2a;
  --background-dark: #000000;
  --background-light: #141414;
  --text-light: #ffffff;
  --text-gray: #a8a8a8;
  --text-dark: #333333;
  --border-color: #222222;
  --gradient-dark: linear-gradient(180deg, rgba(20, 20, 20, 0.9), rgba(15, 15, 15, 1));
  --shadow: 0 4px 20px rgba(0, 0, 0, 0.35);
  --card-bg: rgba(30, 30, 30, 0.7);
  --card-hover: rgba(40, 40, 40, 0.9);
  --transition: all 0.3s ease;
}

body {
  background-color: var(--background-dark);
  color: var(--text-light);
  font-family: 'Playfair', serif;
  line-height: 1.6;
  font-size: 16px;
}

img {
  max-width: 100%;
  height: auto;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--text-light);
}

p {
  margin-bottom: 1.5rem;
  color: var(--text-gray);
}

.section-title {
  font-size: 2.2rem;
  margin-bottom: 2rem;
  text-align: center;
  position: relative;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-gray);
  text-align: center;
  max-width: 700px;
  margin: 0 auto 3rem;
}

/* Layout */
.section-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 5rem 2rem;
}

/* Navigation */
.top-nav {
  background-color: var(--background-dark);
  padding: 1.2rem 0;
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid var(--border-color);
  backdrop-filter: blur(10px);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 2rem;
}

.nav-logo {
  height: 2rem;
  width: auto;
}

.main-nav ul {
  display: flex;
  list-style-type: none;
  gap: 2rem;
}

.main-nav a {
  color: var(--text-light);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  transition: var(--transition);
}

.main-nav a:hover {
  color: var(--primary-color);
}

.nav-cta .cta-button {
  padding: 0.6rem 1.2rem;
  background-color: var(--primary-color);
  color: var(--text-light);
  border-radius: 4px;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  transition: var(--transition);
}

.nav-cta .cta-button:hover {
  background-color: var(--primary-dark);
  transform: translateY(-2px);
}

/* Hero Section */
.hero {
  background: var(--gradient-dark);
  padding: 10rem 0 6rem;
  overflow: hidden;
}

.hero-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 2rem;
}

.hero-content {
  max-width: 600px;
  flex: 1;
}

.hero-title {
  font-size: 3.2rem;
  line-height: 1.2;
  margin-bottom: 1.5rem;
  color: var(--text-light);
}

.hero-subtitle {
  font-size: 1.2rem;
  color: var(--text-gray);
  margin-bottom: 2.5rem;
}

.hero-image {
  max-width: 100%;
  display: flex;
  justify-content: center;
}

.app-ui-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  max-height: 400px;
  border-radius: 30px; /* Sama kuin .phone-screen */
}

/* Store Buttons */
.store-buttons {
  display: flex;
  gap: 1rem;
  margin-bottom: 2rem;
}

.store-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.8rem 1.5rem;
  border: 1px solid var(--primary-color);
  color: var(--primary-color);
  background: rgba(76, 175, 80, 0.1);
  text-decoration: none;
  border-radius: 6px;
  transition: var(--transition);
  min-width: 170px;
}

.store-button:hover {
  background-color: var(--primary-color);
  color: var(--text-light);
}

.store-button-text {
  font-size: 0.95rem;
  font-weight: 500;
}

/* Features Section */
.features {
  background-color: var(--background-light);
  padding: 6rem 0;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
}

.feature-card {
  background-color: var(--card-bg);
  padding: 2rem;
  border-radius: 12px;
  transition: var(--transition);
  border: 1px solid var(--border-color);
}

.feature-card:hover {
  background-color: var(--card-hover);
  transform: translateY(-10px);
  box-shadow: var(--shadow);
}

.feature-icon {
  width: 60px;
  height: 60px;
  margin-bottom: 1.5rem;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(76, 175, 80, 0.15);
  position: relative;
}

.feature-icon::before {
  content: '';
  position: absolute;
  width: 30px;
  height: 30px;
  background-color: var(--primary-color);
  mask-size: contain;
  mask-repeat: no-repeat;
  mask-position: center;
}

.wallet-icon::before {
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M22 6h-5c-1.7 0-3 1.3-3 3v0h-2v-1c0-1.7-1.3-3-3-3h-7c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h20c1.1 0 2-.9 2-2v-10c0-1.7-1.3-3-3-3zm-18 12v-12h7c.6 0 1 .4 1 1v1h-5c-1.7 0-3 1.3-3 3v7zm18 0h-16v-7c0-.6.4-1 1-1h14c.6 0 1 .4 1 1v7z'/%3E%3C/svg%3E");
}

.speed-icon::before {
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M19.77 5.03l1.4 1.4L8.43 19.17l-5.6-5.6 1.4-1.4 4.2 4.2L19.77 5.03m0-2.83L8.43 13.54l-4.2-4.2L0 13.57 8.43 22 24 6.43 19.77 2.2z'/%3E%3C/svg%3E");
}

.exclusive-icon::before {
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2l2.4 7.4h7.6l-6 4.6 2.3 7-6.3-4.6-6.3 4.7 2.3-7-6-4.7h7.6z'/%3E%3C/svg%3E");
}

.privacy-icon::before {
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 1l9 4v6c0 5.5-3.8 10.7-9 12-5.2-1.3-9-6.5-9-12v-6l9-4zm0 6c-1.7 0-3 1.3-3 3 0 1.3.8 2.4 2 2.8v3.2h2v-3.2c1.2-.4 2-1.5 2-2.8 0-1.7-1.3-3-3-3z'/%3E%3C/svg%3E");
}

.feature-card h3 {
  font-size: 1.3rem;
  margin-bottom: 1rem;
  color: var(--text-light);
}

.feature-card p {
  color: var(--text-gray);
  font-size: 0.95rem;
  margin-bottom: 0;
}

/* How It Works Section */
.how-it-works {
  background-color: var(--background-dark);
  padding: 6rem 0;
}

.steps-container {
  display: flex;
  justify-content: space-between;
  gap: 3rem;
  margin-top: 3rem;
}

.step {
  flex: 1;
  text-align: center;
  position: relative;
}

.step-number {
  width: 60px;
  height: 60px;
  background-color: var(--primary-color);
  color: var(--text-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: bold;
  margin: 0 auto 1.5rem;
}

.step h3 {
  font-size: 1.3rem;
  margin-bottom: 1rem;
}

.step p {
  font-size: 0.95rem;
}

/* Partners Section */
.partners {
  background-color: var(--background-light);
  padding: 5rem 0;
}

.partners-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.partner-logo {
  background-color: rgba(255, 255, 255, 0.06);
  height: 80px;
  border-radius: 8px;
  transition: var(--transition);
}

.partner-logo:hover {
  transform: scale(1.05);
  background-color: rgba(255, 255, 255, 0.1);
}

/* CTA Section */
.cta-section {
  background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('https://source.unsplash.com/random/1600x800/?technology') no-repeat center center/cover;
  padding: 6rem 0;
  text-align: center;
  position: relative;
}

.cta-content {
  max-width: 700px;
  margin: 0 auto;
}

.cta-content h2 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
}

.cta-content p {
  font-size: 1.2rem;
  margin-bottom: 2.5rem;
}

.cta-section .store-buttons {
  justify-content: center;
}

/* Support Section */
.support-section {
  background-color: var(--background-dark);
  padding: 6rem 0;
  text-align: center;
}

.email-button {
  display: inline-block;
  padding: 1rem 2rem;
  margin: 2rem 0;
  border: 1px solid var(--primary-color);
  color: var(--primary-color);
  background: transparent;
  text-decoration: none;
  border-radius: 6px;
  font-weight: 500;
  transition: var(--transition);
}

.email-button:hover {
  background-color: var(--primary-color);
  color: var(--text-light);
}

.social-links {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-top: 2rem;
}

.social-link {
  color: var(--text-gray);
  text-decoration: none;
  font-size: 1rem;
  transition: var(--transition);
}

.social-link:hover {
  color: var(--primary-color);
}

/* Footer */
.footer {
  background-color: var(--background-dark);
  border-top: 1px solid var(--border-color);
  padding: 4rem 0 0;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 3rem;
}

.footer-logo {
  flex: 1;
  min-width: 200px;
}

.footer-logo-img {
  height: 2rem;
  margin-bottom: 1.5rem;
}

.footer-links {
  flex: 3;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

.footer-column {
  min-width: 180px;
  margin-bottom: 2rem;
}

.footer-column h4 {
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
  color: var(--text-light);
}

.footer-column ul {
  list-style: none;
}

.footer-column li {
  margin-bottom: 0.8rem;
}

.footer-column a {
  color: var(--text-gray);
  text-decoration: none;
  font-size: 0.9rem;
  transition: var(--transition);
}

.footer-column a:hover {
  color: var(--primary-color);
}

.footer-bottom {
  padding: 2rem;
  text-align: center;
  border-top: 1px solid var(--border-color);
  margin-top: 3rem;
}

.footer-bottom p {
  font-size: 0.85rem;
  color: var(--text-gray);
  margin-bottom: 0;
}

/* Terms page specific styles */
.terms-page {
    padding-top: 80px;
    max-width: 900px;
    margin: 0 auto;
    padding-bottom: 60px;
}

.back-link {
    display: flex;
    align-items: center;
    margin-bottom: 40px;
    color: #4caf50;
    text-decoration: none;
    transition: all 0.3s ease;
}

.back-link:hover {
    color: #fff;
}

.back-link img {
    height: 20px;
    margin-right: 8px;
}

.terms-header {
    margin-bottom: 40px;
    border-bottom: 1px solid #222;
    padding-bottom: 20px;
}

.terms-header h1 {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.terms-header p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #a8a8a8;
}

.terms-section {
    margin-bottom: 40px;
    padding-bottom: 30px;
    border-bottom: 1px solid #222;
}

.terms-section:last-child {
    border-bottom: none;
}

.terms-section h2 {
    color: #4caf50;
    font-size: 1.4rem;
    margin-bottom: 16px;
}

.terms-section p {
    font-size: 1rem;
    line-height: 1.6;
    color: #a8a8a8;
}

.last-updated {
    font-size: 0.9rem;
    color: #777;
    margin-top: 40px;
    text-align: right;
    font-style: italic;
}

/* Responsive */
@media (max-width: 992px) {
  .hero-container {
    flex-direction: column;
    text-align: center;
  }
  
  .hero-content {
    margin-bottom: 3rem;
  }
  
  .store-buttons {
    justify-content: center;
  }
  
  .steps-container {
    flex-direction: column;
    align-items: center;
  }
  
  .step {
    max-width: 320px;
  }
}

@media (max-width: 768px) {
  .top-nav {
    padding: 1rem 0;
  }
  
  .nav-container {
    flex-wrap: wrap;
  }
  
  .main-nav {
    order: 3;
    width: 100%;
    margin-top: 1rem;
  }
  
  .main-nav ul {
    justify-content: center;
  }
  
  .hero-title {
    font-size: 2.5rem;
  }
  
  .feature-card {
    padding: 1.5rem;
  }
  
  .section-title {
    font-size: 1.8rem;
  }
  
  .cta-content h2 {
    font-size: 2rem;
  }
}

@media (max-width: 576px) {
  .hero {
    padding: 8rem 0 4rem;
  }
  
  .hero-title {
    font-size: 2rem;
  }
  
  .hero-subtitle {
    font-size: 1rem;
  }
  
  .store-buttons {
    flex-direction: column;
    align-items: center;
  }
  
  .phone-mockup {
    width: 220px;
    height: 450px;
  }
  
  .features-grid {
    grid-template-columns: 1fr;
  }
  
  .section-container {
    padding: 3rem 1.5rem;
  }
  
  .footer-container {
    flex-direction: column;
  }
  
  
  
}