:root {
  /* Opera.com Official Website Theme Tokens */
  --bg-primary: #ffffff;
  --bg-secondary: #f7f8fa;
  --bg-tertiary: #edf0f5;
  --card-bg: #ffffff;
  --card-border: #e6e8ee;
  --card-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
  --card-shadow-hover: 0 12px 36px rgba(0, 0, 0, 0.1);
  --text-primary: #121316;
  --text-secondary: #5e6472;
  --text-muted: #8c93a3;
  --opera-red: #ff1b2d;
  --opera-red-hover: #e00f20;
  --opera-red-light: #fff0f2;
  --accent-gradient: linear-gradient(135deg, #ff1b2d 0%, #fa1e4e 100%);
  --accent-gradient-hover: linear-gradient(135deg, #fa1e4e 0%, #e00f20 100%);
  --glow-red: rgba(255, 27, 45, 0.28);
  --font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --container-max: 1200px;
  --transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-family);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
}

/* Background Ambient Glow (Opera.com soft hero blush) */
.ambient-glow {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 1300px;
  height: 650px;
  background: radial-gradient(circle at 50% 12%, rgba(255, 27, 45, 0.08) 0%, rgba(247, 248, 250, 0.6) 55%, transparent 80%);
  pointer-events: none;
  z-index: 0;
}

/* Navbar (Opera.com clean frosted white glass) */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  background: rgba(255, 255, 255, 0.9);
  border-bottom: 1px solid var(--card-border);
  padding: 16px 0;
}

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

.nav-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--text-primary);
  font-weight: 800;
  font-size: 1.25rem;
  letter-spacing: -0.02em;
}

.nav-brand img {
  width: 36px;
  height: 36px;
  border-radius: 8px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
}

.nav-links a {
  text-decoration: none;
  color: #3b3f49;
  font-size: 0.95rem;
  font-weight: 500;
  transition: var(--transition);
}

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

.nav-cta {
  display: flex;
  align-items: center;
  gap: 14px;
}

/* Opera.com Official Style Buttons */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--opera-red);
  color: #ffffff;
  padding: 11px 26px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(255, 27, 45, 0.28);
  transition: var(--transition);
}

.btn-primary:hover {
  background: var(--opera-red-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(255, 27, 45, 0.38);
  color: #ffffff;
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #ffffff;
  color: var(--text-primary);
  padding: 11px 24px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  border: 1.5px solid #d5d8e2;
  transition: var(--transition);
}

.btn-secondary:hover {
  background: #f7f8fa;
  border-color: #121316;
  transform: translateY(-2px);
}

/* Official Microsoft Store Badge */
.btn-ms-store {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: #0e1015;
  color: #ffffff;
  padding: 8px 24px;
  border-radius: 50px;
  text-decoration: none;
  border: 1px solid #232630;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.12);
  transition: var(--transition);
}

.btn-ms-store:hover {
  background: #181a22;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.ms-store-icon {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}

.ms-store-text {
  display: flex;
  flex-direction: column;
  text-align: left;
  line-height: 1.15;
}

.ms-store-sub {
  font-size: 0.62rem;
  letter-spacing: 0.08em;
  font-weight: 600;
  color: #9da3b2;
  text-transform: uppercase;
}

.ms-store-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: -0.01em;
}

/* Official Google Play Badge */
.btn-play-store {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: #0e1015;
  color: #ffffff;
  padding: 8px 24px;
  border-radius: 50px;
  text-decoration: none;
  border: 1px solid #232630;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.12);
  transition: var(--transition);
}

.btn-play-store:hover {
  background: #181a22;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.play-store-icon {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}

.play-store-text {
  display: flex;
  flex-direction: column;
  text-align: left;
  line-height: 1.15;
}

.play-store-sub {
  font-size: 0.62rem;
  letter-spacing: 0.08em;
  font-weight: 600;
  color: #9da3b2;
  text-transform: uppercase;
}

.play-store-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: -0.01em;
}

/* Platform Tabs Switcher */
.platform-tabs {
  display: inline-flex;
  background: #edf0f5;
  padding: 4px;
  border-radius: 50px;
  border: 1px solid var(--card-border);
  gap: 6px;
  margin-bottom: 24px;
}

.platform-tab-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 22px;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-secondary);
  background: transparent;
  border: none;
  cursor: pointer;
  transition: var(--transition);
}

.platform-tab-btn.active {
  background: #ffffff;
  color: var(--text-primary);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

/* Hero Section */
.hero {
  position: relative;
  padding: 90px 0 60px;
  text-align: center;
  z-index: 1;
}

.badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 20px;
  background: var(--opera-red-light);
  border: 1px solid rgba(255, 27, 45, 0.25);
  border-radius: 50px;
  color: var(--opera-red);
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 24px;
}

.hero-title {
  font-size: 3.6rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin-bottom: 20px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  color: #121316;
}

.gradient-text {
  background: linear-gradient(135deg, #ff1b2d 0%, #fa1e4e 50%, #b80d1e 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: 1.25rem;
  color: var(--text-secondary);
  max-width: 680px;
  margin: 0 auto 36px;
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.hero-version-tag {
  color: var(--text-muted);
  font-size: 0.85rem;
  margin-bottom: 50px;
}

/* Desktop Browser Screenshot Showcase */
.browser-mockup-wrapper {
  max-width: 1080px;
  margin: 0 auto;
  position: relative;
}

.browser-screenshot-card {
  background: #ffffff;
  border-radius: 18px;
  border: 1px solid #dce0e8;
  box-shadow: 
    0 25px 70px rgba(0, 0, 0, 0.12),
    0 0 0 1px rgba(0, 0, 0, 0.04);
  overflow: hidden;
  position: relative;
  transition: var(--transition);
}

.browser-screenshot-card:hover {
  transform: translateY(-4px);
  box-shadow: 
    0 32px 85px rgba(0, 0, 0, 0.16),
    0 0 0 1px rgba(255, 27, 45, 0.25);
}

.browser-screenshot-img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 18px;
}

/* Feature Grid */
.features-section {
  padding: 110px 0;
  position: relative;
  z-index: 1;
  background: var(--bg-secondary);
  border-top: 1px solid var(--card-border);
  border-bottom: 1px solid var(--card-border);
}

.section-header {
  text-align: center;
  max-width: 650px;
  margin: 0 auto 60px;
}

.section-label {
  color: var(--opera-red);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
  line-height: 1.2;
  color: #121316;
}

.section-subtitle {
  color: var(--text-secondary);
  font-size: 1.1rem;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.feature-card {
  background: var(--card-bg);
  border: 1px solid #e3e6ee;
  border-radius: 20px;
  padding: 34px 30px;
  transition: var(--transition);
  box-shadow: var(--card-shadow);
}

.feature-card:hover {
  transform: translateY(-5px);
  border-color: #ffccd2;
  box-shadow: var(--card-shadow-hover);
}

.feature-icon-bubble {
  width: 54px;
  height: 54px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 22px;
  background: var(--opera-red-light);
  color: var(--opera-red);
  border: 1px solid rgba(255, 27, 45, 0.2);
}

.feature-icon-bubble svg {
  width: 26px;
  height: 26px;
  stroke: var(--opera-red);
  stroke-width: 2;
}

.feature-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 10px;
  letter-spacing: -0.01em;
  color: #121316;
}

.feature-desc {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* Mobile Showcase Section */
.mobile-showcase-section {
  padding: 110px 0;
  background: #ffffff;
}

.mobile-showcase-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 60px;
}

.phone-mockup-wrapper {
  max-width: 330px;
  margin: 0 auto;
  position: relative;
}

.phone-device-frame {
  background: #111319;
  border-radius: 48px;
  padding: 12px 10px 14px;
  box-shadow: 
    0 30px 80px rgba(0, 0, 0, 0.22),
    0 0 0 3px #262a36,
    0 0 0 5px #111319,
    inset 0 0 0 1.5px rgba(255, 255, 255, 0.12);
  position: relative;
  overflow: hidden;
  transition: var(--transition);
}

.phone-device-frame:hover {
  transform: translateY(-6px);
  box-shadow: 
    0 36px 95px rgba(255, 27, 45, 0.2),
    0 0 0 3px var(--opera-red),
    0 0 0 5px #111319,
    inset 0 0 0 2px rgba(255, 255, 255, 0.2);
}

.phone-top-sensors {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  height: 20px;
  margin-bottom: 6px;
  position: relative;
  z-index: 2;
}

.phone-speaker {
  width: 52px;
  height: 4px;
  background: #272b38;
  border-radius: 4px;
}

.phone-camera-lens {
  width: 11px;
  height: 11px;
  background: #08090d;
  border: 1.5px solid #232734;
  border-radius: 50%;
  position: relative;
}

.phone-camera-lens::after {
  content: "";
  position: absolute;
  top: 2px;
  left: 2px;
  width: 3px;
  height: 3px;
  background: rgba(37, 99, 235, 0.6);
  border-radius: 50%;
}

.phone-screen-container {
  border-radius: 36px;
  overflow: hidden;
  background: #000000;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.phone-screen-img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 36px;
}

.mobile-perks-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin: 30px 0;
}

.mobile-perk-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.mobile-perk-icon {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: var(--opera-red-light);
  border: 1px solid rgba(255, 27, 45, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--opera-red);
  flex-shrink: 0;
}

.mobile-perk-icon svg {
  width: 22px;
  height: 22px;
  stroke: var(--opera-red);
  stroke-width: 2;
}

.mobile-perk-content h4 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 4px;
  color: #121316;
}

.mobile-perk-content p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.5;
}

/* Privacy Comparison Table */
.comparison-section {
  padding: 100px 0;
  background: var(--bg-secondary);
  border-top: 1px solid var(--card-border);
  border-bottom: 1px solid var(--card-border);
}

.comparison-table-wrapper {
  overflow-x: auto;
  margin-top: 40px;
  border-radius: 20px;
  border: 1px solid #e1e4ec;
  box-shadow: var(--card-shadow);
  background: #ffffff;
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.comparison-table th, .comparison-table td {
  padding: 18px 24px;
  border-bottom: 1px solid #e9edf3;
}

.comparison-table th {
  color: #3b3f49;
  font-weight: 700;
  font-size: 0.95rem;
  background: #f7f9fc;
}

.comparison-table th.highlight, .comparison-table td.highlight {
  background: #fff4f5;
  color: var(--opera-red);
  font-weight: 700;
}

.comparison-table td {
  font-size: 0.95rem;
  color: #333640;
}

.check-icon {
  color: #16a34a;
  font-size: 1.15rem;
  font-weight: bold;
}

.cross-icon {
  color: #dc2626;
  font-size: 1.15rem;
  font-weight: bold;
}

/* Download Section */
.download-section {
  padding: 110px 0;
  text-align: center;
  background: #ffffff;
}

.download-card {
  max-width: 800px;
  margin: 0 auto;
  background: #ffffff;
  border: 1.5px solid #e2e5ed;
  border-radius: 24px;
  padding: 60px 40px;
  box-shadow: var(--card-shadow);
  position: relative;
  overflow: hidden;
}

.download-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--opera-red);
}

.download-platform-icon {
  width: 58px;
  height: 58px;
  border-radius: 18px;
  background: var(--opera-red-light);
  border: 1px solid rgba(255, 27, 45, 0.25);
  color: var(--opera-red);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  box-shadow: 0 4px 12px rgba(255, 27, 45, 0.08);
}

.download-platform-icon svg {
  width: 30px;
  height: 30px;
  stroke: var(--opera-red);
  stroke-width: 2;
}

.download-grid {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 36px;
}

/* FAQ Section */
.faq-section {
  padding: 90px 0 110px;
  background: var(--bg-secondary);
  border-top: 1px solid var(--card-border);
}

.faq-list {
  max-width: 780px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  background: #ffffff;
  border: 1px solid #e2e5ed;
  border-radius: 16px;
  padding: 24px 28px;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
}

.faq-item:hover {
  border-color: #ffccd2;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.06);
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-weight: 700;
  font-size: 1.1rem;
  color: #121316;
}

.faq-answer {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.65;
  margin-top: 14px;
  display: none;
}

.faq-item.active .faq-answer {
  display: block;
}

/* Footer (Opera.com clean contrast dark footer) */
.footer {
  background: #0e1015;
  border-top: 1px solid #1f222a;
  padding: 70px 0 35px;
  color: #9499a6;
  font-size: 0.9rem;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 40px;
  margin-bottom: 50px;
}

.footer-col-brand {
  max-width: 320px;
}

.footer-col-brand h3 {
  color: #ffffff;
  font-size: 1.25rem;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-col-brand p {
  color: #838896;
}

.footer-col h4 {
  color: #ffffff;
  font-size: 0.95rem;
  margin-bottom: 16px;
  font-weight: 700;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col a {
  color: #9499a6;
  text-decoration: none;
  transition: var(--transition);
}

.footer-col a:hover {
  color: var(--opera-red);
}

.footer-bottom {
  text-align: center;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: #6a6f7d;
  font-size: 0.85rem;
}

/* Responsive adjustments */
@media (max-width: 900px) {
  .hero-title { font-size: 2.6rem; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .nav-links { display: none; }
  .mobile-showcase-grid { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  .hero-title { font-size: 2rem; }
  .hero-subtitle { font-size: 1rem; }
  .features-grid { grid-template-columns: 1fr; }
  .comparison-table th, .comparison-table td { padding: 12px 14px; font-size: 0.85rem; }
}
