/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}

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

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    transition: all 0.3s ease;
}

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

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.5rem;
    font-weight: 700;
    color: #389882FF;
}
.nav-logo .nav-icon {
  width: 40px;     
  height: 40px;     
  border-radius: 50%; 
  object-fit: cover; 
  margin-right: 8px;
}

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

.nav-menu a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-menu a:hover {
    color: #6366f1;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}
.btn-app-store img {
  height: 50px;
  display: block;
  transition: transform 0.3s ease; /* smooth animation */
}

.btn-app-store img:hover {
  transform: scale(1.05); /* slightly bigger */
}
.hamburger span {
    width: 25px;
    height: 3px;
    background: #333;
    transition: all 0.3s ease;
}

.modal {
  display: none; /* Hidden by default */
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.8);
}

/* Modal Content (image) */
.modal-content {
  margin: auto;
  display: block;
  max-width: 94%;
  max-height: 94%;
  border-radius: 8px;
}

/* Close button */
.close {
  position: absolute;
  top: 15px;
  right: 15px;
  color: #fff;
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    background: url("assets/cows_grazing.jpg") no-repeat center center;
    background-size: cover; 
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><defs><radialGradient id="a" cx="50%" cy="50%"><stop offset="0%" stop-color="%23ffffff" stop-opacity="0.1"/><stop offset="100%" stop-color="%23ffffff" stop-opacity="0"/></radialGradient></defs><circle cx="200" cy="200" r="100" fill="url(%23a)"/><circle cx="800" cy="300" r="150" fill="url(%23a)"/><circle cx="400" cy="700" r="120" fill="url(%23a)"/></svg>');
    animation: float 20s ease-in-out infinite;
}

.hero-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 2;

  /* New styles */
  background: rgba(107, 107, 107, 0.363); /* black with 25% opacity */
  backdrop-filter: blur(10px); /* applies blur to background behind */
  -webkit-backdrop-filter: blur(10px); /* Safari support */
  border-radius: 12px; /* optional: smooth edges */
}

.hero-content {
    color: white;
}

.hero-title {
    font-size: 3.0rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    background: linear-gradient(45deg, #ffffff, #f0f0f0);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: glow 2s ease-in-out infinite alternate;
}

.hero-description {
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
    opacity: 0.9;
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary {
    background: linear-gradient(45deg, #ff6b6b, #ee5a6f);
    color: white;
    box-shadow: 0 10px 30px rgba(238, 90, 111, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 40px rgba(238, 90, 111, 0.4);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: #6366f1;
    border: 2px solid #6366f1;
}

.btn-outline:hover {
    background: #6366f1;
    color: white;
    transform: translateY(-2px);
}

/* Phone Mockup */
.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.phone-mockup {
  width: 280px;
  height: 550px;
  background: #1f2937; /* dark gray phone body */
  border-radius: 20px; /* rounded phone edges */
  padding: 0px 0px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  position: relative;
  animation: float-phone 6s ease-in-out infinite;

  /* Center content */
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden; /* keeps image inside rounded corners */
}

.phone-mockup img {
  width: 90%;
  border-radius: 8px;
  height: auto;
  object-fit: cover;
  display: block;
  cursor: pointer;
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.5rem;
    animation: bounce 2s infinite;
}

/* Features Section */
.features {
    padding: 6rem 0;
    background: #f8fafc;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 4rem;
    color: #1f2937;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: linear-gradient(45deg, #389882FF, rgb(44, 70, 27)FF);
    border-radius: 2px;
}
.features .section-title::after {
    background: linear-gradient(45deg, #389882FF, rgb(135, 218, 198));
}


.feature-showcase {
    display: flex;
    flex-direction: column;
    gap: 6rem;
}

.feature-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    padding: 2rem 0;
}

.feature-row.reverse {
    direction: rtl;
}

.feature-row.reverse > * {
    direction: ltr;
}

.feature-content {
    padding: 2rem;
}

.feature-content h3 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #1f2937;
}

.feature-content p {
    color: #6b7280;
    line-height: 1.7;
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.feature-highlights {
    list-style: none;
    padding: 0;
}

.check-icon {
  display: inline-block;
  width: 1em;
  height: 1em;
  background: url("assets/check-solid-full.svg") no-repeat center center;
  background-size: contain;
  font-style: normal;
}
.chevron-down-icon {
  display: inline-block;
  width: 1em;
  height: 1em;
  background: url("assets/chevron-down.svg") no-repeat center center;
  background-size: contain;
  font-style: normal;
}
.envelope-icon{
  display: inline-block;
  width: 2em;
  height: 2em;
  background: url("assets/envelope-icon.svg") no-repeat center center;
  background-size: contain;
  font-style: normal;
}
.icon-arrow-up {
  display: inline-block;
  width: 1em;
  height: 1em;
  background: url("assets/arrow-up-solid-full.svg") no-repeat center center;
  background-size: cover;
  font-style: normal;
}
.icon-youtube {
  display: inline-block;
  width: 60%;
  height: 60%;
  background: url("assets/youtube-brands-solid-full.svg") no-repeat center center;
  background-size: cover;
  font-style: normal;
}
.icon-instagram {
  display: inline-block;
  width: 60%;
  height: 60%;
  background: url("assets/square-instagram-brands-solid-full.svg") no-repeat center center;
  background-size: cover;
  font-style: normal;
}

.feature-highlights li {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 0.8rem;
    color: #374151;
    font-weight: 500;
}

.feature-screenshot {
    display: flex;
    justify-content: center;
    align-items: center;
}

.screenshot-content {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem 1rem;
    position: relative;
}

/* Animations */

@keyframes loading {
    0% { left: -100%; }
    100% { left: 100%; }
}

@keyframes suggestion-appear {
    0% { opacity: 0; transform: translateY(20px); }
    100% { opacity: 1; transform: translateY(0); }
}

@keyframes online-indicator {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.2); }
}

@keyframes activity-slide {
  0% {
    opacity: 0;
    transform: translateX(-20px);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

.activity-card {
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  text-align: center;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  animation: activity-slide 0.5s ease forwards;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(99, 102, 241, 0.1), transparent);
    transition: left 0.5s ease;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.feature-card:hover::before {
    left: 100%;
}

.feature-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #1f2937;
}

.feature-card p {
    color: rgb(127, 167, 157);
    line-height: 1.7;
}

.pricing {
    padding: 6rem 0;
    background: #f8fafc;
}

.pricing .section-title::after {
    background: linear-gradient(45deg, #389882FF, rgb(135, 218, 198));
}


/* Pricing Tabs */
.pricing-tabs {
    display: flex;
    justify-content: center;
    margin-bottom: 3rem;
    gap: 0.5rem;
}

.tab-button {
    background: white;
    color: #6b7280;
    border: 2px solid #e5e7eb;
    padding: 1rem 2rem;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.tab-button:hover {
    border-color: #389882FF;
    color: #389882FF;
}

.tab-button.active {
    background: linear-gradient(45deg, #389882FF, rgb(46, 148, 100));
    color: white;
    border-color: #389882FF;
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(99, 102, 241, 0.2);
}

/* Tab Content */
.tab-content {
    display: none;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s ease;
}

.tab-content.active {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

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

/* Special layout for single package (free) */
#free-tab .pricing-cards {
    justify-content: center;
    max-width: 400px;
    margin: 3rem auto 0;
    grid-template-columns: 1fr;
}

.pricing-card {
    background: white;
    padding: 3rem 2rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    text-align: center;
    position: relative;
    transition: all 0.3s ease;
}

.pricing-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.pricing-card.featured {
    transform: scale(1.05);
    background: linear-gradient(145deg, #6366f1, #8b5cf6);
    color: white;
}

.pricing-card.free-card {
    background: linear-gradient(145deg, #10b981, #34d399);
    color: white;
}

.featured-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: #ff6b6b;
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
}

.pricing-card h3 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.price {
    margin-bottom: 2rem;
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 0.2rem;
}

.currency {
    font-size: 1.5rem;
    font-weight: 600;
}

.amount {
    font-size: 4rem;
    font-weight: 800;
}

.amount-text {
    font-size: 2.5rem;
    font-weight: 800;
    color: #34d399;
}

.period {
    font-size: 1.2rem;
    color: #6b7280;
}

.pricing-card.featured .period {
    color: rgba(255, 255, 255, 0.8);
}

.pricing-card.free-card .period {
    color: rgba(255, 255, 255, 0.8);
}

/* Main Features */
.main-features {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.main-feature {
    background: rgba(174, 230, 110, 0.1);
    color: #389882FF;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    border: 1px solid rgba(99, 241, 182, 0.2);
}

.pricing-card.featured .main-feature {
    background: rgba(55, 255, 28, 0.137);
    color: white;
    border-color: rgba(110, 197, 39, 0.3);
}

.pricing-card.free-card .main-feature {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border-color: rgba(255, 255, 255, 0.3);
}

.features-list {
    list-style: none;
    margin-bottom: 2rem;
}

.features-list li {
    padding: 0.8rem 0;
    display: flex;
    align-items: center;
    gap: 1rem;
    text-align: left;
}

.features-list i {
    width: 20px;
    text-align: center;
}

.fa-check {
    color: #10b981;
}

.fa-times {
    color: #ef4444;
}

.pricing-card.featured .fa-check {
    color: #34d399;
}

.pricing-card.free-card .fa-check {
    color: #34d399;
}

/* Contact Section */
.contact {
    padding: 6rem 0;
    background: #1f2937;
    color: white;
}

.contact .section-title {
    color: white;
}

.contact .section-title::after {
    background: linear-gradient(45deg, #389882FF, rgb(135, 218, 198));
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-top: 3rem;
}

.contact-info h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 2rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.contact-item i {
    width: 20px;
    color: #389882FF;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.social-links a {
    width: 50px;
    height: 50px;
    background: linear-gradient(45deg, #389882FF, rgb(135, 218, 198));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-links a:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(99, 102, 241, 0.3);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.form-group {
    position: relative;
    margin-bottom: 1.5rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1.2rem;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    color: white;
    font-size: 1rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #389882FF;
    background: rgba(255, 255, 255, 0.15);
}

.form-group label {
    position: absolute;
    top: 1.2rem;
    left: 1.2rem;
    color: rgba(255, 255, 255, 0.7);
    transition: all 0.3s ease;
    pointer-events: none;
    background: transparent;
    z-index: 1;
}

/* Use :not(:placeholder-shown) instead of :valid for better reliability */
.form-group input:focus + label,
.form-group input:not(:placeholder-shown) + label,
.form-group textarea:focus + label,
.form-group textarea:not(:placeholder-shown) + label {
    top: -10px;
    left: 12px;
    background: #1f2937;
    padding: 0 8px;
    font-size: 0.9rem;
    color: #389882FF;
    z-index: 2;
}

/* Additional fallback for when input has value */
.form-group input[value]:not([value=""]) + label,
.form-group textarea[value]:not([value=""]) + label {
    top: -10px;
    left: 12px;
    background: #1f2937;
    padding: 0 8px;
    font-size: 0.9rem;
    color: #389882FF;
    z-index: 2;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* Ensure proper spacing between form groups */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

/* Handle autofill styles */
.form-group input:-webkit-autofill,
.form-group input:-webkit-autofill:hover,
.form-group input:-webkit-autofill:focus {
    -webkit-box-shadow: 0 0 0px 1000px rgba(255, 255, 255, 0.1) inset;
    -webkit-text-fill-color: white;
    transition: background-color 5000s ease-in-out 0s;
}

.form-group input:-webkit-autofill + label {
    top: -10px;
    left: 12px;
    background: #1f2937;
    padding: 0 8px;
    font-size: 0.9rem;
    color: #389882FF;
    z-index: 2;
}

/* Footer */
.footer {
    background: #111827;
    padding: 2rem 0;
    text-align: center;
    color: white;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.3rem;
    font-weight: 700;
    color: #389882FF;
}

.footer-logo img {
  width: 30px;     
  height: 30px;     
  border-radius: 50%; 
  object-fit: cover; 
  margin-right: 8px;
}

.footer-logo i {
    font-size: 1.5rem;
}

.footer p {
    color: rgba(255, 255, 255, 0.6);
}

/* Animations */
@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(5deg); }
}

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

@keyframes glow {
    0% { text-shadow: 0 0 20px rgba(255, 255, 255, 0.5); }
    100% { text-shadow: 0 0 30px rgba(255, 255, 255, 0.8); }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
    40% { transform: translateX(-50%) translateY(-10px); }
    60% { transform: translateX(-50%) translateY(-5px); }
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: white;
        flex-direction: column;
        justify-content: start;
        align-items: center;
        padding-top: 2rem;
        transition: left 0.3s ease;
    }

    .nav-menu.active {
        left: 0;
    }

    .hamburger {
        display: flex;
    }

    .hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }

    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }

    .hero-title {
        margin-top: 80px;
        font-size: 2.5rem;
    }

    .hero-buttons {
        justify-content: center;
    }

    .phone-mockup {
        width: 340px;
        height: 680px;
    }

    /* Feature rows responsive */
    .feature-row,
    .feature-row.reverse {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
        direction: ltr;
    }

    .feature-row.reverse .feature-content {
        order: 1;
    }

    .feature-row.reverse .feature-screenshot {
        order: 2;
    }
    .feature-row .feature-content {
        order: 1;
    }
    .feature-row .feature-screenshot {
        order: 2;
    }

    .feature-content {
        padding: 1rem;
    }

    .feature-content h3 {
        font-size: 1.5rem;
    }

    /* Pricing tabs responsive */
    .pricing-tabs {
        flex-direction: column;
        align-items: center;
        gap: 0.5rem;
    }

    .tab-button {
        width: 100%;
        max-width: 250px;
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
    }

    .pricing-cards {
        grid-template-columns: 1fr;
    }

    .pricing-card.featured {
        transform: none;
    }

    .main-features {
        flex-direction: column;
        gap: 0.5rem;
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .container {
        padding: 0 1rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .feature-showcase {
        gap: 3rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        margin-top: 70px;
        font-size: 2rem;
    }

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

    .btn {
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
    }

    .phone-mockup {
        width: 220px;
        height: 440px;
    }

    .feature-content {
        padding: 0.5rem;
    }

    .feature-content h3 {
        font-size: 1.3rem;
    }

    .feature-content p {
        font-size: 1rem;
    }

    .pricing-card {
        padding: 2rem 1.5rem;
    }

    .feature-showcase {
        gap: 2rem;
    }

    .feature-row {
        padding: 1rem 0;
    }

    .tab-button {
        padding: 0.6rem 1rem;
        font-size: 0.8rem;
    }

    .amount {
        font-size: 3rem;
    }

    .amount-text {
        font-size: 2rem;
    }
}