.container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Hero Styles */
.sms-hero {
    padding: 100px 0;
    background: radial-gradient(circle at top right, #f0f1ff, transparent);
}

.hero-flex {
    display: flex;
    align-items: center;
    gap: 60px;
}

.badge {
    color: var(--secondary);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 2px;
}

.main-title {
    font-size: 3.5rem;
    color: var(--text-dark);
    margin: 20px 0;
    line-height: 1.1;
}

.accent { color: var(--primary); }

.hero-desc {
    color: var(--text-light);
    font-size: 1.1rem;
    margin-bottom: 30px;
    max-width: 500px;
}

.pill-group {
    display: flex;
    gap: 10px;
    margin-bottom: 40px;
}

.pill {
    background: var(--white);
    border: 1px solid var(--border);
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 0.9rem;
    color: var(--primary);
    font-weight: 600;
}

.cta-btn {
    background: var(--primary);
    color: var(--white);
    padding: 18px 35px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    display: inline-block;
    box-shadow: 0 10px 20px rgba(48, 27, 243, 0.2);
    transition: 0.3s;
}

.cta-btn:hover {
    transform: translateY(-3px);
    background: var(--secondary);
}

/* Phone Mockup Visual */
.hero-visual { position: relative; }

.phone-frame {
    width: 260px;
    height: 480px;
    background: #111;
    border-radius: 35px;
    border: 8px solid #333;
    padding: 40px 15px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    position: relative;
    z-index: 2;
}

.bubble {
    padding: 12px;
    border-radius: 12px;
    font-size: 0.8rem;
    color: white;
    max-width: 90%;
}

.b1 { background: var(--primary); align-self: flex-start; }
.b2 { background: var(--secondary); align-self: flex-end; }
.b3 { background: var(--tertiary); color: black; align-self: flex-start; }

.glow-effect {
    position: absolute;
    width: 400px;
    height: 400px;
    background: var(--tertiary);
    filter: blur(80px);
    opacity: 0.15;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

/* Features Styles */
.features-section { padding: 80px 0; }

.grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.feature-card {
    padding: 40px;
    border: 1px solid var(--border);
    border-radius: 20px;
    transition: 0.4s;
}

.feature-card:hover {
    border-color: var(--tertiary);
    transform: translateY(-10px);
}

.icon-box {
    width: 50px;
    height: 50px;
    margin-bottom: 25px;
}

.icon-box svg {
    width: 100%;
    height: 100%;
    stroke: var(--primary); /* Force icon color */
    fill: none;
}

.draw-path {
    stroke-dasharray: 1000;
    stroke-dashoffset: 1000;
    transition: stroke-dashoffset 2s cubic-bezier(0.4, 0, 0.2, 1);
}

.animate-svg .draw-path {
    stroke-dashoffset: 0;
}

.feature-card h3 {
    margin-bottom: 15px;
    font-size: 1.3rem;
    color: var(--text-dark);
}

.feature-card p {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Responsive */
@media (max-width: 991px) {
    .hero-flex { flex-direction: column; text-align: center; }
    .hero-desc { margin-left: auto; margin-right: auto; }
    .pill-group { justify-content: center; }
    .grid { grid-template-columns: 1fr; }
}

/* --- High-End Hero Update --- */
.sms-hero {
    padding: 120px 0;
    /* More dynamic background gradient */
    background: radial-gradient(circle at 80% 20%, rgba(18, 221, 240, 0.1), transparent 40%),
                radial-gradient(circle at 10% 80%, rgba(145, 40, 195, 0.05), transparent 40%),
                #ffffff;
    position: relative;
    overflow: hidden;
}

/* Badge & Typography */
.badge {
    color: var(--primary);
    background: rgba(48, 27, 243, 0.08); /* Light blue tint */
    padding: 8px 18px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    border: 1px solid rgba(48, 27, 243, 0.1);
}

.main-title {
    font-size: clamp(2.8rem, 5vw, 4rem);
    font-weight: 900;
    letter-spacing: -1.5px;
    margin-top: 25px;
}

.accent {
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Glassmorphism Pills */
.pill {
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.pill:hover {
    background: var(--primary);
    color: #fff !important;
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(48, 27, 243, 0.2);
}

/* --- The White Mobile Mockup --- */
.hero-visual {
    perspective: 1200px; /* Prepares for 3D tilt */
}

.phone-frame {
    width: 280px;
    height: 520px;
    background: #ffffff; /* Switched to White */
    border-radius: 40px;
    border: 12px solid #f1f3f6; /* Soft gray border */
    box-shadow: 0 40px 80px -15px rgba(0,0,0,0.1), 
                inset 0 0 10px rgba(0,0,0,0.02);
    display: flex;
    flex-direction: column;
    padding: 60px 20px;
    gap: 15px;
    position: relative;
    z-index: 2;
    transform-style: preserve-3d;
}

/* Notch / Top Bar */
.phone-frame::before {
    content: '';
    position: absolute;
    top: 15px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 18px;
    background: #f1f3f6;
    border-radius: 20px;
}

/* Refined Bubbles */
.bubble {
    padding: 14px;
    border-radius: 18px;
    font-size: 0.85rem;
    font-weight: 500;
    box-shadow: 0 8px 15px rgba(0,0,0,0.05);
    animation: bubbleFloat 4s infinite ease-in-out;
}

.b1 { 
    background: var(--primary); 
    color: white; 
    border-bottom-left-radius: 4px;
}

.b2 { 
    background: #f1f3f6; /* Neutral for balance */
    color: var(--text-dark); 
    align-self: flex-end; 
    border-bottom-right-radius: 4px;
    animation-delay: 1s;
}

.b3 { 
    background: var(--tertiary); 
    color: #000; 
    border-bottom-left-radius: 4px;
    animation-delay: 2s;
}

/* Glowing Background Circle */
.glow-effect {
    position: absolute;
    width: 450px;
    height: 450px;
    background: radial-gradient(circle, var(--tertiary), transparent 70%);
    filter: blur(100px);
    opacity: 0.2;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
}

@keyframes bubbleFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}