/* Design System */
:root {
  /* Colors extracted from App Icon */
  --primary-blue: #5EB9F0;
  --secondary-blue: #3A9AD9;
  --ocean-blue: #2A81C0;
  --status-green: #6DD47E;
  --status-yellow: #F7CE5B;
  --status-red: #E85E56;
  --dark-text: #1A2B3C;
  --light-text: #F0F8FF;
  --glass-bg: rgba(255, 255, 255, 0.7);
  --glass-border: rgba(255, 255, 255, 0.5);

  --font-main: 'Inter', system-ui, -apple-system, sans-serif;
  --radius-lg: 24px;
  --radius-md: 16px;
  --shadow-lg: 0 10px 30px -5px rgba(0, 0, 0, 0.1);
  --shadow-glow: 0 0 20px rgba(94, 185, 240, 0.4);
}

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

body {
  font-family: var(--font-main);
  background: linear-gradient(135deg, #e0f2ff 0%, #ffffff 100%);
  color: var(--dark-text);
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
}

/* Typography */
h1, h2, h3 {
  line-height: 1.2;
  font-weight: 800;
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(3rem, 5vw, 5rem);
  background: linear-gradient(135deg, var(--ocean-blue), var(--primary-blue));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 0.5em;
}

h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 1rem;
}

p {
  font-size: 1.125rem;
  color: #4a5568;
  margin-bottom: 1.5rem;
  max-width: 60ch;
}

/* Layout */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

nav {
  padding: 1.5rem 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-weight: 900;
  font-size: 1.5rem;
  color: var(--ocean-blue);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.logo img {
  height: 40px;
  border-radius: 10px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 2rem;
  background: var(--dark-text);
  color: white;
  text-decoration: none;
  border-radius: 50px;
  font-weight: 600;
  transition: transform 0.2s, box-shadow 0.2s;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

.btn-primary {
  background: linear-gradient(135deg, var(--ocean-blue), var(--secondary-blue));
  box-shadow: var(--shadow-glow);
}

/* Hero Section */
.hero {
  padding: 6rem 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 4rem;
}

.hero-content {
  animation: slideUp 0.8s ease-out;
}

.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.app-icon-display {
  width: 300px;
  height: 300px;
  border-radius: 60px;
  background-image: url('icon.jpg');
  background-size: cover;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  transform: rotate(-5deg);
  transition: transform 0.5s ease;
  z-index: 2;
}

.app-icon-display:hover {
  transform: rotate(0deg) scale(1.05);
}

/* Widget Mockup */
.widget-mockup {
  position: absolute;
  bottom: -40px;
  right: -20px;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  padding: 1.5rem;
  border-radius: 20px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.1);
  width: 280px;
  z-index: 3;
  border: 1px solid rgba(255,255,255,0.6);
  animation: float 6s ease-in-out infinite;
}

.widget-header {
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #888;
  margin-bottom: 0.5rem;
}

.status-indicator {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.status-dot {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background-color: var(--status-green);
  box-shadow: 0 0 10px var(--status-green);
  animation: pulse 2s infinite;
}

.status-text {
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--dark-text);
}

/* Features */
.features {
  padding: 6rem 0;
  background: white;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.feature-card {
  padding: 2.5rem;
  border-radius: var(--radius-lg);
  background: #f8fbff;
  transition: transform 0.3s;
  border: 1px solid transparent;
}

.feature-card:hover {
  transform: translateY(-10px);
  background: white;
  box-shadow: var(--shadow-lg);
  border-color: #e2e8f0;
}

.feature-icon {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
}

.icon-blue { background: #e0f2ff; color: var(--ocean-blue); }
.icon-green { background: #eafbf0; color: var(--status-green); }
.icon-red { background: #fee2e2; color: var(--status-red); }

/* Animations */
@keyframes slideUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes float {
  0%, 100% { transform: translateY(0px) rotate(2deg); }
  50% { transform: translateY(-15px) rotate(-1deg); }
}

@keyframes pulse {
  0% { transform: scale(0.95); opacity: 0.7; }
  50% { transform: scale(1.1); opacity: 1; }
  100% { transform: scale(0.95); opacity: 0.7; }
}

/* Mobile */
@media (max-width: 768px) {
  .hero {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 3rem;
  }
  
  .hero-visual {
    order: -1;
  }
}
