/* Smart SIP - Premium Landing Page Styles */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=Inter:wght@300;400;500;600;700&display=swap');

:root {
  --bg-dark: #020617;
  --bg-card: #0b1329;
  --primary: #3b82f6;
  --primary-glow: rgba(59, 130, 246, 0.15);
  --success: #10b981;
  --success-glow: rgba(16, 185, 129, 0.15);
  --text-primary: #f8fafc;
  --text-secondary: #94a3b8;
  --border: rgba(255, 255, 255, 0.08);
  --font-display: 'Outfit', 'Inter', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;
}

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

body {
  background-color: var(--bg-dark);
  color: var(--text-primary);
  font-family: var(--font-body);
  overflow-x: hidden;
  line-height: 1.5;
  background-image: 
    radial-gradient(circle at 10% 20%, rgba(59, 130, 246, 0.08) 0%, transparent 40%),
    radial-gradient(circle at 90% 80%, rgba(16, 185, 129, 0.06) 0%, transparent 40%);
  background-attachment: fixed;
}

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

/* Header */
header {
  padding: 2rem 0;
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(12px);
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(2, 6, 23, 0.7);
}

.nav-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--primary) 0%, #60a5fa 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.logo-dot {
  width: 8px;
  height: 8px;
  background-color: var(--success);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--success);
  display: inline-block;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.3); opacity: 0.5; }
  100% { transform: scale(1); opacity: 1; }
}

.nav-link {
  color: var(--text-secondary);
  text-decoration: none;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  transition: color 0.2s;
}

.nav-link:hover {
  color: var(--text-primary);
}

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

@media (max-width: 992px) {
  .hero {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 4rem 0;
    gap: 3rem;
  }
}

.hero-content h1 {
  font-family: var(--font-display);
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 1.5rem;
  letter-spacing: -0.03em;
}

.hero-content h1 span {
  background: linear-gradient(135deg, #60a5fa 0%, var(--primary) 50%, var(--success) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-content p {
  color: var(--text-secondary);
  font-size: 1.125rem;
  margin-bottom: 2.5rem;
  max-width: 600px;
}

@media (max-width: 992px) {
  .hero-content p {
    margin-left: auto;
    margin-right: auto;
  }
}

/* Button Group */
.btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

@media (max-width: 992px) {
  .btn-group {
    justify-content: center;
  }
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.875rem 1.75rem;
  border-radius: 14px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
}

.btn-primary {
  background-color: var(--primary);
  color: #ffffff;
  box-shadow: 0 4px 20px var(--primary-glow);
}

.btn-primary:hover {
  transform: translateY(-2px);
  background-color: #2563eb;
  box-shadow: 0 8px 30px rgba(59, 130, 246, 0.3);
}

.btn-success {
  background-color: var(--success);
  color: #ffffff;
  box-shadow: 0 4px 20px var(--success-glow);
}

.btn-success:hover {
  transform: translateY(-2px);
  background-color: #059669;
  box-shadow: 0 8px 30px rgba(16, 185, 129, 0.3);
}

.btn-secondary {
  background-color: rgba(255, 255, 255, 0.05);
  color: var(--text-primary);
  border: 1px solid var(--border);
}

.btn-secondary:hover {
  transform: translateY(-2px);
  background-color: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.15);
}

/* Phone Mockup Screen */
.phone-mockup-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  perspective: 1000px;
}

.phone-mockup {
  width: 280px;
  height: 570px;
  background-color: #000000;
  border-radius: 36px;
  border: 8px solid #334155;
  box-shadow: 
    0 25px 60px -15px rgba(0, 0, 0, 0.5),
    0 0 40px rgba(59, 130, 246, 0.15);
  overflow: hidden;
  position: relative;
  transform: rotateY(-10deg) rotateX(5deg);
  transition: all 0.5s ease;
}

.phone-mockup:hover {
  transform: rotateY(0deg) rotateX(0deg) scale(1.02);
  box-shadow: 
    0 30px 70px -10px rgba(0, 0, 0, 0.6),
    0 0 50px rgba(59, 130, 246, 0.25);
}

.phone-screen {
  width: 100%;
  height: 100%;
  background-color: #0f172a;
  display: flex;
  flex-col: true;
  flex-direction: column;
  padding: 1.5rem;
  justify-content: space-between;
}

.phone-screen-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.75rem;
  color: var(--text-secondary);
}

.phone-status-indicator {
  width: 8px;
  height: 8px;
  background-color: var(--success);
  border-radius: 50%;
}

.phone-dialer-display {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  margin: 2rem 0;
}

.phone-number-field {
  font-size: 2.25rem;
  font-family: var(--font-display);
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--text-primary);
}

.phone-cursor {
  width: 2px;
  height: 2.25rem;
  background-color: var(--primary);
  display: inline-block;
  animation: blink 1.25s infinite;
  margin-left: 2px;
}

@keyframes blink {
  0%, 100% { opacity: 0; }
  50% { opacity: 1; }
}

.phone-keypad-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.phone-key {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: #1e293b;
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.1rem;
}

.phone-key-letters {
  font-size: 0.55rem;
  color: var(--text-secondary);
  font-weight: 400;
  margin-top: -2px;
}

.phone-dial-row {
  display: flex;
  justify-content: center;
  align-items: center;
}

.phone-dial-btn {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background-color: var(--success);
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3);
}

.phone-dial-btn svg {
  width: 22px;
  height: 22px;
  fill: white;
}

/* Features Grid */
.features-section {
  padding: 6rem 0;
  border-top: 1px solid var(--border);
}

.section-title {
  text-align: center;
  margin-bottom: 4rem;
}

.section-title h2 {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 1rem;
}

.section-title p {
  color: var(--text-secondary);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto;
}

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

.feature-card {
  background-color: rgba(15, 23, 42, 0.4);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 2.5rem;
  transition: all 0.3s ease;
  backdrop-filter: blur(8px);
}

.feature-card:hover {
  transform: translateY(-5px);
  border-color: rgba(59, 130, 246, 0.3);
  background-color: rgba(15, 23, 42, 0.6);
  box-shadow: 0 15px 35px -10px rgba(0, 0, 0, 0.3);
}

.feature-icon-wrapper {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background-color: rgba(59, 130, 246, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  color: var(--primary);
  border: 1px solid rgba(59, 130, 246, 0.2);
}

.feature-card h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.feature-card p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* Footer */
footer {
  padding: 3rem 0;
  border-top: 1px solid var(--border);
  background: rgba(2, 6, 23, 0.9);
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.footer-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
}

@media (max-width: 576px) {
  .footer-wrapper {
    flex-direction: column;
    text-align: center;
  }
}
