/* ——— GLOBAL ——— */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --bg: linear-gradient(135deg, #0b0c1a 0%, #1a1a2e 50%, #16213e 100%);
  --accent: #00f3ff;
  --accent2: #00a8ff;
  --text: #f0f0ff;
  --card-bg: rgba(25, 25, 45, 0.6);
  --transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

body {
  font-family: 'Inter', 'Segoe UI', sans-serif;
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
  line-height: 1.6;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* ——— HEADER ——— */
header {
  padding: 1.2rem 0;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  backdrop-filter: blur(10px);
  background: rgba(11, 12, 26, 0.8);
  border-bottom: 1px solid rgba(0, 243, 255, 0.1);
}

.logo-container {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.logo {
  height: 36px;
  filter: drop-shadow(0 0 8px var(--accent));
}

.logo-text {
  font-size: 1.6rem;
  font-weight: 700;
  background: linear-gradient(to right, var(--accent), var(--accent2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: -0.5px;
}

nav {
  display: flex;
  gap: 2rem;
  align-items: center;
}

nav a {
  text-decoration: none;
  color: var(--text);
  font-weight: 500;
  position: relative;
  transition: var(--transition);
}

nav a:hover {
  color: var(--accent);
}

.hamburger {
  display: none;
  flex-direction: column;
  background: none;
  border: none;
  cursor: pointer;
  padding: 5px;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background: var(--accent);
  margin: 3px 0;
  transition: var(--transition);
}

/* ——— HERO ——— */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 80px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 20% 30%, rgba(0, 243, 255, 0.05) 0%, transparent 40%),
              radial-gradient(circle at 80% 70%, rgba(0, 168, 255, 0.05) 0%, transparent 40%);
  z-index: 0;
}

.hero-content {
  max-width: 600px;
  z-index: 2;
}

.hero h1 {
  font-size: 3.2rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 1.2rem;
  text-shadow: 0 0 10px rgba(0, 243, 255, 0.3);
}

.hero p {
  font-size: 1.2rem;
  color: #a0a0c0;
  margin-bottom: 2rem;
  max-width: 500px;
}

.btn {
  padding: 0.9rem 2.2rem;
  border-radius: 6px;
  font-weight: 700;
  text-decoration: none;
  display: inline-block;
  transition: var(--transition);
  font-size: 1.05rem;
  border: 1px solid var(--accent);
  background: transparent;
  color: var(--accent);
  box-shadow: 0 0 15px rgba(0, 243, 255, 0.3);
}

.btn:hover {
  background: rgba(0, 243, 255, 0.1);
  box-shadow: 0 0 25px rgba(0, 243, 255, 0.6);
  transform: translateY(-3px);
}

/* ——— LAPTOP MOCKUP ——— */
.laptop-mockup {
  position: absolute;
  right: 5%;
  top: 50%;
  transform: translateY(-50%);
  width: 400px;
  height: 250px;
  background: rgba(10, 10, 20, 0.7);
  border: 1px solid var(--accent);
  border-radius: 12px;
  box-shadow: 0 0 30px rgba(0, 243, 255, 0.2);
  overflow: hidden;
  z-index: 1;
  animation: float 4s ease-in-out infinite;
}

@keyframes float {
  0% { transform: translateY(-50%) rotate(-2deg); }
  50% { transform: translateY(-50%) rotate(2deg); }
  100% { transform: translateY(-50%) rotate(-2deg); }
}

.laptop-mockup .laptop-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 0 10px rgba(0, 243, 255, 0.3));
}

.laptop-mockup::before {
  content: '';
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 8px;
  background: var(--accent);
  border-radius: 4px;
}

/* ——— SERVICES ——— */
.section {
  padding: 6rem 0;
}

.section-title {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 4rem;
  background: linear-gradient(to right, var(--accent), var(--accent2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.cards {
  display: flex;
  gap: 2rem;
  justify-content: center;
  flex-wrap: wrap;
}

.card {
  background: var(--card-bg);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(0, 243, 255, 0.2);
  border-radius: 16px;
  padding: 2rem;
  width: 100%;
  max-width: 300px;
  transition: var(--transition);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.card:hover {
  transform: translateY(-10px);
  border-color: var(--accent);
  box-shadow: 0 8px 30px rgba(0, 243, 255, 0.2);
}

.card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--accent);
}

/* ——— PORTFÖY ——— */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 2rem;
}

.project {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  height: 200px;
  background: rgba(20, 20, 35, 0.8);
  border: 1px solid rgba(0, 243, 255, 0.1);
}

.project img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.project:hover img {
  transform: scale(1.05);
}

.project::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, rgba(0, 168, 255, 0.1), rgba(0, 243, 255, 0.1));
  opacity: 0;
  transition: var(--transition);
}

.project:hover::before {
  opacity: 1;
}

.project-info {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 1rem;
  background: rgba(11, 12, 26, 0.8);
  backdrop-filter: blur(5px);
}

.project-info h4 {
  font-size: 1.1rem;
  margin-bottom: 0.3rem;
}

.project-info p {
  font-size: 0.9rem;
  color: var(--accent);
}

/* ——— ABOUT ——— */
.about-section {
  display: flex;
  gap: 4rem;
  align-items: center;
}

.about-image {
  width: 250px;
  height: 250px;
  border-radius: 50%;
  background: linear-gradient(45deg, var(--accent), var(--accent2));
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 20px rgba(0, 243, 255, 0.3);
}

.about-image .about-logo {
  width: 90%;
  height: 90%;
  object-fit: contain;
  filter: drop-shadow(0 0 8px #00f3ff);
}

.about-text h2 {
  font-size: 2.2rem;
  margin-bottom: 1.5rem;
  background: linear-gradient(to right, var(--accent), var(--accent2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ——— CONTACT ——— */
.contact-form {
  max-width: 600px;
  margin: 0 auto;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.8rem;
  background: rgba(25, 25, 45, 0.6);
  border: 1px solid rgba(0, 243, 255, 0.3);
  border-radius: 8px;
  color: var(--text);
  font-family: inherit;
  transition: var(--transition);
}
.btn-neon {
  display: inline-block;
  padding: 0.8rem 2rem;
  background: #00a8ff;
  color: #0b0c1a;
  font-weight: 600;
  letter-spacing: 0.5px;
  border: none;
  border-radius: 30px;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  box-shadow: 0 0 10px #00a8ff, 0 0 20px #00f3ff, 0 0 40px rgba(0,243,255,0.6);
}

.btn-neon:hover {
  background: #00f3ff;
  color: #000;
  box-shadow: 0 0 20px #00f3ff, 0 0 40px #00f3ff, 0 0 80px #00f3ff;
  transform: translateY(-2px);
}

.btn-neon:active {
  transform: scale(0.98);
  box-shadow: 0 0 15px #00f3ff;
}


.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 10px rgba(0, 243, 255, 0.3);
}

:root {
  --accent: #00f3ff;
  --accent2: #00a8ff;
  --transition: all 0.3s ease;
}

.social-icons {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  margin-top: 2rem;
}

.social-icons a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: rgba(15, 20, 35, 0.9);
  border: 2px solid rgba(0, 243, 255, 0.3);
  color: var(--accent);
  text-decoration: none;
  transition: var(--transition);
}

.social-icons a:hover {
  background: rgba(0, 243, 255, 0.1);
  transform: scale(1.1);
  box-shadow: 0 0 25px rgba(0, 243, 255, 0.4);
}

.social-icons a svg {
  width: 28px;
  height: 28px;
  fill: currentColor;
  transition: var(--transition);
}

.social-icons a:hover svg {
  fill: var(--accent2);
  transform: rotate(8deg);
}

/* ——— FOOTER ——— */
footer {
  text-align: center;
  padding: 2rem 0;
  color: #a0a0c0;
  border-top: 1px solid rgba(0, 243, 255, 0.1);
  margin-top: 4rem;
}

/* ——— MOBIL ——— */
@media (max-width: 992px) {
  .hero {
    flex-direction: column;
    text-align: center;
    padding-top: 100px;
  }

  .hero-content {
    margin-bottom: 4rem;
  }

  .laptop-mockup {
    position: relative;
    right: auto;
    top: auto;
    transform: none;
    margin: 0 auto;
    width: 300px;
    height: 180px;
  }

  .about-section {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 768px) {
  .hamburger {
    display: flex;
  }

  nav {
    position: fixed;
    top: 0;
    right: -100%;
    height: 100vh;
    width: 75%;
    background: rgba(11, 12, 26, 0.95);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: var(--transition);
    z-index: 2000;
    backdrop-filter: blur(10px);
  }

  nav.active {
    right: 0;
  }

  nav a {
    font-size: 1.6rem;
    margin: 1.2rem 0;
    color: var(--text);
  }

  .hero h1 {
    font-size: 2.4rem;
  }

  .section-title {
    font-size: 2rem;
  }
}




