/* public/css/style.css - Main stylesheet */
:root {
  --primary-color: #1e3a8a;
  --secondary-color: #3b82f6;
  --accent-color: #0ea5e9;
  --dark-bg: #0c1426;
  --darker-bg: #020817;
  --light-text: #f8fafc;
  --gray-text: #94a3b8;
  --success-color: #0ea5e9;
  --warning-color: #f59e0b;
  --gradient-1: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%);
  --gradient-2: linear-gradient(135deg, #0ea5e9 0%, #1e3a8a 100%);
  --gradient-3: linear-gradient(135deg, #3b82f6 0%, #0ea5e9 100%);
  --shadow-lg: 0 25px 50px -12px rgba(30, 58, 138, 0.25);
  --shadow-xl: 0 35px 60px -15px rgba(30, 58, 138, 0.3);
}

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

body {
  font-family: 'Inter', sans-serif;
  background: var(--dark-bg);
  color: var(--light-text);
  line-height: 1.6;
  overflow-x: hidden;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  width: 100%;
  box-sizing: border-box;
}

/* Hero Section */
.hero {
  min-height: 50vh;
  position: relative;
  display: flex;
  flex-direction: column;
  background: linear-gradient(135deg, #0c1426 0%, #020817 100%);
  overflow: hidden;
  width: 100%;
  contain: layout style paint;
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    radial-gradient(circle at 20% 80%, rgba(30, 58, 138, 0.4) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(59, 130, 246, 0.3) 0%, transparent 50%),
    radial-gradient(circle at 40% 40%, rgba(14, 165, 233, 0.2) 0%, transparent 50%);
}

.floating-elements {
  position: absolute;
  width: 100%;
  height: 100%;
}

.floating-shape {
  position: absolute;
  border-radius: 50%;
  opacity: 0.6;
  animation: float 6s ease-in-out infinite;
}

.shape-1 {
  width: 120px;
  height: 120px;
  background: var(--gradient-1);
  top: 20%;
  left: 10%;
  animation-delay: 0s;
}

.shape-2 {
  width: 80px;
  height: 80px;
  background: var(--gradient-2);
  top: 60%;
  right: 15%;
  animation-delay: 2s;
}

.shape-3 {
  width: 100px;
  height: 100px;
  background: var(--gradient-3);
  bottom: 30%;
  left: 60%;
  animation-delay: 4s;
}

@keyframes float {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  33% { transform: translateY(-20px) rotate(120deg); }
  66% { transform: translateY(10px) rotate(240deg); }
}

/* Navigation */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
  position: relative;
  z-index: 100;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-image {
  width: 80px;
  height: 80px;
  object-fit: contain;
  background: transparent;
}

.logo h1 {
  font-size: 2rem;
  font-weight: 700;
  color: var(--light-text);
  margin: 0;
}

.footer-brand h4 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.footer-brand span {
  display: none;
}

.navbar nav {
  display: flex;
  gap: 30px;
  align-items: center;
}

.navbar nav a {
  color: var(--gray-text);
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
  position: relative;
}

.navbar nav a:hover {
  color: var(--light-text);
}

.navbar nav a::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary-color);
  transition: width 0.3s ease;
}

.navbar nav a:hover::after {
  width: 100%;
}

.cta-btn {
  background: var(--gradient-1) !important;
  color: white !important;
  padding: 12px 24px !important;
  border-radius: 50px !important;
  font-weight: 600 !important;
  box-shadow: var(--shadow-lg);
  transform: translateY(0);
  transition: all 0.3s ease;
}

.cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-xl);
}

/* Hero Content */
.hero-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  position: relative;
  z-index: 10;
  max-width: 800px;
  margin: 0 auto;
  padding: 20px;
  overflow: hidden;
}

.hero-content h2 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 10px;
  line-height: 1.2;
  width: 100%;
  max-width: 100%;
  word-wrap: break-word;
}

.gradient-text {
  background: var(--gradient-1);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-content p {
  font-size: 1.1rem;
  color: var(--gray-text);
  margin-bottom: 10px;
  max-width: 600px;
  width: 100%;
  word-wrap: break-word;
  overflow-wrap: break-word;
  white-space: normal;
  text-overflow: ellipsis;
}

.hero-actions {
  display: flex;
  gap: 20px;
  margin-top: 10px;
}

.primary-btn, .secondary-btn {
  padding: 16px 32px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1.1rem;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 10px;
}

.primary-btn {
  background: var(--gradient-1);
  color: white;
  box-shadow: var(--shadow-lg);
}

.primary-btn:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-xl);
}

.secondary-btn {
  background: transparent;
  color: var(--light-text);
  border: 2px solid var(--primary-color);
}

.secondary-btn:hover {
  background: var(--primary-color);
  transform: translateY(-3px);
}

/* Section Styling */
.section-header {
  text-align: center;
  margin-bottom: 40px;
}

.section-header h3 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.section-header p {
  font-size: 1.2rem;
  color: var(--gray-text);
  max-width: 600px;
  margin: 0 auto;
}

/* Features Section */
.features {
  padding: 60px 0;
  background: linear-gradient(180deg, #020817 0%, #0c1426 100%);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.feature-card {
  background: rgba(255, 255, 255, 0.05);
  padding: 30px;
  border-radius: 20px;
  text-align: center;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
  transition: left 0.5s ease;
}

.feature-card:hover::before {
  left: 100%;
}

.feature-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-xl);
}

.feature-icon {
  width: 80px;
  height: 80px;
  background: var(--gradient-1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  font-size: 2rem;
}

.feature-card h4 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 16px;
}

.feature-card p {
  color: var(--gray-text);
  line-height: 1.8;
}

/* Projects Section */
.projects {
  padding: 60px 0;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 25px;
}

.project-card {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 20px;
  overflow: hidden;
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.project-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-xl);
}

.project-image {
  height: 250px;
  background: var(--gradient-1);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.project-icon {
  width: 5.5rem;
  height: 5.5rem;
  filter: none;
  transition: all 0.3s ease;
  background: transparent;
}

.project-card:hover .project-icon {
  transform: scale(1.15);
  filter: none;
}

.project-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: all 0.3s ease;
}

.project-card:hover .project-overlay {
  opacity: 1;
}

.view-project {
  background: var(--primary-color);
  color: white;
  border: none;
  padding: 12px 24px;
  border-radius: 50px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: all 0.3s ease;
}

.view-project:hover {
  background: var(--secondary-color);
  transform: scale(1.05);
}

.project-info {
  padding: 30px;
}

.project-category {
  background: var(--primary-color);
  color: white;
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 600;
}

.project-info h4 {
  font-size: 1.4rem;
  font-weight: 600;
  margin: 16px 0 12px;
}

.project-info p {
  color: var(--gray-text);
  line-height: 1.7;
}

/* Tools Section */
.tools {
  padding: 60px 0;
  background: linear-gradient(180deg, #0c1426 0%, #020817 100%);
  overflow: hidden;
  position: relative;
}

.tools-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.tool-card {
  background: rgba(255, 255, 255, 0.05);
  padding: 30px;
  border-radius: 20px;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
  position: relative;
}

.tool-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.tool-icon {
  width: 60px;
  height: 60px;
  background: var(--gradient-2);
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 1.5rem;
}

.tool-card h4 {
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 12px;
}

.tool-card p {
  color: var(--gray-text);
  margin-bottom: 20px;
  line-height: 1.6;
}

.tool-status {
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 600;
}

.tool-status.available {
  background: var(--success-color);
  color: white;
}

.tool-status.coming-soon {
  background: var(--warning-color);
  color: white;
}

/* Contact Section */
.contact {
  padding: 60px 0;
}

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

.contact-info h3 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 20px;
}

.contact-info p {
  font-size: 1.2rem;
  color: var(--gray-text);
  margin-bottom: 40px;
  line-height: 1.8;
}

.contact-methods {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-method {
  display: flex;
  align-items: center;
  gap: 15px;
  font-size: 1.1rem;
}

.contact-method i {
  color: var(--primary-color);
  font-size: 1.2rem;
}

.contact-form {
  background: rgba(255, 255, 255, 0.05);
  padding: 40px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 10px;
  padding: 15px;
  color: var(--light-text);
  font-family: inherit;
  margin-bottom: 20px;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: var(--gray-text);
}

.submit-btn {
  width: 100%;
  background: var(--gradient-1);
  color: white;
  border: none;
  padding: 16px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 1.1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: all 0.3s ease;
}

.submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

/* Footer */
.footer {
  background: var(--darker-bg);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 60px 0 30px;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 40px;
}

.footer-brand h4 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.footer-brand span {
  color: var(--primary-color);
}

.footer-brand p {
  color: var(--gray-text);
}

.footer-links {
  display: flex;
  gap: 30px;
}

.footer-links a {
  color: var(--gray-text);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: var(--primary-color);
}

.social-links {
  display: flex;
  gap: 15px;
}

.social-links a {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray-text);
  text-decoration: none;
  transition: all 0.3s ease;
}

.social-links a:hover {
  background: var(--primary-color);
  color: white;
  transform: translateY(-3px);
}

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--gray-text);
}

/* Responsive Design */
@media (max-width: 768px) {
  .hero-content h2 {
    font-size: 2.5rem;
  }
  
  .hero-actions {
    flex-direction: column;
    align-items: center;
  }
  
  .navbar nav {
    display: none;
  }
  
  .contact-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .footer-content {
    flex-direction: column;
    gap: 30px;
    text-align: center;
  }
  
  .section-header h3 {
    font-size: 2rem;
  }
}

@media (max-width: 480px) {
  .hero-content h2 {
    font-size: 2rem;
  }
  
  .container {
    padding: 0 15px;
  }
  
  .primary-btn, .secondary-btn {
    padding: 14px 24px;
    font-size: 1rem;
  }
}