/* Reset und Basis-Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 50%, #0f0f0f 100%);
  color: #ffffff;
  line-height: 1.6;
  overflow-x: hidden;
}

/* Container und Layout */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Dynamic container for content sections */
.content-section .container {
  max-width: none;
  width: 100%;
}

/* Header */
header {
  padding: 1rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10, 10, 10, 0.8);
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 4rem;
}

.logo-container {
  display: flex;
  align-items: center;
  gap: 1rem;
}

nav {
  margin-top: 0;
}

.app-logo {
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.app-logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 15px;
}



nav {
  margin-top: 0;
}

nav a {
  margin-right: 1rem;
  text-decoration: none;
  color: #cccccc;
  transition: all 0.3s ease;
  font-weight: 500;
  padding: 0.5rem 1rem;
  border-radius: 15px;
  border: 2px solid transparent;
}

nav a:hover {
  color: rgb(6, 160, 133);
}

nav a.active {
  color: #ffffff;
  border-color: #ffffff;
  background: rgba(0, 0, 0, 0.8);
}

.language-switch {
  font-weight: 600;
  font-size: 0.9rem;
  padding: 0.3rem 0.8rem;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  margin-left: 2rem;
}

  /* Mobile language switch styling */
  .mobile-nav .language-switch {
    display: none;
  }
  
  /* Mobile header language switch */
  .mobile-header-language {
    font-weight: 600;
    font-size: 0.9rem;
    padding: 0.3rem 0.8rem;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #cccccc;
    text-decoration: none;
    transition: all 0.3s ease;
  }
  
  .mobile-header-language:hover {
    color: rgb(6, 160, 133);
  }

/* Main Content */
main {
  padding: 2rem 0;
  min-height: 80vh;
}

.hero-section {
  text-align: center;
  padding: 1rem 0 2rem 0;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
  position: relative;
  display: inline-block;
}

.hero-title::before {
  content: attr(data-text);
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, #0099cc 0%, rgb(6, 160, 133) 50%, #0099cc 100%);
  background-size: 200% 100%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradientShift 10s linear infinite;
  z-index: 1;
}

.hero-title::after {
  content: attr(data-text);
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  color: transparent;
  z-index: 0;
}

.hero-subtitle {
  font-size: 1.5rem;
  color: #cccccc;
  margin-bottom: 1rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.3;
}

.trademark {
  font-weight: 600;
  color: #ffffff;
  position: relative;
}

.trademark::after {
  content: "®";
  font-size: 0.6em;
  vertical-align: sub;
  margin-left: 1px;
  color: #ffffff;
}

/* Animation Container */
.animation-container {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 4rem 0;
  min-height: 400px;
  position: relative;
}

.animation-wrapper {
  position: relative;
  width: 350px;
  height: 350px;
  margin: 0 auto;
  transition: transform 1s ease-in-out;
}

/* Animation wrapper moves up after circle completion */
.animation-wrapper.move-up {
  transform: translateY(-50px);
}

/* Circle Animation */
.circle-path {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.circle-svg {
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}

.circle-progress {
  stroke: rgb(6, 160, 133);
  stroke-width: 8; /* Angepasst für kleinere Animation */
  stroke-linecap: round;
  fill: none;
  stroke-dasharray: 880; /* 2 * π * 140 (für r=140) */
  stroke-dashoffset: 880;
  opacity: 0;
  animation: drawCircle 4s ease-in-out forwards;
  animation-delay: 0.6s;
}

@keyframes drawCircle {
  0% {
    opacity: 0;
    stroke-dashoffset: 880;
  }
  1% {
    opacity: 1;
  }
  100% {
    opacity: 1;
    stroke-dashoffset: 0;
  }
}

@keyframes gradientShift {
  0% {
    background-position: 200% 0%;
  }
  100% {
    background-position: 0% 0%;
  }
}

/* Device Icons */
.device {
  position: absolute;
  opacity: 0;
  transform: scale(0.8);
  transition: all 0.8s ease-in-out;
}

.device img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: brightness(0.9) contrast(1.1);
}

/* Solar System - bei 0° (oben), größer */
.device.solar-system {
  width: 168px; /* 140px * 1.2 */
  height: 90px; /* 75px * 1.2 */
  top: 2%;
  left: 27%;
  transform: translateX(-50%) translateY(-50%);
  animation: fadeInScale 0.8s ease-in-out forwards;
}

/* Battery Storage - bei 90° (rechts) */
.device.battery-storage {
  width: 95px; /* 79px * 1.2 */
  height: 95px; /* 79px * 1.2 */
  top: 38%;
  right: -2%;
  transform: translateX(50%) translateY(-50%);
  animation: fadeInScale 0.8s ease-in-out forwards;
  animation-delay: 1.48s;
}

/* Heat Pump - bei 180° (unten) */
.device.heat-pump {
  width: 113px; /* 94px * 1.2 */
  height: 90px; /* 75px * 1.2 */
  bottom: 0%;
  left: 33%;
  transform: translateX(-50%) translateY(50%);
  animation: fadeInScale 0.8s ease-in-out forwards;
  animation-delay: 2.12s;
}

/* Wallbox - bei 270° (links) */
.device.wallbox {
  width: 101px; /* 84px * 1.2 */
  height: 101px; /* 84px * 1.2 */
  top: 38%;
  left: 0%; /* nach links gerückt */
  transform: translateX(-50%) translateY(-50%);
  animation: fadeInScale 0.8s ease-in-out forwards;
  animation-delay: 2.76s;
}

@keyframes fadeInScale {
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* App Store Badge */
.app-store-badge {
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  opacity: 0;
  transition: opacity 0.8s ease-in-out;
  z-index: 10;
}

.app-store-badge.show {
  opacity: 1;
}

.app-store-badge img {
  height: 50px;
  width: auto;
}

/* Mobile app store badge size */
@media (max-width: 768px) {
  .app-store-badge img {
    height: 40px;
    width: auto;
  }
  
  .app-store-badge {
    bottom: 10px;
  }
}

/* Content Sections */
.content-section {
  margin: 1.5rem 0 4rem 0;
  padding: 2rem;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  width: 100%;
  box-sizing: border-box;
}

.section-title {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  color: #ffffff;
}

.section-text {
  font-size: 1.1rem;
  color: #cccccc;
  margin-bottom: 2rem;
}

/* Services Grid */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.service-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 2rem;
  transition: all 0.3s ease;
}

.service-card:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(6, 160, 133, 0.3);
}

.service-card h3 {
  color: rgb(6, 160, 133);
  font-size: 1.5rem;
  margin-bottom: 1rem;
  font-weight: 600;
}

.service-card p {
  color: #cccccc;
  line-height: 1.6;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 1rem 2rem;
  background: linear-gradient(45deg, rgb(6, 160, 133), #0099cc);
  color: white;
  text-decoration: none;
  border-radius: 8px;
  font-weight: 600;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  font-size: 1rem;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(6, 160, 133, 0.3);
}

/* Footer */
footer {
  padding: 3rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
  color: #888888;
}

/* Mobile Navigation Footer */
.mobile-nav {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(10, 10, 10, 0.95);
  backdrop-filter: blur(10px);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1rem 0;
  z-index: 1000;
}

.mobile-nav-content {
  display: flex;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  overflow-x: auto;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* Internet Explorer 10+ */
}

.mobile-nav-content::-webkit-scrollbar {
  display: none; /* WebKit */
}

  .mobile-nav a {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: #cccccc;
    font-size: 0.85rem;
    font-weight: 500;
    transition: all 0.3s ease;
    padding: 0.5rem 0.75rem;
    border-radius: 10px;
    border: 2px solid transparent;
    white-space: nowrap;
    flex-shrink: 0;
    margin-right: 0.5rem;
  }

.mobile-nav a:hover {
  color: rgb(6, 160, 133);
}

.mobile-nav a.active {
  color: #ffffff;
  border-color: #ffffff;
  background: rgba(0, 0, 0, 0.8);
}

.mobile-copyright-standalone {
  text-align: center;
  padding: 1rem 1rem;
  margin-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-copyright-standalone p {
  color: #888888;
  font-size: 0.8rem;
  margin: 0;
}

/* Mobile Navigation Copyright */
.mobile-nav-copyright {
  text-align: center;
  padding: 0.5rem 1rem 0;
  margin-top: 0.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: #888888;
  font-size: 0.75rem;
  line-height: 1.2;
}

/* Hide desktop copyright on mobile */
@media (max-width: 768px) {
  .desktop-copyright {
    display: none;
  }
}

/* Responsive Design */
@media (max-width: 768px) {
  .hero-title {
    font-size: 2.5rem;
  }
  
  .hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 1rem;
  }
  
  /* Mobile animation - scaled version of desktop */
  .animation-wrapper {
    width: 300px;
    height: 300px;
    transform: scale(0.85);
  }
  
  /* Mobile device scaling to match circle scale */
  .device.solar-system {
    width: 143px; /* 168px * 0.85 */
    height: 77px; /* 90px * 0.85 */
  }
  
  .device.battery-storage {
    width: 81px; /* 95px * 0.85 */
    height: 81px; /* 95px * 0.85 */
  }
  
  .device.heat-pump {
    width: 96px; /* 113px * 0.85 */
    height: 77px; /* 90px * 0.85 */
  }
  
  .device.wallbox {
    width: 86px; /* 101px * 0.85 */
    height: 86px; /* 101px * 0.85 */
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  nav a {
    margin-right: 1rem;
    font-size: 0.9rem;
  }
  
  /* Hide desktop navigation on mobile */
  nav {
    display: none;
  }
  
  /* Show mobile navigation */
  .mobile-nav {
    display: block;
  }
  
  /* Add bottom padding to main content for mobile nav */
  main {
    padding-bottom: 6rem;
    padding-top: 2rem;
  }
  
  /* Mobile hero section spacing */
  .hero-section {
    padding: 0.5rem 0;
  }
  

  
  /* Mobile app logo size */
  .app-logo {
    width: 40px;
    height: 40px;
  }
  
  /* Mobile header height reduction */
  header {
    padding: 1rem 0;
  }
  
  /* Mobile safe spaces */
  .header-content {
    padding: 0 1rem;
  }
  
  .mobile-nav-content {
    padding: 0 1rem;
  }
  
  /* Ensure mobile nav items align with header */
  .mobile-nav a {
    padding: 0.5rem 0.75rem;
  }
  
  .app-logo img {
    border-radius: 12px;
  }
  
  /* Mobile animation container - optimized for viewport */
  .animation-container {
    margin: 2rem 0 1rem 0;
    min-height: 350px;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 1rem 0;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 2rem;
  }
  
  /* Smaller screens - even more scaled */
  .animation-wrapper {
    width: 280px;
    height: 280px;
    transform: scale(0.75);
  }
  
  /* Smaller screens device scaling to match circle scale */
  .device.solar-system {
    width: 126px; /* 168px * 0.75 */
    height: 68px; /* 90px * 0.75 */
  }
  
  .device.battery-storage {
    width: 71px; /* 95px * 0.75 */
    height: 71px; /* 95px * 0.75 */
  }
  
  .device.heat-pump {
    width: 85px; /* 113px * 0.75 */
    height: 68px; /* 90px * 0.75 */
  }
  
  .device.wallbox {
    width: 76px; /* 101px * 0.75 */
    height: 76px; /* 101px * 0.75 */
  }
  
  .container {
    padding: 0 1rem;
  }
  
  /* Dynamic container for content sections on mobile */
  .content-section .container {
    padding: 0 1rem;
  }
  
  /* Mobile container override for better alignment */
  .mobile-nav .container {
    padding: 0;
  }
  
  /* Mobile content section spacing */
  .content-section {
    margin: 0.75rem 0 4rem 0;
    padding: 1.25rem;
  }
}

/* Smooth Scrolling */
html {
  scroll-behavior: smooth;
}

/* Loading Animation */
.loading {
  opacity: 0;
  animation: fadeIn 1s ease-in-out forwards;
}

@keyframes fadeIn {
  to {
    opacity: 1;
  }
}

/* Page Transition */
.page-transition {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.page-transition.loaded {
  opacity: 1;
  transform: translateY(0);
}

/* Schnelle Seitenwechsel-Animation (ähnlich wie Sprachwechsel) */
.page-transition {
  opacity: 0;
  transition: opacity 0.2s ease-in-out;
}

.page-transition.loaded {
  opacity: 1;
}

/* Fade-out für ausgehende Seiten */
.page-exit {
  opacity: 0;
  transition: opacity 0.15s ease-in-out;
}

/* Fade-in für eingehende Seiten */
.page-enter {
  opacity: 0;
  animation: quickFadeIn 0.3s ease-in-out forwards;
}

@keyframes quickFadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* Privacy, Imprint and Terms Content */
.privacy-content,
.imprint-content,
.terms-content {
  line-height: 1.8;
}

.privacy-content h3,
.imprint-content h3,
.terms-content h3 {
  color: rgb(6, 160, 133);
  margin-top: 2rem;
  margin-bottom: 1rem;
  font-size: 1.3rem;
}

.privacy-content table,
.imprint-content table,
.terms-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 1rem 0;
  table-layout: fixed;
  word-wrap: break-word;
}

.privacy-content th,
.privacy-content td,
.imprint-content th,
.imprint-content td,
.terms-content th,
.terms-content td {
  padding: 0.75rem;
  text-align: left;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  word-wrap: break-word;
  hyphens: auto;
  overflow-wrap: break-word;
}

.privacy-content th,
.imprint-content th,
.terms-content th {
  background: rgba(6, 160, 133, 0.1);
  color: rgb(6, 160, 133);
  font-weight: 600;
}

/* Specific column widths for better layout */
.privacy-content table th:first-child,
.privacy-content table td:first-child,
.imprint-content table th:first-child,
.imprint-content table td:first-child,
.terms-content table th:first-child,
.terms-content table td:first-child {
  width: 30%;
  min-width: 120px;
}

.privacy-content table th:last-child,
.privacy-content table td:last-child,
.imprint-content table th:last-child,
.imprint-content table td:last-child,
.terms-content table th:last-child,
.terms-content table td:last-child {
  width: 70%;
}

/* Responsive Table Styles */
.table-container {
  overflow-x: auto;
  margin: 1rem 0;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.table-container table {
  min-width: 600px;
  margin: 0;
}

/* Hide mobile cards on desktop by default */
.mobile-table-cards {
  display: none;
}

/* Mobile Table Cards */
@media (max-width: 768px) {
  .table-container {
    overflow: visible;
  }
  
  .table-container table {
    display: none;
  }
  
  .mobile-table-cards {
    display: block !important;
  }
  
  .table-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 1rem;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
  }
  
  .table-card:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(6, 160, 133, 0.3);
  }
  
  .table-card-header {
    font-weight: 600;
    color: rgb(6, 160, 133);
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid rgba(6, 160, 133, 0.2);
  }
  
  .table-card-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 0.5rem;
    padding: 0.25rem 0;
    gap: 0.75rem;
  }
  
  .table-card-row:last-child {
    margin-bottom: 0;
  }
  
  .table-card-label {
    font-weight: 500;
    color: #cccccc;
    min-width: 90px;
    flex-shrink: 0;
  }
  
  .table-card-value {
    color: #ffffff;
    text-align: right;
    flex: 1;
    word-wrap: break-word;
    hyphens: auto;
    line-height: 1.4;
  }
}

.privacy-content ul,
.imprint-content ul,
.terms-content ul {
  margin: 1rem 0;
  padding-left: 1.5rem;
}

.privacy-content li,
.imprint-content li,
.terms-content li {
  margin-bottom: 0.5rem;
}

/* Link styling for content sections */
.privacy-content a,
.imprint-content a,
.terms-content a {
  color: #0099cc;
  text-decoration: none;
  transition: color 0.3s ease;
}

.privacy-content a:hover,
.imprint-content a:hover,
.terms-content a:hover {
  color: #00aaff;
  text-decoration: underline;
}

/* About Page Styles */
.about-hero {
  padding: 4rem 0;
  min-height: 80vh;
  display: flex;
  align-items: center;
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-title {
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 2rem;
  position: relative;
  display: inline-block;
}

.about-title::before {
  content: attr(data-text);
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, #0099cc 0%, rgb(6, 160, 133) 50%, #0099cc 100%);
  background-size: 200% 100%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradientShift 10s linear infinite;
  z-index: 1;
}

.about-title::after {
  content: attr(data-text);
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  color: transparent;
  z-index: 0;
}

.about-description {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #cccccc;
}

.about-description p {
  margin-bottom: 1.5rem;
}

.about-image {
  display: flex;
  justify-content: center;
  align-items: center;
}

.image-placeholder {
  width: 300px;
  height: 300px;
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(6, 160, 133, 0.1), rgba(255, 255, 255, 0.05));
  border: 2px dashed rgba(6, 160, 133, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.image-placeholder:hover {
  border-color: rgba(6, 160, 133, 0.6);
  background: linear-gradient(135deg, rgba(6, 160, 133, 0.15), rgba(255, 255, 255, 0.08));
}

.placeholder-content {
  text-align: center;
  color: #888;
}

.placeholder-content svg {
  margin-bottom: 1rem;
  opacity: 0.6;
}

.placeholder-content p {
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.placeholder-content small {
  font-size: 0.9rem;
  opacity: 0.8;
}

.about-mission {
  padding: 4rem 0;
  background: rgba(255, 255, 255, 0.02);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.mission-content {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.mission-content h2 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 2rem;
  color: #ffffff;
}

.mission-content p {
  font-size: 1.2rem;
  line-height: 1.8;
  color: #cccccc;
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .about-content {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }
  
  .about-title {
    font-size: 2.5rem;
  }
  
  .image-placeholder {
    width: 250px;
    height: 250px;
  }
  
  .mission-content h2 {
    font-size: 2rem;
  }
  
  .mission-content p {
    font-size: 1.1rem;
  }
}

/* Developer Photo Styling */
.developer-photo-wrapper {
  width: 320px;
  height: 320px;
  padding: 4px;
  background: linear-gradient(90deg, #0099cc 0%, rgb(6, 160, 133) 50%, #0099cc 100%);
  border-radius: 28px;
  box-shadow: 
    0 8px 32px rgba(0, 0, 0, 0.1),
    0 0 0 1px rgba(255, 255, 255, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
}

.developer-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 24px;
  display: block;
}

.developer-photo-wrapper:hover {
  transform: translateY(-8px) scale(1.05);
  border-radius: 32px;
  background: linear-gradient(90deg, #00aaff 0%, #00ffcc 50%, #00aaff 100%);
  box-shadow: 
    0 20px 40px rgba(0, 0, 0, 0.15),
    0 0 0 1px rgba(255, 255, 255, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.developer-photo-wrapper:hover .developer-photo {
  border-radius: 28px;
}

/* Responsive adjustments for developer photo */
@media (max-width: 768px) {
  .developer-photo-wrapper {
    width: 240px;
    height: 240px;
    padding: 3px;
    border-radius: 21px;
  }
  
  .developer-photo {
    border-radius: 18px;
  }
  
  .developer-photo-wrapper:hover {
    transform: translateY(-4px) scale(1.03);
    border-radius: 25px;
  }
  
  .developer-photo-wrapper:hover .developer-photo {
    border-radius: 22px;
  }
}

@media (max-width: 480px) {
  .developer-photo-wrapper {
    width: 200px;
    height: 200px;
    padding: 3px;
    border-radius: 19px;
  }
  
  .developer-photo {
    border-radius: 16px;
  }
  
  .developer-photo-wrapper:hover {
    transform: translateY(-3px) scale(1.02);
    border-radius: 23px;
  }
  
  .developer-photo-wrapper:hover .developer-photo {
    border-radius: 20px;
  }
}

/* Contact Page Styles */
.contact-content {
  max-width: 800px;
  margin: 0 auto;
}

.contact-intro {
  text-align: center;
  margin-bottom: 3rem;
}

.contact-intro p {
  font-size: 1.3rem;
  line-height: 1.8;
  color: #cccccc;
  margin-bottom: 1.5rem;
  font-weight: 500;
}

.contact-methods {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.contact-method {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 2rem;
  transition: all 0.3s ease;
}

.contact-method:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(6, 160, 133, 0.3);
  transform: translateY(-2px);
}

.contact-method h3 {
  color: rgb(6, 160, 133);
  font-size: 1.5rem;
  margin-bottom: 1rem;
  font-weight: 600;
}

.contact-method p {
  color: #cccccc;
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.contact-button-container {
  text-align: center;
}

.contact-button {
  display: inline-block;
  padding: 1rem 2rem;
  background: linear-gradient(45deg, rgb(6, 160, 133), #0099cc);
  color: white;
  text-decoration: none;
  border-radius: 12px;
  font-weight: 600;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  font-size: 1rem;
  box-shadow: 0 4px 15px rgba(6, 160, 133, 0.2);
}

.contact-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(6, 160, 133, 0.4);
  background: linear-gradient(45deg, #00ffcc, #00aaff);
}

.contact-info {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 2rem;
  transition: all 0.3s ease;
}

.contact-info:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(6, 160, 133, 0.3);
  transform: translateY(-2px);
}

.contact-info h3 {
  color: rgb(6, 160, 133);
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  font-weight: 600;
}

.contact-details p {
  color: #cccccc;
  line-height: 1.8;
  margin-bottom: 1rem;
}

.contact-details strong {
  color: #ffffff;
}

.contact-faq {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 2rem;
  margin-top: 2rem;
}

.contact-faq h3 {
  color: #ffffff;
  font-size: 1.8rem;
  margin-bottom: 2rem;
  font-weight: 600;
  text-align: center;
}

.faq-items {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.faq-item {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 1.5rem;
  transition: all 0.3s ease;
}

.faq-item:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(6, 160, 133, 0.3);
  transform: translateY(-1px);
}

.faq-item h4 {
  color: rgb(6, 160, 133);
  font-size: 1.2rem;
  margin-bottom: 1rem;
  font-weight: 600;
}

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

/* Mobile Responsive for Contact */
@media (max-width: 768px) {
  .contact-methods {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .contact-method,
  .contact-info {
    padding: 1.5rem;
  }
  
  .contact-faq {
    padding: 1.5rem;
  }
  
  .contact-button {
    padding: 0.875rem 1.75rem;
    font-size: 0.95rem;
  }
}