/* 
    Premium Dark Theme / Glassmorphism Design
*/

:root {
              --bg-dark: #0a0a0c;
              --bg-card: rgba(255, 255, 255, 0.03);
              --border-color: rgba(255, 255, 255, 0.1);

              --text-main: #f0f0f5;
              --text-muted: #a0a0ab;

              --accent-1: #6E3AFF;
              /* Vibrant purple */
              --accent-2: #00F0FF;
              /* Cyan */

              --gradient-primary: linear-gradient(135deg, var(--accent-1), var(--accent-2));

              --font-heading: 'Outfit', sans-serif;
              --font-body: 'Inter', sans-serif;
}

* {
              margin: 0;
              padding: 0;
              box-sizing: border-box;
              scroll-behavior: smooth;
}

body {
              background-color: var(--bg-dark);
              color: var(--text-main);
              font-family: var(--font-body);
              line-height: 1.6;
              overflow-x: hidden;
}

/* Typography elements */
h1,
h2,
h3,
h4 {
              font-family: var(--font-heading);
              font-weight: 700;
}

.gradient-text {
              background: var(--gradient-primary);
              -webkit-background-clip: text;
              -webkit-text-fill-color: transparent;
              background-clip: text;
}

/* Navbar */
.navbar {
              position: fixed;
              top: 0;
              width: 100%;
              padding: 1.5rem 5%;
              display: flex;
              justify-content: space-between;
              align-items: center;
              backdrop-filter: blur(12px);
              -webkit-backdrop-filter: blur(12px);
              background: rgba(10, 10, 12, 0.8);
              border-bottom: 1px solid var(--border-color);
              z-index: 100;
}

.logo {
              display: flex;
              align-items: center;
              gap: 1rem;
              font-family: var(--font-heading);
              font-size: 1.5rem;
              font-weight: 800;
              letter-spacing: 1px;
}

.logo img {
              height: 40px;
              width: auto;
              border-radius: 8px;
}

.nav-links {
              list-style: none;
              display: flex;
              gap: 2rem;
}

.nav-links a {
              color: var(--text-main);
              text-decoration: none;
              font-weight: 600;
              transition: color 0.3s ease;
}

.nav-links a:hover {
              color: var(--accent-2);
}

/* Buttons */
.btn {
              display: inline-block;
              padding: 0.8rem 2rem;
              border-radius: 50px;
              font-weight: 600;
              text-decoration: none;
              transition: all 0.3s ease;
              cursor: pointer;
}

.btn-primary {
              background: var(--gradient-primary);
              color: #fff;
              border: none;
              box-shadow: 0 4px 15px rgba(110, 58, 255, 0.3);
}

.btn-primary:hover {
              transform: translateY(-2px);
              box-shadow: 0 6px 20px rgba(110, 58, 255, 0.5);
}

.btn-secondary {
              background: transparent;
              color: var(--text-main);
              border: 1px solid var(--border-color);
}

.btn-secondary:hover {
              background: var(--bg-card);
              border-color: var(--text-main);
}

/* Hero Section */
.hero {
              min-height: 100vh;
              display: flex;
              align-items: center;
              justify-content: space-between;
              padding: 0 10%;
              padding-top: 80px;
              position: relative;
              overflow: hidden;
}

.hero::before {
              content: '';
              position: absolute;
              top: -10%;
              right: -5%;
              width: 600px;
              height: 600px;
              background: radial-gradient(circle, rgba(110, 58, 255, 0.15) 0%, rgba(10, 10, 12, 0) 70%);
              z-index: -1;
}

.hero-content {
              max-width: 600px;
}

.hero-title {
              font-size: 4rem;
              line-height: 1.1;
              margin-bottom: 1.5rem;
}

.hero-subtitle {
              font-size: 1.2rem;
              color: var(--text-muted);
              margin-bottom: 2.5rem;
}

.hero-buttons {
              display: flex;
              gap: 1.5rem;
}

/* Projects Section */
.projects-section {
              padding: 5rem 10%;
}

.projects-section h2 {
              font-size: 3rem;
              text-align: center;
              margin-bottom: 4rem;
}

.projects-grid {
              display: grid;
              grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
              gap: 3rem;
}

.project-card {
              background: var(--bg-card);
              border: 1px solid var(--border-color);
              border-radius: 20px;
              overflow: hidden;
              backdrop-filter: blur(10px);
              transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.project-card:hover {
              transform: translateY(-10px);
              box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
              border-color: rgba(255, 255, 255, 0.2);
}

.card-image-wrapper {
              width: 100%;
              height: 220px;
              overflow: hidden;
              background: #111;
              position: relative;
}

.demo-badge {
              position: absolute;
              top: 15px;
              right: 15px;
              background: rgba(110, 58, 255, 0.9); /* var(--accent-1) */
              color: #fff;
              padding: 0.3rem 0.8rem;
              border-radius: 50px;
              font-size: 0.75rem;
              font-weight: 700;
              text-transform: uppercase;
              letter-spacing: 1px;
              backdrop-filter: blur(4px);
              z-index: 2;
              box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

.project-img {
              width: 100%;
              height: 100%;
              object-fit: cover;
              transition: transform 0.6s ease;
}

.project-card:hover .project-img {
              transform: scale(1.05);
}

.project-info {
              padding: 2rem;
}

.project-info h3 {
              font-size: 1.5rem;
              margin-bottom: 1rem;
}

.project-info p {
              color: var(--text-muted);
              margin-bottom: 1.5rem;
              font-size: 0.95rem;
}

.project-link {
              color: var(--accent-2);
              text-decoration: none;
              font-weight: 600;
              display: flex;
              align-items: center;
              transition: gap 0.3s ease;
}

.project-link:hover {
              gap: 10px;
              /* Slight arrow push effect */
}

/* About / Skills Section */
.about-section {
              padding: 5rem 10%;
}

.glass-panel {
              background: var(--bg-card);
              border: 1px solid var(--border-color);
              border-radius: 24px;
              padding: 4rem;
              text-align: center;
              backdrop-filter: blur(20px);
}

.glass-panel h2 {
              font-size: 2.5rem;
              margin-bottom: 1rem;
}

.glass-panel p {
              color: var(--text-muted);
              font-size: 1.1rem;
              margin-bottom: 3rem;
}

.skills-grid {
              display: flex;
              flex-wrap: wrap;
              justify-content: center;
              gap: 1rem;
}

.skill-tag {
              background: rgba(255, 255, 255, 0.05);
              border: 1px solid var(--border-color);
              padding: 0.8rem 1.5rem;
              border-radius: 50px;
              font-size: 0.9rem;
              font-weight: 600;
              letter-spacing: 0.5px;
              transition: all 0.3s ease;
}

.skill-tag:hover {
              background: var(--gradient-primary);
              border-color: transparent;
              color: #fff;
}

/* Footer */
.footer {
              padding: 5rem 10% 2rem;
              text-align: center;
              border-top: 1px solid var(--border-color);
              margin-top: 5rem;
              background: linear-gradient(to top, rgba(110, 58, 255, 0.05), transparent);
}

.footer-content h2 {
              font-size: 3rem;
              margin-bottom: 1.5rem;
}

.footer-content p {
              color: var(--text-muted);
              margin-bottom: 2.5rem;
              font-size: 1.2rem;
}

.footer-bottom {
              margin-top: 5rem;
              padding-top: 2rem;
              border-top: 1px solid var(--border-color);
              color: var(--text-muted);
              font-size: 0.9rem;
}

/* Pricing Section */
.pricing-section {
              padding: 5rem 10%;
              text-align: center;
}

.pricing-section h2 {
              font-size: 3rem;
              margin-bottom: 1rem;
}

.section-subtitle {
              color: var(--text-muted);
              font-size: 1.1rem;
              max-width: 600px;
              margin: 0 auto 3rem;
}

.pricing-toggle-container {
              display: flex;
              align-items: center;
              justify-content: center;
              gap: 1.5rem;
              margin-bottom: 4rem;
}

.toggle-label {
              font-size: 1.1rem;
              font-weight: 600;
              display: flex;
              align-items: center;
              gap: 0.5rem;
}

.badge-discount {
              background: rgba(0, 240, 255, 0.1);
              color: var(--accent-2);
              border: 1px solid rgba(0, 240, 255, 0.3);
              padding: 0.2rem 0.8rem;
              border-radius: 50px;
              font-size: 0.8rem;
              font-weight: 700;
              letter-spacing: 0.5px;
}

/* Base switch toggle */
.switch {
              position: relative;
              display: inline-block;
              width: 60px;
              height: 34px;
}

.switch input {
              opacity: 0;
              width: 0;
              height: 0;
}

.slider {
              position: absolute;
              cursor: pointer;
              top: 0;
              left: 0;
              right: 0;
              bottom: 0;
              background-color: rgba(255, 255, 255, 0.1);
              transition: .4s;
              border: 1px solid var(--border-color);
}

.slider:before {
              position: absolute;
              content: "";
              height: 26px;
              width: 26px;
              left: 3px;
              bottom: 3px;
              background-color: var(--accent-2);
              transition: .4s;
              box-shadow: 0 0 10px rgba(0, 240, 255, 0.5);
}

input:checked + .slider {
              background-color: rgba(110, 58, 255, 0.2);
              border-color: var(--accent-1);
}

input:checked + .slider:before {
              transform: translateX(26px);
              background-color: var(--accent-1);
              box-shadow: 0 0 10px rgba(110, 58, 255, 0.5);
}

.slider.round {
              border-radius: 34px;
}

.slider.round:before {
              border-radius: 50%;
}

.pricing-grid {
              display: grid;
              grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
              gap: 3rem;
              max-width: 1000px;
              margin: 0 auto;
}

.pricing-card {
              position: relative;
              padding: 3rem 2.5rem;
              text-align: left;
              display: flex;
              flex-direction: column;
}

.pricing-card.popular {
              border-color: var(--accent-1);
              box-shadow: 0 0 30px rgba(110, 58, 255, 0.15);
              transform: scale(1.05); 
}

.popular-badge {
              position: absolute;
              top: -15px;
              right: 2rem;
              background: var(--gradient-primary);
              color: #fff;
              padding: 0.4rem 1.2rem;
              border-radius: 30px;
              font-size: 0.85rem;
              font-weight: 700;
              letter-spacing: 1px;
              box-shadow: 0 4px 15px rgba(110, 58, 255, 0.4);
}

.pricing-card h3 {
              font-size: 1.8rem;
              margin-bottom: 1rem;
}

.pricing-card .price {
              margin-bottom: 1.5rem;
              display: flex;
              align-items: flex-start;
              gap: 0.2rem;
}

.pricing-card .currency {
              font-size: 1.5rem;
              font-weight: 600;
              color: var(--text-muted);
              margin-top: 0.5rem;
}

.pricing-card .amount {
              font-size: 3.5rem;
              font-weight: 800;
              line-height: 1;
              color: #fff;
}

.pricing-card .period {
              font-size: 1rem;
              color: var(--text-muted);
              align-self: flex-end;
              margin-bottom: 0.5rem;
}

.pricing-desc {
              color: var(--text-muted);
              margin-bottom: 2rem;
              font-size: 0.95rem;
              border-bottom: 1px solid var(--border-color);
              padding-bottom: 2rem;
}

.pricing-features {
              list-style: none;
              margin-bottom: 3rem;
              flex-grow: 1;
}

.pricing-features li {
              display: flex;
              align-items: center;
              gap: 0.8rem;
              margin-bottom: 1rem;
              font-size: 0.95rem;
              color: var(--text-main);
}

.addon-feature {
              margin-top: 1.5rem !important;
              padding-top: 1.5rem;
              border-top: 1px dashed var(--border-color);
}

.addon-icon {
              background: rgba(255, 255, 255, 0.1);
              color: var(--text-muted);
              width: 20px;
              height: 20px;
              display: flex;
              align-items: center;
              justify-content: center;
              border-radius: 50%;
              font-weight: bold;
              font-size: 0.8rem;
}

.full-width {
              width: 100%;
              text-align: center;
}

.interactive-addon {
              cursor: pointer;
              transition: all 0.3s ease;
}

.interactive-addon:hover {
              background: rgba(255, 255, 255, 0.02);
              border-radius: 8px;
}

.addon-checkbox-label {
              display: flex;
              align-items: flex-start;
              gap: 1rem;
              cursor: pointer;
              width: 100%;
}

.addon-checkbox {
              display: none;
}

.custom-checkbox {
              width: 24px;
              height: 24px;
              border: 2px solid var(--border-color);
              border-radius: 6px;
              display: inline-block;
              position: relative;
              transition: all 0.3s ease;
              flex-shrink: 0;
              margin-top: 2px;
}

.custom-checkbox::after {
              content: '';
              position: absolute;
              left: 7px;
              top: 3px;
              width: 5px;
              height: 10px;
              border: solid #fff;
              border-width: 0 2px 2px 0;
              transform: rotate(45deg);
              opacity: 0;
              transition: opacity 0.2s ease;
}

.addon-checkbox:checked + .custom-checkbox {
              background: var(--gradient-primary);
              border-color: transparent;
}

.addon-checkbox:checked + .custom-checkbox::after {
              opacity: 1;
}

.addon-text {
              color: var(--text-main);
              line-height: 1.4;
}

.addon-text small {
              color: var(--accent-2);
              font-size: 0.85rem;
}

/* Menu Toggle (Hamburger) */
.menu-toggle {
              display: none;
              cursor: pointer;
              flex-direction: column;
              gap: 5px;
              z-index: 999;
}

.menu-toggle .bar {
              width: 25px;
              height: 3px;
              background-color: var(--text-main);
              transition: all 0.3s ease;
              border-radius: 3px;
}

/* Mobile Menu Active State */
.menu-toggle.is-active .bar:nth-child(2) {
              opacity: 0;
}

.menu-toggle.is-active .bar:nth-child(1) {
              transform: translateY(8px) rotate(45deg);
}

.menu-toggle.is-active .bar:nth-child(3) {
              transform: translateY(-8px) rotate(-45deg);
}

/* Responsive */
@media (max-width: 768px) {
              .menu-toggle {
                            display: flex;
              }

              .nav-links {
                            position: fixed;
                            top: 0;
                            left: 0;
                            width: 100%;
                            height: 100vh;
                            background: rgba(10, 10, 12, 0.95);
                            backdrop-filter: blur(15px);
                            flex-direction: column;
                            justify-content: center;
                            align-items: center;
                            gap: 2rem;
                            transform: translateY(-100%);
                            transition: transform 0.4s ease;
                            z-index: 900;
              }

              .nav-links.active {
                            transform: translateY(0);
              }

              .nav-links a {
                            font-size: 1.5rem;
              }

              .hero {
                            flex-direction: column;
                            justify-content: center;
                            text-align: center;
                            padding-top: 120px;
                            padding-left: 5%;
                            padding-right: 5%;
              }

              .hero-title {
                            font-size: 2.5rem;
              }

              .hero-buttons {
                            justify-content: center;
                            flex-direction: column;
                            gap: 1rem;
              }

              .projects-section, .about-section, .pricing-section {
                            padding: 4rem 5%;
              }

              .glass-panel {
                            padding: 2rem;
              }
              
              .pricing-card {
                            padding: 2rem 1.5rem;
              }

              .pricing-card.popular {
                            transform: none;
              }
              
              .pricing-grid {
                            grid-template-columns: 1fr;
                            gap: 2rem;
              }
}