/* Istari Meet - CSS Styles */

/* Color Variables */
:root {
    /* Istari Meet Purple Theme */
    --primary-purple: #9466F2;
    --dark-purple: #6B47C2;
    --light-purple: #B596FA;
    --ultra-light-purple: #EEE3FF;
    --recording-red: #F26673;
    --completed-green: #4DD98C;

    /* Background Colors */
    --bg-dark: #1a0a2e;
    --bg-darker: #0f0520;
    --bg-card: rgba(148, 102, 242, 0.05);

    /* Text Colors */
    --text-light: #e0d4f7;
    --text-white: #ffffff;
    --text-muted: #a89db8;

    /* Spacing */
    --section-padding: 100px 20px;
    --card-padding: 40px;

    /* Transitions */
    --transition-smooth: all 0.3s ease;
}

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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Rounded', 'Segoe UI', Roboto, sans-serif;
    background-color: var(--bg-darker);
    color: var(--text-light);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(15, 5, 32, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 20px 0;
    border-bottom: 1px solid rgba(148, 102, 242, 0.2);
}

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

.nav-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.2rem;
    font-weight: 600;
}

.nav-logo {
    height: 40px;
    width: auto;
}

.nav-divider {
    color: var(--primary-purple);
    font-size: 1.5rem;
}

.product-name {
    color: var(--primary-purple);
    font-weight: 700;
}

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

.nav-links a {
    color: var(--text-light);
    text-decoration: none;
    transition: var(--transition-smooth);
    font-weight: 500;
}

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

.cta-button-small {
    background: var(--primary-purple);
    padding: 10px 20px;
    border-radius: 8px;
    color: var(--text-white) !important;
    font-weight: 600;
}

.cta-button-small:hover {
    background: var(--light-purple);
    transform: translateY(-2px);
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 120px 20px 60px;
    overflow: hidden;
}

#particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 1200px;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.2;
}

.gradient-text {
    background: linear-gradient(135deg, var(--primary-purple), var(--light-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: glow 2s ease-in-out infinite alternate;
}

@keyframes glow {
    from {
        filter: drop-shadow(0 0 20px rgba(148, 102, 242, 0.5));
    }
    to {
        filter: drop-shadow(0 0 40px rgba(148, 102, 242, 0.8));
    }
}

.hero-subtitle {
    font-size: 1.3rem;
    color: var(--text-muted);
    margin-bottom: 40px;
    line-height: 1.8;
}

.hero-cta {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-bottom: 60px;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 32px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: var(--transition-smooth);
    border: 2px solid transparent;
}

.cta-button.primary {
    background: var(--primary-purple);
    color: var(--text-white);
    box-shadow: 0 10px 30px rgba(148, 102, 242, 0.3);
}

.cta-button.primary:hover {
    background: var(--light-purple);
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(148, 102, 242, 0.5);
}

.cta-button.secondary {
    background: transparent;
    color: var(--primary-purple);
    border-color: var(--primary-purple);
}

.cta-button.secondary:hover {
    background: rgba(148, 102, 242, 0.1);
    transform: translateY(-3px);
}

.cta-button.large {
    padding: 20px 40px;
    font-size: 1.1rem;
}

/* Phone Mockup */
.hero-visual {
    margin-top: 40px;
}

.phone-mockup {
    display: inline-block;
    animation: float 3s ease-in-out infinite;
}

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

.phone-frame {
    width: 300px;
    height: 600px;
    background: linear-gradient(135deg, #2a1a4e, #1a0a2e);
    border-radius: 40px;
    padding: 15px;
    box-shadow: 0 20px 60px rgba(148, 102, 242, 0.4);
    border: 3px solid var(--primary-purple);
}

.phone-screen {
    width: 100%;
    height: 100%;
    background: var(--bg-darker);
    border-radius: 30px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.recording-interface {
    width: 100%;
    padding: 20px;
}

.waveform-container {
    background: rgba(148, 102, 242, 0.1);
    border-radius: 20px;
    padding: 30px;
}

.waveform {
    width: 100%;
    height: 100px;
}

.waveform-path {
    animation: wave 1.5s ease-in-out infinite;
}

@keyframes wave {
    0%, 100% {
        d: path("M0,50 Q10,30 20,50 T40,50 T60,50 T80,50 T100,50 T120,50 T140,50 T160,50 T180,50 T200,50");
    }
    50% {
        d: path("M0,50 Q10,70 20,50 T40,50 T60,50 T80,50 T100,50 T120,50 T140,50 T160,50 T180,50 T200,50");
    }
}

/* Sections */
.section-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 60px;
    background: linear-gradient(135deg, var(--text-white), var(--primary-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Features Section */
.features-section {
    padding: var(--section-padding);
    background: var(--bg-dark);
}

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

.feature-card {
    background: var(--bg-card);
    border: 1px solid rgba(148, 102, 242, 0.2);
    border-radius: 20px;
    padding: var(--card-padding);
    transition: var(--transition-smooth);
    backdrop-filter: blur(10px);
}

.feature-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-purple);
    box-shadow: 0 20px 40px rgba(148, 102, 242, 0.3);
}

.feature-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-purple), var(--light-purple));
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: var(--text-white);
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--text-white);
}

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

.feature-list li {
    padding: 8px 0;
    padding-left: 25px;
    position: relative;
    color: var(--text-light);
}

.feature-list li::before {
    content: "→";
    position: absolute;
    left: 0;
    color: var(--primary-purple);
    font-weight: bold;
}

/* Why Section */
.why-section {
    padding: var(--section-padding);
    background: var(--bg-darker);
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.why-card {
    background: var(--bg-card);
    border: 1px solid rgba(148, 102, 242, 0.2);
    border-radius: 20px;
    padding: var(--card-padding);
    text-align: center;
    transition: var(--transition-smooth);
}

.why-card:hover {
    transform: scale(1.05);
    border-color: var(--primary-purple);
}

.why-card h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
    color: var(--primary-purple);
}

.why-card p {
    font-size: 1.1rem;
    color: var(--text-light);
    line-height: 1.8;
}

/* Pricing Section */
.pricing-section {
    padding: var(--section-padding);
    background: var(--bg-dark);
}

.pricing-card {
    max-width: 600px;
    margin: 0 auto;
    background: linear-gradient(135deg, rgba(148, 102, 242, 0.1), rgba(107, 71, 194, 0.1));
    border: 2px solid var(--primary-purple);
    border-radius: 30px;
    padding: 50px;
    text-align: center;
    position: relative;
}

.pricing-badge {
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--completed-green);
    color: var(--text-white);
    padding: 10px 30px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1rem;
}

.pricing-card h2 {
    font-size: 2.5rem;
    margin-bottom: 30px;
    color: var(--text-white);
}

.pricing-details {
    text-align: left;
    margin-bottom: 30px;
}

.pricing-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px 0;
    border-bottom: 1px solid rgba(148, 102, 242, 0.2);
}

.pricing-item:last-child {
    border-bottom: none;
}

.pricing-item svg {
    color: var(--completed-green);
    flex-shrink: 0;
}

.pricing-item span {
    font-size: 1.1rem;
    color: var(--text-light);
}

.pricing-note {
    margin-top: 20px;
    font-size: 1rem;
    color: var(--text-muted);
    font-style: italic;
}

/* Final CTA */
.final-cta {
    padding: var(--section-padding);
    background: linear-gradient(135deg, var(--bg-darker), var(--bg-dark));
    text-align: center;
}

.cta-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--text-white);
}

.cta-subtitle {
    font-size: 1.3rem;
    color: var(--text-muted);
    margin-bottom: 40px;
}

/* Footer */
.footer {
    background: var(--bg-darker);
    border-top: 1px solid rgba(148, 102, 242, 0.2);
    padding: 60px 20px 30px;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h4 {
    color: var(--primary-purple);
    font-size: 1.2rem;
    margin-bottom: 15px;
}

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

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section a {
    color: var(--text-light);
    text-decoration: none;
    transition: var(--transition-smooth);
}

.footer-section a:hover {
    color: var(--primary-purple);
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(148, 102, 242, 0.1);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-smooth);
}

.social-links a:hover {
    background: var(--primary-purple);
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(148, 102, 242, 0.1);
    color: var(--text-muted);
}

/* Animations */
[data-aos] {
    opacity: 0;
    transition: opacity 0.6s ease, transform 0.6s ease;
}

[data-aos].aos-animate {
    opacity: 1;
}

[data-aos="fade-up"] {
    transform: translateY(30px);
}

[data-aos="fade-up"].aos-animate {
    transform: translateY(0);
}

[data-aos="fade-right"] {
    transform: translateX(-30px);
}

[data-aos="fade-right"].aos-animate {
    transform: translateX(0);
}

[data-aos="fade-left"] {
    transform: translateX(30px);
}

[data-aos="fade-left"].aos-animate {
    transform: translateX(0);
}

[data-aos="zoom-in"] {
    transform: scale(0.9);
}

[data-aos="zoom-in"].aos-animate {
    transform: scale(1);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }

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

    .hero-cta {
        flex-direction: column;
        align-items: stretch;
    }

    .nav-links {
        display: none;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .why-grid {
        grid-template-columns: 1fr;
    }

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

    .phone-frame {
        width: 250px;
        height: 500px;
    }

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

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

    .nav-brand {
        font-size: 1rem;
    }

    .nav-logo {
        height: 30px;
    }
}
