:root {
  --primary-color: #6c63ff;
  --secondary-color: #ff6b6b;
  --accent-color: #4ecdc4;
  --dark-color: #2d3436;
  --light-color: #f5f6fa;
}

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

body {
  font-family: 'Poppins', sans-serif;
  line-height: 1.6;
  color: var(--dark-color);
}

/* Header & Navigation */
header {
  position: fixed;
  width: 100%;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  z-index: 1000;
}

nav {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-color);
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 2rem;
}

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

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

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 6rem 2rem 2rem;
  background: linear-gradient(135deg, #fff 0%, var(--light-color) 100%);
}

.hero-content {
  flex: 1;
  max-width: 600px;
  padding: 2rem;
}

.hero h1 {
  font-size: 3.5rem;
  margin-bottom: 1rem;
  color: var(--dark-color);
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
}

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

.floating-phone {
  animation: float 6s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-20px); }
}

/* Apps Grid */
.apps-grid {
  padding: 5rem 2rem;
  background-color: #fff;
}

.apps-grid h2 {
  text-align: center;
  margin-bottom: 3rem;
  font-size: 2.5rem;
}

.app-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.app-card {
  background: #fff;
  border-radius: 20px;
  padding: 2rem;
  text-align: center;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.app-card:hover {
  transform: translateY(-10px);
}

.app-icon {
  width: 100px;
  height: 100px;
  margin: 0 auto 1.5rem;
}

.app-icon-link {
  display: block;
  text-decoration: none;
  transition: transform 0.3s ease;
}

.app-icon-link:hover {
  transform: scale(1.1);
}

.app-link {
  display: inline-block;
  margin-top: 1rem;
  padding: 0.5rem 1.5rem;
  color: var(--primary-color);
  text-decoration: none;
  border: 2px solid var(--primary-color);
  border-radius: 25px;
  transition: all 0.3s ease;
}

.app-link:hover {
  background: var(--primary-color);
  color: #fff;
}

/* Features Section */
.features {
  padding: 5rem 2rem;
  background-color: var(--light-color);
}

.features h2 {
  text-align: center;
  margin-bottom: 3rem;
  font-size: 2.5rem;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.feature {
  text-align: center;
  padding: 2rem;
}

.feature-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 1.5rem;
}

/* Contact Section */
.contact {
  padding: 5rem 2rem;
  background-color: #fff;
}

.contact h2 {
  text-align: center;
  margin-bottom: 3rem;
  font-size: 2.5rem;
}

.contact-container {
  max-width: 600px;
  margin: 0 auto;
}

form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

input, textarea {
  padding: 1rem;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-family: inherit;
}

textarea {
  min-height: 150px;
}

.cta-button {
  display: inline-block;
  padding: 1rem 2rem;
  background-color: var(--primary-color);
  color: #fff;
  text-decoration: none;
  border-radius: 30px;
  border: none;
  font-size: 1.1rem;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.cta-button:hover {
  background-color: darken(var(--primary-color), 10%);
}

/* News Widget Styles */
.news-widget {
  background: rgba(255, 255, 255, 0.95);
  padding: 15px;
  border-radius: 15px;
  height: 100%;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.news-widget h3 {
  color: var(--primary-color);
  text-align: center;
  margin-bottom: 15px;
  font-size: 1.4em;
  font-weight: 600;
  border-bottom: 2px solid var(--primary-color);
  padding-bottom: 10px;
}

.news-container {
  flex: 1;
  overflow-y: auto;
  padding-right: 5px;
}

.news-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.news-item {
  padding: 12px;
  margin-bottom: 12px;
  background: #f8f9fa;
  border-radius: 8px;
  border-left: 4px solid var(--primary-color);
  transition: transform 0.3s ease;
  cursor: pointer;
}

.news-item:hover {
  transform: translateX(5px);
  background: #f0f1f2;
}

.news-item h4 {
  margin: 0 0 8px 0;
  font-size: 1em;
  color: var(--dark-color);
  line-height: 1.4;
}

.news-title {
  text-decoration: none;
  color: inherit;
  display: block;
  transition: color 0.3s ease;
}

.news-title:hover h4 {
  color: var(--primary-color);
  text-decoration: underline;
}

.news-item p {
  margin: 0;
  font-size: 0.8em;
  color: #666;
}

/* Footer */
footer {
  background-color: var(--dark-color);
  color: #fff;
  padding: 4rem 2rem 2rem;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.footer-section h4 {
  margin-bottom: 1rem;
}

.footer-section ul {
  list-style: none;
}

.footer-section a {
  color: #fff;
  text-decoration: none;
  transition: color 0.3s ease;
}

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

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

/* Responsive Design */
@media (max-width: 768px) {
  .hero {
    flex-direction: column;
    text-align: center;
  }

  .hero h1 {
    font-size: 2.5rem;
  }

  .nav-links {
    display: none;
  }

  .floating-phone {
    width: 80%;
    margin-top: 2rem;
  }
  
  .news-widget {
    font-size: 14px;
  }
}