/* ========================================
   TAPKO - Landing Page Styles
   Theme: White backgrounds, Primary Blue #5154ff, Accent Pink #ff56eb
   ======================================== */

/* ========================================
   RESET & BASE STYLES
   ======================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-blue: #5154ff;
    --accent-pink: #ff56eb;
    --white: #ffffff;
    --off-white: #f9f9fb;
    --light-gray: #f4f4f6;
    --text-dark: #1a1a2e;
    --text-gray: #6b7280;
    --border-color: #e5e7eb;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    color: var(--text-dark);
    background-color: var(--white);
    line-height: 1.6;
    font-size: 16px;
}

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

/* ========================================
   TYPOGRAPHY
   ======================================== */
h1 {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

h2 {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

h3 {
    font-size: 1.5rem;
    font-weight: 600;
    line-height: 1.3;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

h4 {
    font-size: 1.125rem;
    font-weight: 600;
    line-height: 1.4;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

p {
    color: var(--text-gray);
    margin-bottom: 1rem;
    line-height: 1.7;
}

.section-subtitle {
    font-size: 1.25rem;
    color: var(--text-gray);
    max-width: 700px;
    margin: 0 auto 3rem;
    text-align: center;
}

/* ========================================
   BUTTONS
   ======================================== */
.btn {
    display: inline-block;
    padding: 14px 32px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease;
    cursor: pointer;
    border: 2px solid transparent;
    text-align: center;
}

.btn-primary {
    background: var(--primary-blue);
    color: var(--white);
    border-color: var(--primary-blue);
}

.btn-primary:hover {
    background: #3d40cc;
    border-color: #3d40cc;
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background: var(--white);
    color: var(--primary-blue);
    border-color: var(--primary-blue);
}

.btn-secondary:hover {
    background: var(--off-white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-large {
    padding: 18px 48px;
    font-size: 1.125rem;
}

.btn-block {
    display: block;
    width: 100%;
}

.btn-nav {
    padding: 10px 24px;
    font-size: 0.9rem;
}

/* ========================================
   NAVIGATION
   ======================================== */
.navbar {
    background: var(--white);
    border-bottom: 1px solid var(--border-color);
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: var(--shadow-sm);
}

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

.logo img {
    height: 40px;
    width: auto;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 32px;
    align-items: center;
}

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

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

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 8px;
    color: var(--text-dark);
}

.mobile-menu-toggle:hover {
    color: var(--primary-blue);
}

/* ========================================
   HERO SECTION
   ======================================== */
.hero {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--off-white) 0%, var(--white) 100%);
}

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

.hero-content {
    max-width: 600px;
}

.hero-subtitle {
    font-size: 1.5rem;
    color: var(--text-gray);
    margin-bottom: 1rem;
    font-weight: 500;
}

.hero-description {
    font-size: 1.125rem;
    margin-bottom: 2rem;
}

.hero-cta {
    display: flex;
    gap: 16px;
    margin-bottom: 1rem;
}

.hero-note {
    font-size: 0.875rem;
    color: var(--text-gray);
}

.hero-video video {
    width: 100%;
    border-radius: 16px;
    box-shadow: var(--shadow-xl);
}

/* ========================================
   STATS SECTION
   ======================================== */
.stats {
    padding: 60px 0;
    background: var(--primary-blue);
    color: var(--white);
}

.stats .container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    text-align: center;
}

.stat-item h3 {
    font-size: 3rem;
    color: var(--white);
    margin-bottom: 0.5rem;
    font-weight: 800;
}

.stat-item p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1rem;
}

/* ========================================
   PROBLEM SECTION
   ======================================== */
.problem {
    padding: 100px 0;
    background: var(--white);
    text-align: center;
}

.problem h2 {
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.problem-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    margin-top: 60px;
}

.problem-item {
    text-align: center;
}

.problem-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.problem-item h3 {
    color: var(--text-dark);
    margin-bottom: 0.75rem;
}

.problem-item p {
    color: var(--text-gray);
    font-size: 0.95rem;
}

/* ========================================
   SOLUTION/FEATURES SECTION
   ======================================== */
.solution {
    padding: 100px 0;
    background: var(--off-white);
    text-align: center;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-top: 60px;
}

.feature-item {
    background: var(--white);
    padding: 40px;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.feature-item h3 {
    margin-bottom: 0.75rem;
    color: var(--text-dark);
}

.feature-item p {
    color: var(--text-gray);
    font-size: 0.95rem;
}

/* ========================================
   DEMO SECTION
   ======================================== */
.demo {
    padding: 100px 0;
    background: var(--white);
    text-align: center;
}

.demo-video {
    max-width: 900px;
    margin: 0 auto;
}

.demo-video video {
    width: 100%;
    border-radius: 16px;
    box-shadow: var(--shadow-xl);
}

/* ========================================
   COMPARISON TABLE
   ======================================== */
.comparison {
    padding: 100px 0;
    background: var(--off-white);
    text-align: center;
}

.comparison-table-wrapper {
    max-width: 800px;
    margin: 60px auto 0;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.comparison-table {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    min-width: 600px;
}

.comparison-table table {
    width: 100%;
    border-collapse: collapse;
}

.comparison-table th,
.comparison-table td {
    padding: 20px;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}

.comparison-table th {
    background: var(--primary-blue);
    color: var(--white);
    font-weight: 600;
}

.comparison-table th.highlight,
.comparison-table td.highlight {
    background: rgba(81, 84, 255, 0.05);
    color: var(--primary-blue);
    font-weight: 600;
}

.comparison-table tr:last-child td {
    border-bottom: none;
}

/* ========================================
   TESTIMONIALS SECTION
   ======================================== */
.testimonials {
    padding: 100px 0;
    background: var(--white);
    text-align: center;
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-top: 60px;
}

.testimonial-item {
    background: var(--off-white);
    padding: 40px;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
}

.testimonial-image {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    border-radius: 50%;
    overflow: hidden;
    background: var(--light-gray);
}

.testimonial-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.testimonial-text {
    font-size: 1rem;
    color: var(--text-dark);
    font-style: italic;
    margin-bottom: 1rem;
    line-height: 1.6;
}

.testimonial-author {
    font-size: 0.875rem;
    color: var(--text-gray);
    font-weight: 600;
}

/* ========================================
   CTA SECTION / SIGNUP
   ======================================== */
.cta-section {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--accent-pink) 100%);
    text-align: center;
    color: var(--white);
}

.cta-section h2 {
    color: var(--white);
}

.cta-subtitle {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 3rem;
}

.signup-form {
    max-width: 500px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 16px;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 16px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 8px;
    font-size: 1rem;
    background: rgba(255, 255, 255, 0.95);
    color: var(--text-dark);
    transition: border-color 0.3s ease;
}

/* Override width for phone input group children */
.phone-input-group input,
.phone-input-group select {
    width: auto;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--white);
    background: var(--white);
}

.form-group input::placeholder {
    color: var(--text-gray);
}

.form-note {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.8);
    margin-top: 12px;
}

.success-message {
    background: var(--white);
    color: var(--text-dark);
    padding: 40px;
    border-radius: 12px;
    max-width: 500px;
    margin: 0 auto;
    box-shadow: var(--shadow-xl);
}

.success-message h3 {
    color: var(--primary-blue);
    margin-bottom: 0.5rem;
}

.hidden {
    display: none;
}

/* ========================================
   FOOTER
   ======================================== */
.footer {
    background: var(--text-dark);
    color: var(--white);
    padding: 60px 0 20px;
}

.footer-container {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo {
    height: 36px;
    margin-bottom: 1rem;
}

.footer-column p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

.footer-column h4 {
    color: var(--white);
    margin-bottom: 1rem;
    font-size: 1rem;
}

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

.footer-column ul li {
    margin-bottom: 8px;
}

.footer-column ul li a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.footer-column ul li a:hover {
    color: var(--accent-pink);
}

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

.footer-bottom p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.875rem;
}

/* ========================================
   PRICING PAGE
   ======================================== */
.pricing-hero,
.how-hero,
.contact-hero {
    padding: 80px 0 40px;
    text-align: center;
    background: var(--off-white);
}

.pricing-section {
    padding: 60px 0 100px;
    background: var(--white);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    max-width: 1100px;
    margin: 0 auto;
}

.pricing-card {
    background: var(--white);
    border: 2px solid var(--border-color);
    border-radius: 16px;
    padding: 40px;
    text-align: center;
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.pricing-card.featured {
    border-color: var(--primary-blue);
    box-shadow: var(--shadow-lg);
    transform: scale(1.05);
}

.pricing-card.featured:hover {
    transform: scale(1.05) translateY(-8px);
}

.badge {
    position: absolute;
    top: -16px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent-pink);
    color: var(--white);
    padding: 6px 20px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
}

.pricing-header h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.price {
    margin-bottom: 2rem;
}

.price-currency {
    font-size: 1.5rem;
    vertical-align: top;
    color: var(--text-dark);
}

.price-amount {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--text-dark);
}

.price-period {
    font-size: 1rem;
    color: var(--text-gray);
    display: block;
    margin-top: -8px;
}

.pricing-features {
    text-align: left;
    margin-bottom: 2rem;
}

.pricing-features h4 {
    font-size: 0.875rem;
    text-transform: uppercase;
    color: var(--text-gray);
    margin-bottom: 1rem;
    text-align: center;
}

.pricing-features ul {
    list-style: none;
}

.pricing-features ul li {
    padding: 10px 0;
    color: var(--text-gray);
    font-size: 0.95rem;
    border-bottom: 1px solid var(--border-color);
}

.pricing-features ul li:last-child {
    border-bottom: none;
}

.pricing-note {
    font-size: 0.875rem;
    color: var(--text-gray);
    margin-top: 12px;
}

.pricing-comparison {
    padding: 100px 0;
    background: var(--off-white);
    text-align: center;
}

.comparison-table-wrapper {
    max-width: 1000px;
    margin: 60px auto 0;
    overflow-x: auto;
}

.full-comparison-table {
    width: 100%;
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.full-comparison-table th,
.full-comparison-table td {
    padding: 20px;
    text-align: center;
    border-bottom: 1px solid var(--border-color);
}

.full-comparison-table th {
    background: var(--primary-blue);
    color: var(--white);
    font-weight: 600;
}

.full-comparison-table td:first-child {
    text-align: left;
    font-weight: 500;
}

.full-comparison-table th.highlight,
.full-comparison-table td.highlight {
    background: rgba(81, 84, 255, 0.05);
}

.faq-section {
    padding: 100px 0;
    background: var(--white);
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    max-width: 1000px;
    margin: 60px auto 0;
}

.faq-item {
    background: var(--off-white);
    padding: 32px;
    border-radius: 12px;
}

.faq-item h3 {
    font-size: 1.125rem;
    margin-bottom: 0.75rem;
    color: var(--text-dark);
}

.faq-item p {
    font-size: 0.95rem;
    color: var(--text-gray);
}

/* ========================================
   HOW IT WORKS PAGE
   ======================================== */
.how-section {
    padding: 100px 0;
    background: var(--white);
}

.how-section.alternate {
    background: var(--off-white);
}

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

.how-content.reverse {
    direction: rtl;
}

.how-content.reverse > * {
    direction: ltr;
}

.step-label {
    display: inline-block;
    background: var(--accent-pink);
    color: var(--white);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.steps {
    margin-top: 2rem;
}

.step-item {
    display: flex;
    gap: 20px;
    margin-bottom: 2rem;
}

.step-number {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    background: var(--primary-blue);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.25rem;
}

.step-content h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.step-content p {
    font-size: 0.95rem;
    color: var(--text-gray);
}

.how-image img {
    width: 100%;
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
}

.what-you-get {
    padding: 100px 0;
    background: var(--off-white);
    text-align: center;
}

.features-showcase {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-top: 60px;
}

.showcase-item {
    background: var(--white);
    padding: 32px;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
}

.showcase-image {
    width: 100%;
    height: 200px;
    background: var(--light-gray);
    border-radius: 8px;
    margin-bottom: 1.5rem;
    overflow: hidden;
}

.showcase-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.why-works {
    padding: 100px 0;
    background: var(--white);
    text-align: center;
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    margin-top: 60px;
}

.why-item {
    padding: 32px;
    background: var(--off-white);
    border-radius: 12px;
}

.why-item h3 {
    font-size: 1.125rem;
    margin-bottom: 0.75rem;
}

.security-section {
    padding: 100px 0;
    background: var(--off-white);
    text-align: center;
}

.security-content {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    margin-top: 60px;
}

.security-item {
    background: var(--white);
    padding: 32px;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
}

.security-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.demo-section {
    padding: 100px 0;
    background: var(--white);
    text-align: center;
}

.demo-video-large {
    max-width: 1000px;
    margin: 60px auto 0;
}

.demo-video-large video {
    width: 100%;
    border-radius: 16px;
    box-shadow: var(--shadow-xl);
}

.integrations-section {
    padding: 100px 0;
    background: var(--off-white);
    text-align: center;
}

.integrations-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 32px;
    margin-top: 60px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.integration-logo {
    background: var(--white);
    padding: 24px;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100px;
}

.integration-logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

/* ========================================
   CONTACT PAGE
   ======================================== */
.contact-options {
    padding: 60px 0;
    background: var(--white);
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.contact-card {
    background: var(--off-white);
    padding: 40px;
    border-radius: 12px;
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: transform 0.3s ease;
}

.contact-card:hover {
    transform: translateY(-8px);
}

.contact-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.contact-link {
    display: inline-block;
    margin-top: 1rem;
    color: var(--primary-blue);
    font-weight: 600;
    text-decoration: none;
}

.contact-link:hover {
    color: var(--accent-pink);
}

.contact-form-section {
    padding: 100px 0;
    background: var(--off-white);
}

.contact-form-wrapper {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 60px;
    max-width: 1000px;
    margin: 0 auto;
}

.contact-form-content {
    background: var(--white);
    padding: 48px;
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
}

.contact-form {
    margin-top: 2rem;
}

.contact-form .form-group {
    margin-bottom: 20px;
}

.contact-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--text-dark);
    font-size: 0.875rem;
}

.contact-form input,
.contact-form textarea,
.contact-form select {
    border: 2px solid var(--border-color);
    background: var(--white);
}

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
    border-color: var(--primary-blue);
}

.contact-info-sidebar h3 {
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
}

.faq-mini-item {
    background: var(--white);
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 16px;
    box-shadow: var(--shadow-sm);
}

.faq-mini-item h4 {
    font-size: 0.95rem;
    margin-bottom: 0.5rem;
}

.faq-mini-item p {
    font-size: 0.875rem;
    color: var(--text-gray);
    margin: 0;
}

.contact-cta-box {
    background: var(--primary-blue);
    color: var(--white);
    padding: 32px;
    border-radius: 12px;
    margin-top: 32px;
    text-align: center;
}

.contact-cta-box h4 {
    color: var(--white);
    margin-bottom: 0.5rem;
}

.contact-cta-box p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
}

.support-section {
    padding: 100px 0;
    background: var(--white);
}

.support-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    margin-top: 60px;
}

.support-item {
    background: var(--off-white);
    padding: 32px;
    border-radius: 12px;
    text-align: center;
}

.support-link {
    display: inline-block;
    margin-top: 1rem;
    color: var(--primary-blue);
    font-weight: 600;
    text-decoration: none;
}

.support-link:hover {
    color: var(--accent-pink);
}

.community-section {
    padding: 100px 0;
    background: var(--off-white);
    text-align: center;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 32px;
    margin-top: 60px;
}

.social-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: var(--text-dark);
    transition: transform 0.3s ease;
}

.social-link:hover {
    transform: translateY(-8px);
}

.social-icon {
    font-size: 3rem;
    margin-bottom: 0.5rem;
}

.social-link span {
    font-weight: 600;
}

/* ========================================
   POINTER BRANDING ELEMENTS
   ======================================== */

/* Hero pointer decorations */
.hero-pointer-decoration {
    position: absolute;
    width: 48px;
    height: 48px;
    top: -20px;
    right: 20%;
    opacity: 0.9;
    z-index: 1;
}

.hero-pointer-video {
    position: absolute;
    width: 56px;
    height: 56px;
    top: -28px;
    right: -28px;
    opacity: 0.95;
}

.hero-content {
    position: relative;
}

.hero-video {
    position: relative;
}

/* Section header pointer decorations */
.section-pointer-decoration {
    display: block;
    width: 40px;
    height: 40px;
    margin: 0 auto 20px;
    opacity: 0.85;
}

/* Feature icon replacement */
.feature-icon-img {
    width: 64px;
    height: 64px;
    margin: 0 auto 1rem;
    display: block;
    opacity: 0.9;
}

/* Pricing card pointer */
.pricing-pointer-featured {
    position: absolute;
    width: 36px;
    height: 36px;
    top: 10px;
    right: 10px;
    opacity: 0.8;
}

/* CTA section pointers */
.cta-pointer-left {
    position: absolute;
    width: 64px;
    height: 64px;
    left: 10%;
    top: 50%;
    transform: translateY(-50%) rotate(-15deg);
    opacity: 0.6;
}

.cta-pointer-right {
    position: absolute;
    width: 64px;
    height: 64px;
    right: 10%;
    top: 50%;
    transform: translateY(-50%) rotate(15deg);
    opacity: 0.6;
}

.cta-section .container {
    position: relative;
}

/* Step inline pointer */
.step-pointer-inline {
    position: absolute;
    width: 32px;
    height: 32px;
    left: -40px;
    top: 8px;
    opacity: 0.7;
}

.step-item {
    position: relative;
}

/* Form pointer decoration */
.form-pointer-decoration {
    width: 36px;
    height: 36px;
    margin-bottom: 1rem;
    opacity: 0.8;
}

/* Pointer animations */
@keyframes float1 {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }
    50% {
        transform: translateY(-10px) rotate(5deg);
    }
}

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

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 0.6;
    }
    50% {
        transform: scale(1.05);
        opacity: 0.8;
    }
}

.pointer-float-1 {
    animation: float1 3s ease-in-out infinite;
}

.pointer-float-2 {
    animation: float2 4s ease-in-out infinite;
}

.pointer-pulse {
    animation: pulse 2s ease-in-out infinite;
}

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */

/* Tablet devices (992px and below) */
@media (max-width: 992px) {
    .container {
        padding: 0 20px;
    }

    h1 {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 2rem;
    }

    /* Hero Section */
    .hero {
        padding: 60px 0;
    }

    .hero-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .hero-content {
        text-align: center;
        max-width: 100%;
    }

    .hero-cta {
        flex-direction: column;
        gap: 12px;
    }

    .hero-cta .btn {
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
    }

    /* Stats Section */
    .stats .container {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }

    /* Problem Grid */
    .problem-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }

    /* Features Grid */
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }

    /* Testimonials */
    .testimonial-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    /* Pricing Cards */
    .pricing-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .pricing-card.featured {
        transform: scale(1);
    }

    .pricing-card.featured:hover {
        transform: translateY(-8px);
    }

    /* How It Works */
    .how-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .how-content.reverse {
        direction: ltr;
    }

    /* Grids */
    .why-grid,
    .security-content,
    .support-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }

    .integrations-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }

    /* Contact Form */
    .contact-form-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    /* Footer */
    .footer-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 32px;
    }

    /* Comparison Table */
    .comparison-table-wrapper {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .comparison-table {
        min-width: 600px;
    }
}

/* Mobile devices (768px and below) */
@media (max-width: 768px) {
    .container {
        padding: 0 16px;
    }

    /* Typography */
    h1 {
        font-size: 2rem;
        line-height: 1.2;
    }

    h2 {
        font-size: 1.75rem;
        line-height: 1.3;
    }

    h3 {
        font-size: 1.25rem;
    }

    .section-subtitle {
        font-size: 1.125rem;
    }

    /* Navigation */
    .mobile-menu-toggle {
        display: block;
    }

    .nav-links {
        position: fixed;
        top: 81px;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        gap: 0;
        padding: 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
        border-bottom: 1px solid var(--border-color);
        box-shadow: var(--shadow-md);
    }

    .nav-links.active {
        max-height: 400px;
    }

    .nav-links li {
        width: 100%;
        border-bottom: 1px solid var(--border-color);
    }

    .nav-links li:last-child {
        border-bottom: none;
    }

    .nav-links a {
        display: block;
        padding: 16px 24px;
        width: 100%;
    }

    .nav-links .btn-nav {
        margin: 12px 24px;
        padding: 12px 24px;
        text-align: center;
        width: calc(100% - 48px);
    }

    /* Hero Section */
    .hero {
        padding: 40px 0;
    }

    .hero-subtitle {
        font-size: 1.25rem;
    }

    .hero-description {
        font-size: 1rem;
    }

    .hero-pointer-decoration {
        display: none;
    }

    .hero-pointer-video {
        width: 32px;
        height: 32px;
        top: -16px;
        right: -16px;
    }

    /* Stats Section */
    .stats {
        padding: 40px 0;
    }

    .stats .container {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .stat-item h3 {
        font-size: 2.5rem;
    }

    /* Sections */
    .problem,
    .solution,
    .demo,
    .comparison,
    .testimonials,
    .how-section,
    .what-you-get,
    .why-works,
    .security-section,
    .demo-section,
    .integrations-section,
    .pricing-section,
    .faq-section,
    .contact-options,
    .contact-form-section,
    .support-section,
    .community-section {
        padding: 60px 0;
    }

    .cta-section {
        padding: 60px 0;
    }

    /* All Grids to Single Column */
    .problem-grid,
    .features-grid,
    .why-grid,
    .security-content,
    .contact-grid,
    .support-grid,
    .integrations-grid,
    .features-showcase {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .faq-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    /* Forms */
    .signup-form,
    .contact-form {
        max-width: 100%;
    }

    .phone-input-group {
        flex-direction: column;
        gap: 12px;
    }

    .country-code-select {
        width: 100%;
    }

    .btn-large {
        padding: 16px 32px;
        font-size: 1rem;
    }

    /* Comparison Table */
    .comparison-table-wrapper {
        margin: 40px auto 0;
        padding: 0 4px;
    }

    .comparison-table {
        min-width: 500px;
    }

    .comparison-table th,
    .comparison-table td {
        padding: 12px 10px;
        font-size: 0.875rem;
    }

    .comparison-table th:first-child,
    .comparison-table td:first-child {
        padding-left: 12px;
        min-width: 140px;
    }

    .full-comparison-table {
        min-width: 600px;
    }

    .full-comparison-table th,
    .full-comparison-table td {
        padding: 12px;
        font-size: 0.875rem;
    }

    /* Footer */
    .footer {
        padding: 40px 0 20px;
    }

    .footer-container {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    /* Pointer Decorations */
    .section-pointer-decoration {
        width: 32px;
        height: 32px;
    }

    .cta-pointer-left,
    .cta-pointer-right {
        width: 40px;
        height: 40px;
        opacity: 0.3;
    }

    .cta-pointer-left {
        left: 5%;
    }

    .cta-pointer-right {
        right: 5%;
    }

    .step-pointer-inline {
        display: none;
    }

    .pricing-pointer-featured {
        width: 28px;
        height: 28px;
    }

    /* Contact Form Specific */
    .contact-form-content {
        padding: 32px 20px;
    }

    /* Pricing Cards */
    .pricing-card {
        padding: 32px 24px;
    }

    .price-amount {
        font-size: 3rem;
    }

    /* Social Links */
    .social-links {
        flex-wrap: wrap;
        gap: 24px;
    }

    /* Feature Items */
    .feature-item,
    .showcase-item,
    .testimonial-item,
    .faq-item,
    .security-item,
    .support-item,
    .why-item,
    .problem-item {
        padding: 24px;
    }
}

/* Small mobile devices (480px and below) */
@media (max-width: 480px) {
    h1 {
        font-size: 1.75rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    .hero-cta .btn {
        max-width: 100%;
    }

    .stat-item h3 {
        font-size: 2rem;
    }

    .btn {
        padding: 12px 24px;
        font-size: 0.9rem;
    }

    .btn-large {
        padding: 14px 28px;
        font-size: 0.95rem;
    }

    .price-amount {
        font-size: 2.5rem;
    }

    .cta-pointer-left,
    .cta-pointer-right {
        display: none;
    }

    /* Comparison Table - Extra small screens */
    .comparison-table {
        min-width: 450px;
    }

    .comparison-table th,
    .comparison-table td {
        padding: 10px 8px;
        font-size: 0.8rem;
    }

    .comparison-table th:first-child,
    .comparison-table td:first-child {
        min-width: 120px;
        padding-left: 10px;
    }
}

/* ========================================
   PHONE INPUT WITH COUNTRY CODE
   ======================================== */
.phone-input-group {
    display: flex;
    gap: 8px;
    width: 100%;
}

.country-code-select {
    flex: 0 0 auto;
    width: 120px;
    padding: 16px 12px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 8px;
    font-size: 1rem;
    background: rgba(255, 255, 255, 0.95);
    color: var(--text-dark);
    cursor: pointer;
    transition: border-color 0.3s ease;
}

.country-code-select:focus {
    outline: none;
    border-color: var(--primary-blue);
}

.phone-input-group input[type="tel"] {
    flex: 1;
    min-width: 0;
}

/* Contact form specific styling */
.contact-form .phone-input-group {
    gap: 12px;
}

.contact-form .country-code-select {
    border: 1px solid var(--border-color);
    background: var(--white);
    padding: 14px 12px;
}

.contact-form .country-code-select:focus {
    border-color: var(--primary-blue);
}

/* ========================================
   LEGAL PAGES (Privacy Policy & Terms)
   ======================================== */
.legal-hero {
    padding: 80px 0 40px;
    text-align: center;
    background: var(--off-white);
}

.legal-content {
    padding: 60px 0 100px;
    background: var(--white);
}

.legal-wrapper {
    max-width: 900px;
    margin: 0 auto;
}

.legal-main {
    background: var(--white);
}

.legal-section {
    margin-bottom: 3rem;
}

.legal-section h2 {
    font-size: 1.75rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
    padding-top: 1rem;
}

.legal-section h3 {
    font-size: 1.25rem;
    margin: 1.5rem 0 0.75rem;
    color: var(--text-dark);
}

.legal-section p {
    margin-bottom: 1rem;
    line-height: 1.8;
}

.legal-section ul,
.legal-section ol {
    margin: 1rem 0 1rem 2rem;
    line-height: 1.8;
}

.legal-section li {
    margin-bottom: 0.5rem;
    color: var(--text-gray);
}

.legal-section strong {
    color: var(--text-dark);
    font-weight: 600;
}

@media (max-width: 768px) {
    .legal-hero {
        padding: 60px 0 30px;
    }

    .legal-content {
        padding: 40px 0 60px;
    }

    .legal-section h2 {
        font-size: 1.5rem;
    }

    .legal-section h3 {
        font-size: 1.125rem;
    }

    .legal-section ul,
    .legal-section ol {
        margin-left: 1.5rem;
    }
}
